Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 864 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 864 Bytes

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!