I have a digital (not smart) meter which I can read out via a IR adapter. I have a few lines of code that send the output to /dev/ttyUSB0.
Unfortunately, it has a bunch of other data along with it, so I can't just convert it to a variable and use the API.
In the output, I have added the // at the end of each line along what kind of information it gives. I did not add the white lines, they were added by the converter.
The output looks like this:
How would I convert a output like this to a Domoticz smart meter?/?!
/ISk5MT171-0133 // Model number (I think)
000
0-0:C.1.0*255(47827401) // Unsure
1-0:0.0.0*255(47827401) // Unsure
1-0:0.2.0*255(V1.0) // Firmware version of the converter
1-0:1.8.0*255(035745 kWh) // Total usage
1-0:1.8.1*255(019928 kWh) // Usage high tariff
1-0:1.8.2*255(015817 kWh) // Usage low tariff
1-0:2.8.0*255(030550 kWh) // Total return
1-0:2.8.1*255(023577 kWh) // Return high tariff
1-0:2.8.2*255(006972 kWh) // Return low tariff
FF(00000000) // Unsure
!
Thank you in advance!