currently is very complicated to query all sensors data ie.
eg it'd be very useful if i can call a /api/status which gives a "real" json result with all sensor data.
@lfarkas : araya bir suru sey girdi, bu yuzden sira gelmedi :)
a more versatile rest api is needed and is in to do queue but we've never got to it yet.
while at it, do you have any other rest api enhancements ideas?
similar to issue: https://github.com/xoseperez/espurna/issues/446
of course it could be a graphql api which would be more user friendly but in this simple case may a rest api would be enough. for the only the query will be important (and wouldn't like to call 3-10 http request just to get 3-10 simple value. i review the current influxdb interface and decided that i'd rather write my own telegraf input plugin. but with this so many call it's rather annoying...
anyway setting all parameters which one can also modify on the web interface would be useful.
Enhancement: Add RSSI, Uptime, avg load... To rest api similar to how data is transmitted to MQTT.
This would be a great addition as I want to build a status panel in PHP to see all my Sonoffs without the need of MQTT. Thank you.
RSSI would be great!
Most helpful comment
Enhancement: Add RSSI, Uptime, avg load... To rest api similar to how data is transmitted to MQTT.
This would be a great addition as I want to build a status panel in PHP to see all my Sonoffs without the need of MQTT. Thank you.