-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
Feature: Add support esphome api for power plug #70
Comments
or may be add simple pull http url e.g. wget or curl as [power printer] |
or just the possibility to run a shell script #61 |
As mentioned in issue 61, simple url's won't work with the power plugin, as it must be able to query the state of the device. The tasmota device was contributed by a user. Someone who owns a "esphome" device is free to contribute an implementation. There are major security implications with running configurable scripts, so it is unlikely that I add that ability. |
ok, im migrate to tasmota, but its not work, with any config i see that Fluidd warnings found. its my config i try anything config but hope is die) and if i go to |
Moonraker.log should tell you what the error is. I suspect it is because device query failed, but I won't be able to tell without the log file. If that is the case, you need to make sure that |
i comment 13 line at power.py #import gpiod and all ok. but... i can turn off printer from web fluiid macros button, but cant POWER ON from macros button. macros for power on not work with power_off mcu. But all work from top/right popup menu. |
You can't power on with a GCode Macro as Klipper can only execute RESTART and FIRMWARE_RESTART when it is in the shutdown state. You must use the API to power on. |
Not to go resurrecting a dead issue, but on the basis of the title, I think this can be closed. I'm controlling an ESPHome power plug using the generic HTTP config, e.g.
|
Please add support esphome api for power plug.
If you show home assistant config and use tasmota power, may be you can add support [power printer] and [power device_name] with esphome restapi ?
https://esphome.io/web-api/index.html
I use sonoff pow2 on esphome. i see powermeter and can turnon off printer from home assistant, but not from Fluiid or other klippers web gui.
The text was updated successfully, but these errors were encountered: