CJNE / ha-sunspec

Home Assistant customcomponent for SunSpec modbus devices
MIT License
63 stars 14 forks source link

Ability to change settings (write to modbus register) #116

Open okoohler opened 2 years ago

okoohler commented 2 years ago

Great app, works fine with my Fronius Gen24 with battery and smart meter. I'm really new to home assistant so it might just be me missing something, but I would really like to have the ability to change settings through this integration, i.e write to modbus registers in order to control charging/discharging of my batteries from/to grid. Inspiration can be found here: https://github.com/wlcrs/huawei_solar

BR Oscar

matzkarlzzon commented 1 year ago

Hello I stumbel into this comment and are in the same ide to controll my fronius gen24 to optimize when to load and when to charge.

I thought I know what to do by Writing the register OutWrte,InWrte perhaps StorCtl_Mod with the built in modbus function. and the datra is change but it don´t regelat acording to what I think it should like charging the battery when out is set to -600 in to 1000 and stor to 1. inspired by https://community.home-assistant.io/t/integration-of-a-fronius-symo-gen-24-plus-inverter-via-modbus-tcp/264577/40 but fail so far ;(

Have you succede with any controll

teampyt commented 1 year ago

Hi there, yes, I would like to have this feature as well. I could "modulate" charging for energy management. E.g. use some electricity for a water heater before the battery is full...