Search found 2 matches

by KAJETALK
Mon Dec 21, 2015 10:50 pm
Forum: SuperHouseTV Home Automation
Topic: PE 13: Connecting security sensors to Arduino
Replies: 20
Views: 13067

Re: PE 13: Connecting security sensors to Arduino

I was able to get it to compile by changing the callback method to the following: void callback( char* topic, byte* payload, unsigned int length) { And changing the constructor to the following: // Instantiate MQTT client EthernetClient ethClient; PubSubClient client(server, 1883, callback, ethClien...
by KAJETALK
Mon Dec 21, 2015 10:31 pm
Forum: SuperHouseTV Home Automation
Topic: PE 13: Connecting security sensors to Arduino
Replies: 20
Views: 13067

Re: PE 13: Connecting security sensors to Arduino

It looks like PubSubClient has updated code which break the SecuritySensor4ToMQTT code What is required now by PubSubClient is the following: PubSubClient (server, port, [callback], client, [stream]) Creates a fully configured client instance. Parameters server : the address of the server (IPAddress...