The examples are within the repository, did you clone it?
If you âonlyâ installed the ruuvitag-sensor from pip you have access to the code within your python program after
from ruuvitag_sensor.ruuvitag import RuuviTag
but you canât access the examples from the command line. To use the examples from command line you need to clone the repository and run the examples there. The examples might also get installed somewhere under /usr/, but I wouldnât know the exact path to them
pi@raspberrypi:~/ruuvi2mqtt $ sudo systemctl status ruuvi2mqtt.service
â ruuvi2mqtt.service - RuuviTag â MQTT bridge
Loaded: loaded (/etc/systemd/system/ruuvi2mqtt.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-01-09 20:24:26 GMT; 9min ago
Docs: GitHub - ppetru/ruuvi2mqtt: A RuuviTag -> MQTT bridge supporting Home Assistant MQTT discovery
Main PID: 299 (start.sh)
CGroup: /system.slice/ruuvi2mqtt.service
ââ299 /bin/bash /home/pi/ruuvi2mqtt/start.sh
ââ350 node index.js
Jan 09 20:24:26 raspberrypi systemd[1]: Started RuuviTag â MQTT bridge.
Jan 09 20:24:26 raspberrypi ruuvi2mqtt[299]: setterm: $TERM is not defined.
Jan 09 20:24:26 raspberrypi sudo[323]: pi : TTY=unknown ; PWD=/home/pi/ruuvi2mqtt ; USER=root ; COMMAND=/sbin/setcap cap_net_raw+eip /usr/bin/node
Jan 09 20:24:26 raspberrypi sudo[323]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jan 09 20:24:26 raspberrypi sudo[323]: pam_unix(sudo:session): session closed for user root
Jan 09 20:24:30 raspberrypi ruuvi2mqtt[299]: Config loaded
Jan 09 20:24:31 raspberrypi ruuvi2mqtt[299]: ConnectingâŚ
Jan 09 20:24:36 raspberrypi ruuvi2mqtt[299]: Connected
pi@raspberrypi:~/ruuvi2mqtt $
I think that itâs not scanning ruuvitags properly. I can use these commands to see ruuvitags: