Simple frontend for initial setup of your wemos or similar device.
Go to file
Oly 320285df1e Amend readme to mention editing form.edn 2019-09-06 15:51:41 +01:00
resources/public Shrink image. 2019-09-06 15:45:18 +01:00
src/weecfg Initial version. 2019-09-06 15:43:06 +01:00
LICENSE Initial version. 2019-09-06 15:43:06 +01:00
deps.edn Initial version. 2019-09-06 15:43:06 +01:00
dev.cljs.edn Initial version. 2019-09-06 15:43:06 +01:00
figwheel-main.edn Initial version. 2019-09-06 15:43:06 +01:00
prod.cljs.edn Initial version. 2019-09-06 15:43:06 +01:00
readme.org Amend readme to mention editing form.edn 2019-09-06 15:51:41 +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/320285df1e8092b3215fb72c7758c6d7cfb02075/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 --repl

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