dkerr64 / homebridge-yolink

Apache License 2.0
12 stars 2 forks source link

Support for Relay #77

Closed btgh closed 1 year ago

btgh commented 1 year ago

Is your feature request related to a problem? Please describe:

Support for the Yolink Relay device Describe the solution you'd like:

I would like the ability to remotely control my pool pump via contact closure switches Describe alternatives you've considered:

Additional context:

btgh commented 1 year ago

Great plugin! I’ve been looking for homekit support for yolink for some time.

dkerr64 commented 1 year ago

I need to see the logs... if the relay is not recognized then it will be reported in the log with a statement that the device is unsupported. And then accompanying useful information in JSON format. You should see this during initialization and maybe also whenever the device reports status (so, e.g. if you manually turn the really on/off then that may cause a message to log that the plugin received something it does not know about).

Thanks David

btgh commented 1 year ago

My mistake - it shows up as a switch. I didn’t see it in the documentation so I assume it was not supported.

dkerr64 commented 1 year ago

Thanks for testing. Next time I am in the readme, I'll add it to the list.