With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Ok I made it work. Essentially I cut to code to send just one conn:send command that includes everything. It appears to send only the first conn-send command.So for servernode.lua, i commented lines: 8-11, 22 and voila.I'd love to understand why this is happening.
I upgraded NodeMCU to 1.4 and now it doesn't work. It uploads files, reboots, deletes but does not serve /status? It writes the info.lua file, but does not display on the browser. One reason is that the request for the favicon comes right after the request for /status? so it may be stopping the status from being sent.
and the only thing that the server is sending back is <html /> from servernode.lua
WOW. Worked right away. This is awesome now I can just deploy my ESPs and update the files as needed. Thanks for doing this.
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.