Replies: 9 comments 21 replies
-
Beta Was this translation helpful? Give feedback.
-
@tp1de Please test https://github.com/MichaelDvP/EMS-ESP32/releases/tag/test |
Beta Was this translation helpful? Give feedback.
-
OK understood for the need of multiple telegrams .... I already thought that this might be needed. I will continue testing. |
Beta Was this translation helpful? Give feedback.
-
Just a remark/question: For system/send i need to use type 0169 and for system/response I get back type 0269. |
Beta Was this translation helpful? Give feedback.
-
I had another look in my syslog server coding. I tested that otherwise sending 4 requests I need to introduce a wait cycle of 4 times 1 second to read the responses and conduct the whole telegram. For updating I need to send the telegram part where switchtimes where changed. (could be 4 telegrams) |
Beta Was this translation helpful? Give feedback.
-
@MichaelDvP Would your solution work for sending the whole length telegram on changes at once? |
Beta Was this translation helpful? Give feedback.
-
@MichaelDvP I am currently testing the implementation for the EMS+ holidaymodes and switchtimes within my ioBroker adapter. I recognized that I need to wait around 6 seconds between send and get request for stable reading. |
Beta Was this translation helpful? Give feedback.
-
Yes timing varies largely. I changed the code and I am trying now every second to read the response until getting the right response matching the request. These raw send requests just produce a lot of "notice" entries within the log. Can this be avoided / switched off? |
Beta Was this translation helpful? Give feedback.
-
@MichaelDvP I just recognized that with the last change the telegram length for response of holidaymodes changes. |
Beta Was this translation helpful? Give feedback.
-
Following a discussion some months ago, I am still in favor to implement additional functionality on Holiday modes and Switchtimes outside of implementing this in the ems-esp firmware. E.g. in the ioBroker-Adapter.
These telegram types needs polling and the telegrams received needs to be analyzed. I do have an implementation since 12 months within my ioBroker Adapter based on a syslog server reading all raw telegrams. This is nasty but it works for read/write of this telegram types. I haven't made it public to the more than 700 users of the ioBroker adapter.
These telegrams can queried (polled) by sending raw commands (api or mqtt).
Using mqtt the response is pushed to ems-esp/response topic. Api can't read the response.
Since the ioBroker adapter just uses api I would like to implement this without the need of a mqtt broker.
I do have 2 ideas how this could be done:
@proddy @MichaelDvP Whats's your opinion about this?
Beta Was this translation helpful? Give feedback.
All reactions