knalli / homebridge-pilight

Accessory plugin for Homebridge allowing to manage and control pilight devices
MIT License
16 stars 3 forks source link

Dimmer issue when Homebridge is running #35

Closed genfersee closed 5 years ago

genfersee commented 6 years ago

Dear all,

I am facing an issue for a long time for which I could not find help on this forum.

When pilight is running without Homebridge and its pluggin Homebridge-pilight, everything works great. For example, dimmers can be dimmed to a proper dim level via GUI or via command line pilight-send.

But when I start Homebridge service, dimmers do not react properly on dim commands via pilight GUI or via command line pilight-send. Switches are operating correctly though.

When checking the pilight logs, I do not see any differences in the commands. How could Homebridge screw this up? Did anyone face this issue already?

Many thanks for your help, Genfersee

knalli commented 6 years ago

Phew.. I think I need more information. Maybe there will be sent too many (single) dim events, maybe this is responsible for the issue?

Anyway:

But when I start Homebridge service, dimmers do not react properly on dim commands via pilight GUI or via command line pilight-send. Switches are operating correctly though.

I have a problem getting the situation right. I got you have dimmers configured with pilight (sending mode). An additional Homebridge (with this plugin) is only an additional actor using pilight eventually. But this one cannot intercept your direct calls to pilight itself. Except there is an event overflow (see first my lines), I had not such issues so far.

genfersee commented 5 years ago

Closing this old issue, replaced by issue #43