Upgrading Node.js on the Raspberry Pi

Check the current running version of Node.js:

  • node -v
  • v4.0.0

Update the package repository to use the latest version of Node.js:

  • curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash –

Now upgrade Node.js to the latest version:

  • sudo apt install nodejs

Cleanup – You may not need

  • sudo apt-get autoremove

Check version of Node.js running

  • node -v
  • v7.10.o

Domoticz Alexa integration

You can setup Amazon echo to voice trigger any scene/switch/activity in domoticz using HA-bridge (e.g. “Alexa, turn on living room lights” ). I have been using this setup with an amazon echo outside the target market for the echo (In India) and it works beautifully well. The HA-bridge emulates Philips hue devices that is supported natively by the echo


  • An Amazon Echo device
  • A spare RPi/processing capacity on your domoticz box/ any other linux box
  • HA-bridge running on the above mentioned box

I use a spare Gen 2 Rpi B that I had lying unused The rest of the guide assumes that the HA-bridge is running on a separate box


Continue reading “Domoticz Alexa integration”