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

Solarman Error #1

Open
rdgilmour opened this issue Mar 2, 2022 · 0 comments
Open

Solarman Error #1

rdgilmour opened this issue Mar 2, 2022 · 0 comments

Comments

@rdgilmour
Copy link

I get the following error after running:

solarman-alerts_1 | Will poll every 300 seconds
solarman-alerts_1 | Waiting for connection to mqtt broker
solarman-alerts_1 | Attempting to login to solarman
solarman-alerts_1 | logged in to solarman
solarman-alerts_1 | Traceback (most recent call last):
solarman-alerts_1 | File "/app/run.py", line 15, in
solarman-alerts_1 | state: State = solarman_api.get_state(
solarman-alerts_1 | File "/app/solarman_mqtt/solarman.py", line 114, in get_state
solarman-alerts_1 | solarman_detail = SolarmanDetail(**response_json)
solarman-alerts_1 | File "/usr/local/lib/python3.9/site-packages/pydantic/main.py", line 406, in init
solarman-alerts_1 | raise validation_error
solarman-alerts_1 | pydantic.error_wrappers.ValidationError: 1 validation error for SolarmanDetail
solarman-alerts_1 | paramCategoryList
solarman-alerts_1 | none is not an allowed value (type=type_error.none.not_allowed)
solarman-mqtt-main_solarman-alerts_1 exited with code 1

Is this due to Solarman changing something? or an incorrect Site ID perhaps?

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

1 participant