And your using buster and node 10? and did all rules stop working or just the homeduino rules?
-
Sorry, I don’t know what you mean by "buster’. Nor do I understand what you mean by “node 10”. Do you mean pin 10 or GPIO 10 on the raspberry pi connector?
I think I only use rules that use homeduino, cron and sunrise, but anyhow they all stopped working in the sense that they all result in a timout error.
-
Buster is the debian version name for the operating system on a raspberry pi.
Node is the nodejs system pimatic is based on.
If you followed the latest instruction, i assume you used node 10.16.0, otherwise it will be node 4.9.1. Using node 4.9.1 could cause problems with the newest plugins.
You can check the node version in the commandline with the command node -vDid you refresh the browser (cleared the browser cache) and restarted pimatic.
The timeout error is typically a communication error of a plugin. -
Excuse for my ignorance…
Its Linux raspberrypi 4.1.19+ #858 from march 15 2016.
The node version is v4.6.2
-
Raspbian GNU/Linux 7 (wheezy) !
-
Hi, you could upgrade you system to more recent versions of debian (buster) and node (10.x). The instructions for Node and Pimatic installation are here and choose the recommend node 10 variant. You only need to backup your current config.json and put it back after the installation.
This is a nice exercise while the update server is offline -
Okay, I will try my luck on that in a day or two. Anyway, thank you very much for your support! I will give notice when I did the upgrade.
-
Well, I updated my Raspbian. It’s now version 10 (buster). After that I tried the nodejs installation. The node 10 variant could not be found after giving the wget command. What did work was installing the v12.18.3-linux-arm64, at least the file of that version was found with the wget command without and error message. The following sudo command to install nodejs did work also without any error message.
But, checking the installed version through “/usr/bin/env node --version” gave me not a version number, but the error "/usr/local/bin/node: 1: /usr/local/bin/node: Syntax error: word unexpected (expecting “)”)
I did not check if I had gcc on my rpi, but I installed git. After that I tried tot install pimatic again through the given npm command. But, there is no installation performed. Again I get the same error message as before: "/usr/local/bin/node: 1: /usr/local/bin/node: Syntax error: word unexpected (expecting “)”)
-
Hi, you can’t use node 12. Node 10.22.0 (Latest 10 version) for example should be installable.
If you are using a raspberry pi 3b or 4 the commands for node 10.22.0 arewget https://nodejs.org/dist/v10.22.0/node-v10.22.0-linux-armv7l.tar.gz -P /tmp
cd /usr/local
sudo tar xzvf /tmp/node-v10.22.0-linux-armv7l.tar.gz --strip=1The v12.18.3-linux-arm64 is a different node version (12) for a different processor (arm64)
-
Hi again. Issuing that wget command leads to a 404 error:
404 Not found. -
wget https://nodejs.org/dist/v10.22.0/node-v10.22.0-linux-armv7l.tar.gz -P /tmp
On my macbook and my rpi this command works and the archive is downloaded.
Did you copy the command string or retyped it?
after the 7 there’s a letter ‘l’ not a number 1 -
Ah, the one … Is the one after strip also the letter l?
-
Now the node version check and the pimatic installation commands gave the error “ invalid instruction “
-
did the 3 installation steps went well?
the command for the node check is: node -v
after that
sudo apt-get update
sudo apt-get install build-essential gitand then
cd /home/pi
mkdir pimatic-app
npm install pimatic --prefix pimatic-app --production -
As far as I can see , went the three steps well. But still do I get the same error when I try to check the node version and when I try to install pimatic with the npm command: invalid instruction.
-
The response to what commands would-be you like to see?
-
starting at ‘wget https://nodejs.org/dist/v10.22.0/node-v10.22.0-linux-armv7l.tar.gz -P /tmp’
untill the errors