Files

90 lines
1.9 KiB
JSON
Raw Permalink Normal View History

2026-04-27 06:01:00 +02:00
{
"usb": {
"port": "/dev/ttyACM0",
"baud_rate": 9600,
"reconnect_delay_s": 3,
"buffer_size": 200
},
"dashboard": {
2026-05-02 20:54:53 +02:00
"host": "0.0.0.0",
2026-04-27 06:01:00 +02:00
"port": 8088,
2026-05-02 20:54:53 +02:00
"poll_interval_ms": 2500,
2026-04-27 06:01:00 +02:00
"title": "Smart Mirror"
},
2026-05-02 20:57:18 +02:00
"location": {
"name": "Dillingen / Saar",
"latitude": 49.357,
"longitude": 6.731,
"weather_refresh_s": 600
},
2026-04-27 06:01:00 +02:00
"smtp": {
2026-05-02 20:54:53 +02:00
"enabled": false,
2026-04-27 06:01:00 +02:00
"host": "smtp.example.com",
"port": 587,
"use_tls": true,
"username": "alerts@example.com",
"password": "secret",
"from_address": "alerts@example.com",
"to_addresses": ["admin@example.com"],
"cooldown_s": 300
},
"whatsapp": {
"enabled": false,
"provider": "twilio",
"cooldown_s": 300,
"twilio": {
"account_sid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"auth_token": "your_auth_token",
"from_number": "whatsapp:+14155238886",
"to_numbers": ["whatsapp:+49151XXXXXXXX"]
},
"callmebot": {
"api_key": "your_callmebot_apikey",
"to_numbers": ["+49151XXXXXXXX"]
}
},
"sensors": [
{
"name": "Temperatur",
"field_index": 0,
"unit": "°C",
2026-05-02 20:54:53 +02:00
"threshold_high": 40.0,
2026-04-27 06:01:00 +02:00
"threshold_low": -10.0,
"notify_on_high": true,
"notify_on_low": true
},
{
"name": "Luftfeuchtigkeit",
"field_index": 1,
"unit": "%",
"threshold_high": 95.0,
"threshold_low": null,
"notify_on_high": true,
"notify_on_low": false
},
{
2026-05-02 20:54:53 +02:00
"name": "Regen (Analog)",
2026-04-27 06:01:00 +02:00
"field_index": 2,
2026-05-02 20:54:53 +02:00
"unit": "",
"threshold_high": null,
"threshold_low": null,
"notify_on_high": false,
"notify_on_low": false
},
{
"name": "Regen (Digital)",
"field_index": 3,
"unit": "",
"threshold_high": null,
"threshold_low": null,
"notify_on_high": false,
"notify_on_low": false
2026-04-27 06:01:00 +02:00
}
]
}