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 the state of groups containing Inovelli Blue switches result in "rampRateOffToOnRemote" error #18851
Comments
The more I pay attention to this, I think it may be related to persistent issue that I've seen specifically with turning on a group through Zigbee2MQTT. When I directly bind a switch to a group that contains Inovelli Blue switches and other devices (ThirdReality plugs, in this case), the switch reliably controls all devices in the group. When I try to control the same group through HA, often the Inovelli switches will turn on, but the other devices in the group (plugs) do not. If I rearrange the devices in the group by deleting and re-adding the plugs, I can get the group to behave properly from HA. The broken behavior is only in turning lights on (where the non-Inovelli devices don't reliably turn on) - the group always reliably turns all devices in the group off. Since error message is related to |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Still an issue. |
Finally coming back to this, the message is clearly coming from here: https://github.com/Koenkk/zigbee-herdsman-converters/blob/0c21893dd438aeb2b5fb26b78ee1d5b4f6bc2684/src/devices/inovelli.ts#L1072 And specifically this bit of code:
It happens when I turn on a Zigbee group that contains some Inovelli Blue switches, and it happens when Z2M tries to execute the code above on the group and not on the individual devices. Unfortunately, the group doesn't have the Inovelli-specific
I'm not sure what the expected behavior here should be, but the Zigbee group could contain any devices, and it doesn't seem right to look for manufacturer-specific properties on it. Part of what confuses me is that the Inovelli-specific converter is being called at all for these groups. Again, the fact that they happen to contain Inovelli devices seems independent of telling the group to turn on or off, unless it's supposed to be a superset of all its members and their specific properties. It's also weird that this is triggered when the following is true:
And I'm just telling the
I have set the |
Started to get this same error with a group of inovelli switches.. |
Inovelli forum post I started related to this: https://community.inovelli.com/t/zigbee2mqtt-groups-giving-ramprateofftoonremote-error/15713/2 |
The code that generated this error was removed in Koenkk/zigbee-herdsman-converters#7115, and I'm no longer seeing it. I'm going to close this now. |
What happened?
I have a bunch of groups that include Inovelli Blue switches and I get the following error every time something tries to set the state via MQTT:
Publish 'set' 'state' to 'DNH Group' failed: 'TypeError: Cannot read properties of undefined (reading 'rampRateOffToOnRemote')'
The Inovelli switches do have a parameter called
rampRateOffToOnRemote
, but perhaps it's not included in a group containing them? It doesn't seem to matter if there are only Inovelli switches in the group, or if there are other devices in it as well. The command to the group still appears to be successful, I just get errors in the Zigbee2MQTT log whenever a group receives a command. I haven't changed the value of that parameter, so it's set to whatever the default is.What did you expect to happen?
I expect the command to be executed without an error.
How to reproduce it (minimal and precise)
Create a group with one or more Inovelli Blue switches in it and attempt to turn that group on through MQTT (via HA, for instance). Observe that you get those errors in the Zigbee2MQTT log.
Zigbee2MQTT version
1.33.0-dev commit: 3285850
Adapter firmware version
zStack3x0 20221226
Adapter
Tubeszb USB adapter
Debug log
log.txt
The error is here:
The text was updated successfully, but these errors were encountered: