Ethernet Gateway and FOTA
-
Hi All,
I've successfully implemented an ethernet gateway with MQTT using an Arduino Ethernet board. Everything works just fine and I am able to receive data from the nodes and send data to the nodes.
The next step would be to get FOTA up and running and this is where I'm stuck. I'm using the GatewayW5100MQTTClient example program as my base with changes to the IP, MAC and MQTT settings.
When trying to connect to the GW using MYSController with the TCP/IP settings, I get an "Error on connect: connection refused" error.
This makes me believe that I still need to add code in the GW sketch to handle incoming requests? If this is the case, can someone please point me in the right direction? If the GW code and mysensors library are supposed to manage requests, where can I start to do my debugging?Thanks in advance
Jan -
Hi All,
I've successfully implemented an ethernet gateway with MQTT using an Arduino Ethernet board. Everything works just fine and I am able to receive data from the nodes and send data to the nodes.
The next step would be to get FOTA up and running and this is where I'm stuck. I'm using the GatewayW5100MQTTClient example program as my base with changes to the IP, MAC and MQTT settings.
When trying to connect to the GW using MYSController with the TCP/IP settings, I get an "Error on connect: connection refused" error.
This makes me believe that I still need to add code in the GW sketch to handle incoming requests? If this is the case, can someone please point me in the right direction? If the GW code and mysensors library are supposed to manage requests, where can I start to do my debugging?Thanks in advance
Jan@Jan-Spies
From what I know - MySController only works with serial and/or Ethernet. Mqtt is not supported. May you can try with Ethernet only gateway.
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