Guides → Notifications from Home Assistant & MQTT

Send Notifications to DataPix from Home Assistant, MQTT or Any Script

Doorbell rang, washing machine done, build failed — push a message and it scrolls across the panel right away, then your views come back. Over your own network: a web address, MQTT, or a Home Assistant entity that appears by itself.

A message interrupts the current view, scrolls once, then the rotation carries on.

What you need

  • A DataPix, powered on and joined to your WiFi (see Setup).
  • For MQTT: a broker on your network — for example the Mosquitto add-on in Home Assistant.

Step by step

  1. Try it from the setup page

    Open Night mode & notifications on the home screen. Under Send a message, type a text, pick a colour and how many seconds it stays, and press Send.

  2. Send it from anything on your network

    Any app, script or phone shortcut can do the same with one request:

    curl -X POST http://<device-ip>/rest/notify \
      -H "Content-Type: application/json" \
      -d '{"text":"Doorbell!","color":"#FFAA00","seconds":10}'

    Or simply open http://<device-ip>/rest/notify?text=Doorbell!. The same page shows these with your device's address filled in.

  3. Connect MQTT

    On the same page, tick Connect to an MQTT broker, enter the broker address, port and (if your broker needs one) username and password, and press Save. Anything published to <topic>/notify — plain text or the JSON above — shows on the panel. The device reports online / offline on <topic>/status.

  4. Use it in Home Assistant

    Keep Add to Home Assistant automatically ticked and DataPix appears as a device with a Message notify entity. Use it in any automation with the Notify: Send a notification message action. No MQTT? The setup page also shows a ready-made rest_command for configuration.yaml.

Good to know

  • Up to 5 messages wait in line; each scrolls at least once, however short its time.
  • Night mode with brightness 0 means the panel stays dark: messages that arrive then are skipped.
  • There is no password on the device's page or on /rest/notify: anyone on your network can send a message. Don't expose the device to the internet.