washcroft / homebridge-http-garagedoorcontroller

An HTTP based Garage Door/Light plugin for HomeBridge
MIT License
15 stars 7 forks source link

lightstate is ignored when using split door and light status service #6

Closed estenwig closed 6 years ago

estenwig commented 7 years ago

Hi, thanks for a nice plugin!

I found that when I tried to use a separate endpoint for retrieving the status for the light and another one for the door the status for the light was overwritten. When I created a combined status URL that returned both door-status and lightstatus it seems to work.

washcroft commented 6 years ago

I can't see how this is possible in the code, especially when the door state url and light state url are configured differently.

What does / did your config look like when it was behaving like this?