Place to put your Basic demos and examples

Moderator: Mmiscool

User avatar
By Mmiscool
#36114 If the value for the guage can be set with java script. The function in my first post in this thread should be able to fetch the value from the esp with out refreshing the whole page.

The msgbranch feature allows for this kind of thing. The non working code is also in that same post with the msgbranch code.
User avatar
By Mmiscool
#36120 The msg branch can be used for ajax calls from a static web page. It receives a msg in the form of a URL and responds with some dynamic information that the interpreter returns. You could make a bunch of html pages and java script for an interface and interact with the interpreter to control I/o or to pass a msg back to the page.

See this demo.
http://www.esp8266basic.com/msg-url-usage.html

I don't know enough java script at this time to really make it work but the capability exists.