PiGatewayMQTT v2.0 switching relay.
-
I have the PiGatwayMQTT and mosquitto running on my raspberry.
My double relay controler is connecting to it.
As it can be seen on my EventGhost MQTT client below:
MQTT./mySensors/1/255/I_REQUEST_SIGNING u""
MQTT./mySensors/1/255/S_ARDUINO_REPEATER_NODE u"2.0.0-beta"
MQTT./mySensors/1/255/I_CONFIG u"0"
MQTT./mySensors/1/255/I_SKETCH_NAME u"Relay"
MQTT./mySensors/1/255/I_SKETCH_VERSION u"1.0"
MQTT./mySensors/1/1/S_LIGHT u""
MQTT./mySensors/1/2/S_LIGHT u""
The question is what should I send to MQTT broker in order to switch the relay.
I tried a lot of possible combinations with no success. -
I have the PiGatwayMQTT and mosquitto running on my raspberry.
My double relay controler is connecting to it.
As it can be seen on my EventGhost MQTT client below:
MQTT./mySensors/1/255/I_REQUEST_SIGNING u""
MQTT./mySensors/1/255/S_ARDUINO_REPEATER_NODE u"2.0.0-beta"
MQTT./mySensors/1/255/I_CONFIG u"0"
MQTT./mySensors/1/255/I_SKETCH_NAME u"Relay"
MQTT./mySensors/1/255/I_SKETCH_VERSION u"1.0"
MQTT./mySensors/1/1/S_LIGHT u""
MQTT./mySensors/1/2/S_LIGHT u""
The question is what should I send to MQTT broker in order to switch the relay.
I tried a lot of possible combinations with no success.Hi!
I think something along the lines of:
MQTT./mySensors/1/1/V_LIGHT u"1"to switch on child 1.
MQTT./mySensors/1/1/V_LIGHT u"0"to switch off child 1.
MQTT./mySensors/1/2/V_LIGHT u"1"to switch on child 2.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login