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
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