Why would you want the esolar platform or their app? Isn’t it your intention to get all the data inside home assistant and present it there, like you do for the SMA? In my setup, I combine all the data in a nice overview dashboard, so that I dont have to switch between several apps and just use the HA app.
Data refresh is almost instantly (vs minutes for the native app), moreover, if you explore modbus writing, you can easily command the battery (eg limit power) or switch charging modes, thereby fully obsoleting the native app.
Basically you remove all the way the dongle, and through Elfin Wifi, you connect straight to home assistant and monitor everything from there, so basically the Inverter becomes full local, right?
Thanks Ben,
Having full control sounds cool, but I would prefer to still have the historical data stored in the vendor platform. I do the same with the SMA inverter, although I have access to all the data locally the inverter is pushing data into the sunnyportal and I consider that as a feature since their platform besides being a backup in terms of data offers some additional features. While home assistant is great, every now and then I had few issues and you end up with gaps in terms of data. Having the info stored in the vendor allows me to benchmark the system values against the vendor recorded data, this allows to compare if there is any variance in performance or anomaly.
Anyhow I already have all these systems integrated in ha, the issue I’m facing with SAJ is that the data refresh is weird and sometimes the battery is disconnected from their platform for few hours before it pulls data again.
Thanks for the great support here!
Kind regards,
Tash
In a nutshell, yes. you wont be able to control/monitor via the Saj app anymore. However you can gain FULL control over your SAJ battery as well as near realtime measurements of all parameters (voltage, power, amperage, etc etc etc). I do not use the wifi converter, but just a normal RS to ethernet converter.
Not sure on the ESP32/8266 module. I suppose this module (eg via ESPHome) could read and write modbus registers, so in theory it should be possible. but you do need then some sort of bridget between yoour ESP module and the SaJ converter. you could do this via eg an additional module (like https://www.amazon.de/dp/B09Z2GTMJ8?psc=1&ref=ppx_yo2ov_dt_b_product_details) which you connect the RS wires (you can put in a USB cable and strip that and use the correct wires) directly to.
Hello,
I recently published some python code to read and write modbus registers via MQTT from/to SAJ H1 inverters. With this python library and scripts there is no need for additional hardware:
Also I made a Home Assistant integration using the same principles:
Dos anyone have the modbus documentation for the saj as1-3ks-5.1? I cant find it any where. I also have a saj R5 inverter and this one is ok but for the battery I cant find it.
Small update from my end, I also managed to control the decharging power of the inverter (by writing to its registers) and am using this to avoid my car charger to drain my home battery. Basically i’ve written a small automation to set the power of the SaJ inverter depending on only the power load of my house (excluding the charging of my car) on the moments my car is charging.
thanks for your replay, i checked everything but i have the feeling i get nothing from the battery.
My settings of my rtu to tcp converter are the same as yours:
i have to mention that my SAJ R5 inverter is also connected to my USR but via the RS485 port and uses a other port beceause i have read that this should be possible. thats why i use port 503.
What i get in my smarthome (Loxone) is the following:
These are request but dont get replys like from my SAJ R5 (offline for now in belgium) so cant show what this should look like.
It still can be that the serial cable is not good and maybe i need to solder a bridge between some pins or i need to add a resistor.
Do you see anything wrong?
Hi Rob, i have the same setup and got me a Elfin device, can you send me some pictures of how its all connected at your home? By the looks of it you seem dutch speaking probably belgium if i may guess?
You can always answer me in a PM in dutch for more clarity.
I really hope you can help.
greetings, Herman
Hi, would like to go for the dns server + mqtt proxy as well. (as I want to keep the AIO3 module and saj app as well)
Did you finally manage to get it working or not?
Would be great if you could share how, as I want to set it up in the same way.
EDIT: having the H1 hybrid inverter with 2 B1-5.1 batteries.
EDIT 2: have been sniffing my network and it seems the mqtt is also only sent every 5 minutes…so no benefits by choosing the mqtt dns poisoning, as it’s only sent every 5 minutes…