|LightweightM2M / Leshan / IPSO [message #1713086]
||Fri, 30 October 2015 17:51
| Mattias Tornblad
Registered: October 2015
I've been playing around a bit with launching the Leshan-server (https://projects.eclipse.org/projects/iot.leshan) inside Openhab2 to get lwm2m/IPSO objects into OpenHab! I've gotten so far that when a lwm2m client connects to the leshan server it is shown in the paperui inbox. My biggest issue right now before i continue is how i should map the lwm2m objects against the "thing" structure.
An example design of a theoretical plug socket sensor, with two plugs
(index of 0 and 1) a button and a LED, along with temperature and CO2
sensors in CoRE Link Format. The following examples make use of this
What would make most sense from the above sample, try to create one thing and add channels dynamically that maps to the above items, or to make one "thing" per sub device, ie 2 plug-things, 1 button-thing... etc, and in this case, is there a way to group them together?
If you think the dynamic channels is the way to go, how is this made? I tried to test that approach in the handle-class, but just ended up with errors.
Powered by FUDForum
. Page generated in 0.01660 seconds