ElectronicCats / CayenneLPP

Library for Arduino compatible with Cayenne Low Power Payload
http://electroniccats.com/
MIT License
106 stars 48 forks source link

Add support for power measurement type (IPSO: 3305) #33

Closed mincequi closed 7 months ago

mincequi commented 2 years ago

Hi, as i need support for a smart meter device, i was wondering if it is desired to support the power measurement type (IPSO:: 3305). Resulting in type 105 for CayenneLPP. Reasons to support this:

I would orient myself to the BIPSO specification and also support some optional values: https://github.com/bluetoother/bipso/wiki/BIPSO-Specification

What i also would add is support for SFLOAT16 data type (from bluetooth specification). The advantages of this type are:

For my intended design, the payload would look like this:

Please share your thoughts. I am also willing to provide a PR.

Thanks a lot :)