Manual mode

Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
This commit is contained in:
2025-08-14 08:55:02 +02:00
parent 6a9a42adc6
commit 8f0fd525d9
26 changed files with 1283 additions and 384 deletions

9
config/config.json Normal file
View File

@@ -0,0 +1,9 @@
{
"influx": {
"host": "p5.local",
"port": 8086,
"token": "",
"org": "tkl",
"bucket": "home"
}
}

84
config/devices.json Normal file
View File

@@ -0,0 +1,84 @@
{
"devices": [
{
"name": "Hühnerauslauf",
"url": "http://192.168.178.56:8080/katara/chicken",
"cmd_on": "{\"value\":\"on\"}",
"cmd_off": "{\"value\":\"off\"}",
"runtime": {
"value": 60,
"unit": "min"
}
},
{
"name": "Am Hochbeet",
"url": "http://192.168.178.56:8080/katara/bed",
"cmd_on": "{\"value\":\"on\"}",
"cmd_off": "{\"value\":\"off\"}",
"runtime": {
"value": 45,
"unit": "min"
}
},
{
"name": "An der Sauna",
"url": "http://192.168.178.56:8080/katara/sauna",
"cmd_on": "{\"value\":\"on\"}",
"cmd_off": "{\"value\":\"off\"}",
"runtime": {
"value": 15,
"unit": "min"
}
},
{
"name": "An der Haselnuss",
"url": "https://perinode-ms26f.local/sample/gpio2",
"cmd_on": "{\"data\": true}",
"cmd_off": "{\"data\": false}",
"runtime": {
"value": 60,
"unit": "min"
}
},
{
"name": "Am Holzlager",
"url": "https://perinode-gzzx6.local/sample/gpio1",
"cmd_on": "{\"data\": true}",
"cmd_off": "{\"data\": false}",
"runtime": {
"value": 15,
"unit": "min"
}
},
{
"name": "Tomatentuppen",
"url": "https://perinode-jim7u.local/sample/gpio1",
"cmd_on": "{\"data\": true}",
"cmd_off": "{\"data\": false}",
"runtime": {
"value": 5,
"unit": "min"
}
},
{
"name": "Zwischen Scheune und Haus",
"url": "https://perinode-jim7u.local/sample/gpio2",
"cmd_on": "{\"data\": true}",
"cmd_off": "{\"data\": false}",
"runtime": {
"value": 60,
"unit": "min"
}
},
{
"name": "Frei",
"url": "https://perinode-ms26f.local/sample/gpio1",
"cmd_on": "{\"data\": true}",
"cmd_off": "{\"data\": false}",
"runtime": {
"value": 60,
"unit": "min"
}
}
]
}