chrisjshull / homebridge-nest

Nest plugin for HomeBridge
707 stars 111 forks source link

Homebridge Logging Support #524

Closed jtrujillo-splunk closed 2 years ago

jtrujillo-splunk commented 2 years ago

Is your feature request related to a problem? Please describe. I would like historical logs of the Nest sensor status

Describe the solution you'd like The ability to log specific metrics on a specified interval.

E.G. On interval 'X', output current status on the homebridge logs. The current value of temp sensor, fan status, humidity, motion status....

Example from the Awair plugin

[3/8/2022, 5:01:13 PM] [Upstairs-Awair] http://192.168.0.57/air-data/latest: {"timestamp":"2022-03-08T17:01:03.658Z","score":82,"dew_point":1.7,"temp":18.39,"humid":32.73,"abs_humid":5.13,"co2":649,"co2_est":497,"co2_est_baseline":36898,"voc":196,"voc_baseline":41601,"voc_h2_raw":26,"voc_ethanol_raw":40,"pm25":27,"pm10_est":29}, score: 82

Logfile: /var/lib/homebridge/homebridge.log

Describe alternatives you've considered I have considered using the API to gather this information, but realized that I am already doing this with this great plugin, that it would be great to have the ability to log it to the homebridge output for historical recall of the metrics at a certain time.

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.