esp8266 listening to knxnetip - Version imprimable +- Forum KNX francophone / English KNX forum (https://www.knx-fr.com) +-- Forum : Français (https://www.knx-fr.com/forumdisplay.php?fid=3) +--- Forum : Logiciels libres (linknx, knxweb, pKNyX,...) (https://www.knx-fr.com/forumdisplay.php?fid=10) +--- Sujet : esp8266 listening to knxnetip (/showthread.php?tid=4114) |
esp8266 listening to knxnetip - viknet - 07/03/2016 hello all, I am building a knxnetip client from one of this 5€ esp8266 I manage to get the knx multicast packet using this link and to roughly understand how to get the group address and the payload are written using the knx dissector of wireshark but need more information to make a more robust and universal code if anyone has the the knxnetip protocol, please share :=) Using this I am already capable of using a knx switch and a knx gateway to switch on/off a led on the esp8266 (dimming is the next easy step). The good thing about this setup is that there is no computer involved* of course it's not a replacement solution for wired knx, but I found this to be a great and cheap alternative to wireless knx (expensive with very little hardware available) and because all of us are faced one day or another with something not wired. I will post a sample code (was surprisingly very easy to write and understand) good news is that you can easily create the first knx RGB led bulb using this hardware for less than 30€ *:not really true in my setup because the gateway is done with knxd but you could replace it with any knx router. RE: esp8266 listening to knxnetip - fma38 - 07/03/2016 Very interesting! Thanks for sharing. RE: esp8266 listening to knxnetip - viknet - 08/03/2016 video full of exciting action switching on/off and dimming using a knx switch sending switching to 1/1/5 and dimming to 1/2/5, the esp8266 is connected to a PC for power supply and debugging. For those asking, reaction time is less than 120ms between 80 and 120 probably (with logging enabled on the gateway and on the ESP8266) RE: esp8266 listening to knxnetip - viknet - 31/03/2016 source code available here: https://github.com/viknet365/knx4esp/ please feel free to improve, and keep in mind that knx specification are now freely available: https://www.knx.org/knx-en/newsletters/newsletters/january2016/ |