9 Commits

Author SHA1 Message Date
Manoël Trapier
b5baf6cd48 Fix mistake in config file (#107) 2017-09-04 20:42:47 -05:00
Manoël Trapier
28fbb6e7a7 now user proper table based parameter for wifi.ap.setip instead of a string (#106) 2017-09-03 17:40:38 -05:00
Marcos
7cdbe0ffd0 Move init.lua code into 3 smaller files. Consolidate server configuration. (#94)
* Move server initialization out of init.lua and into new httpserver-init.lua

* Use wildcard for finding server files to upload.

* Break init.lua up into 3 files. Move all configuration to httpserver.conf.

New files are:
* httpserver-compile.lua
* httpserver-wifi.lua
* httpserver-init.lua
2017-07-01 22:01:45 -05:00
Marcos
adde150009 Overhaul garage door example (#93)
* script for controlling garage that is aware of door states

* Overhaul garage door example

Hardware now calls for reed relay in order to be able to tell the state
of the switch. This way, we can have distinct open/close operations
that error if the door is already in that state. Allows for potential
better integration with home automation systems.

* Prepare for push to GitHub

* Restore defaults

* Make HTTP auth realm match zeroconf networking name
2017-07-01 15:18:11 -05:00
Marcos Kirsch
7aa44cd1a9 Improve documentation related to HTTP Basic Authentication.
Fixes https://github.com/marcoskirsch/nodemcu-httpserver/issues/71
2016-12-30 14:37:15 -06:00
Marcos Kirsch
79e345d964 Allow multiple users for basic HTTP authentication. 2016-12-28 14:16:58 -06:00
Marcos Kirsch
ad4042f3d6 Leave auth disabled by default 2015-07-20 21:13:11 -05:00
Marcos Kirsch
aa507264eb Better comments, add realm 2015-07-19 13:34:16 -05:00
Samuel A. Dieck
be63ee0093 Added basic auth. Added static settings file 2015-07-18 23:17:14 -05:00