Hi @TAustin
I have some logs for the shelly one
It only works to turn on the device , the button keep spinning and dont report back the state of the device .
What i did in the logs is
- turn on and off the device
- change the ip for a wrong one (192.168.1.3)and wait then change for the ip of my device.
- I have tried 2 shelly one , with same result .
Is there a command to stop the logs in the cli ?
Thanks
? Select a driver. 12
2022-01-18T14:20:58.684678941+00:00 TRACE Shelly Device Driver V1 Received event with handler capability
2022-01-18T14:20:58.846814843+00:00 INFO Shelly Device Driver V1 <Device: f0c9426b-aa11-4712-90b7-2ea474a26c49 (Shelly R1 2)> received command: {“positional_args”:,“args”:,“component”:“main”,“capability”:“switch”,“command”:“on”}
2022-01-18T14:20:58.851490138+00:00 TRACE Shelly Device Driver V1 Found CapabilityCommandDispatcher handler in thisDriver
2022-01-18T14:20:58.934599630+00:00 INFO Shelly Device Driver V1 main switch turned on
2022-01-18T14:20:58.940466520+00:00 PRINT Shelly Device Driver V1 Sending HTTP request: http://192.168.1.36/relay/0/?turn=on
2022-01-18T14:20:59.410881319+00:00 PRINT Shelly Device Driver V1 response=> {“ison”:true,“has_timer”:false,“timer_started”:0,“timer_duration”:0,“timer_remaining”:0,“source”:“http”}
2022-01-18T14:20:59.440328410+00:00 ERROR Shelly Device Driver V1 Shelly R1 2 thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <Device: f0c9426b-aa11-4712-90b7-2ea474a26c49 (Shelly R1 2)>:
arg1: table: 0x18a0368
[string “st.capabilities”]:225: Value table: 0x180cbb0 is invalid for Switch.switch
2022-01-18T14:21:29.324807669+00:00 TRACE Shelly Device Driver V1 Received event with handler capability
2022-01-18T14:21:29.378155544+00:00 INFO Shelly Device Driver V1 <Device: f0c9426b-aa11-4712-90b7-2ea474a26c49 (Shelly R1 2)> received command: {“positional_args”:,“args”:,“component”:“main”,“capability”:“switch”,“command”:“on”}
2022-01-18T14:21:29.388433669+00:00 TRACE Shelly Device Driver V1 Found CapabilityCommandDispatcher handler in thisDriver
2022-01-18T14:21:29.417691003+00:00 INFO Shelly Device Driver V1 main switch turned on
2022-01-18T14:21:29.427929253+00:00 PRINT Shelly Device Driver V1 Sending HTTP request: http://192.168.1.36/relay/0/?turn=on
2022-01-18T14:21:29.708135753+00:00 PRINT Shelly Device Driver V1 response=> {“ison”:true,“has_timer”:false,“timer_started”:0,“timer_duration”:0,“timer_remaining”:0,“source”:“http”}
2022-01-18T14:21:29.730809211+00:00 ERROR Shelly Device Driver V1 Shelly R1 2 thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <Device: f0c9426b-aa11-4712-90b7-2ea474a26c49 (Shelly R1 2)>:
arg1: table: 0x1890580
[string “st.capabilities”]:225: Value table: 0x18983d0 is invalid for Switch.switch
2022-01-18T14:22:35.400754469+00:00 TRACE Shelly Device Driver V1 Received event with handler device_lifecycle
2022-01-18T14:22:35.406858344+00:00 INFO Shelly Device Driver V1 <Device: f0c9426b-aa11-4712-90b7-2ea474a26c49 (Shelly R1 2)> received lifecycle event: infoChanged
2022-01-18T14:22:35.450650385+00:00 TRACE Shelly Device Driver V1 Found DeviceLifecycleDispatcher handler in thisDriver2022-01-18T14:22:35.453975635+00:00 DEBUG Shelly Device Driver V1 Info changed handler invoked
2022-01-18T14:22:35.469691802+00:00 INFO Shelly Device Driver V1 Device address changed to: 192.168.1.3
2022-01-18T14:22:35.499470760+00:00 PRINT Shelly Device Driver V1 Sending HTTP request: http://192.168.1.3/status
2022-01-18T14:22:38.653597719+00:00 ERROR Shelly Device Driver V1 HTTP request failed: [string “socket”]:1406: connect (with timeout) failed (192.168.1.3:80): Os { code: 113, kind: Other, message: “No route to host” }
2022-01-18T14:22:39.666785511+00:00 PRINT Shelly Device Driver V1 Sending HTTP request: http://192.168.1.3/status
2022-01-18T14:22:41.776546678+00:00 ERROR Shelly Device Driver V1 HTTP request failed: [string “socket”]:1406: connect (with timeout) failed (192.168.1.3:80): Os { code: 113, kind: Other, message: “No route to host” }
2022-01-18T14:22:42.783529678+00:00 ERROR Shelly Device Driver V1 Failed to get status for Shelly R1 2
2022-01-18T14:22:42.789973428+00:00 DEBUG Shelly Device Driver V1 Shelly R1 2 device thread event handled
2022-01-18T14:22:57.234401596+00:00 TRACE Shelly Device Driver V1 Received event with handler device_lifecycle
2022-01-18T14:22:57.242312680+00:00 INFO Shelly Device Driver V1 <Device: f0c9426b-aa11-4712-90b7-2ea474a26c49 (Shelly R1 2)> received lifecycle event: infoChanged
2022-01-18T14:22:57.254714263+00:00 TRACE Shelly Device Driver V1 Found DeviceLifecycleDispatcher handler in thisDriver2022-01-18T14:22:57.258425971+00:00 DEBUG Shelly Device Driver V1 Info changed handler invoked
2022-01-18T14:22:57.261474430+00:00 INFO Shelly Device Driver V1 Device address changed to: 192.168.1.36
2022-01-18T14:22:57.270234513+00:00 PRINT Shelly Device Driver V1 Sending HTTP request: http://192.168.1.36/status
2022-01-18T14:22:57.361582513+00:00 PRINT Shelly Device Driver V1 response=> {“wifi_sta”:{“connected”:true,“ssid”:“BELL808”,“ip”:“192.168.1.36”,“rssi”:-39},“cloud”:{“enabled”:true,“connected”:true},“mqtt”:{“connected”:false},“time”:“09:22”,“unixtime”:1642515777,“serial”:239,“has_update”:false,“mac”:“A4CF12F47D54”,“cfg_changed_cnt”:1,“actions_stats”:{“skipped”:0},“relays”:[{“ison”:true,“has_timer”:false,“timer_started”:0,“timer_duration”:0,“timer_remaining”:0,“source”:“http”}],“meters”:[{“power”:0.00,“is_valid”:true}],“inputs”:[{“input”:0,“event”:"",“event_cnt”:0}],“ext_sensors”:{},“ext_temperature”:{},“ext_humidity”:{},“update”:{“status”:“idle”,“has_update”:false,“new_version”:“20211109-124958/v1.11.7-g682a0db”,“old_version”:“20211109-124958/v1.11.7-g682a0db”},“ram_total”:50880,“ram_free”:38916,“fs_size”:233681,“fs_free”:150098,“uptime”:2418161}
2022-01-18T14:22:57.370503346+00:00 INFO Shelly Device Driver V1 <Device: f0c9426b-aa11-4712-90b7-2ea474a26c49 (Shelly R1 2)> emitting event: {“component_id”:“main”,“capability_id”:“signalStrength”,“attribute_id”:“rssi”,“state”:{“value”:-39}}
2022-01-18T14:22:57.389117430+00:00 ERROR Shelly Device Driver V1 Shelly R1 2 thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <Device: f0c9426b-aa11-4712-90b7-2ea474a26c49 (Shelly R1 2)>:
arg1: infoChanged
arg2: table: 0x188ad00
[string “R1”]:12: attempt to index a nil value (local ‘status_table’)
2022-01-18T14:24:50.757033454+00:00 TRACE Shelly Device Driver V1 Received event with handler device_lifecycle
2022-01-18T14:24:50.763307315+00:00 INFO Shelly Device Driver V1 <Device: f0c9426b-aa11-4712-90b7-2ea474a26c49 (Shelly R1 2)> received lifecycle event: infoChanged
2022-01-18T14:24:50.784024659+00:00 TRACE Shelly Device Driver V1 Found DeviceLifecycleDispatcher handler in thisDriver2022-01-18T14:24:50.788364488+00:00 DEBUG Shelly Device Driver V1 Info changed handler invoked
2022-01-18T14:24:50.793335044+00:00 INFO Shelly Device Driver V1 Device address changed to: 192.168.1.212
2022-01-18T14:24:50.798456232+00:00 PRINT Shelly Device Driver V1 Sending HTTP request: http://192.168.1.212/status
2022-01-18T14:24:50.902956747+00:00 PRINT Shelly Device Driver V1 response=> {“wifi_sta”:{“connected”:true,“ssid”:“BELL808”,“ip”:“192.168.1.212”,“rssi”:-37},“cloud”:{“enabled”:true,“connected”:true},“mqtt”:{“connected”:false},“time”:“09:24”,“unixtime”:1642515890,“serial”:343,“has_update”:false,“mac”:“500291ED3079”,“cfg_changed_cnt”:11,“actions_stats”:{“skipped”:0},“ext_switch”:{“0”:{“input”:0}},“relays”:[{“ison”:false,“has_timer”:false,“timer_started”:0,“timer_duration”:0,“timer_remaining”:0,“source”:“timer”}],“meters”:[{“power”:0.00,“is_valid”:true}],“inputs”:[{“input”:0,“event”:"",“event_cnt”:0}],“ext_sensors”:{},“ext_temperature”:{},“ext_humidity”:{},“update”:{“status”:“idle”,“has_update”:false,“new_version”:“20211109-124958/v1.11.7-g682a0db”,“old_version”:“20211109-124958/v1.11.7-g682a0db”},“ram_total”:50880,“ram_free”:38964,“fs_size”:233681,“fs_free”:151102,“uptime”:2418616}
2022-01-18T14:24:50.909232774+00:00 INFO Shelly Device Driver V1 <Device: f0c9426b-aa11-4712-90b7-2ea474a26c49 (Shelly R1 2)> emitting event: {“component_id”:“main”,“capability_id”:“signalStrength”,“attribute_id”:“rssi”,“state”:{“value”:-37}}
2022-01-18T14:24:50.932700076+00:00 ERROR Shelly Device Driver V1 Shelly R1 2 thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <Device: f0c9426b-aa11-4712-90b7-2ea474a26c49 (Shelly R1 2)>:
arg1: infoChanged
arg2: table: 0x1895e48
[string “R1”]:12: attempt to index a nil value (local ‘status_table’)
2022-01-18T14:25:16.396821893+00:00 TRACE Shelly Device Driver V1 Received event with handler capability
2022-01-18T14:25:16.417380775+00:00 INFO Shelly Device Driver V1 <Device: f0c9426b-aa11-4712-90b7-2ea474a26c49 (Shelly R1 2)> received command: {“positional_args”:,“args”:,“component”:“main”,“capability”:“switch”,“command”:“on”}
2022-01-18T14:25:16.422329258+00:00 TRACE Shelly Device Driver V1 Found CapabilityCommandDispatcher handler in thisDriver
2022-01-18T14:25:16.427601954+00:00 INFO Shelly Device Driver V1 main switch turned on
2022-01-18T14:25:16.433416253+00:00 PRINT Shelly Device Driver V1 Sending HTTP request: http://192.168.1.212/relay/0/?turn=on
2022-01-18T14:25:16.556405936+00:00 PRINT Shelly Device Driver V1 response=> {“ison”:true,“has_timer”:true,“timer_started”:1642497916,“timer_duration”:0,“timer_remaining”:0,“source”:“http”}
2022-01-18T14:25:16.564642482+00:00 ERROR Shelly Device Driver V1 Shelly R1 2 thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <Device: f0c9426b-aa11-4712-90b7-2ea474a26c49 (Shelly R1 2)>:
arg1: table: 0x1845d30
[string “st.capabilities”]:225: Value table: 0x17e8f38 is invalid for Switch.switch