ui3
ui3 copied to clipboard
Add MQTT command to display a toast message
Design and add an MQTT command to display a toast message.
Options to consider:
- Style of toast (error, warning, info, success)
- Toast timeout in seconds. -1 to make it permanent and give it a close button?
- Plain text only, for security reasons.
- Should the toast message do something on click?
- Nothing
- Maximize a camera
- Go to the Clips tab, filter by Alerts, and maximize a camera.
- Open a specific recording by ID (can this be passed an alert ID?)
- Have an optional toast instance ID field similar to what I did with
playaudio/{player_id}