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
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.
I'm sure of the IP address.