web_server custom handle request #3532
-
Component nameweb_server Link to component documentation on our websitehttps://esphome.io/components/web_server/ Describe the enhancementSeve a custom request handle with JSON data Use casesI have a home energy storage system which polls data from an energy meter over HTTP GET requests. It could be very easy to emulate a energy meter (For example Shelly 3EM) if a custom handle could be created to serve a JSON request with metering data. No custom component fouund to replace the web_server. Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
🏷️ I've automatically added the |
Beta Was this translation helpful? Give feedback.
-
|
You could probably use https://github.com/ssieb/esphome_components/tree/master/components/web_handler |
Beta Was this translation helpful? Give feedback.
-
|
Check out the doc on https://esphome.io/components/external_components/ and https://github.com/ssieb/esphome_components/tree/master |
Beta Was this translation helpful? Give feedback.
You could probably use https://github.com/ssieb/esphome_components/tree/master/components/web_handler