mariolukas / Watterott-CO2-Ampel-Plus-Firmware

Firmware for Watterott CO2 Ampel (Plus Version)
GNU General Public License v3.0
15 stars 13 forks source link

Could you provide a json endpoint? #29

Closed ldidry closed 2 years ago

ldidry commented 3 years ago

Hello,

Thank you for your great work! Would it be possible to have a json endpoint (like /values.json) containing the current values of the sensors? It would allow a more simple and hackable way to use the device.

For example, I prefer to use a simple Munin plugin to get the data. For now, I need to parse the HTML page, which is not pretty and may easily not work in the future.

Thank you,

mariolukas commented 3 years ago

Sure should be possible.

mariolukas commented 2 years ago

Solved within 3.0.0 (dc98c6cb00c95066980131883c7f518c27a2acfb)