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

solariot errors when run #104

Open
iankds05 opened this issue Oct 6, 2024 · 0 comments
Open

solariot errors when run #104

iankds05 opened this issue Oct 6, 2024 · 0 comments

Comments

@iankds05
Copy link

iankds05 commented Oct 6, 2024

I have installed this repository on Ubuntu desktop and followed the install procedure as outlined in the readme. Everything seems to be installed correct and I have created my own inverter model file SG10RS using the provided SG10rt file but with applicable modbus addresses plus made the config.py file with mqtt settings When the solarart.py is run from terminal I get the following errors

Sungrow@Ubuntu:~/solariot$ ./solariot.py
Traceback (most recent call last):
File "/home/Sungrow/solariot/./solariot.py", line 127, in
mqtt_client = mqtt.Client(getattr(config, "mqtt_client_name", "pv_data"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Sungrow/.local/lib/python3.12/site-packages/paho/mqtt/client.py", line 772, in init
raise ValueError(
ValueError: Unsupported callback API version: version 2.0 added a callback_api_version, see docs/migrations.rst for details

As I am no way skilled at python could you maybe give me some pointers as to what could be the possible issue
Thanks

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