[esp8266/NodeMcu/Arduino] Log temperature readings from DS18B20 and wifi signal strength to graphite server. To log something on graphite server the esp8266 have to send UDP packet with string containg: metric name, metric value, timestamp. Bellow expample of such strings:
esp.temp 21.50 1482075500
esp.rssi.JAN -73 1482075500
This code uses additional libraries - DallasTemperature and OneWire. You can download this through library manager from Arduino IDE.