It looks like the "requests" package is not installed or not completely installed on your system. Try installating that and see whether it solves the problem.Alain wrote: ↑Sunday 18 August 2024 1:03 I'm having trouble getting my plugin running. I am trying to connect an Ioniq 5 (2023 model). During the install everything went fine. I followed all the steps in the instructions and had no issues.
I'm running the latest stable version of Domoticz (2024.7), Python 3.8 on Ubuntu 20.04 LTS.
Code: Select all
2024-08-18 00:50:55.065 Error: IONIQ 5: (domoticz-hyundai-kia) failed to load 'plugin.py', Python Path used was '/home/alain/domoticz/plugins/HyundaiKiaConnect/:/usr/lib/python38.zip:/usr/lib/python3.8:/usr/lib/python3.8/lib-dynload:/usr/local/lib/python3.8/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.8/dist-packages'. 2024-08-18 00:50:55.066 Error: IONIQ 5: Traceback (most recent call last): 2024-08-18 00:50:55.067 Error: IONIQ 5: File "/home/alain/domoticz/plugins/HyundaiKiaConnect/plugin.py", line 74, in <module> 2024-08-18 00:50:55.067 Error: IONIQ 5: from hyundai_kia_connect_api import * 2024-08-18 00:50:55.067 Error: IONIQ 5: File "/usr/local/lib/python3.8/dist-packages/hyundai_kia_connect_api/__init__.py", line 4, in <module> 2024-08-18 00:50:55.067 Error: IONIQ 5: from .ApiImpl import ( 2024-08-18 00:50:55.067 Error: IONIQ 5: File "/usr/local/lib/python3.8/dist-packages/hyundai_kia_connect_api/ApiImpl.py", line 10, in <module> 2024-08-18 00:50:55.067 Error: IONIQ 5: from requests.exceptions import JSONDecodeError 2024-08-18 00:50:55.067 Error: IONIQ 5: ImportError: cannot import name 'JSONDecodeError' from 'requests.exceptions' (/usr/lib/python3/dist-packages/requests/exceptions.py)
Can someone tell me what is causing this?
Kia and Hyundai plugin
Moderator: leecollings
-
- Posts: 621
- Joined: Saturday 21 September 2019 17:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.1
- Location: The Netherlands
- Contact:
Re: Kia and Hyundai plugin
Who is online
Users browsing this forum: No registered users and 1 guest