Tags: solar, eg4, flexboss, 6000xp, gridboss
I have a smart energy system that powers my home. It combines Solar, Batteries, Gas Generator and Grid to provide practical and affordable electricity. Occassionally, I have excess power and I created some scripts that help use that energy effectively. Some examples:
-
When the batteries are at 95% state of charge AND solar production is greater than 3,500 Watts (3.5kW), turn on the Tesla powerwall and charge the car (Tesla Model S).
-
When the Tempest weather station forecasts a rainy or very cloudy day, prioritize charging the batteries.
-
Turn on ceiling fans in the house when there is excess solar production. My primary ceiling fan is RF based. Instead of trying to determine the 433.24 signals, I used MITMproxy to determine how the APP controls them.
python3 -m venv cb
source cb/bin/activate
pip3 install -r requirements.txtCreate a file named .env:
MQTT_HOST = "192.168.123.22"
MQTT_PORT = 1883
MQTT_USER = "cbergeron"
MQTT_PASS = "somepass"
Event triggered. Watches an MQTT topic and performs an action (or more) when conditions isare met.
Polls SA metrics periodically. When condition is seen, take actions.
https://chatgpt.com/c/68439412-f870-8001-b054-2b994171424e
upnote://x-callback-url/openNote?noteId=b4e93b6c-cde9-4844-8c38-2b3cd40d1946
b4e93b6c-cde9-4844-8c38-2b3cd40d1946