An IoT grocery shopping list for your fridge.
- Install Arduino libraries:
Adafruit Neopixel
: search for it in the Arduino IDEArduinoJson
: search for it in the Arduino IDE. Make sure to install version5.x
.WifiManager
: on its Github page, click onClone or Download
and then onDownload ZIP
. Add the ZIP in the Arduino IDE as a library.
- In the serial monitor, make sure to choose
115200 baud
. - Flash the sketch
- Take note of the information in the serial monitor:
***************************************************
* No Wifi configuration or not possible to connect.
* Entered config mode. Connect to me using:
*
* Wifi SSID: Kuehl01
* Wifi Password: 123456ABCDEF
* Web IP address: 192.168.4.1
***************************************************
- Connect to the given Wifi
- Visit the given IP address in your web browser
- Click on
Configure Wifi
- Enter the SSID and the password of the Wifi you want to connect to
- Enter your Todoist token (can be found on the integration page)
- Enter your Todoist project ID which is used to add groceries to. To get the project ID, open the project on Todoist and copy it from the URL, e.g.
https://todoist.com/app#project%2F1234567890%2Ffull
. Do not copy any of the%2F
. In this example, the project ID would be1234567890
. - Click
Save
.
If all information has been entered correctly, the access point is being shut down and the device connects to your wifi. It then reports its IP address in the serial monitor.
Click any key on the keypad to add a task to the configured Todoist project.
Use the *
key to reset Wifi settings and restart the device. It then acts as an access point and needs to be configured again.