-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
MySensors Entities are not properly set when activating scenes #59388
Comments
mysensors documentation |
Hey there @MartinHjelmare, @functionpointer, mind taking a look at this issue as it has been labeled with an integration ( |
There's nothing the integration can do about NACKs. If the communication between the gateway and device fails, it's a problem with the gateway or device. The integration only handles the communication between the gateway and Home Assistant. |
Regarding your scene it seems to include attributes that are not relevant for setting the light in the correct mode. I'd advice to only include the attributes that are relevant to adjust the light setting, like color, brightness etc, ie not |
hey Martin, thanks for your reply.
I configured the scene using the gui scene editor, so I didn't choose which values are stored and which not.
I was thinking that it might be a timing issue, since when sending single values everything works as expected and HA is sending out updates too fast to the gateway? |
Gateways that don't have adequate clean power supply may experience problems with frequent messages. |
I'll try with another power supply, but I doubt that that is a problem in my case. I have enough buffering caps in place and the power the USB port provides should be sufficient |
I just tried it with my big lab PSU. This doesn't save the problem unfortunately |
After some writing with the mysensors devs it seems that it is a problem on their side, but they don't have time to fix it unfortunately |
The problem
I have a setup with multiple mySensors lights. Some of them are single channel dimmers, some of them are RGBW dimmers. If I set the values for those lights by hand the function like expected. Once I use them in a scene, at most one of the lights gets set as in defined in the scene. Sometimes even none o them reacts. When using a script to set the values one after another that works flawlessly if I put a delay of around 400 ms between each action.
I'm using MySensors 2.3.2 and Homeassistant connects via serial to the gateway. It's an Arduino Nano with it's serial port exposed via USB running at 115200 baud. The light nodes have the software signing component of mysensors enabled.
The sketch I wrote for this works perfectly when setting single values so I suspect something in the communication between HA and the gateway is messed up. There are a lot of RC=1 messages in the logs which hint, that the gateway is stuck in some kind of loop.
I could provide more sketches and logs if required.
Do you guys have any hints what I could try? I also searched the other issues and forums (HA aswell as the mysensors forums) but I couldn't find anything useful.
What version of Home Assistant Core has the issue?
2021.9.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
MySensors
Link to integration documentation on our website
https://www.home-assistant.io/integrations/light.mysensors/
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
MySensors Software Signing is enabled. It sometimes causes Errors as seen in the logs but only when setting scenes. The errors don't appear in manual operation.
The text was updated successfully, but these errors were encountered: