Surprisingly it appears “svalue1” is outputting in Watts, and not kWh as per the screen from Domoticz. So this is not a bad thing, as my previous inverter provided watts.
Only issue, I am not that great with unravelling json to feed it into Home Assistant, so I may need someone way smarter than me to help decipher the MQTT into the Energy Dashboard.
Here’s the scripts from my old inverter setup…
# kWh Solar from Domoticz
- platform: mqtt
name: "Solar Inverter"
state_topic: "domoticz/out/8"
device_class: power
unit_of_measurement: 'W'
value_template: "{{ value_json.svalue1 | int }}"
- platform: integration
source: "sensor.solar_inverter"
name: "Solar Inverter KWh"
unit_prefix: "k"
round: "2"
So I figure I just need to interpret the MQTT feed from Domoticz and I suspect change the value_template string? Or am I missing something?
If I remember correctly, I’ve asked the installer to install the inverter with a LAN module instead of the standard included WiFi module. When I could not get it to work reliably, I ordered a wifi module myself. No idea where you are from, but here is a link for one…
Hi @dabunz thank you for the information. You mentioned you didn’t have any success with the LAN module, so can you please tell me what issues you had that made you stop using it?
I will contact the company you provided and see if they will ship to Australia.
The problem was, very intermittent data. Most of the time the sensors are unavailable and I see the error message “Error fetching GoodWe data: (‘No valid response received even after 10 retries’, 3)”
I gave up trying after getting the wifi module to work the way i wanted… and not looked at it since…
Hi @gregoinc, I do not know but I think I read somewhere that the WIFI dongle (ezlink) has both WIFI and LAN. If you have the ezlink WIFI dongle can you unscrew the round cap at the bottom and tell me if there is a Ethernet plug?
Maybe I’m confused between ezlink and the WIFI/LAN module.
I took the cover off the module some time back and found it contained a WiFi only module. I’ve begun searching for the LAN module, which I am told has LAN and WiFi. I might have a closer look and see if it has the LAN module but it is not connected, but I can confirm there is no cap that can be opened.
No, it works with both of them. Once the inverter is connected to the same network, you can add it to HA (you just need to know its IP). I do recommend HACS version of integration. It have more up to date features (e.g. no inverter restart once operating mode is changed.).
Hi
Does anyone have ready definitions of at least some sensors for GoodWe ET for RS485 modbus readout? I know some of the addresses and they work, but I would need to get more close to the number of sensors in the integration using IP. Unfortunately, Wifi is unstable and wired connections are hard to buy.
Sorry, no. I have now settled for Okt-Mar to set it to charge during night 1-5 am at 40% and May-Aug I have set it to discharge at 15% 6-10am and 10am to 2 pm on 5%. Discharge is based on what my average house consumption is and counting on enough sun not needing to buy. I use the DOD to get a somewhat control of charge from sun (summer) or to start discharging (winter). Its far from ideal but the best that can be done right now. The actual hours for charge/discharge is based on my electricity region statistics.