I have a device, that has multiple sensors.
Each sensor outputs multiple readings. (this is the issue) CayenneLPP works great if each of your
devices outputs only 1 reading using the channels, however. I would like to group multiple device readings together so I can more logically identify them in the output data.
An example of this is:
lpp.addLuminosity(1, uv.readVisible()); lpp.addLuminosity(2, uv.readUV());
Where these 2 readings can be sent on channels 1 and 2, however, there is nothing showing they are from the one sensor. What would be great is if I could have a sensor flag such as
lpp.addLuminosity(1, 1, uv.readVisible()); lpp.addLuminosity(1, 2, uv.readUV()); lpp.addLuminosity(2, 1, uv.readVisible()); lpp.addLuminosity(2, 2, uv.readUV());
Has anyone found a way around this limitation with CayenneLPP? Or does anyone know of a good alternative?
I was at first hoping to use CayenneLPP as it seems to have community support, but if this is a limitation that cannot be overcome, I hope to find an efficient alternative. Possibly I may have to modify the Cayenne lib myself… (i hope not)
Thank you very much!