Simple frontend for initial setup of your wemos or similar device.
Go to file
Oliver Marks 2d781a7f52
continuous-integration/drone/push Build is failing Details
Fix up drone build file.
2019-09-24 20:58:35 +01:00
resources/public Fix up drone build file. 2019-09-24 20:58:35 +01:00
src/weecfg Fix up drone build file. 2019-09-24 20:58:35 +01:00
.drone.yml Fix up drone build file. 2019-09-24 20:58:35 +01:00
.gitlab-ci.yml Fix up gitlab ci yaml. 2019-09-21 09:17:20 +01:00
LICENSE Initial version. 2019-09-06 15:43:06 +01:00
deps.edn Updated specs to allow int and booleans. 2019-09-20 20:20:53 +01:00
dev.cljs.edn Initial version. 2019-09-06 15:43:06 +01:00
figwheel-main.edn Clean up project code. 2019-09-17 19:38:13 +01:00
prod.cljs.edn Fix up drone build file. 2019-09-24 20:58:35 +01:00
project.clj Updated specs to allow int and booleans. 2019-09-20 20:20:53 +01:00
readme.org Updated specs to allow int and booleans. 2019-09-20 20:20:53 +01:00

readme.org

WeeCfg simple web interface to save settings on wemos

Introduction

This should be used with a companion wemos app which servers up these pages, you will need to copy the files to your sketch data folder and upload them to the wemos from the arduino software or using esptool. /oly/weecfg/src/commit/2d781a7f5251bde06da0b3e9f91eaa688839ba13/resources/public/example.png

Modifying

You can do basic modification by editing the form.edn file this dynamically creates the inputs the name field is the most important part, this dictates the key in the saved arduino config.

Requirements

To build or run this tool you will need clojure installed to download the requirements and generate the javascript.

If your editing the project you can use cider or similar to jack in and live edit the page.

Building

If your not using cider or just want to do things manually use these commands.

clojure -m figwheel.main --build dev --repl
clojure -m figwheel.main --build prod

once running you should be able to see the app under the url below. http://localhost:9500/

Tips

Android issue

If your using an android device and cant load the web page make sure you selected stay connect to wifi, android will show =Connect, with no internet" this is a bit misleading look for a notification and select stay connected with out this the web page will not show.