start with postgres

This commit is contained in:
2021-04-21 18:51:12 +02:00
parent 035a288874
commit a3b9c2071e
3 changed files with 139 additions and 39 deletions

View File

@ -1,9 +1,4 @@
// influxUser = "";
// influxPass = "";
influxServer = "172.16.10.16";
influxPort = 8086;
influxDatabase = "smarthome2";
influxMeasurement = "mainsfrequency";
postgresqlConnInfo = "host=172.16.3.32 dbname=mainscnt user=sink password=test123";
lowerBound = 45000;
upperBound = 55000;
@ -12,10 +7,10 @@ receivePort = 20169;
devices = (
{
inactive = true;
deviceId = "MainsCnt01";
inactive = false;
deviceId = "testsource";
// sharedSecret must have exactly 31 characters
sharedSecret = "Uj6*uKDp@8Kvfa4g5eRMLUfVsSuqjxW";
sharedSecret = "0123456789012345678901234567890";
// location must neither contains spaces nor commas or any other URL-special characters
location = "Essen_DE";
}