Publish an Event

Events are interactions from your device e.g. temperature, humidity, door opened, etc.

To send an event to Wia, connect to the MQTT API and publish it to the events topic.

The events MQTT topic is: events or devices/{DEVICE_ID}/events/{EVENT_NAME}

Example code

Publish an Event using the Wia SDK

Javascript
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard