Max Prokhorov
Max Prokhorov
Seems reasonable. Note that you already have access to magnitude value struct when reporting from the sensors side, just attach pre-generated id string there. *edit*: and I am pretty sure...
> Are you referring to thinkspeak.cpp that generates something similar to the following HTML code?(Instead of the current code with lists of magnitudes) sensor .cpp / .html / .mjs generates...
> Html datalist, I don't know why doesn't seem to work; current code use description of value x ....; (btw, current web code only supports integers for value of options......
> ...like span apparently expects this to be numeric. most things use it when initializing numeric ID -> some text, but pretty sure it can be reduced to just text...
Depends on the way you are creating and adding elements. If you are using funcs that end up in template.mjs:loadConfigTemplate (like LEDs do via addFromTemplateWithSchema), listener is attached. https://github.com/xoseperez/espurna/blob/edd5481388b0a33224710acabafed3fa7f88fe37/code/html/src/template.mjs#L70 If...
> Ahhh sorry... data-enumerable html attribute is the same to elem.dataset["enumerable"] in javascript. I'd not know that "magic". Right, sry. These lines are not commented to relate dataset API with...
> extern os_timer_t *timer_list; timer_list = nullptr; You stop the overflow handler, so works as expected? :) System timer does that job, and does indeed correct the time so it...
> But I suspect that the ESP SDK documentation is not accurate when they talk about the "idle task" in wifi_fpm_do_sleep ESP NON-OS SDK uses the same sentence than ESP...
Note that encoding needs to happen for `sys.stdout`, above only sets it for file I/O. Line prints full path, `basename(fpath)` would help (or just removing the line(s) mentioning user path...
Perhaps the client should allow `addHeader` to override `Host:`? Meaning, when headers are prepared it would check whether it was added or not; and if not, use the default `_host`....