25.10.2022, 08:40
Hi,
I bought a Homewizard Wi-fi P1 meter for reading out my electric meter.
This device has an API that returns it's data in plain text (not json).
For example:
I was wondering if there is any post on the forum someone knows of which should be a good start for a script to read out the data.
Thanks in advance,
Tig
I bought a Homewizard Wi-fi P1 meter for reading out my electric meter.
This device has an API that returns it's data in plain text (not json).
For example:
Code:
<Request>
GET http://{IP address}/api/v1/telegram
<Response>
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: <length>
/ISK5\\\\2M550T-10111-
3:0.2.8(50)
0-0:1.0.0(181106140429W)
0-0:96.1.1(31333631353032362020202020202020)
1-0:1.8.1(10830.511*kWh)
1-0:1.8.2(002948.827*kWh)
...
I was wondering if there is any post on the forum someone knows of which should be a good start for a script to read out the data.
Thanks in advance,
Tig