Monitor your iGrill (mini, v2 or v3) (with a Raspberry Pi 1/2/3) - and an forward it to an mqtt-server
- An iGrill Device (and at least one probe) - iGrill mini, iGrill v2 or igrill v3
- A bluetooth enabled computer - preferable a raspberry pi
- A mqtt server as message receiver
- clone this repo
- install required modules (see requirements.txt)
- Add at least one device config (see ./exampleconfig/device.yaml) - to find your device MAC just run
hcitool lescan
- start application
./monitor.py
- enjoy
Place this file into the proper folder - for instance: /lib/systemd/system/igrill.service
[Unit]
Description=igrill MQTT service
After=network.target
[Service]
Type=simple
Restart=always
RestartSec=2
ExecStart=/usr/bin/python <path_to_igrill_repo>/monitor.py -c <path_to_config_dir>
[Install]
WantedBy=multi-user.target
Run systemctl daemon-reload && systemctl enable igrill && systemctl start igrill
Next time you reboot, the iGrill service will connect and reconnect if something goes wrong...