How to publish the data from a light sensor to openremote server

How to publish sensed data from Light sensor to openremote server.

Communicating from device to OpenRemote can be done using one of our APIs or a custom HTTP Endpoint.

Alternatively OpenRemote can establish communication with your device by using an Agent (HTTP, MQTT, etc.).

Which route to take will depend on the capabilities of the device in question.