50 lines
1.0 KiB
JSON
50 lines
1.0 KiB
JSON
{
|
|
"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": "selsyn_multi",
|
|
"mqtt_prefix": "home/panels/chernobyl1",
|
|
|
|
"gauges": [
|
|
{
|
|
"name": "Gauge 1",
|
|
"pins": [12, 13],
|
|
"mode": "stepdir",
|
|
"min": 0,
|
|
"max": 7300,
|
|
"step_us": 200,
|
|
"entity_name": "Power 1",
|
|
"unit": "W"
|
|
},
|
|
{
|
|
"name": "Gauge 2",
|
|
"pins": [14, 15],
|
|
"mode": "stepdir",
|
|
"min": 0,
|
|
"max": 100,
|
|
"step_us": 200,
|
|
"entity_name": "Temperature",
|
|
"unit": "C"
|
|
}
|
|
],
|
|
|
|
"leds": {
|
|
"red_pin": 33,
|
|
"green_pin": 32,
|
|
"backlight_pin": 23
|
|
},
|
|
|
|
"device": {
|
|
"name": "Selsyn Multi Gauge",
|
|
"model": "Chernobyl Selsyn-inspired gauge",
|
|
"manufacturer": "AdeBaumann",
|
|
"area": "Control Panels"
|
|
},
|
|
|
|
"microsteps_per_second": 600,
|
|
"heartbeat_ms": 10000,
|
|
"rezero_interval_ms": 3600000
|
|
} |