A Telegram Bot to retrieve data from RuuviTag


#1

How to build a simple weather station using a Ruuvitag and a Raspberry Pi.

I show you how to build a simple weather station using a Ruuvitag and a Raspberry Pi. The major feature of this project is the possibility to interact with the weather station using the power of Telegram Messenger Bots.

Here you can find:


#2

Great project! Thanks for sharing this :sunglasses:


#3

I get these errors when I run this "npm install node-ruuvitag --production"
I looked web address and it looks that there is no such file anymore


what can be done?

node-pre-gyp info check checked for “/home/pi/botruuvi/node_modules/usb/src/binding/usb_bindings.node” (not found)
node-pre-gyp http GET https://github.com/tessel/node-usb/releases/download/1.2.0/usb_bindings-v1.2.0-node-v57-linux-arm.tar.gz
node-pre-gyp http 404 https://github.com/tessel/node-usb/releases/download/1.2.0/usb_bindings-v1.2.0-node-v57-linux-arm.tar.gz
node-pre-gyp ERR! Tried to download: https://github.com/tessel/node-usb/releases/download/1.2.0/usb_binding s-v1.2.0-node-v57-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for usb@1.2.0 and node@8.9.1 (node-v57 ABI) (falling back to source compile with node-gyp)


#4

Ok, I tested all another time and I have the same “problem” but It works for me even with this error:


I remember this error and doesn’t cause any problems… The important thing is that the other packages are installed correctly and you see at the end something like:
node-ruuvitag@3.2.0
added 159 packages in 64.798s

If you had other problem in this installation you might run with sudo:
sudo npm install node-ruuvitag --production