Everything that doesn't fit elsewhere
Pimatic doesn't start up after database deletion

I am now on 0.9.42 for a while. I tried once more to use a virgin config.json. Now at least pimatic comes up… Seems something within my config.json is wrong that pimatic doesn’t comes up with a new DB. But I really have no idea what this could be! In the past it was not a big deal to delete the DB to start from new.

As already written some post before. When I start pimatic from the command line I can see that the initialization itself seems to be okay, I can see the error there which I get every startup:

16:16:14.263 [pimatic, VariablesDevice] Error getting attribute value aussenbedingungen.luftdruck: Expected variable xiaomi-aussensensor.pressure to have a numeric value. 16:16:14.351 [pimatic] Could not update variable aussenbedingungen.luftdruck: Expected variable xiaomi-aussensensor.pressure to have a numeric value. 16:16:14.774 [pimatic, VariablesDevice] Error getting attribute value stromverbrauch.strom-gesamt: Expected variable vzlogger-strom.gesamt to have a numeric value. 16:16:14.779 [pimatic] Could not update variable stromverbrauch.strom-gesamt: Expected variable vzlogger-strom.gesamt to have a numeric value. 16:16:15.214 [pimatic, VariablesDevice] Error getting attribute value sonnensensor.temp-differenz: Expected variable sonnensensor.temp-high to have a numeric value. 16:16:15.222 [pimatic] Could not update variable sonnensensor.temp-differenz: Expected variable sonnensensor.temp-high to have a numeric value. 16:16:15.230 [pimatic, VariablesDevice] Error getting attribute value aussenbedingungen.sonnendiff: Expected variable sonnensensor.temp-high to have a numeric value. 16:16:15.235 [pimatic] Could not update variable aussenbedingungen.sonnendiff: Expected variable sonnensensor.temp-high to have a numeric value.

This happens after these errors with the old DB:

Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) Unhandled rejection Error: Expected variable sonnensensor.temp-high to have a numeric value. at /home/pi/pimatic-app/node_modules/pimatic/lib/variables-ast-builder.coffee:111:17 at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) at processImmediate [as _immediateCallback] (timers.js:396:17) 14:29:10.895 [pimatic-aqara] warn: Gateway not reachable 14:29:10.941 [pimatic-mqtt] info: MQTT Broker default is offline not handled: {"cmd":"get_id_list_ack","sid":"34ce00853e9a","token":"PAsFjhj9vszkLSZ5","data":"[\"158d0001d6c00d\",\"158d0001d6f9c7\",\"158d0001ab4bbb\",\"158d0001ab60a0\",\"158d0001ab14eb\",\"158d0001f50bf7\",\"158d0001d6c111\",\"158d0001ab14fc\",\"158d0001b923d5\",\"158d0001d6cf8c\",\"158d0001ab60c7\",\"158d0001d86cdc\",\"158d0001ab6d16\",\"158d0001b146c8\",\"158d0001ab2402\",\"158d0001b14506\",\"158d0001daee42\",\"158d0001e18531\",\"158d00015da81b\",\"158d00015da7b8\",\"158d0001b1844a\",\"158d0001d8ea07\",\"158d0001d6f448\"]"} not handled: {"cmd":"report","model":"motion","sid":"158d0001e18531","short_id":25700,"data":"{\"status\":\"motion\"}"} not handled: {"cmd":"report","model":"motion","sid":"158d0001e18531","short_id":25700,"data":"{\"status\":\"motion\"}"} not handled: {"cmd":"report","model":"motion","sid":"158d0001e18531","short_id":25700,"data":"{\"status\":\"motion\"}"} not handled: {"cmd":"report","model":"motion","sid":"158d0001e18531","short_id":25700,"data":"{\"status\":\"motion\"}"} 14:29:11.399 [pimatic-aqara] info: Gateway discovered 14:29:12.775 [pimatic-mqtt] info: Reconnecting to MQTT Broker default 14:29:12.877 [pimatic-homeduino] info: Connected to homeduino device. 14:29:12.922 [pimatic-aqara] info: Gateway is ready 14:29:14.622 [pimatic-mqtt] info: Successfully connected to MQTT Broker default [bot.info] bot started 14:29:16.211 [pimatic-mobile-frontend] info: packing static assets 14:29:18.278 [pimatic-mobile-frontend] info: packing static assets finished 14:29:18.287 [pimatic-mobile-frontend] info: rendering html CLEANUP

Could this not handled/unhandled bla bla be my problem?

read more
You have a cool idea about pimatic?
UI programmable timer
M

No, maybe I didn’t explain correctly.

At the end what I want is to be able to screate a schedule to turn on and off a device, and for that I need to dynamically add or remove cycles, or to manually put it on, for some minutes.

This could be something similar.

0_1538983723255_93851d59-2fcd-4798-8e91-1f6bdcb68460-image.png

I use a similar plugin but for heating, chronotherm, and it’s not convenient to use it only for schedule:

0_1538983827781_38ebcfa7-c4ed-4d96-b5bb-4a14f6512abf-image.png

The great thing bout this one is that you can change status and decide until when (minutes, hours, end of day…)

read more
Here you will find good setup tutorials!
Pimatic & Node 8.0

@michbeck100 said in Pimatic & Node 8.0:

Could you explain, what the biggest problems are?

As said earlier, I think the biggest hurdle is to partially rewrite the plugin management which currently relies on deprecated features of Npm 2, like the hierarchical placement of dependencies in the file system. May be it is not too bad, but it needs a closer look and thought.

How about the mobile frontend? Did you look at this, too? When I tried pimatic with node 8 based on your branch it seemed to work fine, but obviously it was just running the compiled/transformed JS code. So, when this is built from source I expect one will also run into some issues. Some packages use by the front are completely EOL and the code needs to be ported/migrated to alternative packages.

If you have some to work on this in the future may be we can liaise at some point and jointly work on this. I think I can find some days in November to work on this.

read more
Discussion about Hardware.
Lots of 433MHz stuff

Check my offers here https://m.ebay-kleinanzeigen.de/s-anzeigen/deutschland/c0-l0?userIds=9639760

Motion sensors, window contacts, weather stations…

read more

All about code

WIFI Switch to integrate in wall
F

@swen Thanks for the hint. But I avoid native Alexa support on the devices.
I’ve a more holistic concept to provide Alexa support for all (supported) devices: every device is centrally included in pimatic and then provisioned via the ECHO plugin ;)
There I can choose which devices should be controlable via Alexa and which not.

Native Alexa support is only realized on top via ioBroker (iobroker-pimatic adapter but optional from operational perspective) e.g. for Spotify

read more
All about rules and script develpopment
Shell execute plugin - multiple processes

@m1rk0 said in Shell execute plugin - multiple processes:

Is that normal behavior?

It should not block unless you have set sequential to true in the plugin configuration

Can i run my backup-script somehow in background to avoid that?

Do you really need to run the backup script via pimatic shell execute?
May be you can use cron instead.

If not, here some hints on moving a shell scipt to he background:
https://unix.stackexchange.com/questions/403895/automatically-move-a-script-into-the-background

read more
Please report bugs on github!

Looks like your connection to pimatic forum was lost, please wait while we try to reconnect.