Hey folks,
I am from Germany, but I will try to explain my problems.
I`ve startet with pilight 3-4 weeks before. But after trying to install my old REV devices I gave up after 1,5 weeks. (my brennstuhl switches works fine with pilight)
After this I tried it with pimatic without arduino but I´ve failed again.
Then i bought me the arduino nano.
So now i stuck while I try to switch my brennstuhl devices.
-
Everytime I try to switch the pimatic doesnt response after some seconds. And I got the message OPS timeout.
-
Everytime I try to stop pimatic for some changes i get the message:
Startup error: Error: SQLITE_BUSY: database is locked
Only after a restart the pimatic starts again. How can I fix this?
- The next thing is that I cant receive the debug infos everytime. The Send Debug works fine, but the receive info doesnt work permanent.
I hope someone could give me some tips how to repair this annoying bugs.
Is my debug: true and loglevel on the right place?
Here is my actually config:
{
"settings": {
"httpServer": {
"enabled": true,
"port": 80
},
"database": {
"deviceAttributeLogging": [
{
"deviceId": "*",
"attributeName": "*",
"type": "*",
"interval": "0",
"expire": "7d"
},
{
"deviceId": "*",
"attributeName": "*",
"type": "continuous",
"interval": "5min",
"expire": "7d"
},
{
"deviceId": "*",
"attributeName": "temperature",
"type": "number",
"expire": "1y"
},
{
"deviceId": "*",
"attributeName": "humidity",
"type": "number",
"expire": "1y"
}
],
"messageLogging": [
{
"level": "*",
"tags": [],
"expire": "7d"
},
{
"level": "debug",
"tags": [],
"expire": "0"
}
]
},
"debug": true,
"authentication": {
"secret": "xxxxxxxxxx"
},
"logLevel": "debug",
"httpsServer": {},
"gui": {}
},
"plugins": [
{
"plugin": "cron"
},
{
"plugin": "homeduino",
"driver": "serialport",
"debug": true,
"driverOptions": {
"serialDevice": "/dev/ttyUSB0",
"baudrate": 115200
},
"receiverPin": 0,
"transmitterPin": 4
},
{
"plugin": "mobile-frontend"
}
],
"devices": [
{
"id": "rfswitch",
"name": "Brenner",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch5",
"options": {
"id": 1048252,
"unit": 0
}
}
]
}
],
"rules": [],
"pages": [
{
"id": "favourite",
"name": "Favourites",
"devices": [
{
"deviceId": "rfswitch"
}
]
}
],
"groups": [],
"users": [
{
"username": "admin",
"password": "xxxxxxxxx",
"role": "admin"
}
],
"roles": [
{
"name": "admin",
"permissions": {
"pages": "write",
"rules": "write",
"variables": "write",
"messages": "write",
"events": "write",
"devices": "write",
"groups": "write",
"plugins": "write",
"updates": "write",
"database": "write",
"config": "write",
"controlDevices": true,
"restart": true
}
}
],
"variables": []
}
Hope someone can help me