/temperature_to_es

Raspberry PI temperature monitor - export to Elasticsearch (Ansible)

Primary LanguagePython

temperature_to_es

Raspberry PI temperature monitor that sends temperature data to elasticsearch

Requirements

  • A Raspberry PI
  • A Maxim DS18B20 temperature sensor (with 4K7/10K pull-up resistor).

Instructions

Configure the sensor as:

raspi_ds18b20

Alternatively, pre-built versions are available on ebay, which makes this a lot easier. Search for "ds18b20 module":

ds18b20_built

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!