I’m new in HomeAssistant and in a first step I’m trying to add all my available components into HA. In a second step I’ll start with automating this components.
No I want to add the data off my solar panels, but I can’t find a component for my inverter “SAJ Sununo”.
After some research I found there is a way to get the output of the inverter . If I go the http://ipofinvertor/status/status.php I receive a string value with all the data comma separated. With the call, I must enter the admin credentials.
Is there any component I can use where I can input this data and I will see the data of my solar panels?
Nope, I haven’t found a way to do this.
Unfortunately I don’t have the knowledge (and time to learn) to program in Python, so I’m not able to create a custom_component.
<!-- Copyright (c) 2009-2011 Texas Instruments Incorporated. All rights reserved. --> <html> <body bgcolor="white"> <center> <h1>404 - file not found</h1> <h3>Go <a href="/">here</a> instead.</h3> </center> </body> </html>
also some errors in the log, but they do not make sense as it as about the templated sensors.
When I enter the IP adress directly in the browser I do see the Solar inverter page. no login required.
as login I tried to use the admin/admin and the login i normaly use for the esolar app. none of that worked. Should I remove the last 3 lines with user/psw/auth?
After digging around. I noticed there is a xml file I can access. I am not really familiair with coding or get data out of a xml. But maybe someone can tell me what to do with it…
Please note that the esolar app has a different username and password than the inverter itself. The inverter default username and password is admin/admin.
@jeanbart since HA version 0.100 there is a saj component available that I’ve written.
Today when I read this topic, I realized that there is a difference between saj inverters that are connected via WiFi and those that are connected via ethernet cable…
Looks like the WiFi connected ones are available for readout via /status/status.php
On the other hand via ethernet cable it’s available via /real_time_data.xml
Also the WiFi ones have a default username and password (admin/admin) where the ethernet ones don’t need any credentials…
Currently the saj component only works with inverters that are connected via ethernet as it reads out /real_time_data.xml without any credentials.
@csarlifilpo could you verify that your saj inverter is connected via WiFi instead of ethernet?
Could you also send me the output of /i18n/en/status.xml?
It would be better to read and parse xml than csv in my opinion.
Once I have confirmation about all this I will have a look to adjust the component so it’s compatible with both ways!
@annegerben it’s very hard to tell which models are supported as there is no information about it…
Actually I think it’s not the inverter itself that matters but the module that is plugged into the serial port and hosts a webserver (via WiFi or ethernet cable depending on the module).
Seems like your module does not return the “maxPower” key, but I could work around this in code so it will work for you. I’ll have a look at it.
Is it possible to provide a naming option? So I can define a name for the sensors.
I have 2 invertors, I hope this naming option will also provide the possibility to add a second invertor into HA.
Hi @sen, I created a PR that includes a configuration parameter to specify a name with the inverter.
I suppose it will be added in the 0.102 release (first beta is scheduled @ 13/11, official release @ 20/11)
@sen could you do one more thing for me please?
Since you have a WiFi module connected to your inverter, could you send me the full output of http://IP_OF_INVERTER/info.php ?
I’m trying to find a way to get the inverter’s serial number of the inverter, already found it for the ethernet module (equipment_data.xml) but can’t test it for the WiFi module…
Thanks!