Send a reading
publish_readingStore one reading for a device, exactly as POST /add/{device} would. Useful for testing a dashboard or integration before hardware exists, or for writing to a channel a device listens to. One message per device per 30 s, shared with the device itself; everything is public.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Device name, e.g. amber-otter-4821. Letters, digits, '_', '.', '-'; max 64. | |
| metrics | Yes | Flat object of 1-10 metrics, e.g. {"temp": 21.5, "hum": 60}. Values are numbers or short strings. |