Closed mattlward closed 1 year ago
There is already support for some ESPeasy dashboard. I have never used it myself, but maybe it does exactly what you need.
I thought (referring to the forum topic) that the OP wanted to be able to filter the JSON page down to a single value. I guess I got that backwards.
But that being said, I can see the benefits of being able to do such a filtering.
Ah OK, then I mis-understood the question.
TD-er... I am really not familiar with the dashboard. All I need is for the requested value to land on an otherwise empty web page. That web page needs to be generated by an inbound request to the ESP, likely an http command.
This is a work around to not having SNMP available on the ESP platform.
Hi, just do the following: create a file named survey.esp fill in the content:
<html>
<head>
</head>
<body>
[<devicename>#<devicevalue>]
</body>
</html>
Now using 'http://ip-of-esp/upload' load the file onto the SPIFFS of your device.
Now calling 'http://ip-of-esp/survey.esp' will present the current value of the sensor.
Another way is to use CSV format as explained here: https://espeasy.readthedocs.io/en/latest/Reference/URLs.html?highlight=csv
I suggest to close this issue. @mattlward @TD-er
I am running the following with a DHT11 attached, but would really want this to work with the SHT30.
I would like to be able to send an HTTP command to the unit that will simply present a web page with a single variable, the sensed temperature with nothing other than the number presented. This data is avaliable in the json output when asking for it via http://x.x.x.x/json
So, maybe it is a filter that is needed just to display the value?
Thanks Matt