Solar Experimental Development and Integration with HomeAssistant Part - 1

Опубликовано: 19 Февраль 2026
на канале: Chaos Nature
33
2

Convert Growatt batteries to using JKBMS, explain how to install HomeAssistant on Pi for use of Solar Energy, and Some Explanations on How to Automate HA Entities with Octopus Tariff for cheaper energy charging the batteries off-peak.

Explain how to flash ESP32 with EspHome both on HA and from the command line.

Resources:

SSH and Wifi Setup
check Wifi Status
wpa_cli status

Result
Selected interface 'wlan0'
wpa-State=INACTIVE
address=xx:xx:xx:xx:xx:xx #hardware address
uuid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx

interactive mode type
wpa_cli

Create a new network using
add_network
you get a 0

To Set encrypted passphrase (Optional)
wpa_passphrase "Username" "Password"

set_network 0 ssid "Username"
set_network 0 psk "xxxxxxxxx"

Finally to connect to the wifi network type
select_network 0



OR

sudo cp /etc/network/interfaces /etc/network/interfaces.old
nano /etc/network/interfaces

auto wlan0
iface wlan0 inet dhcp
wpa-ssid [Username]
wpa-psk [xxxxxxxxxxx]



Type quit to exit

Check
ifconfig wlan0
wpa_cli status




--------------------------------------------


Testing Automation is populating Solis Charge and Discharge Time Slot
service: pyscript.solis_control
data:
days:
chargeCurrent: "25"
dischargeCurrent: "20"
chargeStartTime: "00:00"
chargeEndTime: "00:00"
dischargeStartTime: "00:00"
dischargeEndTime: "00:00"
chargeCurrent: "25"
dischargeCurrent: "20"
chargeStartTime: "00:00"
chargeEndTime: "00:00"
dischargeStartTime: "00:00"
dischargeEndTime: "00:00"
chargeCurrent: "25"
dischargeCurrent: "20"
chargeStartTime: "00:00"
chargeEndTime: "00:00"
dischargeStartTime: "00:00"
dischargeEndTime: "00:00"
config:
secret: "xxxxxxxxxxxxxxxxxxxxxxxxxx"
key_id: "xxxxxxxxxxxxxxxxxxxxxxxxxx"
username: xxxxxxxxxxxxxxxxxxxxxxxxxx (No Quotess)
password: xxxxxxxxxxxxxxxxxxxxxxxxxx (No Quotess)
plantId: "xxxxxxxxxxxxxxxxxxxxxxxxxx"


For Full Links go to:
https://ndcib.com/
-- Click on ChatRooms
-- Then go into Information Technology forum


Solar HA Integration Project - Part - 1 - Links
how-to-flash-atom-s3-with-esphome
https://diysolarforum.com/threads/how...
Setup Octopus Integration
https://my.home-assistant.io/redirect...
Setup Target Rate Sensor
https://bottlecapdave.github.io/HomeA...
How-i-managed-to-configure-multiple-x-2-battery
https://diysolarforum.com/threads/how...