mirror of
https://github.com/adamzend/Uploading-server-data-meteo-to-Lemmy-instance.git
synced 2026-10-30 19:02:00 +01:00
63 lines
1.2 KiB
JSON
63 lines
1.2 KiB
JSON
{
|
|
"timezone": "UTC",
|
|
"stale_after_minutes": 90,
|
|
"modbus": {
|
|
"host": "",
|
|
"port": 502,
|
|
"unit_id": 1,
|
|
"function_code": 3,
|
|
"timeout_seconds": 5,
|
|
"attempts": 3,
|
|
"retry_delay_seconds": 2
|
|
},
|
|
"sensors": {
|
|
"temperature": {
|
|
"address": null,
|
|
"signed": true,
|
|
"multiplier": 0.1,
|
|
"offset": 0,
|
|
"min": -100,
|
|
"max": 100
|
|
},
|
|
"humidity": {
|
|
"address": null,
|
|
"signed": false,
|
|
"multiplier": 0.1,
|
|
"offset": 0,
|
|
"min": 0,
|
|
"max": 100
|
|
},
|
|
"pressure": {
|
|
"address": null,
|
|
"signed": false,
|
|
"multiplier": 0.1,
|
|
"offset": 0,
|
|
"min": 100,
|
|
"max": 1200
|
|
}
|
|
},
|
|
"lemmy": {
|
|
"enabled": false,
|
|
"instance": "",
|
|
"username": "",
|
|
"password": "",
|
|
"community_id": null,
|
|
"post_id": null,
|
|
"title": "Stacja meteo",
|
|
"heading": "Stacja meteo",
|
|
"pin_in_community": false,
|
|
"update_note": "Aktualizacja co godzinÄ™. Wykresy obejmujÄ… bieĹĽÄ…cy miesiÄ…c."
|
|
},
|
|
"recovery": {
|
|
"attempts": 5,
|
|
"delay_seconds": 60
|
|
},
|
|
"heartbeat": {
|
|
"enabled": false,
|
|
"address": null,
|
|
"timeout_seconds": 70,
|
|
"poll_interval_seconds": 5,
|
|
"checks": []
|
|
}
|
|
}
|