-
Hello, I’ve got a 8kw hybrid single phase sunsynk inverter. I’m currently running this add on in HA. I’m trying to automate it so it only exports when battery is full. Reason behind this is to stop the 0-50w pull from grid (trickle is set to 0). after some research, having solar export setting turned off stops it pulling. so I’m trying to automate ‘solar export’ however this isn’t a switch that appears when I add it as ‘solar_export’ in the configuration. any clue what I need to do or if it’s even possible? I see ‘solar_export’ in the 3 phase python lib but not single phase. There is a similar post on April 17th from wevcove and it was suggested to check load limit. However this doesn’t control that particular ‘solar export’ setting. thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
It could be register 247? --> Solar sell -- R/W -- 0x00 solar Don't sell 0x01 solar sell` You can try adding a custom sensor - see mysensors from sunsynk.rwsensors import SwitchRWSensor
SENSORS += SwitchRWSensor(247, "Solar Export") |
Beta Was this translation helpful? Give feedback.
-
Hello, I can confirm that this works - register 247 does switch the solar export on/off Thanks! [This is also the answer to the same question I asked a few weeks ago in thread: https://github.com//discussions/126] |
Beta Was this translation helpful? Give feedback.
-
Hello,Thanks guys for the reply. So register_247 and add it to the config?ThanksSent from my iPhoneOn 18 Jun 2023, at 22:04, wevcore ***@***.***> wrote:
Hello,
I can confirm that this works - register 247 does switch the solar export on/off
[This is also the answer to the same question I asked a few weeks ago in thread: https://github.com//discussions/126]
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
So I created custom sensor script but doesn’t seem to read it as suggested
…Sent from my iPhone
On 5 Jun 2023, at 20:21, Johann Kellerman ***@***.***> wrote:
from sunsynk
|
Beta Was this translation helpful? Give feedback.
-
So I had to use a mix of @kellerza's answer and the custom sensor guide. I have this in the mysensors.py file and it's working for me:
|
Beta Was this translation helpful? Give feedback.
-
Perfect it works! Thanks for the help all!
…Sent from my iPhone
On 7 Jul 2023, at 21:34, wevcore ***@***.***> wrote:
from sunsynk import AMPS, CELSIUS, KWH, VOLT, WATT
from sunsynk.rwsensors import NumberRWSensor, SelectRWSensor, TimeRWSensor, SwitchRWSensor
from sunsynk.sensors import (
MathSensor,
Sensor,
SensorDefinitions,
TempSensor,
)
SENSORS = SensorDefinitions()
SENSORS += SwitchRWSensor(247, "Solar Export")
|
Beta Was this translation helpful? Give feedback.
So I had to use a mix of @kellerza's answer and the custom sensor guide.
I have this in the mysensors.py file and it's working for me: