Initial complete commit

This commit is contained in:
2026-04-04 16:47:39 +02:00
parent 2fa0f1c0d0
commit 9cc1b695bd
8 changed files with 1161 additions and 0 deletions

32
config.example.json Normal file
View File

@@ -0,0 +1,32 @@
{
"wifi_ssid": "YourWiFiSSID",
"wifi_password": "YourWiFiPassword",
"mqtt_broker": "mqtt.example.com",
"mqtt_port": 1883,
"mqtt_user": "mqtt_user",
"mqtt_password": "mqtt_password",
"mqtt_client_id": "selsyn1",
"mqtt_prefix": "home/panels/chernobyl1/gauge1",
"gauge_pins": [12, 13, 26, 27],
"gauge_min": 0,
"gauge_max": 7300,
"gauge_pulse": 4,
"gauge_half_step": false,
"smooth_step_ms": 50,
"heartbeat_ms": 10000,
"idle_release_ms": 3000,
"rezero_interval_ms": 3600000,
"led_red_pin": 33,
"led_green_pin": 32,
"led_bl_pin": 23,
"device_name": "Selsyn 1",
"device_model": "Chernobyl Selsyn-inspired gauge",
"device_manufacturer": "AdeBaumann",
"device_area": "Control Panels",
"gauge_entity_name": "Selsyn 1 Power",
"gauge_unit": "W",
"red_led_entity_name": "Selsyn 1 Red LED",
"green_led_entity_name": "Selsyn 1 Green LED",
"backlight_entity_name": "Selsyn 1 Backlight",
"backlight_unit": "%"
}