New IotaWatt user here. Loving it so far and greatly simplified and sped up a project that I was looking to do on my own. One outstanding opportunity I’m looking to setup is to write my own web service to receive the data. Once I have the data I have a number of future projects planned. Seeing as how C++ is NOT my native tongue it seems easier to just mock one of the existing APIs and continue running stock firmware.
Right, wrong, or indifferent I decided to mock the EmonCMS API. I think I was able to reverse engineer the majority of the info to understand how this works. However, I have one remaining question… In each array of data I think the first number is a time offset. Do I just take the time parameter that is sent to the web service and add that many seconds to it? Also, I’m receiving 26 arrays (up to 250). Can you explain the meaning of that, why 26?
[[0,“IotaWatt”,122.52,1330.44,139.34,85.88,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00],
[10,“IotaWatt”,122.51,1327.10,139.32,85.90,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00],
[20,“IotaWatt”,122.48,1327.79,138.66,85.89,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00],
[30,“IotaWatt”,122.52,1326.01,139.00,85.95,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00],…]