Replies: 9 comments 34 replies
-
What do you need? I've tried to find some free infos how KNX works, but most is commercial. |
Beta Was this translation helpful? Give feedback.
-
well, KNX works in way that there are so called "group addresses" that have 16bit, are unique in one project / installation, are noted as x/y/z and normally represent some value. To add knx support I would need a udp multicast and a unicast socket, some kb remanent storage, beeing called about every 5ms and I would need read/write access to the data.. |
Beta Was this translation helpful? Give feedback.
-
There is only one open source stack that aims to be knx compliant, and this is this one: hardware abstraction is done in the plattforms, we already have one for esp For persistent data currently EEPROM emulation is used - is that used in EMS-ESP or is this "free" to use for the knx stack? fortunately, we use very similar environments and also PIO so I think i can setup this and try a little bit in the next future. How frequently is Knx::loop() called? Is there blocking stuff that causes loop not beeing called for more than a couple ms? |
Beta Was this translation helpful? Give feedback.
-
I think 50ms every few minutes would cause no problem, but if there is a dedicated task thats even better. You are using an RTOS ?
Basically the stack needs a pointer where it can read/write data, and if it has finised writing, it calls commit. I tried to set it up, but got stuck with yarn. I'm developing on Win - installed node.js from the installer with also all the other tools including yarn (that took some while).. |
Beta Was this translation helpful? Give feedback.
-
Do you have still any activities ongoing regarding the KNX integration in EMS-ESP? This is my key point for using EMS-ESP. |
Beta Was this translation helpful? Give feedback.
-
every that could shit. that is so ridiculous! I'm defiitly interested in knx support (with ETS) for this firmware, and I'm willing to contribute with my OpenKNX knownledge. at this moment, I'll give it a second try. I assume from the infos from https://emsesp.org/ that I need to use ci_s_16M_P env for my "Gateway E32 V2 (Ethernet + WiFi Edition V2)" I purchased at BBQKees I'm sure if you help me understanding how to develop for that project and how to integrate, we can achieve a good solution ! Question for potential KNX-User: what are your thoughts regarding the ETS integration? PS: my build is failing:
|
Beta Was this translation helpful? Give feedback.
-
I suceeded in integrating the knx stack to a point where the stack is actually built :) thats a first step, some to go. Question: |
Beta Was this translation helpful? Give feedback.
-
I'm now at a point where I would like to give it a first try running it on hardware. How do you HW definition work? I found something with board_profiles but I could not figure it out how to work with that? I would like to use it with a custom ESP32 devboard I have here (ESP32-PICO-V3-02 + LAN8720) - how do I define the specific pins? |
Beta Was this translation helpful? Give feedback.
-
Currently (as mentioned in the Discord also) I have trouble receiving multicast packages. With a basic sketch I can receive the udp multicast packages using WifiUdp.beginMulticast(). Any ideas? |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I'm really stuned how great this device is. 8 years I fuck around with that shitty KM200 API, and now I have all this data right to my hands. Great.
While I'm using HomeAssistant everything works, but for an even better and more direct integration into my smarthome support of KNX-IP would be great - I'm one of the founders and core devs of @OpenKNX and I could think of adding our knx stack and some funtionality into it. So the device could then communicate with KNX-IP-Routing and could be configured with ETS.
I would bring in the knx stack, and the know how to use it and also I can create the knxprod file.
But while my time is limited I would appreciate someone experienced with the architecture of this firmware so we can work together.
Beta Was this translation helpful? Give feedback.
All reactions