-
Notifications
You must be signed in to change notification settings - Fork 67
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
[Request] Generic Device Control via HTTP requests i.e. Shelly Plugs by configureable trigger conditions #1310
Comments
look at PullRequest 1330 |
Wow, i am happy and surprised that this basic idea was considered and already something developed since no reaction yet :o I am eager to see/test the changes in the next release :) After first quick check of changes one question maybe in advance, is it possible then to configure exactly one shelly plug (for explicit use case generic charger) or also several plugs for i.e. load shedding usecases ? Many thanks for the motivation and efforts! :) |
@Snoopy-HSS's implementation is only about enabling and disabling a shelly to start or to stop charging a battery, based on limited parameters.
There it is: You are asking for a HomeAssistent in OpenDTU-OnBattery. Or a NodeRED in OpenDTU-OnBattery. The use cases "start charging a battery if the BMS says it requires immediate charging to prevent damage" or "start charging when power meter says we are exporting energy" are quite limited and target to charging the battery. It makes sense that OpenDTU-OnBattery takes on this task. A generic "do something when some conditions are met, but not those other conditions, or this additional condition" is quite a complex feature. Also, I don't see why OpenDTU-OnBattery should be responsible for a whole bunch of automations. I won't veto such a feature if it is well-crafted and someone implements it, but I doubt that someone is willing to put in the time for that. It will take a lot of time, believe me. I can only speak for myself, and I will not touch this. |
Same from me.OnBattery is a controldevice around the hoymiles inverters and the Battery.To do homeautomation there are al lot more Tools and Projects with alle the features…For me, openHAB ist the number 1. it has also an openDTU Integration. [removed email quote (schlimmchen)]
|
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: