-
1Build and run
Have Platformio installed. Open project in vscode and use following tasks
- `Build` - build project
- `Upload Filesystem Image` - build and upload app files used by webserver
- `Upload` or `Upload and Monitor` - build, flash to device via Serial. Optionally attach terminal to it
-
2Edit front-end directly in IDE
To debug web-interface directly in IDE (no need to upload each change to mcu)
- Run `start debug web-server` task (need to have docker installed).
- Find this line
var NODE_IP = "192.168.1.96";
and change to your device IP
3. Go to http://localhost:8080, when started from localhost it will connect to ws://NODE_IP (device itself should be online providing backend)
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.