Status updates to Indigo Event Log

Posted on
Thu Jan 07, 2021 12:15 pm
Espressomatic offline
Posts: 73
Joined: Dec 30, 2018

Status updates to Indigo Event Log

I scanned through all the main threads here so I hope I didn't miss anything about this. :)

Is there currently any way to enable the plugin to post status messages to Indigo's event log? The same way others, like Z-Wave do when messages/status are sent or received. For example, when I operate a Z-Wave switch directly, this gets printed to the log:

Jan 7, 2021 at 12:45:06 PM
Z-Wave received "Lights - Upstairs" status update is on

Posted on
Thu Jan 07, 2021 9:55 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Status updates to Indigo Event Log

No but that easy to add will do in the next release as an option in config


Sent from my iPhone using Tapatalk

Posted on
Sat Jan 09, 2021 8:26 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Status updates to Indigo Event Log

Q: witch messages should show/ which dev type and which state ?
On/off
Dimmer changes
Temperature changes
Energy usage
..

How about setting in config
Log dev changes :off all/ on all/ set in each device edit
?

Karl


Sent from my iPhone using Tapatalk

Posted on
Sat Jan 09, 2021 10:35 am
Espressomatic offline
Posts: 73
Joined: Dec 30, 2018

Re: Status updates to Indigo Event Log

I'd suggest matching whatever happens for the Z-Wave stack right now. Definitely ON/OFF/Dimmer status always gets displayed. Energy Usage which can happen quite frequently should have some kind of option to suppress/disable log messages (this is device-specific for Z-Wave devices and not all of them have this option).

I'd also suggest distinguishing between commands SENT and status received, also like Z-Wave. So when sending from Indigo via button/UI or action, the word "Sent" is included in the status. And when operating the device physically, the word "Received" is used.

Posted on
Wed May 05, 2021 4:10 am
Coolcaper offline
Posts: 299
Joined: Aug 30, 2013
Location: Australia

Re: Status updates to Indigo Event Log

Just checking if this was ever implemented. I'm not getting any messages in the event log.

Posted on
Wed May 05, 2021 8:04 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Status updates to Indigo Event Log

would this work:
Code: Select all
   shellyDirect                    dev:"shelly_192.168.1.112"  state:"onOffState"   changed from  "False,-ui:off""; to "True-ui:Motion""
   shellyDirect                    dev:"shelly_192.168.1.106"  state:"onOffState"   changed from  "True"; to "False"
   shellyDirect                    dev:"shelly_192.168.1.104"  state:"WiFi_rssi"   changed from  "-63"; to "-65"

?

w optioning config to log: no change / only on-off changes / all changes


send and receive seems trivial, but it is not:
on a shelly changes can be initiated through the plugin, web browser, phone shelly app/ other shelly devices

easy to add are plugin actions: " send xxx " (that is already there, but much more data - in the debug config area.)


Karl

Posted on
Wed May 05, 2021 9:55 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Status updates to Indigo Event Log

Code: Select all
2021-05-05 10:50:56 received "shelly_192.168.1.106" onOffState to "True"
2021-05-05 10:51:02 received "shelly_192.168.1.106" brightnessLevel to "0-ui:0%"
2021-05-05 10:51:08 received "shelly_192.168.1.106" onOffState to "True"
2021-05-05 10:51:09 send "shelly_192.168.1.104"  light/0?turn=off
2021-05-05 10:51:14 received "shelly_192.168.1.106" brightnessLevel to "0-ui:0%"
2021-05-05 10:51:14 received "shelly_192.168.1.106" WiFi_rssi to "-71"
2021-05-05 10:51:17 received "shelly_192.168.1.104" onOffState to "True"
2021-05-05 10:51:17 send "shelly_192.168.1.104"  light/0?turn=on
2021-05-05 10:51:17 send "shelly_192.168.1.106"  light/0?turn=off
2021-05-05 10:51:17 received "shelly_192.168.1.104" brightnessLevel to "79-ui:79%"
2021-05-05 10:51:17 received "shelly_192.168.1.104" whiteLevel to "79-ui:79%"
2021-05-05 10:51:18 received "shelly_192.168.1.106" brightnessLevel to "79-ui:79%"
2021-05-05 10:51:18 received "shelly_192.168.1.106" onOffState to "True"
2021-05-05 10:51:18 received "shelly_192.168.1.106" whiteLevel to "79-ui:79%"
2021-05-05 10:51:18 send "shelly_192.168.1.106"  light/0?turn=on&brightness=79
2021-05-05 10:51:18 received "shelly_192.168.1.106" brightnessLevel to "0-ui:0%"
2021-05-05 10:51:18 received "shelly_192.168.1.106" onOffState to "False"
2021-05-05 10:51:18 received "shelly_192.168.1.106" whiteLevel to "0-ui:0%"
2021-05-05 10:51:18 received "shelly_192.168.1.106" onOffState to "True"
2021-05-05 10:51:18 received "shelly_192.168.1.104" power to "5.6-ui:5.6[W]"
2021-05-05 10:51:18 received "shelly_192.168.1.106" brightnessLevel to "79-ui:79%"
2021-05-05 10:51:18 received "shelly_192.168.1.106" whiteLevel to "79-ui:79%"
2021-05-05 10:51:18 send "shelly_192.168.1.106"  light/0?turn=on&brightness=79
2021-05-05 10:51:19 received "shelly_192.168.1.106" WiFi_rssi to "-72"
2021-05-05 10:51:44 received "shelly_192.168.1.106" WiFi_rssi to "-71"
2021-05-05 10:51:56 received "shelly_192.168.1.106" WiFi_rssi to "-70"


this is what I have now (next version) is that enough?

Actions (click on on/off or menu/action ) will add to indigo log
send dev.name command send to shelly device
any CHANGE in dev states will add in indigo log:
received "dev.name" state to " value - ui value"
or
received "dev.name" state to " value"
if no ui value defined

There can be a lot of entries, depending on frequency settings, ie for wifi values they tend to change by +-1 every time the shelly device is queried

Karl

Posted on
Wed May 05, 2021 2:52 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Status updates to Indigo Event Log

added some options for logging outgoing and incoming data, to show the same as zwave.
off/on/off only/ all no wifi/ all
Code: Select all
only on/off
   shellyDirect                    received "shelly_192.168.1.104" onOffState to "False"
   shellyDirect                    send "shelly_192.168.1.104"  light/0?turn=off
   shellyDirect                    send "shelly_192.168.1.106"  light/0?turn=on
   shellyDirect                    received "shelly_192.168.1.106" onOffState to "False"
   shellyDirect                    send "shelly_192.168.1.106"  light/0?turn=off
   shellyDirect                    send "shelly_192.168.1.106"  light/0?turn=off&brightness=0
   shellyDirect                    received "shelly_192.168.1.104" onOffState to "True"
   shellyDirect                    send "shelly_192.168.1.104"  light/0?turn=on
   shellyDirect                    send "shelly_192.168.1.106"  light/0?turn=off
   shellyDirect                    received "shelly_192.168.1.106" onOffState to "True"
   shellyDirect                    send "shelly_192.168.1.106"  light/0?turn=on&brightness=100
   shellyDirect                    received "shelly_192.168.1.112" onOffState to "True"; ui="Motion"
   shellyDirect                    received "shelly_192.168.1.112" onOffState to "True"; ui="Tamper"
   shellyDirect                    received "shelly_192.168.1.112" onOffState to "True"; ui="Motion"
   shellyDirect                    received "shelly_192.168.1.112" onOffState to "True"; ui="Tamper"
   shellyDirect                    received "shelly_192.168.1.112" onOffState to "True"; ui="Motion"
   shellyDirect                    received "shelly_192.168.1.112" onOffState to "True"; ui="Tamper"
   shellyDirect                    received "shelly_192.168.1.112" onOffState to "True"; ui="Motion"
all no wifi
   shellyDirect                    received "shelly_192.168.1.104" onOffState to "False"
   shellyDirect                    received "shelly_192.168.1.104" whiteLevel to "0"; ui="0%"
   shellyDirect                    received "shelly_192.168.1.106" onOffState to "False"
   shellyDirect                    received "shelly_192.168.1.106" whiteLevel to "0"; ui="0%"
   shellyDirect                    received "shelly_192.168.1.104" power to "0.0"; ui="0.0[W]"
   shellyDirect                    received "shelly_192.168.1.104" onOffState to "True"
   shellyDirect                    received "shelly_192.168.1.106" power to "0.0"; ui="0.0[W]"
   shellyDirect                    received "shelly_192.168.1.104" whiteLevel to "100"; ui="100%"
   shellyDirect                    received "shelly_192.168.1.106" brightnessLevel to "100"; ui="100%"
   shellyDirect                    received "shelly_192.168.1.106" onOffState to "True"
   shellyDirect                    received "shelly_192.168.1.106" whiteLevel to "100"; ui="100%"
   shellyDirect                    received "shelly_192.168.1.104" power to "9.0"; ui="9.0[W]"
   shellyDirect                    received "shelly_192.168.1.106" power to "10.0"; ui="10.0[W]"
   shellyDirect                    received "shelly_192.168.1.104" brightnessLevel to "30"; ui="30%"
   shellyDirect                    received "shelly_192.168.1.104" whiteLevel to "30"; ui="30%"
   shellyDirect                    received "shelly_192.168.1.106" brightnessLevel to "30"; ui="30%"
   shellyDirect                    received "shelly_192.168.1.106" whiteLevel to "30"; ui="30%"
   shellyDirect                    received "shelly_192.168.1.104" power to "0.8"; ui="0.8[W]"
all:
   shellyDirect                    received "shelly_192.168.1.106" WiFi_rssi to "-74"
   shellyDirect                    send "shelly_192.168.1.104"  light/0?turn=on
   shellyDirect                    received "shelly_192.168.1.104" onOffState to "False"
   shellyDirect                    send "shelly_192.168.1.104"  light/0?turn=off
   shellyDirect                    send "shelly_192.168.1.106"  light/0?turn=on
   shellyDirect                    received "shelly_192.168.1.104" whiteLevel to "0"; ui="0%"
   shellyDirect                    received "shelly_192.168.1.106" onOffState to "False"
   shellyDirect                    send "shelly_192.168.1.106"  light/0?turn=off
   shellyDirect                    received "shelly_192.168.1.106" whiteLevel to "0"; ui="0%"
   shellyDirect                    send "shelly_192.168.1.106"  light/0?turn=off&brightness=0
   shellyDirect                    received "shelly_192.168.1.104" power to "0.0"; ui="0.0[W]"
   shellyDirect                    received "shelly_192.168.1.106" power to "0.0"; ui="0.0[W]"
   shellyDirect                    received "shelly_192.168.1.106" WiFi_rssi to "-75"
   shellyDirect                    received "shelly_192.168.1.104" WiFi_rssi to "-62"
   shellyDirect                    received "shelly_192.168.1.106" WiFi_rssi to "-76"
   shellyDirect                    received "shelly_192.168.1.106" WiFi_rssi to "-71"
   shellyDirect                    received "shelly_192.168.1.106" WiFi_rssi to "-72"


will post that later today

Karl

Posted on
Fri May 07, 2021 4:16 am
Coolcaper offline
Posts: 299
Joined: Aug 30, 2013
Location: Australia

Re: Status updates to Indigo Event Log

Thanks Karl.

Am playing around with the settings now and it looks good. Will get back to you, if anything.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests

cron