knalli / homebridge-pilight

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

connecting to password secured remote pilight-server #65

Open Emiks5 opened 3 years ago

Emiks5 commented 3 years ago

First of all thanks for this plugin. I would like to connect pilight to homekit. Now I have setup homebridge on a RPi 3B and Pilight (vs7) on a Rpi 2. I am trying to connect to Pilight using your plugin. It works when I have not set a username-password for the pilight webserver, but I don't know how to connect, when the pilight-webserver is protected by username-password. Would this be possible? And if yes how? Thanks

knalli commented 3 years ago

Hi @Emiks5

Well, since I moved away my stuff from Homebridge (I replaced my devices with HomeKit-compatible ones), I must admit I am not aware of the compatibility of the more recent versions of pilight. Also I do not know how this behaves with the webgui username/password (I guess you are talking about this here). Maybe this requires an additional authentication step in this area.

As I haven't revisit this for some time, I am not sure whether the websocket is still the "ideal" communication way.

So, tl;dr: No, that's not possible right now.

Emiks5 commented 3 years ago

Well thanks anyway. I am now trying to restrict access to the pilight server via the whitelist in the pilight confisg. Not successfull yet though.