Page 1 of 1

version and update Homebridge on RPI 3

Posted: Saturday 09 September 2017 23:04
by belgo
hi to all,

i use home bridge and E-domoticz on my RPI 3 .

but i think my version of home bridge is outdated .

my question(s) are :

- is there a command to know the version of running Homebridge software ?

-second questions : how to update them without lost the configuration ?

thanks in advance

Belgo

Re: version and update Homebridge on RPI 3

Posted: Sunday 10 September 2017 12:06
by proohu01
I'm only able to answer your first question :oops:
belgo wrote: Saturday 09 September 2017 23:04 - is there a command to know the version of running Homebridge software ?
This should work......but is doesnt!

Code: Select all

homebridge -V
But this does works...

Code: Select all

egrep "version" /usr/local/lib/node_modules/homebridge-edomoticz/package.json

Re: version and update Homebridge on RPI 3

Posted: Sunday 10 September 2017 20:46
by belgo
thanks proohu01 !

it's work ( version reader )

pi@raspberrypi:~$ egrep "version" /usr/local/lib/node_modules/homebridge/package.json
"version": "0.4.16"
pi@raspberrypi:~$


any one for the method to upgrade them ?

Belgo

Re: version and update Homebridge on RPI 3

Posted: Wednesday 20 September 2017 22:00
by morilm
look at https://github.com/nfarina/homebridge

The way to update will depend on the way you installed it.

If you installed using npm, just need to

sudo npm update homebrigde -g

(sudo and -g only if you ise pi and installed the package globally)

you can check what packages you installed by npm using

sudo npm list --depth=0 -g

Hope it helps
Miguel