MQTT from RasPi MySensors GW to remote Domoticz
-
Hi,
please share your experience of setting MQTT to work with Domoticz and MS GW. Should the traffic be changed to json format or what's the deal?
I got the MySensors Raspi GW work ok, sending stuff to remote MQTT mosquitto server. The config is this:
./configure --my-gateway=mqtt --my-controller-ip-address=192,168,1,32 --my-port=1883 --my-mqtt-client-id=22 --my-mqtt-publish-topic-prefix=domoticz/in --my-mqtt-subscribe-topic-prefix=domoticz/out --my-rf24-pa-level=RF24_PA_LOWUnfortunately it won't show anything in Domoticz. I googled a bit and someone wrote Domoticz reads data in json format? Is that true? Sounds a bit weird in case of MQTT.
I'm rather close now getting things to work, please any tips welcome, too tired to google more tonight...
MQTT part is fine:
$ mosquitto_sub -t domoticz/in/# 23.0 40 -
Hi,
please share your experience of setting MQTT to work with Domoticz and MS GW. Should the traffic be changed to json format or what's the deal?
I got the MySensors Raspi GW work ok, sending stuff to remote MQTT mosquitto server. The config is this:
./configure --my-gateway=mqtt --my-controller-ip-address=192,168,1,32 --my-port=1883 --my-mqtt-client-id=22 --my-mqtt-publish-topic-prefix=domoticz/in --my-mqtt-subscribe-topic-prefix=domoticz/out --my-rf24-pa-level=RF24_PA_LOWUnfortunately it won't show anything in Domoticz. I googled a bit and someone wrote Domoticz reads data in json format? Is that true? Sounds a bit weird in case of MQTT.
I'm rather close now getting things to work, please any tips welcome, too tired to google more tonight...
MQTT part is fine:
$ mosquitto_sub -t domoticz/in/# 23.0 40 -
I got it working, but you need beta version of domoticz which has the mqtt mysensors gateway in the hw list, while the stable version only has the normal mqtt that requires json format. As side note, if mqtt is not really necessary, you'd better use the ethernet gateway as it's easier to debug and manage
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