docker image for publishing RedAlert ovr Mqtt Protocol
10K+
Ubuntu based image running python script that reads json from Oref Website.
and publishes it over MQTT Protocol.
From ubuntu:18.04 described here.
Thanks to the amazing work of @caronc on the apprise you can now send notification using variety of notification channels, like:
And much musch more. you can find it all on the project Wiki.
This update also contains:
127.0.0.1.1883.user.password.tgram://bottoken/ChatID hassio://user@hostname/accesstoken slack://TokenA/TokenB/TokenC/Channeldocker run -e MQTT_HOST="broker ip / fqdn" -e MQTT_PORT="1883" -e MQTT_USER="username" -e MQTT_PASS="password" -e DEBUG_MODE="False" -e REGION="*" --name redalert techblog/redalert:latest
version: "3.6"
services:
redalert:
image: techblog/redalert
container_name: redalert
restart: always
environment:
- MQTT_HOST=[Broker Address]
- MQTT_USER=[Broker Username]
- MQTT_PASS=[Broker Password]
- DEBUG_MODE=False
- REGION=[* for any or region name)
- NOTIFIERS=[Apprise notifiers]
restart: unless-stopped
- platform: mqtt
name: "Red Alert"
state_topic: "/redalert/"
# unit_of_measurement: '%'
icon: fas:broadcast-tower
value_template: "{{ value_json }}"
qos: 1
- platform: mqtt
name: "Red Alert"
state_topic: "/redalert/"
# unit_of_measurement: '%'
icon: fas:broadcast-tower
value_template: "{{ value_json.data }}"
qos: 1
- platform: mqtt
name: "Red Alert"
state_topic: "/redalert/alarm"
icon: fas:broadcast-tower
value_template: "{{ value_json }}"
qos: 1
Content type
Image
Digest
sha256:c1c008888…
Size
168.9 MB
Last updated
almost 2 years ago
docker pull techblog/redalert