limasilvio / hoymilesdtumi

Hoymiles DTU-MI data wrapper for python.
MIT License
1 stars 0 forks source link

Connection refused #2

Open Toug19 opened 1 week ago

Toug19 commented 1 week ago

Hi I installed the python package with pip. Was ok. Then pi@raspberrypi:~ $ :python3 Python 3.7.3 (default, Jun 29 2023, 18:03:57) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import hoymilesdtumi json = hoymilesdtumi.dtu_http_request('192.168.1.155') Traceback (most recent call last): File "", line 1, in File "/home/pi/.local/lib/python3.7/site-packages/hoymilesdtumi/hoymilesdtumi.py", line 17, in dtu_http_request client.connect((url, port)) ConnectionRefusedError: [Errno 111] Connection refused

I'm sure of the IP address.