Comments (20)
Well, I've tried without success since I'm not very good at application programming, to modify the URL where it connects but it's not enough. It would be possible to modify the way of passing the login data, and also, for sure, it would not be able to capture the data that is on the web.
The maximum I have achieved is to put the URL of the login.
2023-12-09 00:36:56.255 ERROR (MainThread) [custom_components.saj_esolar.sensor] https://esaj-home.saj-electric.com/login returned 405
from sajesolar.
I have the same problem.
I'm trying to use the url "inversor.saj-electric.com" as described here: https://github.com/djansen1987/SAJeSolar/releases/tag/v1.5.1
without success
from sajesolar.
Well, I have seen that the greenheiss or solarprofit inverters are still operational on the old platform, but the SAJ devices are no longer there. I tried to connect to the greenheiss platform with my user and it can be accessed, but there is no inverter and if you try to add an inverter SAJ detects a wrong SN.
What I haven't tried is re-enabling the inverter on the old SAJ website, because I think they would delete it immediately.
I hope someone more knowledgeable than me can find a way to access the new platform soon!
from sajesolar.
https://esaj-home.saj-electric.com/monitor/device-monitor-detail?deviceSn=XXXXXXXXXXXX
This is the only page that is needed. Maybe the API can go much better, but if we could get the info from here, it would be fine.
This other page also works, at the moment:
https://inversor.saj-electric.com/cloud/cloudMonitor/deviceInfo?devicesn=XXXXXXXXXXXX
But I don't see how to edit the component so that it goes directly to read this.
from sajesolar.
I had the same problem from yesterday but mine has started working again just now with no changes to the the configuration. Hope it stays working.
from sajesolar.
Here in Barcelona, it has been giving me strange values during a day or so, after that, all of a sudden the integration returned me "no numeric value" for grid production and battery level, and now, it's working again.
Maybe I'm getting the info from another server or SAJ changed something
from sajesolar.
Hello again
I made changes on my module to connect a SOLARPROFIT page, and run fine.
Also I see all data are again in esolar fop webserver. Maybe a database error on server, and have resolved.
If anyone need solarprofit mod, I can send. My version is very old, but I made a lot of changes in order to see more data from server, like independent array values or negative power value on battery to see charge or discharge.
Thanks from Catalonia.
from sajesolar.
My HA was not pulling data from the SAJ portal again today. I looked here and there seemed to be no one else facing the same issue as me. I then checked my HA logs and found these errors.
After some investigation It turns out that my data is on the international node and the urls for the international and European nodes are different also the url for the European node is the same as the old url.
The url for the international node is https://intop.saj-electric.com/saj/login. Searched for 'https://fop.saj-electric.com/saj/login' and replaced it with 'https://intop.saj-electric.com/saj/login' in sensor.py and now my data is back.
from sajesolar.
My HA was not pulling data from the SAJ portal again today. I looked here and there seemed to be no one else facing the same issue as me. I then checked my HA logs and found these errors.
![]()
After some investigation It turns out that my data is on the international node and the urls for the international and European nodes are different also the url for the European node is the same as the old url. The url for the international node is https://intop.saj-electric.com/saj/login. Searched for 'https://fop.saj-electric.com/saj/login' and replaced it with 'https://intop.saj-electric.com/saj/login' in sensor.py and now my data is back.
I was also having the same issue and noticed I was now using the international node.
To fix this you need to search for all instances of "fop" and replace with "intop". There are two locations in sensor.py:
- Line 55: BASE_URL = 'https://fop.saj-electric.com/saj/login'
- Line 506: vol.Optional("provider_domain",default="fop.saj-electric.com"): cv.string,
Change the "fop" to "intop" for both the above lines and everything will be working again.
from sajesolar.
If anyone can make a pull request so it works in both situations i am happy to merge it. Unfortuanly i also do not have a saj device anymore and there for it is not on top of my priorities. Also happy to assign a second owner to the projects
from sajesolar.
@OlorinSledge @palmfieldsflame in the most recent version of the code, the domain can be passed through the configuration . This was done for the benefit of solarprofit and greenheiss users, but I think should work for this as well.
e.g. adding
provider_domain: https://intop.saj-electric.com
provider_path: saj
will most likely do the same as you mention
from sajesolar.
My HA was not pulling data from the SAJ portal again today. I looked here and there seemed to be no one else facing the same issue as me. I then checked my HA logs and found these errors.
![]()
After some investigation It turns out that my data is on the international node and the urls for the international and European nodes are different also the url for the European node is the same as the old url. The url for the international node is https://intop.saj-electric.com/saj/login. Searched for 'https://fop.saj-electric.com/saj/login' and replaced it with 'https://intop.saj-electric.com/saj/login' in sensor.py and now my data is back.I was also having the same issue and noticed I was now using the international node.
To fix this you need to search for all instances of "fop" and replace with "intop". There are two locations in sensor.py:
- Line 55: BASE_URL = 'https://fop.saj-electric.com/saj/login'
- Line 506: vol.Optional("provider_domain",default="fop.saj-electric.com"): cv.string,
Change the "fop" to "intop" for both the above lines and everything will be working again.
Which file is this? I can't find these lines anywhere in the .py files... Can someone help?
from sajesolar.
@connornz you should be able to change the domain in your configuration.yaml following the configuration instructions
provider_domain: https://intop.saj-electric.com
provider_path: saj
from sajesolar.
@connornz you should be able to change the domain in your configuration.yaml following the configuration instructions
provider_domain: https://intop.saj-electric.com
provider_path: saj
Like this?
#sensor:
- platform: saj_esolar
username: connor_nz
password: PASSWORD
plant_id: 0 # Default is 0. Typically ordered in the same way as they are listed in the eSolar app
provider_domain: https://intop.saj-electric.com
provider_path: saj
sensor: h1
resources:- nowPower
- runningState
- todayElectricity
- monthElectricity
- yearElectricity
- totalElectricity # Energy -> Solar production
- todayGridIncome
- income
- lastUploadTime
- totalPlantTreeNum
- totalReduceCo2
- status
- plantuid
- currency
- address
- isOnline
- peakPower
- systemPower # Installed capacity
from sajesolar.
on a glance, yes (assuming you have the most recent version, that is.)
from sajesolar.
on a glance, yes (assuming you have the most recent version, that is.)
Doesn't matter what I do. I get the following
"ERROR (MainThread) [custom_components.saj_esolar.sensor] return data NONE"
from sajesolar.
Did you get it resolved ?
from sajesolar.
from sajesolar.
I also want to look in to the Modbus. Could you perhaps share how you connected the modbus and what device you use to read the values in Home assistant ?
from sajesolar.
No response
from sajesolar.
Related Issues (20)
- uitlezen SAJ converter HOT 12
- Lettura non riuscita Aiuto! HOT 2
- more plants HOT 2
- Peakpower not showing HOT 2
- rename of resources and historical dashboard data HOT 1
- Add more states to runningState handling HOT 6
- Add uuid param to reduce calls load and allow unpaired users to use the plugin HOT 3
- is fop.saj-electric.com deprecated? HOT 36
- AIO3 supported? HOT 1
- pvElec and useElec mulitplied by 1000? HOT 2
- HA Energy Dashboard: which sensor do I add? HOT 1
- SAJ Portal Server changes HOT 3
- warnings on deprecated units HOT 5
- PV1 Power HOT 13
- Help new system HOT 5
- R6 Series Inverter HOT 1
- Incorrect Reporting of totalGridPower and totalLoadPower in SAJ eSolar Integration HOT 2
- Unknown error occurred while polling eSolar: 'plantDetail' HOT 1
- Error SAJ_SOLAR HAC HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sajesolar.