Light and fire

Light and fire with Arduino

 

Installing Arduino on NanoPi

To program the Wemos D1 Mini NodeMcu via Arduino development environment on the NanoPi do the following:

For further information see https://github.com/esp8266/ArduinoESP8266 Arduino documentation or Arduino language reference

The following libraries for sensors I use (Sketch->Include library->Manage Libraries):

Adafruit DHT-sensor-library Version 1.2.2
Adafruit_MQTT_Library Version 0.16.2

For adding a Filesystem to the ESP8266 see uploading-files-to-file-system