please do a
cat /etc/init.d/pimatic and share the PATH statement with us.
and please do a
node --version and a
which node on the command line.
To see if the normal environment when starting pimatic calls other versions of node, then when called from the pimatic service script (setting its own PATH).