Skip to content
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

[shelly] Roller position flipping between 0 and 100 on Roller UP/DOWN #10236

Closed
markus7017 opened this issue Feb 25, 2021 · 1 comment · Fixed by #10220
Closed

[shelly] Roller position flipping between 0 and 100 on Roller UP/DOWN #10236

markus7017 opened this issue Feb 25, 2021 · 1 comment · Fixed by #10220
Assignees
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@markus7017
Copy link
Contributor

The first log was from when I did not touch the Curtains at all. If I change the Curtains I need to use either UP or DOWN. If I use 0 or 100, it complains:

18:38:31.598 [WARN ] [ly.internal.handler.ShellyBaseHandler] - shellyswitch25-68c63af93d76: Device is not calibrated, use Shelly App to perform initial roller calibration.

That is what I wrote in my initial report, this is what I think is the problem. If it is not calibrated, it really doesn’t know if it is 0 or 100 and that is why it is repeating itself. But that is just a wild guess…

If I do the same on my Window opener (which is calibrated), it looks like this when I open it:

18:45:57.180 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Window' changed from 100.0 to 0
18:45:57.630 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Window' changed from 0 to 100.0
18:46:01.768 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Curtains' changed from 0.0 to 100.0

I don’t know why the values are repeated like this (100=>0=>100) but that happens with many items. But if I send 100 to the Window, it closes. So closed is 100 and open is 0.

I think it should be the same for the Curtains but since it is not possible to calibrate them (they draw to little power) maybe this is what confuses the binding.

At the time the first log was taken, the Curtains were OPEN. So it should be 0 but I cannot confirm that since it is not possible to check the state like this without calibration.
If I check the Curtains.state anyway, it is 0.0 in both OPEN and CLOSED state. During the time Curtains are moving, the state is 100.0.

When I change the Curtains, I always send a command. No physical button.

Here is the log from a complete sequence: first command UP, waiting to finish, waiting several seconds more then command DOWN. You can see where it happens in the log.

18:59:02.061 [INFO ] [openhab.event.ItemCommandEvent       ] - Item 'Curtains' received command UP
18:59:02.066 [INFO ] [openhab.event.ItemStatePredictedEvent] - Item 'Curtains' predicted to become UP
18:59:02.066 [DEBUG] [y.internal.handler.ShellyRelayHandler] - shellyswitch25-68c63af93d76: Roller command/position UP
18:59:02.094 [DEBUG] [y.internal.handler.ShellyRelayHandler] - shellyswitch25-68c63af93d76: Open roller
18:59:02.113 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel roller#control updated with 0 (type class org.openhab.core.library.types.PercentType).
18:59:02.114 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#heartBeat updated with 2021-02-23T18:59:02.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:02.323 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: CoIoT Message from /192.168.1.176:5683 (MID=28652): {"G":[[0,9103,1],[0,1102,"open"],[0,1103,-1],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,0],[0,6103,"normal"],[0,3104,60.49],[0,6101,0],[0,9101,"roller"]]}
18:59:02.324 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: CoIoT Sensor data {"G":[[0,9103,1],[0,1102,"open"],[0,1103,-1],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,0],[0,6103,"normal"],[0,3104,60.49],[0,6101,0],[0,9101,"roller"]]} (serial=57618)
18:59:02.331 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: 15 CoAP sensor updates received
18:59:02.332 [DEBUG] [lly.internal.coap.ShellyCoIoTVersion2] - shellyswitch25-68c63af93d76: Updating meter1:currentWatts with 0.0
18:59:02.333 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel roller#control updated with 100.0 % (type class org.openhab.core.library.types.QuantityType).
18:59:02.335 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Curtains' changed from 0 to 100.0
18:59:02.337 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel roller#state updated with open (type class org.openhab.core.library.types.StringType).
18:59:02.340 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: 2 channels updated from CoIoT status, serial=57618
18:59:02.895 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-e0980695993a: Channel device#heartBeat updated with 2021-02-23T18:59:02.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:02.915 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-e0980695993a: Channel device#uptime updated with 8033700 s (type class org.openhab.core.library.types.QuantityType).
18:59:02.915 [DEBUG] [ly.internal.handler.ShellyBaseHandler] - shellyswitch25-e0980695993a: status.update=8033700, lastUpdate=8033684
18:59:03.305 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#heartBeat updated with 2021-02-23T18:59:03.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:03.323 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#uptime updated with 288465 s (type class org.openhab.core.library.types.QuantityType).
18:59:03.324 [DEBUG] [ly.internal.handler.ShellyBaseHandler] - shellyswitch25-68c63af93d76: status.update=288465, lastUpdate=288461
18:59:06.543 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#heartBeat updated with 2021-02-23T18:59:06.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:06.569 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#uptime updated with 288468 s (type class org.openhab.core.library.types.QuantityType).
18:59:06.570 [DEBUG] [ly.internal.handler.ShellyBaseHandler] - shellyswitch25-68c63af93d76: status.update=288468, lastUpdate=288465
18:59:10.159 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: CoIoT Message from /192.168.1.176:5683 (MID=28653): {"G":[[0,9103,1],[0,1102,"open"],[0,1103,-1],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,0],[0,6103,"normal"],[0,3104,60.36],[0,6101,0],[0,9101,"roller"]]}
18:59:10.162 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#heartBeat updated with 2021-02-23T18:59:10.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:10.162 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: CoIoT Sensor data {"G":[[0,9103,1],[0,1102,"open"],[0,1103,-1],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,0],[0,6103,"normal"],[0,3104,60.36],[0,6101,0],[0,9101,"roller"]]} (serial=57874)
18:59:10.163 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: 15 CoAP sensor updates received
18:59:10.164 [DEBUG] [lly.internal.coap.ShellyCoIoTVersion2] - shellyswitch25-68c63af93d76: Updating meter1:currentWatts with 0.0
18:59:11.318 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: CoIoT Message from /192.168.1.176:5683 (MID=28654): {"G":[[0,9103,1],[0,1102,"stop"],[0,1103,-1],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,0],[0,6103,"normal"],[0,3104,60.36],[0,6101,0],[0,9101,"roller"]]}
18:59:11.319 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#heartBeat updated with 2021-02-23T18:59:11.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:11.320 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: CoIoT Sensor data {"G":[[0,9103,1],[0,1102,"stop"],[0,1103,-1],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,0],[0,6103,"normal"],[0,3104,60.36],[0,6101,0],[0,9101,"roller"]]} (serial=58130)
18:59:11.320 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: 15 CoAP sensor updates received
18:59:11.321 [DEBUG] [lly.internal.coap.ShellyCoIoTVersion2] - shellyswitch25-68c63af93d76: Updating meter1:currentWatts with 0.0
18:59:11.322 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel roller#state updated with stop (type class org.openhab.core.library.types.StringType).
18:59:11.323 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: 1 channels updated from CoIoT status, serial=58130
18:59:12.811 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#heartBeat updated with 2021-02-23T18:59:12.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:12.831 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel roller#control updated with 0.0 % (type class org.openhab.core.library.types.QuantityType).
18:59:12.831 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Curtains' changed from 100.0 to 0.0
18:59:12.831 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#uptime updated with 288474 s (type class org.openhab.core.library.types.QuantityType).
18:59:12.838 [DEBUG] [ly.internal.handler.ShellyBaseHandler] - shellyswitch25-68c63af93d76: status.update=288474, lastUpdate=288468
18:59:15.633 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-e0980695993a: CoIoT Message from /192.168.1.118:5683 (MID=65214): {"G":[[0,9103,0],[0,1102,"stop"],[0,1103,0],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,449],[0,6103,"normal"],[0,3104,60.61],[0,6101,0],[0,9101,"roller"]]}
18:59:15.635 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-e0980695993a: Channel device#heartBeat updated with 2021-02-23T18:59:15.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:15.636 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-e0980695993a: Serial 50193 was already processed, ignore update
18:59:23.569 [INFO ] [openhab.event.ItemCommandEvent       ] - Item 'Curtains' received command DOWN
18:59:23.572 [INFO ] [openhab.event.ItemStatePredictedEvent] - Item 'Curtains' predicted to become DOWN
18:59:23.573 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Curtains' changed from 0.0 to 100
18:59:23.575 [DEBUG] [y.internal.handler.ShellyRelayHandler] - shellyswitch25-68c63af93d76: Roller command/position DOWN
18:59:23.596 [DEBUG] [y.internal.handler.ShellyRelayHandler] - shellyswitch25-68c63af93d76: Closing roller
18:59:23.614 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel roller#control updated with 0 (type class org.openhab.core.library.types.PercentType).
18:59:23.615 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Curtains' changed from 100 to 0
18:59:23.615 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#heartBeat updated with 2021-02-23T18:59:23.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:23.821 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: CoIoT Message from /192.168.1.176:5683 (MID=28655): {"G":[[0,9103,1],[0,1102,"close"],[0,1103,-1],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,0],[0,6103,"normal"],[0,3104,60.36],[0,6101,0],[0,9101,"roller"]]}
18:59:23.823 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: CoIoT Sensor data {"G":[[0,9103,1],[0,1102,"close"],[0,1103,-1],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,0],[0,6103,"normal"],[0,3104,60.36],[0,6101,0],[0,9101,"roller"]]} (serial=58386)
18:59:23.826 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: 15 CoAP sensor updates received
18:59:23.827 [DEBUG] [lly.internal.coap.ShellyCoIoTVersion2] - shellyswitch25-68c63af93d76: Updating meter1:currentWatts with 0.0
18:59:23.828 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel roller#control updated with 100.0 % (type class org.openhab.core.library.types.QuantityType).
18:59:23.829 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Curtains' changed from 0 to 100.0
18:59:23.829 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel roller#state updated with close (type class org.openhab.core.library.types.StringType).
18:59:23.830 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: 2 channels updated from CoIoT status, serial=58386
18:59:25.109 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#heartBeat updated with 2021-02-23T18:59:25.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:25.131 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#uptime updated with 288486 s (type class org.openhab.core.library.types.QuantityType).
18:59:25.132 [DEBUG] [ly.internal.handler.ShellyBaseHandler] - shellyswitch25-68c63af93d76: status.update=288486, lastUpdate=288474
18:59:28.351 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#heartBeat updated with 2021-02-23T18:59:28.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:28.383 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#uptime updated with 288490 s (type class org.openhab.core.library.types.QuantityType).
18:59:28.384 [DEBUG] [ly.internal.handler.ShellyBaseHandler] - shellyswitch25-68c63af93d76: status.update=288490, lastUpdate=288486
18:59:30.690 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-e0980695993a: CoIoT Message from /192.168.1.118:5683 (MID=65215): {"G":[[0,9103,0],[0,1102,"stop"],[0,1103,0],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,449],[0,6103,"normal"],[0,3104,60.61],[0,6101,0],[0,9101,"roller"]]}
18:59:30.692 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-e0980695993a: Channel device#heartBeat updated with 2021-02-23T18:59:30.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:30.694 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-e0980695993a: Serial 50193 was already processed, ignore update
18:59:32.820 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: CoIoT Message from /192.168.1.176:5683 (MID=28656): {"G":[[0,9103,1],[0,1102,"stop"],[0,1103,-1],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,0],[0,6103,"normal"],[0,3104,60.61],[0,6101,0],[0,9101,"roller"]]}
18:59:32.823 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#heartBeat updated with 2021-02-23T18:59:32.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:32.824 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: CoIoT Sensor data {"G":[[0,9103,1],[0,1102,"stop"],[0,1103,-1],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,0],[0,6103,"normal"],[0,3104,60.61],[0,6101,0],[0,9101,"roller"]]} (serial=58642)
18:59:32.825 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: 15 CoAP sensor updates received
18:59:32.826 [DEBUG] [lly.internal.coap.ShellyCoIoTVersion2] - shellyswitch25-68c63af93d76: Updating meter1:currentWatts with 0.0
18:59:32.827 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#internalTemp updated with 61 °C (type class org.openhab.core.library.types.QuantityType).
18:59:32.828 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel roller#state updated with stop (type class org.openhab.core.library.types.StringType).
18:59:32.828 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: 2 channels updated from CoIoT status, serial=58642
18:59:34.633 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#heartBeat updated with 2021-02-23T18:59:34.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:34.656 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel roller#control updated with 0.0 % (type class org.openhab.core.library.types.QuantityType).
18:59:34.658 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#uptime updated with 288496 s (type class org.openhab.core.library.types.QuantityType).
18:59:34.659 [DEBUG] [ly.internal.handler.ShellyBaseHandler] - shellyswitch25-68c63af93d76: status.update=288496, lastUpdate=288490
18:59:34.656 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Curtains' changed from 100.0 to 0.0
18:59:34.662 [DEBUG] [ly.internal.handler.ShellyBaseHandler] - shellyswitch25-68c63af93d76: Max Internal Temp for device changed to 61
18:59:45.266 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-e0980695993a: Channel device#heartBeat updated with 2021-02-23T18:59:45.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:45.283 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-e0980695993a: Channel device#uptime updated with 8033742 s (type class org.openhab.core.library.types.QuantityType).
18:59:45.285 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-e0980695993a: Channel device#internalTemp updated with 60 °C (type class org.openhab.core.library.types.QuantityType).
18:59:45.286 [DEBUG] [ly.internal.handler.ShellyBaseHandler] - shellyswitch25-e0980695993a: status.update=8033742, lastUpdate=8033700
18:59:45.703 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-e0980695993a: CoIoT Message from /192.168.1.118:5683 (MID=65216): {"G":[[0,9103,0],[0,1102,"stop"],[0,1103,0],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,449],[0,6103,"normal"],[0,3104,60.49],[0,6101,0],[0,9101,"roller"]]}
18:59:45.705 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-e0980695993a: CoIoT Sensor data {"G":[[0,9103,0],[0,1102,"stop"],[0,1103,0],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,449],[0,6103,"normal"],[0,3104,60.49],[0,6101,0],[0,9101,"roller"]]} (serial=50193)
18:59:45.707 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-e0980695993a: 15 CoAP sensor updates received
18:59:45.707 [DEBUG] [lly.internal.coap.ShellyCoIoTVersion2] - shellyswitch25-e0980695993a: Updating meter1:currentWatts with 0.0
18:59:47.834 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: CoIoT Message from /192.168.1.176:5683 (MID=28657): {"G":[[0,9103,1],[0,1102,"stop"],[0,1103,-1],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,0],[0,6103,"normal"],[0,3104,60.49],[0,6101,0],[0,9101,"roller"]]}
18:59:47.836 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#heartBeat updated with 2021-02-23T18:59:47.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:47.837 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: CoIoT Sensor data {"G":[[0,9103,1],[0,1102,"stop"],[0,1103,-1],[0,2101,0],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4102,0.00],[0,4104,0],[0,6103,"normal"],[0,3104,60.49],[0,6101,0],[0,9101,"roller"]]} (serial=58642)
18:59:47.838 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: 15 CoAP sensor updates received
18:59:47.839 [DEBUG] [lly.internal.coap.ShellyCoIoTVersion2] - shellyswitch25-68c63af93d76: Updating meter1:currentWatts with 0.0
18:59:47.840 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#internalTemp updated with 60 °C (type class org.openhab.core.library.types.QuantityType).
18:59:47.841 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel roller#control updated with 100.0 % (type class org.openhab.core.library.types.QuantityType).
18:59:47.841 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Curtains' changed from 0.0 to 100.0
18:59:47.841 [DEBUG] [helly.internal.coap.ShellyCoapHandler] - shellyswitch25-68c63af93d76: 2 channels updated from CoIoT status, serial=58642
18:59:48.300 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'MQTTCommandsIN' changed from Humidity: 67 to HUMID FAN OFF, setting humidFanON = 0.
18:59:48.302 [INFO ] [org.openhab.core.model.script.rules  ] - MQTT received: HUMID FAN OFF, setting humidFanON = 0.
18:59:48.303 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'MQTTCommandsIN' changed from HUMID FAN OFF, setting humidFanON = 0. to Shutting OFF fan, both humidFanON and smellyFanON = -1
18:59:48.305 [INFO ] [org.openhab.core.model.script.rules  ] - MQTT received: Shutting OFF fan, both humidFanON and smellyFanON = -1
18:59:48.518 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-e0980695993a: Channel device#heartBeat updated with 2021-02-23T18:59:48.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:48.575 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-e0980695993a: Channel device#uptime updated with 8033745 s (type class org.openhab.core.library.types.QuantityType).
18:59:48.576 [DEBUG] [ly.internal.handler.ShellyBaseHandler] - shellyswitch25-e0980695993a: status.update=8033745, lastUpdate=8033742
18:59:49.934 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#heartBeat updated with 2021-02-23T18:59:49.000+0100 (type class org.openhab.core.library.types.DateTimeType).
18:59:49.959 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel roller#control updated with 0.0 % (type class org.openhab.core.library.types.QuantityType).
18:59:49.960 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Curtains' changed from 100.0 to 0.0
18:59:49.961 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#uptime updated with 288511 s (type class org.openhab.core.library.types.QuantityType).
18:59:49.964 [DEBUG] [elly.internal.util.ShellyChannelCache] - shellyswitch25-68c63af93d76: Channel device#internalTemp updated with 61 °C (type class org.openhab.core.library.types.QuantityType).
18:59:49.965 [DEBUG] [ly.internal.handler.ShellyBaseHandler] - shellyswitch25-68c63af93d76: status.update=288511, lastUpdate=288496
openhab>

Shelly_Log_4.txt

@markus7017 markus7017 added the bug An unexpected problem or unintended behavior of an add-on label Feb 25, 2021
@markus7017 markus7017 self-assigned this Feb 25, 2021
@tmp-hallenser
Copy link

I'm having the same issue (lasted firmware of shelly, Openhab 3.3 snapshot)

12:04:58.650 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Rollo' changed from 0 to 100
12:05:00.319 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Rollo' changed from 100 to 0

@markus7017 Any ideas how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants