To use EMHASS in this fashion, which is a supported configuration, you need to setup a battery automation.
Here is what I use for my powerwall.
To use EMHASS in this fashion, which is a supported configuration, you need to setup a battery automation.
Here is what I use for my powerwall.
Great thanks a lot. Once I have the battery charging strategy setup implemented, I will try this out. Great stuff!!
I like to try out emhass add on, but i can use help
i havenāt find out how to save the config to get started
āFailed to save add-on configuration, not a valid valueā
Reset to default more times, doesnāt help
After reset is āsaveā grey and after adding data itās blue
In YAML i think i didnāt miss any of the 61 lines to change, but i canāt find out which line give the error
What do i miss?
HA is running on a proxmox VM
Core2024.1.3 / Supervisor2023.12.0 / Operating System11.4 / Frontend20240104.0
Did you try already with an ESP32 to RS485 for control
If miss one you can add if know the address
I have two Deye SUN-12K -SG04LP3-EU not as parallel running with esp32 in off-grid mode with grid support (Mosttime i am off-grid, as grid connection cost 60W more )
If you use ESP32> RS485 then you have still the RS232 available for another (back) control, I have only the dongle in use for a short moment, when i update the firmware manually from PC.
Top, that solved it
Can I now look around for off-grid with grid connection only if I want to swap. (It costs 60W to stay grid-connected for my setup)
I have no peak hours but dynamic hourly prices spot market (entso-e) with net-metering for taxes.
EMHASS expertsā¦ please take a look!
Could someone please explain a bit the use of weight_battery_discharge and --charge? Are they defined in cents?
When I use weight_battery_charge at 12.0, I assume something like the cost of energy per kwh is increased by 12 cent?
It is in $/ kWh!
I have mine discharge weight set to 0.15 ($/ kWh) and my charge weight set to 0.
This seems to stop my battery from discharging below 15Ā¢/ kWh.
I would set your discharge weight to 0.12.
Thanks for your quick reply! Clear to me! Would this also mean that, for example, if at the beginning of the day the price is $0.12 lower than at a later hour, it will charge (and then discharge later that day) ?
If you would put efficiency to 100% on both discharge and charge it would. Default is 95% on both legs, that means that in addition to the 12 cents you would need to compensate for inefficiency.
A question about the load forecast:
I have a recorder for 30 days in HA, but I am wondering how EMHASS is forecasting the load.
I did a forecast, learning and tuning at some intervals, but it seems it always forcasts the load the same way as the day before.
Example: every saturday I have a higher load during the day, but every friday I have only higher load after 18.00
Does it learn this? I have tried ānaiveā and āmlforecasterā setting
Hallo - Its really a cool project . Unfortunately I have a problem with my deferrable loads . I donāt want the ādeferrable loadsā to be split after the optimization.
there are 2 deferrable loads defined :
optim_conf:
- set_use_battery: True # consider a battery storage
- delta_forecast: 1 # days
- num_def_loads: 2
- P_deferrable_nom: # Watts
- 3600.0
- 4000.0
- def_total_hours: # hours
- 2
- 0.5
- treat_def_as_semi_cont: # treat this variable as semi continuous
- True
- True
- set_def_constant: # set as a constant fixed value variable with just one startup for each 24h
- True
- True
I have set set_def_constant to true in config_emhass.yaml. In the result, however, these loads are still split.
How do I get the desired result?
Thanks Thomas
This text will be hidden
Blockquote
Seems to work now! Just have to wait for actual 12 cents difference
You have a really nice HA graph, could you share your code for that?
yeah this is still a bug imho. I and some others posted this a while ago and didnāt got this to work. So at the moment i activate my dishwasher when EMHASS would schedule it the first timeā¦
E.g.
Try to put the def constant to false
set_def_constant : false is splitting the defferable loads into separate peaces.
With disabling my battery optimization the opt-process works as expected !
ā set_def_constant : true is cumulating the load to one block.
But I need my storage to be included in the opti
Iām trying to install the add-on but get a error:
https://github.com/davidusb-geek/emhass is not a valid add-on repository
but I try to add this:āhttps ://github.com/davidusb-geek/emhass-add-on/ā
I can however not find anything iām doing wrong, but I feel I make some stupid mistake here, can anyone help me out?
Ok I already found a solution. restarting HA solved the problem, I found out that I could not add any add-on, it aways showed the same error.