Gateway MQTTClient and Mosquitto debug
-
Hello everyone!
Just installed Mosquitto on RPi and I've adapted GatewayW5100MQTTClient example to use the ENC28J60 module I have. Should it work, BTW?
Mosquitto seems to be working, but I cannot get any debug from it... So I'm curious how can I check that my Gateway is talking with Mosquitto?
Thank you!
-
We're using the pubsubclient library which doesn't support the ENC28J60 module according to the documentation
https://github.com/knolleary/pubsubclientThey instead they suggest using NanodeMQTT for the ENC-module
https://github.com/njh/NanodeMQTTBut I haven't tried it or adopted MySensors for using that library. Guess it would require some tweaking to get it in.
-
We're using the pubsubclient library which doesn't support the ENC28J60 module according to the documentation
https://github.com/knolleary/pubsubclientThey instead they suggest using NanodeMQTT for the ENC-module
https://github.com/njh/NanodeMQTTBut I haven't tried it or adopted MySensors for using that library. Guess it would require some tweaking to get it in.
-
I'm now using W5100 Ethernet, this is what I have on startup:
0;255;3;0;9;Starting gateway (R-NGA-, 2.0.0-beta) 0;255;3;0;9;Init complete, id=0, parent=0, distance=0 0;255;3;0;9;Attempting MQTT connection... 0;255;3;0;9;MQTT connectedWith the following request I was able control my 1st relay:
mygateway1-in/0/1/1/0/2 , value is either 0 or 1Seems to be working!
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