Hello,
yesterday i got the following error from pimatic:
error [pimatic-mobile-frontend]: Client error: Uncaught TypeError: Cannot read property ‘match’ of undefined
What causes this error / problem?
Mobile Frontend error
Hello,
yesterday i got the following error from pimatic:
error [pimatic-mobile-frontend]: Client error: Uncaught TypeError: Cannot read property ‘match’ of undefined
What causes this error / problem?
pimatic-google-calendar | pimatic-wmi | pimatic-snmp | pimatic-wakeonlan |
Like my work? Then consider a donation
Follow me: www.thorstenreichelt.de
@thost96 Did you install my fork of the pimatic-mail plugin?
If yes, this is most likely the cause. If no, we need to have a closer look at your setup, i.e. plugins installed, rules deployed.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
@mwittig said:
@thost96 Did you install my fork of the pimatic-mail plugin?
No, i havent’t installed the pimatic-mail plugin.
pimatic-google-calendar | pimatic-wmi | pimatic-snmp | pimatic-wakeonlan |
Like my work? Then consider a donation
Follow me: www.thorstenreichelt.de
Here is my configuration:
{
"//": "Please only change this file when pimatic is NOT running, otherwise pimatic will overwrite your changes.",
"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"
}
]
},
"httpsServer": {},
"gui": {}
},
"plugins": [
{
"plugin": "cron"
},
{
"plugin": "mobile-frontend"
},
{
"plugin": "sysinfo"
},
{
"plugin": "openweather"
},
{
"plugin": "ping"
},
{
"plugin": "homeduino",
"driver": "gpio",
"driverOptions": {},
"receiverPin": 0,
"transmitterPin": 1
},
{
"plugin": "gpio"
},
{
"plugin": "pushbullet",
"apikey": "xxx"
},
{
"plugin": "sunrise",
"latitude": xxx,
"longitude": xxx
},
{
"plugin": "links",
"links": [
{
"title": "DiskStation",
"url": "https://ds:5001/",
"target": "iframe"
},
{
"title": "FritzBox",
"url": "http://fritz.box",
"target": "iframe"
}
]
}
],
"devices": [
{
"class": "SystemSensor",
"id": "syssensors",
"name": "Auslatung",
"attributes": [
{
"name": "cpu"
},
{
"name": "memory"
}
]
},
{
"class": "SystemSensor",
"id": "syssensortemp",
"name": "Systemtemperatur",
"attributes": [
{
"name": "temperature",
"interval": 5000
}
]
},
{
"id": "weather",
"class": "OpenWeatherDevice",
"name": "Wetter",
"location": "xxx, xxx",
"units": "metric",
"lang": "de",
"timeout": 300000
},
{
"id": "nas",
"name": "DiskStation",
"class": "PingPresence",
"host": "ds",
"interval": 5000
},
{
"id": "nexus",
"name": "Nexus 5",
"class": "PingPresence",
"host": "192.168.10.2",
"interval": 5000
},
{
"id": "internet",
"name": "Internetverbindung",
"class": "PingPresence",
"host": "8.8.8.8",
"interval": 5000
},
{
"id": "pc-wolle",
"name": "PC-Wolle",
"class": "PingPresence",
"host": "pc-wolle",
"interval": 5000
},
{
"id": "nb-marion",
"name": "NB-Marion",
"class": "PingPresence",
"host": "nb-marion",
"interval": 5000
},
{
"id": "dk-wolle",
"name": "DK-Wolle",
"class": "PingPresence",
"host": "dk-wolle",
"interval": 5000
},
{
"id": "pc-thorsten",
"name": "PC-Thorsten",
"class": "PingPresence",
"host": "pc-thorsten",
"interval": 5000
},
{
"id": "tv-hisense",
"name": "TV-Hisense",
"class": "PingPresence",
"host": "tv-hisense",
"interval": 5000
},
{
"id": "lampeSofa",
"name": "Sofalampe",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch4",
"options": {
"unit": 21,
"id": 8
}
}
]
},
{
"id": "lampeSchreibtisch",
"name": "Schreibtischlampe",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch4",
"options": {
"unit": 21,
"id": 16
}
}
]
},
{
"id": "steckdoseTV",
"name": "Steckdosen TV",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch4",
"options": {
"unit": 21,
"id": 4
}
}
]
},
{
"id": "rollo",
"name": "Jalousie",
"class": "HomeduinoRFShutter",
"protocols": [
{
"name": "switch3",
"options": {
"houseCode": 17,
"unitCode": 2
}
}
]
},
{
"id": "melder-contact",
"name": "Feuerwehr-Melder",
"class": "HomeduinoRFContactSensor",
"protocols": [
{
"name": "contact3",
"options": {
"id": 981930
}
}
]
},
{
"id": "relay01",
"class": "GpioSwitch",
"name": "Relais 1.1",
"gpio": 22
},
{
"id": "relay02",
"class": "GpioSwitch",
"name": "Relais 1.2",
"gpio": 23
},
{
"id": "relay03",
"class": "GpioSwitch",
"name": "Relais 2.1",
"gpio": 24
},
{
"id": "relay04",
"class": "GpioSwitch",
"name": "Relais 2.2",
"gpio": 25
}
],
"rules": [
{
"id": "melderalarm",
"name": "MelderAlarm",
"rule": "if melder-contact is opened then pushbullet title:\"Alarm\" message:\"Melder hat ausgelöst\" type:\"note\"",
"active": true,
"logging": true
},
{
"id": "pimatic-start",
"name": "Pimatic-Start",
"rule": "if pimatic is starting then pushbullet title:\"Pimatic\" message:\"Pimatic ist gestartet\" type:\"note\" after 20 seconds",
"active": true,
"logging": true
},
{
"id": "rollo-sonne",
"name": "Rollo-Sonne",
"rule": "if position of Jalousie is equal to \"up\" and $weather.temperature >= 24 and its sunrise and its after 10:00 and its before 23:00 then lower Jalousie and after 8 seconds lower Jalousie and send pushbullet title:\"Pimatic\" message:\"Rollo ist unten\" type:\"note\"",
"active": true,
"logging": true
}
],
"pages": [
{
"id": "ubersicht",
"name": "Übersicht",
"devices": [
{
"deviceId": "melder-contact"
},
{
"deviceId": "internet"
},
{
"deviceId": "pc-wolle"
},
{
"deviceId": "nas"
},
{
"deviceId": "nexus"
},
{
"deviceId": "pc-thorsten"
},
{
"deviceId": "nb-marion"
},
{
"deviceId": "dk-wolle"
},
{
"deviceId": "tv-hisense"
},
{
"deviceId": "weather"
},
{
"deviceId": "syssensortemp"
},
{
"deviceId": "syssensors"
},
{
"deviceId": "lampeSofa"
},
{
"deviceId": "lampeSchreibtisch"
},
{
"deviceId": "steckdoseTV"
},
{
"deviceId": "rollo"
},
{
"deviceId": "relay01"
},
{
"deviceId": "relay02"
},
{
"deviceId": "relay03"
},
{
"deviceId": "relay04"
}
]
}
],
"groups": [],
"users": [
{
"username": "admin",
"password": "xxx",
"role": "admin"
},
{
"username": "thorsten",
"password": "xxx",
"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": []
}
i have changed some options to xxx for security reasons!
pimatic-google-calendar | pimatic-wmi | pimatic-snmp | pimatic-wakeonlan |
Like my work? Then consider a donation
Follow me: www.thorstenreichelt.de
did you create or change a rule?
at first sight the config looks fine to me.
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
did you create or change a rule?
No nothing was changed in the Config or GUI. Could it be a bug?
pimatic-google-calendar | pimatic-wmi | pimatic-snmp | pimatic-wakeonlan |
Like my work? Then consider a donation
Follow me: www.thorstenreichelt.de