I used this project to learn C and about ESP8266 programming.
git clone https://github.com/HappyViki/esp8266-led-pet.git
- Config secrets-config.h with your wifi user/pass and server's network ip
- Rename secrets-config.h -> secrets.h
- Plug your device into the computer
cd esp8266-led-pet
npm install
pio run --target upload
node server.js
If the device is connected to the server correctly, it should start animating sad faces.
If it's not, it will just perpetually be happy.
Go to http://localhost:8080/ in your browser and click the carrot button.
You should see an eating animation on the device.