djansen1987 / SAJeSolar

SAJ eSolar Portal Sensors
GNU General Public License v3.0
22 stars 14 forks source link

SAJ Portal Server changes #74

Closed bowenda closed 5 months ago

bowenda commented 8 months ago

In Late December 2023, SAJ changed their portal server, there are now several regional severs.

How do I change the server used from https://fop.saj-electric.com/ to https://intop.saj-electric.com/saj. This is the international Server.

Additionally the Plant ID is now a 6 character ASCII string which fails the configuration check.

Thanks David

djansen1987 commented 7 months ago

please use this part from the documentation to update the url

    provider_domain: intop.saj-electric.com
    provider_path: saj

https://github.com/djansen1987/SAJeSolar

djansen1987 commented 7 months ago

for the plant id you can try to edit your sensor.py in the custom_components folder from cv.positive_int to cv.string

vol.Optional(CONF_PLANT_ID, default=0): cv.positive_int, # type: ignore https://github.com/djansen1987/SAJeSolar/blob/90cf5e55372e621f99506ede2477e0185cc2f17d/custom_components/saj_esolar/sensor.py#L502

This will allow you to enter an ASCII string instead of only a number. Let me know if that solves it so i can see if we need to update the source code on github

manducagiuseppe commented 7 months ago

if it can be here are the profits in the new servers Screenshot 2024-02-12 162428