- 20190528, V0.9.16
- Updated to homeduino@0.0.71 which bundles rfcontroljs@0.0.61.
The latter includes new RF protocols: - Revised README for GPIO board driver wrt. PIN numbering, thanks @layereight for review
- Updated to homeduino@0.0.71 which bundles rfcontroljs@0.0.61.
-
pimatic-homeduino@0.9.16
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
I have some problems after updating to homeduino 0.9.16
13:18:02.359 [pimatic] Could not initialize the plugin "homeduino": Module version mismatch. Expected 46, got 64. 13:18:02.379 [pimatic] Error: Module version mismatch. Expected 46, got 64. 13:18:02.379 [pimatic]> at Error (native) 13:18:02.379 [pimatic]> at Object.Module._extensions..node (module.js:434:18) 13:18:02.379 [pimatic]> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 13:18:02.379 [pimatic]> at Function.Module._load (module.js:300:12) 13:18:02.379 [pimatic]> at Module.require (module.js:353:17) 13:18:02.379 [pimatic]> at require (internal/module.js:12:17) 13:18:02.379 [pimatic]> at bindings (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport/node_modules/bindings/bindings.js:81:44) 13:18:02.379 [pimatic]> at Object.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport/lib/bindings/linux.js:2:36) 13:18:02.379 [pimatic]> at Module._compile (module.js:409:26) 13:18:02.379 [pimatic]> at Object.Module._extensions..js (module.js:416:10) 13:18:02.379 [pimatic]> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 13:18:02.379 [pimatic]> at Function.Module._load (module.js:300:12) 13:18:02.379 [pimatic]> at Module.require (module.js:353:17) 13:18:02.379 [pimatic]> at require (internal/module.js:12:17) 13:18:02.379 [pimatic]> at Object.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport/lib/bindings/auto-detect.js:16:22) 13:18:02.379 [pimatic]> at Module._compile (module.js:409:26) 13:18:02.379 [pimatic]> at Object.Module._extensions..js (module.js:416:10) 13:18:02.379 [pimatic]> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 13:18:02.379 [pimatic]> at Function.Module._load (module.js:300:12) 13:18:02.379 [pimatic]> at Module.require (module.js:353:17) 13:18:02.379 [pimatic]> at require (internal/module.js:12:17) 13:18:02.379 [pimatic]> at Object.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport/lib/index.js:3:17) 13:18:02.379 [pimatic]> at Module._compile (module.js:409:26) 13:18:02.379 [pimatic]> at Object.Module._extensions..js (module.js:416:10) 13:18:02.379 [pimatic]> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 13:18:02.379 [pimatic]> at Function.Module._load (module.js:300:12) 13:18:02.379 [pimatic]> at Module.require (module.js:353:17) 13:18:02.379 [pimatic]> at require (internal/module.js:12:17) 13:18:02.379 [pimatic]> at Object.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/lib/driver/serialport.js:7:14) 13:18:02.379 [pimatic]> at Module._compile (module.js:409:26) 13:18:02.379 [pimatic]> at Object.Module._extensions..js (module.js:416:10) 13:18:02.379 [pimatic]> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 13:18:02.379 [pimatic]> at Function.Module._load (module.js:300:12) 13:18:02.379 [pimatic]> at Module.require (module.js:353:17) 13:18:02.379 [pimatic]> at require (internal/module.js:12:17) 13:18:02.379 [pimatic]> at new Board (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/lib/board.js:45:28) 13:18:02.379 [pimatic]> at HomeduinoPlugin.init (/home/pi/pimatic-app/node_modules/pimatic-homeduino/homeduino.coffee:23:16) 13:18:02.379 [pimatic]> at HomeduinoPlugin.init (/home/pi/pimatic-app/node_modules/pimatic-homeduino/homeduino.coffee:1:1) 13:18:02.379 [pimatic]> at PluginManager.initPlugins (/home/pi/pimatic-app/node_modules/pimatic/lib/plugins.coffee:535:25) 13:18:02.379 [pimatic]> at /home/pi/pimatic-app/node_modules/pimatic/lib/framework.coffee:937:34 13:18:02.379 [pimatic]> at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) 13:18:02.379 [pimatic]> at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) 13:18:02.379 [pimatic]> at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) 13:18:02.379 [pimatic]> at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) 13:18:02.379 [pimatic]> at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:694:18) 13:18:02.379 [pimatic]> at _drainQueueStep (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:138:12) 13:18:02.379 [pimatic]> at _drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:131:9) 13:18:02.379 [pimatic]> at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:147:5) 13:18:02.379 [pimatic]> at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) 13:18:02.379 [pimatic]> at processImmediate [as _immediateCallback] (timers.js:396:17) 13:18:02.617 [pimatic-cron] the time is: Wed May 29 2019 13:18:02 GMT+0200 (CEST) 13:18:03.136 [pimatic-sysinfo] Mounted File Systems: /, /boot 13:18:03.602 [pimatic] No plugin found for device "weatherstation_data" of class "HomeduinoRFTemperature"!
With the following commands i’m back on homeduino 0.9.15
cd /home/pi/pimatic-app/node-modules/ sudo rm -r pimatic-homeduino/ sudo npm install pimatic-homeduino@0.9.15 --unsafe-perm
-
@daice I can’t reproduce this error. I have tested the update on Raspbian Stretch with node v4.9.1 and with v10.15.3 and both work repeatedly without error
EDIT: Which version of node do you have installed? Did you update the node version without rebuilding the pimatic installation? The error is indicating you have updated from nodejs v4 to v10 with rebuilding your node.js installation
https://stackoverflow.com/questions/15584529/module-version-mismatch-expected-11-got-1
https://stackoverflow.com/questions/39427200/error-module-version-mismatch-expected-47-got-48"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
After updating homeduino doesn’t work anymore, first error message is this:
error [pimatic]: Could not initialize the plugin “homeduino”: Module version mismatch. Expected 46, got 64.
Went back to the previous version and all is working again. I’m still on node 4.6.2.
Looks like the same issue @daice had.
-
@djmvt said in pimatic-homeduino@0.9.16:
]: Could not initialize the plugin “homeduino”: Module
Please read my previous message. Thanks
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig so updating node is mandatory? Because I didn’t update to a newer version.
-
@djmvt said in pimatic-homeduino@0.9.16:
@mwittig so updating node is mandatory? Because I didn’t update to a newer version.
No, keep the node version as is.
Remove the pimatic-homeduino directory and restart pimatic. At startup the latest version of pimatic-homeduino will be installed. This may take a few minutes. So, please be patient and wait a few minutes before try to access the web frontend."It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Sorry for my late answer but i was not at home the last weekend.
At first i did an update over the gui and got these errors. After that i stopped pimatic, deleted the homeduino folder and restarted pimatic to get a new clean installation of homeduino. But the errors were still there.
After going back to 0.9.15 everything works like expacted.
Node version is v4.9.1
OK i have seen you made a new version…Thanks!