-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keeps showing up in Home Assistant (OS) as unavailable until i reboot the plugs #44
Comments
I have the same issue. |
I have made a workaround. I have made an automation that calls the HFeasy plugs reboot URL when HA starts. So HA starts, the plugs reboot, and everything is fine. Not the cleanest, but it works :) You can call a URL with the Rest command: So i configuration.yaml: rest_command: !include rest_commands.yaml Make a file called rest_commands.yaml and put the following in it:
You of course replace the url's with the url's for you specific plugs Then i go into automations and make one script with the RESTful command to call the rest_commands of each plug. And finally just make an automation with a trigger "when home assistant is started" and action and script whatever you called the script you made for the RESTful triggers. |
Nice idea, unluckily unsuited for me as a reboot power cycles the plug. |
Yeah - that sucks. Guess calling the HFeasy plugs on and off URLs with get commands is the only option left on: http://<deviceip>/state?sw=1 |
Is there any guidance on how to set this up with HA? I've used the following YAML:
But no luck. Actually at rest I see the topic flicking from Online to Offline before the socket completely crashes - is the MQTT client in v.1.1 actually functional? |
Also, I can't tell where to publish the autodiscovery to? I feel that there are a whole bunch of mqtt settings I am missing. |
FYI I moved away from MQTT and went with the HTTP API instead: |
I have flashed with both the newest firmware and web interface, and both my HF-LPB100 plugs work great, and are auto discovered by Home Assistant mosquitto broker.
But every time i restart HA, they are unavailable until i reboot the plugs.
The text was updated successfully, but these errors were encountered: