Wemos D1 mini that display DS18B20 temp on OLED and Cayenne dashboard
- What you need:
- Wemos D1 mini
- DS18B20 temp sensor
- OLED 128x64
- 4.7 K resistor
- 330 Ohm resistor
- LED
You can connect a relay instead of LED
- Add a new device
- Device/Widget
- Add new
- Select generic ESP8266
- You should see:
cay_d1mini_ds18b20_copy.txt (1.8 KB)
- Enter your MQTT username, password and ClientID into your code
- Upload the code to Wemos D1mini
- Wait for the board to connect to Cayenne.
- After connecting to Cayenne, you should see this on the Cayenne Dashboard.
- Click on + to add widget to the dashboard
- Edit the widget and complete settings
- Adding button to control LED
- Add new
- Device/Widget
- Custom Widgets
- Button
- Fill in the form
- Click Add widget
Voilà
Hope this can help
Kind regards