version and update Homebridge on RPI 3

Moderator: leecollings

Post Reply
belgo
Posts: 7
Joined: Tuesday 11 July 2017 17:49
Target OS: -
Domoticz version:
Contact:

version and update Homebridge on RPI 3

Post 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
User avatar
proohu01
Posts: 95
Joined: Friday 17 October 2014 12:20
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: version and update Homebridge on RPI 3

Post 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
Pi 2 B | Pi Camera | PiFace 2 | RFXtrx433E (KaKu + Oregon Scientific) | Plugwise (9 Circles) | Aeon Z-Wave stick (Fibaro - dimmers, sockets, RGB, screens/blinds) | RFXMeter (Kwh/water/gaz) | WOL | Onkyo Receiver | RTC | Hikvision | Netatmo | Satel Integra
belgo
Posts: 7
Joined: Tuesday 11 July 2017 17:49
Target OS: -
Domoticz version:
Contact:

Re: version and update Homebridge on RPI 3

Post 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
morilm
Posts: 35
Joined: Friday 27 January 2017 12:57
Target OS: OS X
Domoticz version:
Contact:

Re: version and update Homebridge on RPI 3

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests