Streetlights APIs January 8 1.0.0

The Smartylighting Streetlights API allows you to remotely manage the city lights.

Servers

mqtt://test.mosquitto.org mqtt

Operations

Pub light/measured

Inform about environmental lighting conditions for a particular streetlight.

Accepts the following message:

<anonymous-message-1>

Payload
object
id
integer
>= 0

Id of the streetlight.

lumens
integer
>= 0

Light intensity measured in lumens.

sentAt
string
date-time

Date and time when the message was sent.

Additional properties are allowed.

Examples

<anonymous-message-1>
Payload
{
  "id": 0,
  "lumens": 0,
  "sentAt": "2019-08-24T14:15:22Z"
}
This example has been generated automatically.

Messages

#1 <anonymous-message-1>

Payload
object
id
integer
>= 0

Id of the streetlight.

lumens
integer
>= 0

Light intensity measured in lumens.

sentAt
string
date-time

Date and time when the message was sent.

Additional properties are allowed.