Skip to main content

LightDB

LightDB Device Service definitions over MQTT.

How to use guides:

Interface

MethodDescriptionPathContent Format
SubscribeRead persisted data/.d/{path=**}JSON
PublishCreate/Update data/.d/{path=**}JSON
PublishDelete Data if body is empty/.d/{path=**}JSON

path can be any valid URI sub path. Ex:

/.d/temp/state

/.d/temp/active

The body can be a JSON object or a single value in the following formats:

  • boolean
  • float
  • integer
  • string