Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for more IPSO objects. #12

Open
ofauchon opened this issue Feb 5, 2022 · 1 comment
Open

Add support for more IPSO objects. #12

ofauchon opened this issue Feb 5, 2022 · 1 comment

Comments

@ofauchon
Copy link

ofauchon commented Feb 5, 2022

Hi. @johanstokking , @calvernaz.

I'm using your library in my Lorawan connected devices (TinyGo based code)

Now, I need more types of measurements (power related : voltage, intensity power) for monitoring power inverters.

I can see these types of objects exists in IPSO object Registry

https://technical.openmobilealliance.org/OMNA/LwM2M/LwM2MRegistry.html
https://github.com/OpenMobileAlliance/lwm2m-registry

  • ID=3316 : Voltage/Volts
  • ID=3317 : Current/Amps
  • ID=3318 : Frequency/Hz
  • ID=3328 : Power/Watt

Do you think I can propose a PR for supporting these extra measurements:

  • AddVoltage()
  • AddCurrent()
  • AddFrequency()
  • AddPower()

Maybe we could also think about a more generic API like:

  • AddCustomMeasurement(IPSO_Object, Value)

Thanks for your help,

Olivier

@johanstokking
Copy link
Member

Hmm, I'm not sure if defined IPSO objects should automatically be used in CayenneLPP. We don't know the data size or the data resolution. Therefore we follow https://community.mydevices.com/t/cayenne-lpp-2-0/7510.

I would suggest filing this with myDevices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants