Arduino Automation - johnosbb/Automation GitHub Wiki

Arduino Setup

Creating classes and Libraries

https://www.youtube.com/watch?v=HvGJlIKOLoI

Installing Libraries

https://www.arduino.cc/en/Guide/Libraries

Rest API for Arduino

https://github.com/marcoschwartz/aREST

Getting started

https://arest.io/get-started

TCP Client

https://diyprojects.io/esp8266-web-client-tcp-ip-communication-examples-esp8266wifi-esp866httpclient/#.WzqDd9JKhhF

Simple REST example

http://local/led?params=1

Adding support for the WEMOS Lite D1

  1. Go to File->Preferences

  2. In the window that opens up find the text box labelled 'Additional Boards Manager URLs:' and paste the following line into it: http://arduino.esp8266.com/versions/2.4.1/package_esp8266com_index.json Then click the OK button to close the window.

  3. Next go to Tools->Board->Boards Manager

  4. In the window that opens up look for the entry titled 'esp8266 by ESP8266 Community Version x.x.x' and click on it.

  5. In the bottom right-hand corner of this entry you should now see an install button appear. Click on this and board manager will then automatically add all the files necessary to support the ESP8266. This may take a few minutes depending on the speed of your internet connection.

OTA