alexryd / homebridge-shelly

Homebridge plugin for Shelly devices
MIT License
299 stars 44 forks source link

[Feature request] IP Address for Devices #216

Open hearp opened 3 years ago

hearp commented 3 years ago

Hi, my shelly devices are in a different net than my working WLAN. E.g. 192.168.178.x is the regular WLAN, the devices are in the WLAN 192.168.179.x. It would be great if one could specify the IP range where to scan for devices and/or add a dedicated IP-adress to the device definition in the configuration. Hearp

raufis27 commented 3 years ago

Please, consider this feature.

thomas-kaltenbach commented 3 years ago

Hi @hearp, I happened to see your request. I think you have to check how the Shelly discovery works. If I am not wrong, Shelly use the CoAP Protocol (Multicast UDP). If you want to discover shellies from another subnet you have to route the multicast packages between these networks. Or you need something like a proxy... Regards, Thomas

raufis27 commented 3 years ago

Hi @hearp, I happened to see your request. I think you have to check how the Shelly discovery works. If I am not wrong, Shelly use the CoAP Protocol (Multicast UDP). If you want to discover shellies from another subnet you have to route the multicast packages between these networks. Or you need something like a proxy... Regards, Thomas

The whole purpose of this request is to get an ability to add Shellies manually, instead of using auto discovery.

Thank you.

thomas-kaltenbach commented 3 years ago

As I know CoAP is not only used for discovery, the status updates using this protocol, too.

raufis27 commented 3 years ago

As I know CoAP is not only used for discovery, the status updates using this protocol, too.

I see your point. Make sense. I personally use VM with/in different subnets.

gzeel commented 3 years ago

As I know CoAP is not only used for discovery, the status updates using this protocol, too.

I see your point. Make sense. I personally use VM with/in different subnets.

Having the same issue. My Homebridge VM is in a different vlan than the Shelly’s (i.e. for security reasons). Adding them on IP address would be great.

hollenal commented 3 years ago

+1 for manually configuring the IP address of a device

Veldkornet commented 3 years ago

+1 for manually configuring the IP address of a device

I've disabled CoAP and use Unicast on my Shellies (CoIoT), however these already point to something else. So unfortunately the only way I will be able to add them to Homebridge is if I specify them manually.

suhajda3 commented 2 years ago

+1 for manually adding a device with IP address 👍

mrmaximas commented 2 years ago

+1