Hello, i wanted to use the pimatic-fritz plugin to control my CometDECT thermostat.
But when i wanted to start the Pimatic it will display errors and crash.
Pimativ 0.8.107 raspi B, same with raspi 2
And after html rendering:
Unhandled rejection Error: [object Object]
at Object.ensureErrorObject (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/util.js:261:20)
at Promise._rejectUncheckedCheckError (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:657:22)
at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/promise.js:556:21)
at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/promise.js:604:10)
at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/promise.js:679:18)
at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/async.js:138:16)
at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/async.js:148:10)
at Async.drainQueues (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/async.js:17:14)
at process._tickCallback (node.js:415:13)
The whole console output:
sudo node_modules/pimatic/pimatic.js
10:17:39.539 2016-05-08 Sunday
10:18:07.154 [pimatic] Starting pimatic version 0.8.107
10:18:19.993 [pimatic, npm] 1.3.21
10:18:20.216 [pimatic] Loading plugin: “pimatic-cron” (0.8.8)
10:18:22.401 [pimatic] Loading plugin: “pimatic-sunrise” (0.8.7)
10:18:22.597 [pimatic] Loading plugin: “pimatic-hap” (0.6.3)
*** WARNING *** The program ‘node’ uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node
*** WARNING *** The program ‘node’ called ‘DNSServiceRegister()’ which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister
10:18:25.241 [pimatic] Loading plugin: “pimatic-mobile-frontend” (0.8.83)
10:18:29.676 [pimatic] Loading plugin: “pimatic-fritz” (0.3.3)
10:18:38.646 [pimatic] Loading plugin: “pimatic-ds18b20” (0.8.8)
10:18:38.835 [pimatic] Loading plugin: “pimatic-links” (0.8.6)
10:18:38.985 [pimatic] Loading plugin: “pimatic-sysinfo” (0.8.14)
10:18:39.685 [pimatic] Loading plugin: “pimatic-homeduino” (0.8.78)
10:18:44.665 [pimatic] Loading plugin: “pimatic-ping” (0.8.14)
10:18:44.897 [pimatic] Loading plugin: “pimatic-shell-execute” (0.8.20)
10:18:45.084 [pimatic] Loading plugin: “pimatic-ipcamera” (1.1.1)
10:18:50.635 [pimatic-cron] the time is: Sun May 08 2016 10:18:50 GMT+0200 (CEST)
10:18:50.648 [pimatic-sunrise] Your location is set to lat: 37.371794, long: -122.03476
10:18:50.680 [pimatic-hap] Starting homekit bridge
10:18:52.774 [pimatic] New device “Vorlauf”…
10:18:52.998 [pimatic] New device “Rücklauf”…
10:18:53.162 [pimatic] New device “Aussentemperatur”…
10:18:53.300 [pimatic] New device “Wassertank”…
10:18:53.434 [pimatic] New device “Wasserzulauf”…
10:18:53.635 [pimatic] New device “Sonne”…
10:18:53.861 [pimatic] New device “Datum/Uhrzeit”…
10:18:54.008 [pimatic] New device “Systemstatus”…
10:18:54.149 [pimatic] New device “System Temp.”…
10:18:54.268 [pimatic] New device “DB Size”…
10:18:54.470 [pimatic] New device “Schrank”…
10:18:54.694 [pimatic] New device “Flurlampe”…
10:18:54.904 [pimatic] New device “Wandsteckdose”…
10:18:55.077 [pimatic] New device “Internet”…
10:18:55.344 [pimatic] New device “Von aussen Erreichbar”…
10:18:55.518 [pimatic] New device “Kamera1”…
10:18:55.662 [pimatic] Invalid config of device “thermostat-1”: Property "guiSho
10:18:55.690 [pimatic] New device “Thermostat 1”…
10:18:58.113 [pimatic-fritz] Re-establishing session at http://192.168.178.1
10:19:00.469 [pimatic-mobile-frontend] packing static assets
10:19:04.761 [pimatic-mobile-frontend] packing static assets finished
10:19:04.810 [pimatic-mobile-frontend] rendering html
Unhandled rejection Error: [object Object]
at Object.ensureErrorObject (/home/pi/pimatic-app/node_modules/pimatic/node_
at Promise._rejectUncheckedCheckError (/home/pi/pimatic-app/node_modules/pim
at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic-fritz/n
at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic-fritz/
at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic-fritz/
at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_m
at Async.drainQueues (/home/pi/pimatic-app/node_modules/pimatic-fritz/node
at Async.drainQueues (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_m
at process._tickCallback (node.js:415:13)
10:19:14.472 [pimatic-homeduino] Connected to homeduino device.
10:19:14.888 [pimatic-fritz] Re-establishing session at http://192.168.178.1
10:19:33.156 [pimatic-mobile-frontend] rendering html finished
10:19:33.296 [pimatic] Listening for HTTP-request on port 80…
Unhandled rejection Error: [object Object]
at Object.ensureErrorObject (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/util.js:261:20)
at Promise._rejectUncheckedCheckError (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:657:22)
at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/promise.js:556:21)
at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/promise.js:604:10)
at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/promise.js:679:18)
at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/async.js:138:16)
at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/async.js:148:10)
at Async.drainQueues (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/async.js:17:14)
at process._tickCallback (node.js:415:13)
10:19:36.864 [pimatic-fritz] Re-establishing session at http://192.168.178.1
Unhandled rejection Error: [object Object]
at Object.ensureErrorObject (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/util.js:261:20)
at Promise._rejectUncheckedCheckError (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:657:22)
at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/promise.js:556:21)
at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/promise.js:604:10)
at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/promise.js:679:18)
at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/async.js:138:16)
at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/async.js:148:10)
at Async.drainQueues (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/async.js:17:14)
at process._tickCallback (node.js:415:13)
10:19:55.953 [pimatic-fritz] Re-establishing session at http://192.168.178.1
Unhandled rejection Error: [object Object]
at Object.ensureErrorObject (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/util.js:261:20)
at Promise._rejectUncheckedCheckError (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:657:22)
at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/promise.js:556:21)
at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/promise.js:604:10)
at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/promise.js:679:18)
at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/async.js:138:16)
at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/async.js:148:10)
at Async.drainQueues (/home/pi/pimatic-app/node_modules/pimatic-fritz/node_modules/bluebird/js/release/async.js:17:14)
at process._tickCallback (node.js:415:13)
10:20:10.506 [pimatic] Flushing database to disk, please wait…
10:20:10.615 [pimatic] Flushing database to disk, please wait… Done.
10:20:10.634 [pimatic] exiting…