openLuup: Shelly Bridge plugin
-
Oh, you mean the Shelly devices themselves. This is on each individual Shelly device and related to :
Internet & Security > ADVANCED - DEVELOPER SETTINGS > MQTT > Keep Alive.
...but I'm not sure. I you make this longer, it will take londer for your devices to be discovered initially (but that doesn't really matter.) Updates should be effectively instant.
Edit: that increase in CPU doen't seem right. I can barely detect any difference... unless you are subscribed to everything (with, for example MQTT Explorer.) Even then it should be minimal.
-
HaDevice1 CommFailure 0 HaDevice1 Configured 0 HaDevice1 LastUpdate 2021-04-16 18:30:58 HaDevice1 PollMinDelay 60 HaDevice1 history graph PollingEnabled 0 SwitchPower1 Status 0 SwitchPower1 Target 0 93FC56 announce {"id":"shelly1-93FC56","model":"SHSW-1","mac":"BCDDC293FC56","ip":"192.168.1.100","new_fw":true,"fw... 93FC56 input/0 0 93FC56 input_event/0 {"event":"","event_cnt":0} 93FC56 online true 93FC56 relay/0 off
-
Ah, no, sorry. I meant specifically the announce message (first one after bridge starts up.)
-
OK, that's great, exactly what I needed. The latest development version v21.4.17 should have fixed this.
-
I totally understand the difficulty with out the device.
The variable target now updates to 1 or 0 depending if switch is on or off.
so
device state off and icon off
press on icon, icon flashes to on then back to off, the variable target updates to 1. Device does not respond
press icon again this time icon stay on, variable target stays at 1 . The devices does not respond.
press icon again this time icon stays at off, variable target updates to 0. The device does not respond.Status never changes form 0
when subscribed to shellies/shelly1-93FC56/rely/0
no messages are received when icon is pressed. -
@Elcid
I'm trying a different approach. Please delete any Shelly-1 devices and then update to 21.4.17b. This will force each Shelly-1 to have a parent device (of generic Shelly type) and a child device (binary light). Actions on the binary light should now work as expected, but, once again, I can't easily test it myself.