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

Homey BLE Proxy script is stopped when Shelly app is restarted. #219

Closed
v61 opened this issue Mar 2, 2024 · 3 comments
Closed

Homey BLE Proxy script is stopped when Shelly app is restarted. #219

v61 opened this issue Mar 2, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@v61
Copy link

v61 commented Mar 2, 2024

Hi,
After the latest upgrades (3.27.*) I have issues with my BLE devices not reporting.
I have found that the "Homey BLE Proxy" script in the Shelly proxy is stopped and set to "not autostart".
It happens when the Shelly app is started (Restart of Homey, restart of Shelly app or shelly app is being enabled after it was disabled.
I need to start the script in my proxies manually.
Best Regards, Valter

@v61
Copy link
Author

v61 commented Mar 2, 2024

This is the log from one of the Shelly devices when I restart the Shelly app:
shelly_http_client.:606 0x3ffe3fd0: Finished; bytes 365, code 101, redir 0/3, auth 0, status OK
15:41:30
shelly_notification:163 Status change of ws: {"connected":false}
15:41:3015:41:34
shos_rpc_inst.c:230 Shelly.GetDeviceInfo via HTTP_in GET 192.168.4.30:42298
15:41:39
shos_rpc_inst.c:230 Shelly.GetDeviceInfo via HTTP_in GET 192.168.4.30:42310
15:41:39
shos_rpc_inst.c:230 Shelly.GetConfig via HTTP_in GET 192.168.4.30:42322
15:41:39
shos_rpc_inst.c:230 Shelly.GetConfig via HTTP_in GET 192.168.4.30:42332
15:41:39
shos_rpc_inst.c:230 Script.Delete via HTTP_in POST 192.168.4.30:42340
15:41:40
shos_sys_config.c:330 Saved to conf9.json
15:41:40
shelly_notification:163 Status change of script:1: {"id":1,"running":false}
15:41:40
shelly_notification:163 Status change of sys: {"cfg_rev":43}
15:41:40
shelly_notification:209 Event from sys: {"component":"sys","event":"component_removed","target":"script:1","restart_required":false,"ts":1709390500.69,"cfg_rev":43}
15:41:40
shos_rpc_inst.c:230 Script.Create via HTTP_in POST 192.168.4.30:42356
15:41:40
shos_sys_config.c:330 Saved to conf9.json
15:41:40
shelly_notification:163 Status change of script:1: {"id":1,"running":false}
15:41:40
shelly_notification:163 Status change of sys: {"cfg_rev":44}
15:41:40
shelly_notification:209 Event from sys: {"component":"sys","event":"component_added","target":"script:1","restart_required":false,"ts":1709390500.89,"cfg_rev":44}
15:41:40
shos_rpc_inst.c:230 script.getconfig via WS_in 192.168.25.11:53931
15:41:41
shos_rpc_inst.c:230 script.getstatus via WS_in 192.168.25.11:53931
15:41:41
shos_rpc_inst.c:230 script.getconfig via WS_in 192.168.25.11:53931
15:41:41
shos_rpc_inst.c:230 script.getstatus via WS_in 192.168.25.11:53931
15:41:41
shos_rpc_inst.c:230 Script.PutCode via HTTP_in POST 192.168.4.30:42360
15:41:41
shos_rpc_inst.c:230 Script.PutCode via HTTP_in POST 192.168.4.30:42368
15:41:42
shos_rpc_inst.c:230 Script.PutCode via HTTP_in POST 192.168.4.30:42372
15:41:42
shos_rpc_inst.c:230 Script.PutCode via HTTP_in POST 192.168.4.30:59256
15:41:43
shos_rpc_inst.c:230 Script.PutCode via HTTP_in POST 192.168.4.30:59266
15:41:43
shos_rpc_inst.c:207 No handler for rpc/Script.SetConfig
15:41:43
shelly_http_client.:306 0x3ffe4258: WS ws://192.168.4.30:6113/
15:41:58
shelly_http_client.:606 0x3ffe4258: Finished; bytes 0, code 0, redir 0/3, auth 0, status -1: Connection error: -14
15:41:58
shelly_notification:163 Status change of switch:1: {"id":1,"aenergy":{"by_minute":[0.000,0.000,0.000],"minute_ts":1709390520,"total":1809.495},"ret_aenergy":{"by_minute":[0.000,0.000,0.000],"minute_ts":1709390520,"total":0.000}}
15:42:00
shelly_notification:163 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[0.000,0.000,0.000],"minute_ts":1709390520,"total":4091.045},"ret_aenergy":{"by_minute":[0.000,0.000,0.000],"minute_ts":1709390520,"total":0.000}}

@jghaanstra
Copy link
Owner

Thanx, but I'm already aware. There will be a fix in the next release.

@jghaanstra jghaanstra added bug Something isn't working next release labels Mar 2, 2024
@v61
Copy link
Author

v61 commented Mar 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants