[Request] Generic Device Control via HTTP requests i.e. Shelly Plugs by configureable trigger conditions #1310
Labels
contribution needed
Will not be worked on unless contributed from outside of hoylabs
enhancement
New feature or request
Is your feature request related to a problem? Please describe.
Controlling devices like shelly plugs manually while monitoring openDTUonBattery data is getting exhausting :)
Describe the solution you'd like
OpenDTUonBattery has many informations/intelligence directly avaiblable (Hoymiles, Smart Meter, MPPT, Huawei, Battery ) ( and now plenty ressources for new features.
I feel a very usefull extension would be the possibility to trigger generic http requets based on configureable trigger conditions to control all devices which support http requests like i.e. Shelly Plugs ( http://192.168.X.X/relay/0?turn=on/off )
Feature could look like that:
Define several http requests by IP adress ( like http://192.168.X.X/relay/0?turn=on )
Define for each of them trigger conditions:
Combination of at least 2 maybe 3 trigger conditions with && (AND) OR ||(OR) logic
Trigger Conditions can be:
Smart Meter Value
MPPT actual power
Hoymiles actual power
Huawei actual power
Battery Level ( both SoC or Voltage )
=> larger or smaller threshold
and additional a debounce paramter for each (combined) trigger
With such a feature very powerful smart home control could be done for all devices supporting common http requests!
Someone interested or like to take up ?
I could also start or support but would need following help/infos:
-Reference to an Issue where a new feature "Tab" ( Level like DPL, Huawei... ) has been added to have code changes (mainly UI and scheduler) as reference
-Infos about the scheduling details (how often are tasks on those level executed ) to implement a debouncing counter.
-Triggering http request I would take over from Smart Meter http implementation... ?!
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: