Raspberry PI temperature monitor that sends temperature data to elasticsearch
- A Raspberry PI
- A Maxim DS18B20 temperature sensor (with 4K7/10K pull-up resistor).
Configure the sensor as:
Alternatively, pre-built versions are available on ebay, which makes this a lot easier. Search for "ds18b20 module"
:
Then put edit the hosts file with your PIs IP address and Elasticsearch host IP, and run the ansible playbook:
ansible-playbook -i hosts site.yml -u root --ask-pass
Note: The first time this is run, the PI will reboot!