StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
620 stars 111 forks source link

[BUG] Devices aren't discovered when using Shelly cloud API #569

Open sagilo opened 3 years ago

sagilo commented 3 years ago

Environment

Describe the bug

I've configured ShellyForHASS using the configuration.yaml file I've chosen to use the cloud API (cloud_auth_key & cloud_server) and after a few unsuccessful shots, no errors or warnings show up in the logs, however, no devices are showing up either. On the local network that I'm using, there are no Shelly devices, those are set on another network. In the HA logs I can see the following:

2021-07-26 17:05:53 DEBUG (CoAP) [pyShelly] CoAP msg: 192.168.152.103
2021-07-26 17:05:53 DEBUG (CoAP) [pyShelly] CoAP msg: 1 192.168.152.103
2021-07-26 17:05:53 DEBUG (CoAP) [pyShelly] CoAP msg: 192.168.152.103
2021-07-26 17:05:53 DEBUG (CoAP) [pyShelly] CoAP msg: 1 192.168.152.103

Which suggests the Shelly devices where discovered (in a way). Why aren't these devices creates a new entity in HA? Under the integration settings, I've verified the Enable newly added entities. is checked.

Steps to Reproduce

Configure configuration.yaml with the cloud_auth_key & cloud_server as instructed in the readme file. Wait for Shelly devices to show up in HA?

Expected behavior

Existing devices would show up in HA

Screenshots

N/A

Traceback/Error logs

No errors

GeneralErrors commented 1 year ago

Any updates on this? I tried adding a remote Shelly Flood device with the cloud configuration and the local devices were added as expected, but the remote was never seen in Home Assistant.

Aivar69 commented 1 year ago

Same here. I have tried to get the cloud devices to HA, but no luck. The devices that are in the HA local network show up and they even understand in what room they are as they set the prefix of the room into their name. That tells me that the connection with Shelly cloud is established. Unfortunately the devices in other locations (summer house) that I can see in Shelly app are not showing up in HA

Klisterkongen commented 1 year ago

Same issue here, i only have non-lan connected shelly devices... placed at several sites for energy monitoring.

Aivar69 commented 1 year ago

Any chance to get remote devices showing up in HA. Devices in local network show up fine and they get their room name even from the Shelly cloud. Remote devices, same model as in local network, do not show up unfortunately.

mixo44 commented 11 months ago

Any updates regarding controlling Shelly devices over the cloud? Devices that are not in the same local network are not discovering.