Here is the input of inverter 1:
14020G1728EN19744,SU04KMTL2EN6SD0000,12,0FA0,2,6,1201,1020,65535,1.0.1,1017,srv1.saj-solar.com,0,0,0,301001742008928
Inverter 2:
11020G1748EN27365,SU01KSTL2EN6SD0000,11,03E8,2,6,1205,1050,65535,1.0.1,1017,srv1.saj-solar.com,0,0,0,301001742008995
The first parameter is the serial number of the inverter. I hope this helps you. If you need anything, let me know.
Here is a newbie question. I recently started to play with Home Assistant but fail to connect my SAJ inverter. I modified my configuration.yaml as described (my inverter is ethernet connected and I have access to the xml) but the integration and sensors do not show up when I restart HA. What am I missing? thanks for you assistance.
Could you also share the “equipment_data.xml” file for the record?
Then I have all information about your SAJ inverter model.
I think I’m onto a solution already, it seems that there are too many different forms of XML’s for all models and without them being documented there is nowhere to start ofcourse.
I’ll try to change the code so it will try and all possible parameters but if one is not found it can just skip it and continue with the rest instead of generating an error.
In the meantime I have changed the code to solve your problem.
The code change has been merged by Home Assistant earlier today: https://github.com/home-assistant/core/pull/34978
Please note that this does not mean that it is present in the latest version of HA.
Normally it will be in the next main release: 0.110
Hi Frederic,
I’m pretty new to Home Assistant, so apologies for my question. I saw you made a lot of work into the SAJ integration. Thanks for that.
At this moment I added the following information at configuration.yaml:
sensor:
platform: saj
host: IP_ADDRESS_OF_DEVICE
This is working for a day … but it seems the next day I don’t receive updates anymore. Also during the night the sensor get’s an error, which is due to the inverter shutting down. And it stays in that state the next day.
Except for adding these lines of code to the configuration.yaml, is there anything else I need to install? I saw you mentioned somewhere code. Which points out this problem. But I don’t know how to install it.
Many thanks.
No extra configuration is needed if it was working already.
When my inverter is offline and I restart Home Assistant at that moment, it will indeed stay in the same state the next day.
Restarting HA while inverter is offline is a still a “bug” that I can’t find any fix for at the moment.
But when I restart HA when the inverter is still online and generating electricity it should keep on working the next day.
Perhaps you did restart Home Assistant when the inverter was offline?
I’ve got the exact same issue, the data is collected correctly from the inverter, and the code works great in the daytime but if HA was restarted while the inverter was offline, the data collection stops.
Is there any way to just reload the saj inverter polling code only when HA was restarted during the night? Or shall we just live with it like this?
Hi frederic, i’ve been looking for answer to my problem and every where i google you name appaers.
So i hope you can find the time to help me. I’m having problems in connecting to my saj inverter.
It is ethernet connected and i can reach it by ip but can not integrate it into Home assistant. What am i doing wrong?
Hello everbody no need to reply. I found out that the problem was with my host name .
You shouldn’t have to put http in front of the ip device.
Hope my mistake helps somebody !!
So when i make changes with HA and restart after sunset… the next day SAJ does now show any readings… I know when i restart the whole thing after sunrise… it all works again…
So I might have missed it or don’t know what to look for, but I was wondering if anyone know what service to call to reload SAJ and I do not have to restart HA. to get the sensors back again…
So far, I have not seen any solution for this. For now, I’m experimenting with an automation that restarts HA 30min after sunrise if the state of the SAJ is not “Normal”, which seems to work. I’m still fine-tuning it, though (offset may need some tuning and I’m wondering whether I should check for state “Wating” as well - I have not tried whether I can check directly for state = unknown, otherwise that would be the best option). Of course, if would be a lot nicer if that was not necessary.