I lost a widget in the new "Z-Way Home Automation UI". I had a binary widget and a switchMultilevel for my dimmer Fibaro FGD211.
Today I found only the switchMultilevel - I miss the binary. Perhaps it was a Problem, that I renamed both to "Aussenlicht".
What can I do?
Uwe
Lost widget
Re: Lost widget
LAN-Opfer wrote:What can I do?
Some users including myself have mentioned that after edits things may get lost in HA. I noticed that with rules and schedules. Scenes have survived so far. Can't reproduce the thing yet unfortunately.
Do make regular backups from your work (this should work: viewtopic.php?f=3422&t=21052&p=54276#p54276 haven't tried myself yet)
Since 29-12-2016 I am no longer a moderator for this forum
Re: Lost widget
...good idea - I will do that in future. But what about the widget? Shall I reinclude the device?
Uwe
Uwe
Z-Way v2.0.1-rc18 on Raspberry Pi
Re: Lost widget
I can't say for sure, but I would exclude and next include the device. The first action should remove the remaining widget, the last action should create two new widgets.
Since 29-12-2016 I am no longer a moderator for this forum
Re: Lost widget
...I did a exclude and a include again - but I miss the binary. The Id is 13 - before it was 12, but I see only a sensorMultilevel widget.
Z-Way v2.0.1-rc18 on Raspberry Pi
Re: Lost widget
Don't have any dimmers, so I am adraid I can't help you any further
Since 29-12-2016 I am no longer a moderator for this forum
Re: Lost widget
as a workaround I did create a virtual device.
Code for action On:
zway.devices[13].SwitchBinary.Set(1)
Code for action Off:
zway.devices[13].SwitchBinary.Set(0)
Code to get value:
zway.devices[13].SwitchBinary.Get()
Interval in seconds between polling requests
-1
Unfortunately it does not work
(
Code for action On:
zway.devices[13].SwitchBinary.Set(1)
Code for action Off:
zway.devices[13].SwitchBinary.Set(0)
Code to get value:
zway.devices[13].SwitchBinary.Get()
Interval in seconds between polling requests
-1
Unfortunately it does not work

Z-Way v2.0.1-rc18 on Raspberry Pi
Re: Lost widget
How did you make this? I assume HA Create device : toggleButton.LAN-Opfer wrote: zway.devices[13].SwitchBinary.Get()
The Get() command does not return the status of the switch, but rather writes the result to the Z-Way tree.
To get it from there try:
Code: Select all
zway.devices[13].instances[0].SwitchBinary.data.level.value
Since 29-12-2016 I am no longer a moderator for this forum
Re: Lost widget
try for status:
zway.devices[13].instances[0].SwitchBinary.data.level.value ? "on" : "off"
zway.devices[13].instances[0].SwitchBinary.data.level.value ? "on" : "off"
Since 29-12-2016 I am no longer a moderator for this forum