Rule2 on Button1#state do Publish nspanel/%topic%/tele/RESULT {"CustomRecv":"event,button1"} endon on Button2#state do Publish nspanel/%topic%/tele/RESULT {"CustomRecv":"event,button2"} endon
Rule2 1
and a button has actually been pressed, the rule works without any issues but the current weather information on the screensaver (temp and icon on the lower left) are not updated anymore until the panel is restarted.
I use the following code to write a datapoint when a button is pressed.
button1: {
mode: 'set', // Mögliche Werte wenn Rule2 definiert: 'page', 'toggle', 'set' - Wenn nicht definiert --> mode: null
page: null, // Zielpage - Verwendet wenn mode = page (bisher button1Page)
entity: '0_userdata.0.Szenen.Arrive-Home', // Zielentity - Verwendet wenn mode = set oder toggle
setValue: 1 // Zielwert - Verwendet wenn mode = set
},
button2: {
mode: 'set', // Mögliche Werte wenn Rule2 definiert: 'page', 'toggle', 'set' - Wenn nicht definiert --> mode: null
page: null, // Zielpage - Verwendet wenn mode = page (bisher button2Page)
entity: '0_userdata.0.Szenen.Leave-Home', // Zielentity - Verwendet wenn mode = set oder toggle
setValue: 1 // Zielwert - Verwendet wenn mode = set
}
The rule is defined on all my panels but only the panels on which a button has actually been pressed show the issue. This can be reproduced for all my panels whether an action for a button has been defined or not. I have only briefly tested Multipress-Mode but until now the issue does not seem to occur when using it.
PROBLEM DESCRIPTION
As mentioned in https://forum.iobroker.net/topic/58170/sonoff-nspanel-mit-lovelace-ui/4190?page=210 as soon as i have a Rule2 defined to detach the hardware buttons by:
and a button has actually been pressed, the rule works without any issues but the current weather information on the screensaver (temp and icon on the lower left) are not updated anymore until the panel is restarted.
I use the following code to write a datapoint when a button is pressed.
The rule is defined on all my panels but only the panels on which a button has actually been pressed show the issue. This can be reproduced for all my panels whether an action for a button has been defined or not. I have only briefly tested Multipress-Mode but until now the issue does not seem to occur when using it.
REQUESTED INFORMATION
TO REPRODUCE
Define Rule2 as shown above, press hardware button
EXPECTED BEHAVIOUR
Weather info keeps updating
SCREENSHOTS
ADDITIONAL CONTEXT
ioBroker
PANEL / FIRMWARE VERION
EU