Blueprints i made for my Home Assistant
Each of them can take multiples AWTRIX display as output.
Consist of two page (one for last day kWh, one for last day cost) I am using myElectricalData entity provided via MQTT by myelectricaldata_import (It provides the cost via attributes)
Consist of two page (one for °c, one for % hum) Take simple temp & hum sensors as input
Displays Naolib (Nantes) waiting times for a specific stop and for each lines you want on your Awtrix device.
Features:
- 🚌 Multi-Page: Cycles through lines automatically (one page per line).
- ⏱️ Smart Filter: Shows only the next bus for each destination.
- 🌈 Visual Alerts: Rainbow text when bus is "Proche" (close).
⚠️ Stale Data: Shows a red bar if data isn't updated for 2 minutes.- 🚊 Per Line Icon: JSON Configuration to set a specific icon for each transport lines/routes.
You must add a command_line sensor to your configuration.yaml.
Replace HAUB with your stop code (find it via https://open.tan.fr/ewp/arrets.json/).
command_line:
- sensor:
name: Naolib Haubans
unique_id: naolib_haubans
# Fetch JSON and transform array to object with keys "0", "1", etc.
command: 'curl -s https://open.tan.fr/ewp/tempsattente.json/HAUB | python3 -c "import sys, json; print(json.dumps({str(i):x for i,x in enumerate(json.load(sys.stdin))}))"'
value_template: "OK"
scan_interval: 60
json_attributes:
- "0"
- "1"
- "2"
- "3"
- "4"
- "5"
- "6"
- "7"
- "8"
- "9"- Reload YAML configuration in Home Assistant.
- Create this automation from the blueprint.
- Select the sensor (e.g.,
sensor.naolib_haubans). - Configure Line Icons (see below).
In the "Line Icons" field, map your transport lines to Awtrix Icon IDs.
Example:
{
"5": "ligne-5",
"C3": "ligne-c3",
"default": "1309"
}I've joined the two icons i use for reference in the icon/ folder




