Ethernet Gateway Hub



  • Hello everyone,
    recently I've deployed MySensors Ethernet Gateway on an iTead's iBoard W5100 and got bit by the Arduino / MySensors limition - single connection to the gateway.

    As I'm experimenting with Node-RED, Domoticz and might be adding HomeAssistant to the mix, I tried really hard to find a working solution to this situation and failed.

    Arduino and MySensors could be fixed to support up to 4 connections but in the end I decided to solve the problem by a simple Python script that relays gateway messages to all the clients and messages from a client are relayed to the gateway.

    I thought someone else could be in the same situation so here you go: https://gist.github.com/radek-senfeld/5086fbc40cc86c06478be85c533a718a


 

246
Online

8.9k
Users

9.6k
Topics

101.0k
Posts