The firmware update was done by the SAJ team itself (I had some earlier issues with the batteries going offline because there was not enough production - I live in Belgium ergo not a lot of sun this time of the year).
I will pm you with the contact details of the chinese tech representative that handles my case.
No I use the data from the online platform above (the IP’s from the communciation module of the inverter are not reachable) and the AS1 itself doesn’t have an IP.
With the configuration in my post above, you should get an entity: “sensor.esolar_batenergypercent”(amongst many other esolar entities). This entity represents the SoC of your battery.
Btw, i just received the modbus definitions for the AS1, now to test if I can get all data out of the inverter itself on a real-time frequency.
Anybody that got the latest update with what is working with the esolar AIO3?
@BenV do you have the firmware version? I want to check with my version if it’s already installed or not.
BTW I’m also one of those people that live in the not so sunny belgium
Just to inform everyone, I managed to get the modbus protocols for the AS1 inverter (+ 1 BS module) from SAJ directly. I currently am able to pull everyting (300-400 different data sets) directly over the modbus connection (real time - 1s poll rate).
Only minor disadvantage, you have to disconnect the wifi/ethernet/bluetooth module (AIO3), in order to gain access to the RS232 port (which is an usb bus and via which the modbus communciation goes).
Not sure if this work on other Saj inverters, but might be worth a shot?
Probably it’s also possible to command/steer the inverter (several write-addresses were also made available) but i will not be testing this. Please PM if you would like to know more info.
Sorry if what I am going to say is silly, I am very new to these things… if it is a USB, couldn’t it just be split into 2 and connect the AIO3 to one of them and use the other to tinker with the RS232?
Not sure that will work. Typically serial communications (especially RS232) are one street-communication only, meaning that only one ‘master’ will be able to request the data. Besides using a modbus gateway, i’m not sure multiple request can be done on the serial bus of the Saj.
Not really sure as to why you would need the AOI3 module though, with this modbus pulling, you will be able to pull all information off the inverter on a real time basis (1 sec). Everything that i can think off can be pulled without having to do a lot of calculations. With this info that you pull, you can do whatever you want to visualize this in home assistant.
Updating the sofware will not work, but for that, you can decouple the modbus USB and recouple the AOI3 module if needed.
Hi!
I went for the dns server + mqtt proxy.
mqtt payload is binary data, sent every 10 seconds as “realtime_data”.
Does someone know about the format?
[djansen1987] mentioned some article regarding this but cannot find anything related
Hi guys. I have previously succesfully imported the data from my SAJ inverter into HA. However, after upgrading HA the connection has been lost. I can access the inverter via its IP address from my browser without any trouble.
Anybody has the same issue as me or might be able to help me trouble shoot? I see a warning/error on SAJ in the logs:
WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform command_line is taking over 10 seconds.
ERROR (MainThread) [homeassistant.components.sensor] Setup of platform saj is taking longer than 60 seconds. Startup will proceed without waiting any longer.
I would like to ask some help. I am new with home assistant, I would like to ask some help.
I use the built in SAJ integration, this my configuration.
sensor: #SAJ
platform: saj
name: SAJ
host: 10.10.10.60
type: wifi
username: admin
password: admin
Everything looks good but my homeassistant log is full with this errors after I add the SAJ integration.
2022-07-16 09:15:47 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/saj/sensor.py”, line 159, in interval_listener
if await action():
File “/usr/src/homeassistant/homeassistant/components/saj/sensor.py”, line 114, in async_saj
values = await saj.read(sensor_def)
File “/usr/local/lib/python3.10/site-packages/pysaj/init.py”, line 141, in read
async with session.get(current_url) as response:
File “/usr/local/lib/python3.10/site-packages/aiohttp/client.py”, line 1138, in aenter
self._resp = await self._coro
File “/usr/local/lib/python3.10/site-packages/aiohttp/client.py”, line 559, in _request
await resp.start(conn)
File “/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py”, line 893, in start
with self._timer:
File “/usr/local/lib/python3.10/site-packages/aiohttp/helpers.py”, line 721, in exit
raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
I installed my HA on a Synology Docker.
What can I do?
Hello Hugo!
Thank you very much for your answer! I have been looking for this information for a long time.
If you can send me the complete file by PM, I would be very grateful!!
Thanks i also have a (two, yeah I got a cool 20KW panels) trifase inverter AIO3 with new dongle, will try your setup when the installation is done.
The models are
two of these hybrid inverters, H2-10K-T2 AIO3 type