This is a PyScript wrapper for pysolarmanv5 to provide easy integration with Home Assistant.
- Install pyscript from HACS
- Clone/extract
ha_pyscript_pysolarmanv5
directory to/config/pyscript/apps/
- Add the following to
configuration.yaml
:
pyscript:
allow_all_imports: true
apps:
ha_pyscript_pysolarmanv5:
address: "192.168.1.200"
serial: 12345667867
port: 8899
- Call services from within HA as required:
pyscript.pysolarmanv5_write_multiple_holding_registers