I love EMHASS but got tired of the file changes and yaml braking.
Queue LLM and everyone can suddenly “kind of code”
So I have vibe coded an EMHASS HA Companion that should solve much of the hard stuff for you.
My goal was to make it as simple as possible but still maintain flexibility.
No coding whatsover is required for plain services.
Simple addition of deferrable loads. Standard, thermal and a “calculated” solar surplus mode.
It is built on templates for other services like price, weather and inverters.
Built in today:
Price Nord Pool, ENTSO-E, Tibber, Fixed tariff, custom
Solar Solcast, EMHASS built-in (Open-Meteo), Forecast.Solar, custom, No solar
Load House load sensor, Any entity attribute
Inverters
Deye SUN-5K–25K-SG01HP3-EU hybrid (Solarman) — UNTESTED
Growatt MOD / MID TL3-XH hybrid (solax_modbus) — UNTESTED
Huawei SUN2000 M1 / MB0 + LUNA2000 (huawei_solar) — UNTESTED
Sigenergy SigenStor (Sigenergy-Local-Modbus) — UNTESTED
SolaX X3-Hybrid G4 / X3-Ultra (solax_modbus) — UNTESTED
Sungrow SH-RT Hybrid (SHx Modbus)
Sungrow SH-T Hybrid 15–25 kW (SHx Modbus) — UNTESTED
Solis S6 EH3P (Solis Modbus) — UNTESTED
Nordpool, Solcast and Sungrow is tested and running but anything else will probably need som bug fixing..
Drop me a line on the Discord if you want me to make templates for other services.
Soo, any one brave enough to test are welcome to
Be kind it is Beta!
I might have bit off more than I can chew with this!
Good point, added a link to the thread for emhass.
It is optimized energy management for a households. Solar , battery heat management.
This plugin is controlling EMHASS instead of having to write yaml
Very interested in this. I am fighting with AI for days now to combine EMHASS and HA. Seems I got it working now for the data but my inverter still does not what it should.
What it does: Pull data from EntsoE, Publish dfata to EMHASS, calculate optimization. Publish back optimization results to HA. Write slots with times and wattage for load and charge. My Inverter still seems to ignore this slots, unfortunately. I can post my yamls here if that is of helkp for anybody.
I am Using an Solis S6 EH3P 15 kW and the Solis Modbus integration. I have it in the meantime running with HA automations but the optimization is somehow still off. I think I still have to tweak the EMHASS config. I have the following optimization curves in EMHASS: