Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iop.saj-electric.com/saj/login returned 405 #104

Open
HardSource opened this issue Feb 9, 2025 · 2 comments
Open

iop.saj-electric.com/saj/login returned 405 #104

HardSource opened this issue Feb 9, 2025 · 2 comments

Comments

@HardSource
Copy link

I'm trying to configure it for the saj-electric.com domain on the international node, but the logs return error 405.

2025-02-09 14:35:39.700 ERROR (MainThread) [custom_components.saj_esolar.sensor] https://iop.saj-electric.com/saj/login returned 405
2025-02-09 14:35:39.702 ERROR (MainThread) [custom_components.saj_esolar.sensor] return data NONE
2025-02-09 14:35:39.702 ERROR (MainThread) [custom_components.saj_esolar.sensor] return data NONE
...

I'm using this configuration:

sensor:
  - platform: saj_esolar
    username: XXXX@XXXX.com
    password: XXXX
    provider_domain: iop.saj-electric.com
    resources:
      - nowPower
      - runningState
      - todayElectricity
      - monthElectricity
      - yearElectricity
      - totalElectricity
      - todayGridIncome
      - income
      - lastUploadTime
      - totalPlantTreeNum
      - totalReduceCo2
      - isAlarm
      - status
      - plantuid
      - currency
      - address
      - isOnline
      - peakPower
      - systemPower

It would be great if the integration worked for this domain, I can help with anything you need.

Thanks in advance.

@djansen1987
Copy link
Owner

When you login to the webportal do you need to solve a captcha first or have multifactor configured? If that is the case, it will not work unfortunately. This is then blocked by the provider

@HardSource
Copy link
Author

I don't need a captcha and I'm not using two-factor authentication. I log in with my email and password credentials only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants