ljalves / hfeasy

HFeasy - firmware for HF-LPx100/LPx30 based devices
45 stars 14 forks source link

Homeassistant integration #47

Open OevreFlataeker opened 1 year ago

OevreFlataeker commented 1 year ago

I flashed my Lidl Silvercrest SWS A1 power plug with your firmware without problems and everything works very well. Thank you for this!

With the original firmware I used FHEM and the "magic" paket to UDP 8530 to control power on/off.

Now I want to integrate the plugin using Homeassistant. However the new device is of course not automatically recognized in the integrations.

If I understand it correctly I can only perform the switching now using http calls to http://<ip:8080>/state?sw=1 and ?sw=0 ?

There is no option to send it MQTT message to toggle the switch state? The MQTT integration is only one way? Is it possible to retrofit the old way of sending the UDP packet as well or is there not enough room in the firmware for this?

HTTP Auth: Where do I set the actual password? I can only (de)activate but do not see where the username/password can be specified?

I see the original webpages are still served at port 80. Do I need to use those for this configuration, i.e. is the complete configuration done as a combination of the legacy configuration and your addons?

Thanks!