@manfred Just wait for the results of https://forum.pimatic.org/topic/4539/early-warning-pimatic-0-9-44-pimatic-mobile-frontend-0-9-13/7
-
[solved] not able to do a simple pimatic installation on raspi 3B+
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@manfred Please try again now, a new version of pimatic was released yesterday
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@michbeck100 thanks for that, i really appreciate your efforts
-
That’s are good news.
I will try it tomorrow, so until today I’m not at home.Thanks a lot, I will report.
-
So as you ponounced, pimatic is running on my raspberry 3B+, also with the latest release.
Thanks a lot, I’m going on to configure now my devices. Hope everything will work fine. Pimatic seemed to me one of the most interesting homeautomation tool.
best regards
Manfred -
Sorry, have to open this thread again.
My post of yesterday based on a mistake by me. I used the 3B in this test, not the 3B+.Today now I tried the 3B+, installing node Version 8.15.0 first.
But with this it is not possible to install pimatic, neither 9.42, 9.43 or 9.44.These are the messages:
npm install pimatic --prefix pimatic-app --production /usr/local/lib/node_modules/npm/node_modules/npmlog/log.js:57 log.progressEnabled = log.gauge.isEnabled() ^ TypeError: log.gauge.isEnabled is not a function at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npmlog/log.js:57:33) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at /usr/local/lib/node_modules/npm/bin/npm-cli.js:22:13 at Object.<anonymous> (/usr/local/lib/node_modules/npm/bin/npm-cli.js:153:3)
Is there a problem with the installation routine or do i something wrong.
Thanks again and have a nice weekend.
Manfred
-
Same problem with node Version 10.15.3
Joseph.
-
@manfred said in [solved] not able to do a simple pimatic installation on raspi 3B+:
But with this it is not possible to install pimatic, neither 9.42, 9.43 or 9.44.
Please try with again with the latest version. Thanks
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@joseph said in [solved] not able to do a simple pimatic installation on raspi 3B+:
Same problem with node Version 10.15.3
Did you try with node v8?
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig Hello and thx
Do you mean the latest Version of pimatic?Actual my pimatic is running with version node 4.8.6 and version 9.4.4 of pimatic I think. At this week I am not at home, so I am not able to test anything. But as soon as I am back home (next week) I will send all the results.
Ohne question at least: may I upgrade node without any risk for the running pimatic system? What do you think?
Best regards.
Manfred -
@manfred said in [solved] not able to do a simple pimatic installation on raspi 3B+:
Ohne question at least: may I upgrade node without any risk for the running pimatic system? What do you think?
Make sure to make a backup before upgrading. Even upgrading the OS sometimes sucks and needs to be reverted. Don’t upgrade the node installation to a new major version with an existing pimatic installation, unless you have a good reason to do so. Minor version upgrades (e.g. v4.8.6 to v4.9.1) are usually fine.
If you want to try the pimatic installation with node v8 or v10 make sure you install the latest pimatic version which is v0.9.46 at the time of writing. I suggest to do this on a separate (virtual) system, possibly. Note, however, node v8 and above is not yet fully supported. Known issues:
- Installation of packages from the command line using npm is likely to cause errors with pimatic
- pimatic-homeduino installations fails, same may apply for other plugins using serialport like pimatic-johnny-five
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
node V6.17.0
Pimatic V 0.9.46
until now o.k.Joseph
-
Hello again,
thanks for all the informations.
Actuall my system is:node Version 4.8.3
Pimatic Version 0.9.46running on a raspi 3B+.
Actual everything that I tested works fine, have no trouble.
Think I will close this thread.
greetings Manfred -
Sorry to reanimate the dead, but I am getting the same error with the latest release of Pimatic.
I’m trying to reinstall pimatic on a fresh SD card with raspberry pi stretch on it, as I read buster is not read for pimatic somewhere.
But I am getting the below error for my mqtt plugin, which is the most important plugin for me.
21:47:45.943 2019-12-30 Monday 21:48:08.660 [pimatic] Starting pimatic version 0.9.54 21:48:08.706 [pimatic] Node.js version 4.6.2 21:48:08.714 [pimatic] OpenSSL version 1.0.2j 21:48:26.696 [pimatic, ppm] 2.15.12 21:48:26.950 [pimatic] Loading plugin: "pimatic-cron" (0.8.8) 21:48:29.115 [pimatic] Loading plugin: "pimatic-mobile-frontend" (0.9.16) 21:48:32.163 [pimatic] Loading plugin: "pimatic-milight-reloaded" (0.9.18) 21:48:33.648 [pimatic] Loading plugin: "pimatic-netcheck" (1.1.0) 21:48:34.580 [pimatic] Loading plugin: "pimatic-shell-execute" (0.9.11) 21:48:34.753 [pimatic] Loading plugin: "pimatic-homeduino" (0.9.18) 21:48:38.541 [pimatic] Loading plugin: "pimatic-max" (0.9.0) 21:48:38.820 [pimatic] Loading plugin: "pimatic-log-reader" (0.9.3) 21:48:38.980 [pimatic] Loading plugin: "pimatic-sysinfo" (0.9.6) 21:48:39.911 [pimatic] Loading plugin: "pimatic-sunrise" (0.9.3) 21:48:40.606 [pimatic] Loading plugin: "pimatic-mail" (0.8.6) 21:48:43.324 [pimatic] Loading plugin: "pimatic-mqtt" (0.9.13) **21:48:44.547 [pimatic] Block-scoped declarations (let, const, function, class) not yet supported outside strict mode** 21:48:44.826 [pimatic] Loading plugin: "pimatic-harmonyhub" (0.0.6) 21:48:50.946 [pimatic] Loading plugin: "pimatic-raspbee" (0.1.5) 21:48:58.939 [pimatic-cron] the time is: Mon Dec 30 2019 21:48:58 GMT+0100 (CET) 21:48:58.979 [pimatic-milight-reloaded] [Plugin] Milight plugin started 21:49:05.053 [pimatic-sunrise] Your location is set to lat: 54.853911, long: 10.521971 21:49:05.436 [pimatic-harmonyhub] Starting pimatic-harmonyhub plugin 21:49:07.633 [pimatic] New device "Disko dasko"... 21:49:07.914 [pimatic] New device "Nedbør idag"... **21:49:08.014 [pimatic] No plugin found for device "living-room-ceiling-light" of cl**
How can I fix this and get pimatic, including all my plugins up and running again?
Thanks and happy new year.
Kind regards Simon
-
@simonbove The last row with
No plugin found for device
is the most important one as it tells which plugin was not loaded. I would guess its the mqtt plugin. Could you post the complete error message?pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
Hey.
Sorry, didn’t think it was necessary as I wrote it was the mqtt plugin that was failing to boot on the fresh install.
I have attached more of the log below. Thanks for the quick response!
21:47:45.943 2019-12-30 Monday 21:48:08.660 [pimatic] Starting pimatic version 0.9.54 21:48:08.706 [pimatic] Node.js version 4.6.2 21:48:08.714 [pimatic] OpenSSL version 1.0.2j 21:48:26.696 [pimatic, ppm] 2.15.12 21:48:26.950 [pimatic] Loading plugin: "pimatic-cron" (0.8.8) 21:48:29.115 [pimatic] Loading plugin: "pimatic-mobile-frontend" (0.9.16) 21:48:32.163 [pimatic] Loading plugin: "pimatic-milight-reloaded" (0.9.18) 21:48:33.648 [pimatic] Loading plugin: "pimatic-netcheck" (1.1.0) 21:48:34.580 [pimatic] Loading plugin: "pimatic-shell-execute" (0.9.11) 21:48:34.753 [pimatic] Loading plugin: "pimatic-homeduino" (0.9.18) 21:48:38.541 [pimatic] Loading plugin: "pimatic-max" (0.9.0) 21:48:38.820 [pimatic] Loading plugin: "pimatic-log-reader" (0.9.3) 21:48:38.980 [pimatic] Loading plugin: "pimatic-sysinfo" (0.9.6) 21:48:39.911 [pimatic] Loading plugin: "pimatic-sunrise" (0.9.3) 21:48:40.606 [pimatic] Loading plugin: "pimatic-mail" (0.8.6) 21:48:43.324 [pimatic] Loading plugin: "pimatic-mqtt" (0.9.13) 21:48:44.547 [pimatic] Block-scoped declarations (let, const, function, class) not yet supported outside strict mode 21:48:44.826 [pimatic] Loading plugin: "pimatic-harmonyhub" (0.0.6) 21:48:50.946 [pimatic] Loading plugin: "pimatic-raspbee" (0.1.5) 21:48:58.939 [pimatic-cron] the time is: Mon Dec 30 2019 21:48:58 GMT+0100 (CET) 21:48:58.979 [pimatic-milight-reloaded] [Plugin] Milight plugin started 21:49:05.053 [pimatic-sunrise] Your location is set to lat: 54.853911, long: 10.521971 21:49:05.436 [pimatic-harmonyhub] Starting pimatic-harmonyhub plugin 21:49:07.633 [pimatic] New device "Disko dasko"... 21:49:07.914 [pimatic] New device "Nedbør idag"... 21:49:08.014 [pimatic] No plugin found for device "living-room-ceiling-light" of class "MqttSwitch"! 21:49:08.215 [pimatic] New device "Milight Bridge Light"... 21:49:08.350 [pimatic] New device "Milight disko"... 21:49:08.468 [pimatic] New device "Simon"... 21:49:08.557 [pimatic] New device "Simon hjemme?"... 21:49:08.645 [pimatic] New device "MaxCube"... 21:49:08.734 [pimatic] New device "Temperatur i værelset"... 21:49:08.829 [pimatic] New device "Varme på værelset"... 21:49:08.939 [pimatic] New device "Temperatur i stuen"... 21:49:09.028 [pimatic] New device "Varme i stuen"... 21:49:09.203 [pimatic] New device "Elkedel elforbrug"... 21:49:09.437 [pimatic] New device "Opvaskemaskine elforbrug"... 21:49:09.635 [pimatic] New device "All Kitchen Lights"... 21:49:09.729 [pimatic] New device "All Lights Alexa On"... 21:49:09.822 [pimatic] New device "All Lights Alexa Off"... 21:49:09.902 [pimatic] New device "Biograf"... 21:49:09.996 [pimatic] New device "Raspberry Pi"... 21:49:10.150 [pimatic] New device "Raspberry Pi"... 21:49:10.417 [pimatic] New device "Solopgang & Solnedgang"... 21:49:10.527 [pimatic] New device "All Living Room Lights"... 21:49:10.621 [pimatic] New device "Living Room Heating Termostat 2"... 21:49:10.730 [pimatic] New device "Living Room Heating Termostat 3"... 21:49:10.779 [pimatic] No plugin found for device "battery-charger" of class "MqttSwitch"! 21:49:10.819 [pimatic] No plugin found for device "kitchen-counter-light" of class "MqttSwitch"! 21:49:10.853 [pimatic] No plugin found for device "maxcube-power-reset" of class "MqttSwitch"! 21:49:10.888 [pimatic] No plugin found for device "kitchen-ceiling-light" of class "MqttSwitch"! 21:49:10.923 [pimatic] No plugin found for device "samsung-tv" of class "MqttSwitch"! 21:49:10.955 [pimatic] No plugin found for device "dishwasher" of class "MqttSwitch"! 21:49:11.053 [pimatic] No plugin found for device "electric-kettle" of class "MqttSwitch"! 21:49:11.087 [pimatic] No plugin found for device "tv-remote" of class "MqttButtons"! 21:49:11.219 [pimatic] New device "Forstærker fjernbetjening"... 21:49:11.369 [pimatic] New device "PIR Hallway"... 21:49:11.510 [pimatic] New device "Doorbell"... 21:49:11.660 [pimatic] New device "Sony Vaio Start PC"... 21:49:11.694 [pimatic] No plugin found for device "co2-sensor" of class "MqttSensor"! 21:49:11.730 [pimatic] No plugin found for device "living-room-humidity" of class "MqttSensor"! 21:49:11.874 [pimatic] New device "Kitchen Motion Sensor"... 21:49:11.956 [pimatic] New device "Bevægelse hjemme?"... 21:49:12.036 [pimatic] New device "Automatisk varme styring"... 21:49:12.185 [pimatic] New device "Simon dør sensor"... 21:49:12.222 [pimatic] No plugin found for device "living-room-ceiling-motion-sensor" of class "MqttPresenceSensor"! 21:49:12.257 [pimatic] No plugin found for device "simon-illuminance-sensor" of class "MqttSensor"! 21:49:12.292 [pimatic] No plugin found for device "living-room-illuminance-sensor" of class "MqttSensor"! 21:49:12.436 [pimatic] New device "Gæst knap"... 21:49:12.550 [pimatic] New device "Klokken er:"... 21:49:12.575 [pimatic] No plugin found for device "rullegardin-kontrol" of class "MqttButtons"! 21:49:12.614 [pimatic] No plugin found for device "cpu-blser" of class "MqttSwitch"! 21:49:12.648 [pimatic] No plugin found for device "oneplus-charger" of class "MqttSwitch"! 21:49:12.794 [pimatic] New device "Rulle gardin op fjernbetjening"... 21:49:12.929 [pimatic] New device "Rulle gardin ned fjernbetjening"... 21:49:12.959 [pimatic] No plugin found for device "rgb-dimmer" of class "MqttDimmer"! 21:49:12.994 [pimatic] No plugin found for device "rgb-led-farve-vlger" of class "MqttButtons"! 21:49:13.030 [pimatic] No plugin found for device "vaskemaskine" of class "MqttSwitch"! 21:49:13.172 [pimatic] New device "Vaskemaskine strømforbrug"... 21:49:13.436 [pimatic] New device "Simon vindue"... 21:49:13.549 [pimatic] New device "Gulvvarme"... 21:49:13.654 [pimatic] New device "Badeværelse temperatur"... 21:49:13.746 [pimatic] New device "Køkken radiator"... 21:49:13.849 [pimatic] New device "Køkken temperatur"... 21:49:13.973 [pimatic] New device "Loftlys gang"... 21:49:14.090 [pimatic] New device "Gæst hjemme? "... 21:49:14.254 [pimatic] New device "Spisebord lys"... 21:49:14.317 [pimatic] No plugin found for device "spisebord-lys-knap" of class "MqttSwitch"! 21:49:14.466 [pimatic] New device "Sluk alt knap ved seng"... 21:49:14.586 [pimatic] New device "Senge lamper"... 21:49:14.648 [pimatic] No plugin found for device "samsung-tv-vol-up-button" of class "MqttPresenceSensor"! 21:49:14.687 [pimatic] No plugin found for device "samsung-tv-vol-down-button" of class "MqttPresenceSensor"! 21:49:14.721 [pimatic] No plugin found for device "samsung-tv-red-button" of class "MqttPresenceSensor"! 21:49:14.757 [pimatic] No plugin found for device "samsung-tv-green-button" of class "MqttPresenceSensor"! 21:49:14.791 [pimatic] No plugin found for device "samsung-tv-orange-button" of class "MqttPresenceSensor"! 21:49:14.828 [pimatic] No plugin found for device "sovevrelse-loftlys" of class "MqttSwitch"! 21:49:14.860 [pimatic] No plugin found for device "badevrelse-lys" of class "MqttSwitch"! 21:49:15.007 [pimatic] New device "Badeværelse PIR"... 21:49:15.034 [pimatic] No plugin found for device "badevrelse-luftfugtighed" of class "MqttSensor"! 21:49:15.183 [pimatic] New device "Badeværelse dør"... 21:49:15.218 [pimatic] No plugin found for device "ventilation" of class "MqttSwitch"! 21:49:15.254 [pimatic] No plugin found for device "ventilation-boost" of class "MqttSwitch"! 21:49:15.287 [pimatic] No plugin found for device "kkken-luftfugtighed" of class "MqttSensor"! 21:49:15.322 [pimatic] No plugin found for device "luft-tryk" of class "MqttSensor"! 21:49:15.353 [pimatic] No plugin found for device "sovevrelse-luftfugtighed" of class "MqttSensor"! 21:49:15.475 [pimatic] New device "Gulv lampe"... 21:49:15.534 [pimatic] No plugin found for device "outside-temperature" of class "MqttSensor"! 21:49:15.572 [pimatic] No plugin found for device "samsung-tv-power-button" of class "MqttPresenceSensor"! 21:49:15.657 [pimatic] New device "Guest mode"... 21:49:15.804 [pimatic] New device "Ekstra relæ (sartano)"... 21:49:15.833 [pimatic] No plugin found for device "party-knap" of class "MqttSwitch"! 21:49:15.980 [pimatic] New device "Logitech Bluetooth modtager"... 21:49:16.010 [pimatic] No plugin found for device "living-room-microphone" of class "MqttPresenceSensor"! 21:49:16.162 [pimatic] New device "Vand lækage sensor"... 21:49:16.251 [pimatic] New device "Lille rullegardin I køkkenet"... 21:49:16.353 [pimatic] New device "Stort rullegardin i køkkenet"... 21:49:16.394 [pimatic] No plugin found for device "force-reboot" of class "MqttSwitch"! 21:49:16.554 [pimatic] New device "Stue bevægelsessensor"... 21:49:16.683 [pimatic] New device "Soveværelse rullegardin"... 21:49:16.833 [pimatic] New device "Bevægelsessensor Soveværelse"... 21:49:16.986 [pimatic] New device "Hoveddøren"... 21:49:17.104 [pimatic] New device "TRADFRI open/close remote (2)"... 21:49:17.227 [pimatic] New device "TRADFRI open/close remote"... 21:49:17.269 [pimatic] No plugin found for device "spisebord-lys-gbridge" of class "MqttDimmer"! 21:49:17.309 [pimatic] No plugin found for device "stue-loft-lyset-gbridge" of class "MqttSwitch"! 21:49:17.342 [pimatic] No plugin found for device "spisebord-lyset-on-off-gbridge" of class "MqttSwitch"! 21:49:17.375 [pimatic] No plugin found for device "badevrelse-lyset-gbridge" of class "MqttSwitch"! 21:49:17.410 [pimatic] No plugin found for device "elkoger-gbridge" of class "MqttSwitch"! 21:49:17.483 [pimatic] No plugin found for device "opvaskemaskine-gbridge" of class "MqttSwitch"! 21:49:17.520 [pimatic] No plugin found for device "kkken-rullegardiner-gbridge" of class "MqttDimmer"! 21:49:17.555 [pimatic] No plugin found for device "vaskemaskine-gbridge" of class "MqttSwitch"! 21:49:17.597 [pimatic] No plugin found for device "sovevrelse-loft-lys-gbridge" of class "MqttSwitch"! 21:49:17.630 [pimatic] No plugin found for device "ventilations-boost-gbridge" of class "MqttSwitch"! 21:49:17.665 [pimatic] No plugin found for device "fjernsynet-gbridge" of class "MqttSwitch"! 21:49:17.698 [pimatic] No plugin found for device "biograf-gbridge" of class "MqttSwitch"! 21:49:17.732 [pimatic] No plugin found for device "gulv-lampe-gbridge" of class "MqttSwitch"! 21:49:17.766 [pimatic] No plugin found for device "gulv-lampe-dimmer-gbridge" of class "MqttDimmer"! 21:49:17.802 [pimatic] No plugin found for device "kkken-loft-lys-gbridge" of class "MqttSwitch"! 21:49:17.837 [pimatic] No plugin found for device "kkken-bord-lyset-gbridge" of class "MqttSwitch"! 21:49:17.873 [pimatic] No plugin found for device "hjtalerne-gbridge" of class "MqttSwitch"! 21:49:17.904 [pimatic] No plugin found for device "rullegardin-sovevrelset" of class "MqttSwitch"! 21:53:04.650 [pimatic] Could not parse rule "when Samsung-tv-vol-up-button is present then press Logitech-Amp-Volume-VolumeUp": Could not find an provider that decides next predicate of "Samsung-tv-vol-up-button is present". 21:53:05.583 [pimatic] Could not parse rule "when Samsung-tv-vol-down-button is present then press Logitech-Amp-Volume-VolumeDown": Could not find an provider that decides next predicate of "Samsung-tv-vol-down-button is present". 21:53:05.608 [pimatic] Could not parse rule "when Bevægelse hjemme? is present and state of dishwasher is off for 4 hours and it is after 09:00 and its before 22:00 then turn ```
-
I think you need at least Node 4.9.1
-
I have been checking my old system and the new install.
The only difference is the mqtt plugin have been updated from 12 to 13 in the new.
Everything else is the same. Same stretch, same pimatic version, same node etc. Only mqtt plugin have changed.
-
Hmmm…
No can’t really think of anything?
I have tested the mqtt server installed, it works as it should. I have tried isolating it from my network. It keeps failing every time when booting the mqtt plugin. Everything else loads as it should.
It is running on raspberry pi model b