-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting status bits in send messages #41
Comments
I read the discussion in the linked thread but I do not really understand what is missing. Are the status bits present there in the EEP profile and supported? |
Hi @romor, the status bits are present in the EEP and are requered from enocean. I used this EEP with this specification. This is the message from debug, in the other discussion:
And the status bits should be in this case a |
Hi @romor, Hi @LarsKoeppel I think I found the problem. As we use ERP1 and its DATA structure is always [<RORG><PAYLOAD><SENDER><STATUS>], we could solve this issue in communicator.py by adding after L461 packet.data[-1] = packet.status @romor, is this OK for you or do you have a better idea ? If OK, do you want me to make the pull request ? |
@mak-gitdev, thanks for your support! I still do not fully understand why the status bits are not set within However, I trust in your proposal and for me it's fine to add it here, even if it is a work-around. Feel free to raise a pull request. |
@romor, I am as baffled as you are but I think it is done intentionally because in the Ok for the pull request. Thanks. |
Set status bit when sending message. See embyt/enocean-mqtt/embyt#41 for more details.
- Latest enocean-mqtt version which fixes status bits setting (see #65 and embyt/enocean-mqtt#41 for more details) - From now, use mak-gitdev/enocean as Python EnOcean Library which fixes "list index out of range error" thanks to @kridgo patch (see kipe/enocean#134 and kipe/enocean#138 for more details). - Add virtual A5-10-06 (#46) - Add '%' as unit of measurement for A5-20-01 current value field (#53) - Update F6-02-[01-02] mapping to send status bits thanks to @LarsKoeppel.
Hello,
i use HA_enoceanmqtt which builds on enocean-mqtt to integrate and control my devices in Home Assistant.
As described in this discussion, my shutter only seems to respond to messages that have the status bits set correctly. So my question is if it would be possible to implement this functionality in enocean-mqtt.
Best regards
The text was updated successfully, but these errors were encountered: