-
Notifications
You must be signed in to change notification settings - Fork 14
Gateway V6 - UDP broadcast with blinds in hex number cause error #11
Comments
Well, according to #8 you modified the script yourself. Without knowing your modifications we're just guessing here. For the unmodified mediola2mqtt.py: 0E is converted to 14 and this needs to be defined in the configuration file. One important thing: After the tries in #8 you might have to start from scratch by deleting your Elero blinds from the MQTT broker and having mediola2mqtt.py re-register them. |
hi @andyboeh! I actually changed my configuration file, so that 0E was '14' (which was also my first approach when i installed and registered it the first time), but unfortunately it did not work this time as well.. |
Yep, that is exactly what i did, just removing all format calls and use hex for messages and commands all the way. I basically ignored the fact, that UDP broadcasts did not work as they were not received at all before. I actually added all my blinds manually, which means, no auto-discovered devices (which i back then did not get to work either, so maybe its just me being stupid). However, those seem to work just fine and the typecasting of all values was fine so far as well. UPDATE: Unfortunately adding
Also inside the log when starting the addon, it does look good so far:
So i will revert back to non-formatting the values and will see if hex works just fine. |
We discovered just today that the v6 has all values in dec while the v4 has all values in hex. Dealing with this is more complicated than it seems in the first place, so this will have to wait for some time. |
So i assume, that also a bad reporting of the state of the blind is related to this? BR |
Hi all!
I just tried to make UDP broadcasts finally work on my HA instance when i noticed, that UDP broadcasts with blinds higher than 8 seem to have issues. as a reference i will simply copy some debug log in here:
For my first blind, which is 01, this does not seem to be an issue at all:
It seems to be related to the
handle_packet_v6
method within themediola2mqtt.py
, but i didn't dig any deeper as i am not an expert on python anyways.I remember changing some stuff for recognition and sending commands towards the gateway for blinds higher than 09 as the standard procedure didn't seem to work. So this might be related that it needs adaptions as well?
Thanks in advance for your great efforts already!
Best regards,
Thomas
The text was updated successfully, but these errors were encountered: