Shelly Binding

you need to click on the link and then click the download button there, otherwise you just download the html page

*.jar file this is *.zip file, when I unzip i see directory: ESH-INF, lib, ā€¦
This is not this problem.

do you see the binding in bundle:list on the OH console
please try to download the jar again from the snapshot branch - just to make sure

Hi markus!
first of all, Thx for your great work ! everything working fine for me, except one :slight_smile:
iā€™ve got a lot of log in frontail
how i could reduce this,
i tried to change it in the binding parameters by changing interval time, but nothing happens?

Thx you for your reply

2019-09-25 09:34:34.532 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68867a' has been updated.
2019-09-25 09:34:37.806 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68867a' has been updated.
2019-09-25 09:34:41.049 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68867a' has been updated.
2019-09-25 09:34:44.312 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68867a' has been updated.
2019-09-25 09:34:47.533 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68867a' has been updated.
2019-09-25 09:34:50.764 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68867a' has been updated.
2019-09-25 09:34:53.966 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68867a' has been updated.
2019-09-25 09:34:57.238 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68867a' has been updated.
2019-09-25 09:35:07.163 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:686f94' has been updated.
2019-09-25 09:35:10.768 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68708d' has been updated.
2019-09-25 09:35:12.820 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68867a' has been updated.
2019-09-25 09:36:07.737 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:686f94' has been updated.
2019-09-25 09:36:11.374 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68708d' has been updated.
2019-09-25 09:36:13.434 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68867a' has been updated.
2019-09-25 09:37:08.480 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:686f94' has been updated.
2019-09-25 09:37:12.000 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68708d' has been updated.
2019-09-25 09:37:15.069 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68867a' has been updated.
2019-09-25 09:38:09.337 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:686f94' has been updated.
2019-09-25 09:38:12.698 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68708d' has been updated.
2019-09-25 09:38:15.764 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:68867a' has been updated.

do you use the master or the snapshot branch?

Hi !
I use 2.4.0 found here
https://github.com/markus7017/org.openhab.binding.shelly/blob/snapshot/target/org.openhab.binding.shelly-2.4.0-SNAPSHOT.jar

thatā€™s ok, did you changed the status update interval (binding config)? You should keep the default of 60s.
are those Rollers your only devices?
are the rollers moving when you see this action?

a new build updates the properties only if no more thing status are scheduled, give it a try

Iā€™m flooded with those messages too.
Never changed the default update interval.
They log constantly even when nothing changes on the device side.
It happens also with the other shelly devices configured (by now bulb and plugs).

hi markus,
-those rollers are my only shelly devices (5 rollers)
-iā€™ve got these events updates even if none of them are moving

[quote=ā€œmarkus7017, post:312, topic:56862ā€]
a new build updates the properties only if no more thing status are scheduled, give it a try
[/quote] can you explain ?

This is the only things i can control in the binding config

here is my thing settings same for the five rollers :

here the openhab log when i start the system if it helps

==> /var/log/openhab2/events.log <==


2019-09-26 11:27:16.276 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:693b4d' has been updated.

==> /var/log/openhab2/openhab.log <==

2019-09-26 11:27:16.280 [INFO ] [ng.shelly.internal.api.ShellyHttpApi] - Current settings for relay[0]: btn_on_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693b4d/relay/0?type=btn_on/btn_off_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693b4d/relay/0?type=btn_off, out_on_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693b4d/relay/0?type=out_on, out_off_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693b4d/relay/0?type=out_off

2019-09-26 11:27:16.282 [INFO ] [ng.shelly.internal.api.ShellyHttpApi] - Current settings for relay[1]: btn_on_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693b4d/relay/1?type=btn_on/btn_off_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693b4d/relay/1?type=btn_off, out_on_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693b4d/relay/1?type=out_on, out_off_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693b4d/relay/1?type=out_off

2019-09-26 11:27:16.294 [INFO ] [helly.internal.handler.ShellyHandler] - Thing shellyswitch25-693b4d successfully initialized.

==> /var/log/openhab2/events.log <==

2019-09-26 11:27:16.301 [hingStatusInfoChangedEvent] - 'shelly:shelly25-roller:693b4d' changed from INITIALIZING to ONLINE

==> /var/log/openhab2/openhab.log <==

2019-09-26 11:27:16.422 [INFO ] [helly.internal.handler.ShellyHandler] - Initializing device shellyswitch25-686f94 (shellyswitch25-686f94), type SHSW-25, Hardware: Rev: prod-2019-03, batch 1; Firmware: v1.5.3 / 20190822-102551 (1c2d4dd5)

2019-09-26 11:27:16.766 [INFO ] [helly.internal.handler.ShellyHandler] - Initializing device shellyswitch25-693e25 (shellyswitch25-693e25), type SHSW-25, Hardware: Rev: prod-2019-03, batch 1; Firmware: v1.5.3 / 20190822-102551 (1c2d4dd5)

2019-09-26 11:27:16.798 [INFO ] [ng.shelly.internal.api.ShellyHttpApi] - Current settings for relay[0]: btn_on_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-686f94/relay/0?type=btn_on/btn_off_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-686f94/relay/0?type=btn_off, out_on_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-686f94/relay/0?type=out_on, out_off_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-686f94/relay/0?type=out_off

==> /var/log/openhab2/events.log <==

2019-09-26 11:27:16.801 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:686f94' has been updated.

==> /var/log/openhab2/openhab.log <==

2019-09-26 11:27:17.082 [INFO ] [ng.shelly.internal.api.ShellyHttpApi] - Current settings for relay[0]: btn_on_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693e25/relay/0?type=btn_on/btn_off_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693e25/relay/0?type=btn_off, out_on_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693e25/relay/0?type=out_on, out_off_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693e25/relay/0?type=out_off

==> /var/log/openhab2/events.log <==

2019-09-26 11:27:17.084 [me.event.ThingUpdatedEvent] - Thing 'shelly:shelly25-roller:693e25' has been updated.

==> /var/log/openhab2/openhab.log <==

2019-09-26 11:27:17.089 [INFO ] [ng.shelly.internal.api.ShellyHttpApi] - Current settings for relay[1]: btn_on_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693e25/relay/1?type=btn_on/btn_off_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693e25/relay/1?type=btn_off, out_on_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693e25/relay/1?type=out_on, out_off_url=http://192.168.1.29:8080/shelly/event/shellyswitch25-693e25/relay/1?type=out_off

2019-09-26 11:27:17.093 [INFO ] [helly.internal.handler.ShellyHandler] - Thing shellyswitch25-693e25 successfully initialized.

==> /var/log/openhab2/events.log <==

2019-09-26 11:27:17.099 [hingStatusInfoChangedEvent] - 'shelly:shelly25-roller:693e25' changed from INITIALIZING to ONLINE

thanks, works
wget was making a mistake on download

:ok_hand:
could you please post the correct command, several users hit this problem already

i used web browser, and scp to transfer to openhabian

ahā€™ ok

Have you got a solution for these multiples event update?

The Binding is still in beta state, so please be a bit more patient.
I am sure that Markus will change some loglevels in future versions, at least the release.

did you tried the latest build? I made a change to reduce the updates

Iā€™ve just installed the latest snapshot, stopped openhab, cleaned the cache and restart.

Every minute there is a record in the log of ā€œthing has been updatedā€ for every shelly device.

Thx for your reply, apologize my impatience

np

Iā€™m updating skme dynamic values in the properties, like the uptime. The question is if this is so important? or just remove it

If itā€™s for developing purpose I donā€™t think itā€™s a problemā€¦
For the final release I think could be better to suppress them; I donā€™t see those updates with all the other bindingsā€¦and maybe in a raspberry pi with a SD card could be a problem to have all those writes .