I just starting to implement all my lights sensors and meters with this system.
With this project i stumbled arround i manage to read the data of the electricity/gas meter.
http://domoticx.com/p1-poort-slimme-met ... z-esp8266/
The only problem i encountered is that it won't write the data to my PI.
This is what i see on the serial output of the Wemos D1:
Code: Select all
1-3:0.2.8(42)
0-0:1.0.0(170314131418W)
0-0:96.1.1(4530303034303031353934343433323134)
1-0:1.8.1(005377.517*kWh)
1-0:2.8.1(000000.000*kWh)
1-0:1.8.2(005608.914*kWh)
1-0:2.8.2(000000.000*kWh)
0-0:96.14.0(0002)
1-0:1.7.0(00.531*kW)
1-0:2.7.0(00.000*kW)
0-0:96.7.21(00003)
0-0:96.7.9(00001)
1-0:99.97.0(1)(0-0:96.7.19)(150327110946W)(0000005490*s)
1-0:32.32.0(00000)
1-0:32.36.0(00000)
0-0:96.13.1()
0-0:96.13.0()
1-0:31.7.0(003*A)
1-0:21.7.0(00.531*kW)
1-0:22.7.0(00.000*kW)
0-1:24.1.0(003)
0-1:96.1.0(4730303032333430313530393436303134)
0-1:24.2.1(170314130000W)(01428.966*m3)
!5C49
VALID CRC FOUND!
[HTTP] GET... URL: http://192.168.1.129:8080/json.htm?type=command¶m=udevice&idx=17&nvalue=0&svalue=5377517;5608914;0;0;531;0
[HTTP] GET... code: 401
[HTTP] GET... URL: http://192.168.1.129:8080/json.htm?type=command¶m=udevice&idx=18&nvalue=0&svalue=1428966
[HTTP] GET... code: 401as you can see at the end it collected the correct data and wants it to send it to the domoticz server but it gets a returned 401 code (unauthorized)
And the weird part is when i copy this URL into my browser and send it i get:
Code: Select all
{
"status" : "OK",
"title" : "Update Device"
}