-
1Wiring
Wire the Wemos D1 R1 (esp8266) to the new diagram provided
-
2Install LAMP server and enable ssh
Install Lamp server according to https://howtoraspberrypi.com/how-to-install-web-server-raspberry-pi-lamp/
Enable ssh on the raspberry pi / Linux PC
-
3Install RRD tool
sudo apt-get install rrdtool
-
4Install rrd php tool
sudo apt-get install php-rrd
-
5Upload firmware
Install WIFI manager following the guide below
https://github.com/tzapu/WiFiManager#installingFollow the guide on how to add the esp8266 as a board in the arduino IDE
http://www.whatimade.today/esp8266-easiest-way-to-program-so-far/Install OneWire library and DallasTemperature library in the arduino IDE by going to sketch, include library, and manage libraries and search for each one and install.
If there is a library missing please make note and comment and this guide will be updated to direct to the correct place
Upload firmware to the Wemos D1 R1 (esp8266)
IMPORTANT!!!!!!!
FAILURE TO DO THIS WILL RESULT IN THE OTA UPDATE NOT WORKING!!!
AFTER UPDATING THE ESP8266 OVER SERIAL ALWAYS MANUALLY CLICK THE RESET BUTTON ON THE ESP8266 THIS IS BECAUSE OF A KNOWN BUG IN THE WATCHDOG FIND OUT MORE HERE https://github.com/esp8266/Arduino/tree/master/doc/faq
IMPORTANT!!!!!!!
-
6Upload php files and image folder
update IP adress in index.php to the ip address of your esp8266
Place the php files and image folder in www root
-
7Generate RRD database
navigate to http://youripaddress/GenerateShortDB.php
navigate to http://youripaddress/GenerateLongDB.php
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.