AlexanderBabel / homebridge-sonoff

Control Sonoff Basic devices with Tasmota firmware through Homebridge
Other
9 stars 4 forks source link

hostname doesn't seem to work #3

Closed hmook closed 5 years ago

hmook commented 5 years ago

Hi,

If I use the hostname instead of the IP address of my Sonoff the plugin doesn't seem to work anymore. IS this a known issue?

BR, Hanno

AlexanderBabel commented 5 years ago

Hey,

it can only find your device if the hostname is known to the device where your homebridge instance is running. Normally the IP-Address of your son off shouldn't change. Therefore you can use the IP instead of the hostname without any issues.

Greetings Alex

hmook commented 5 years ago

Hi @AlexanderBabel and Thanks! Another question is it possible to change the type (now Outlet) to a lightbulb for example?

AlexanderBabel commented 5 years ago

I think you can do that in the Home App on your iOS device. Just tap on the settings of the outlet and there you will see a type section. Click on the type and you can choose a different type for your device.

hmook commented 5 years ago

Thanks again!