Files
smart-mirror/raspi/settings.json

76 lines
1.5 KiB
JSON
Raw 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": {
"host": "127.0.0.1",
"port": 8088,
"poll_interval_ms": 800,
"title": "Smart Mirror"
},
"smtp": {
"enabled": true,
"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",
"threshold_high": 80.0,
"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
},
{
"name": "Spannung",
"field_index": 2,
"unit": "V",
"threshold_high": 5.5,
"threshold_low": 3.0,
"notify_on_high": true,
"notify_on_low": true
}
]
}