Can please one of the core devs react on this!?
-
Trouble with fresh installation
-
… well folks, you make me a bit nervous. I jumped relatively fresh on the platform, on basis of a tip of a long years nice working-colleague (I originally planned to start with FHEM), and now I have to fear that Pimatic might run in it’s end of life
I really do not hope so, having just started to implement it here and their in our house, … and convinced my wife on all that new stuffPlease keep it alive
-
Please use these instructions to get the 0.9.44a version starting:
- Run this from your broken pimatic installation:
$ rm -r node_modules $ npm install pimatic@test
This installs pimatic in version 0.9.44-a.
- Change the version number of pimatic to 0.9.44:
node_modules/pimatic/package.json:
{ "name": "pimatic", "description": "A home automation server and framework for the Raspberry PI running on node.js", "author": { "name": "Oliver Schneider", "email": "oliverschneider89+sweetpi@gmail.com", "url": "http://sweetpi.de" }, "main": "pimatic.js", "version": "0.9.44", "license": "GPL-2.0", ... }
- Install test version. of pimamtic-mobile-frontend
$ npm install pimatic-mobile-frontend@test
- Copy ppm.js from pimatic 0.9.43
$ rm node_modules/pimatic/ppm.js $ cp /[PATH_TO_PIMATIC_0.9.43]/node_modules/pimatic/ppm.js node_modules/pimatic/ppm.js
This should be enough to get the test version running. Have fun!
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 -
@damiyahsi please be so kind to fck off?
-
@damiyahsi as i said, change the version to 0.9.44 with the trailing “a”. Letters don’t seem to be ok in version numbers.
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 that user was another bot…
-
@michbeck100
I try to install the 0.9.43 version of pimatic but not sure about this one:$ cp /[PATH_TO_PIMATIC_0.9.43]/node_modules/pimatic/ppm.js node_modules/pimatic/ppm.js
Is pimatic 0.9.43 installed in another (seperate) direcory when following your steps? Not sure what is the correct path to the 0.9.43 version now.
-
@michbeck100 said in Trouble with fresh installation:
Please use these instructions to get the 0.9.44a version starting:
As I said, these instructions are for installing version 0.9.44a which is the current test version of pimatic.
I would also assume that you have some 0.9.43 version lying around.
So I don’t really understand your questionpimatic-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
Sorry, was messing the the version numbers in my previous post.
I am not sure from which directory I have to run the commands like$ rm -r node_modules $ npm install pimatic@test $ npm install pimatic-mobile-frontend@test
All from /pimatic-app?
Also a fresh install with this test version will not start: /usr/bin/env: ‘node\r’: not found.
-
@jbs yes, you run all the commands from the
pimatic-app
directory.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 OK. I feel like a noob now, but: got these warnings during the installation. Not sure if they are relevant, so I post them all.
npm install pimatic@test
:npm install pimatic@test
:And after
rm node_modules/pimatic/ppm.js
the commandcp /pimatic-app/node_modules/pimatic/ppm.js node_modules/pimatic/ppm.js
gives error like file or folder does not exists. Is/pimatic-app/node_modules/pimatic/ppm.js
another location thennode_modules/pimatic/ppm.js
? Afterrm node_modules/pimatic/ppm.js
I can not find a ppm.js anywhere. -
@jbs You need a working installation of pimatic to copy the ppm.js from. The file from the test version that is installed with
npm install pimatic@test
is not working.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 said in Trouble with fresh installation:
@jbs You need a working installation of pimatic to copy the ppm.js from. The file from the test version that is installed with
npm install pimatic@test
is not working.OK, but what if I do not have a working installation (A clean install like https://pimatic.teamemo.com/Guide/Getting-Started does not work on a clean
Raspbian Stretch install atm) ? How to perform a clean install of this test version? -
@jbs By working I mean a former installation, sorry about that. So you can just use the release version 0.9.43 that gets installed with
npm install pimatic
. But you should use a different installation directory, of course .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 said in Trouble with fresh installation:
@jbs By working I mean a former installation, sorry about that. So you can just use the release version 0.9.43 that gets installed with
npm install pimatic
. But you should use a different installation directory, of course .Thanks. Just did that but still the error that
/usr/bin/env: ‘node\r’:
does not found/not exists. Any clue what to do now? -
@jbs What does
ls -la node_modules/pimatic/ppm.js
say? Is ppm.js executable?
And how did you install node? Using nvm?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 said in Trouble with fresh installation:
@jbs What does
ls -la node_modules/pimatic/ppm.js
say? Is ppm.js executable?-rwxr-xr-x 1 pi pi 2253 dec 27 15:46 node_modules/pimatic/ppm.js
Installed node folowing this guide (Pi 2 Mode B or Pi 3 Model B ): https://pimatic.teamemo.com/Guide/Getting-Started
-
Is there anybody who did install the test version successfully using my instructions? I’ve seen this error before, but I can’t remember what the problem was.
@jbs how do you start pimatic?
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 said in Trouble with fresh installation:
Is there anybody who did install the test version successfully using my instructions? I’ve seen this error before, but I can’t remember what the problem was.
@jbs how do you start pimatic?
sudo node_modules/pimatic/pimatic.js