Is it possible to assign multiple WebThing capabilities to one micro:bit device?

Issue #217 resolved
connochaetes created an issue

Is it possible to assign multiple WebThing capabilities to one micro:bit device?

As far as I know, this cannot be done. - Right now, I am using one micro:bit device as a “PushButton” and another micro:bit as a “Light”. Since one is acting as a sensor and the other one is acting as an actor, I was wondering, if this could be combined in one device.

Thank you for your work.

Comments (3)

  1. John Maloney repo owner

    I’m afraid not. You can make a device that has multiple attributes (e.g. a light that has both an “on” boolean and and “brightness” value) but each WebThing has a single top-level capability.

  2. connochaetes reporter

    That’s what I expected.

    @John Maloney Thank you for the response. / BTW: Thanks for pointing out the possibility to use a micro:bit as an AM transmitter (RobolotCon, 08/05/2021).

  3. Log in to comment