Skip to content

RichieB2B/evohome-exporter

Repository files navigation

This is evohome-exporter

A Honeywell Evohome data exporter for prometheus

Uses the python evohomeclient from:
https://pypi.org/project/evohomeclient/
https://github.com/watchforstock/evohome-client

Install as a systemd service

To run evohome-exporter.py as a service you can use the supplied Makefile:

make install
make install-service
make restart

Example output

$ curl -s http://localhost:8082
# HELP python_gc_objects_collected_total Objects collected during gc
# TYPE python_gc_objects_collected_total counter
python_gc_objects_collected_total{generation="0"} 425.0
python_gc_objects_collected_total{generation="1"} 286.0
python_gc_objects_collected_total{generation="2"} 0.0
# HELP python_gc_objects_uncollectable_total Uncollectable object found during GC
# TYPE python_gc_objects_uncollectable_total counter
python_gc_objects_uncollectable_total{generation="0"} 0.0
python_gc_objects_uncollectable_total{generation="1"} 0.0
python_gc_objects_uncollectable_total{generation="2"} 0.0
# HELP python_gc_collections_total Number of times this generation was collected
# TYPE python_gc_collections_total counter
python_gc_collections_total{generation="0"} 53.0
python_gc_collections_total{generation="1"} 4.0
python_gc_collections_total{generation="2"} 0.0
# HELP python_info Python platform information
# TYPE python_info gauge
python_info{implementation="CPython",major="3",minor="7",patchlevel="3",version="3.7.3"} 1.0
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 1.871872e+08
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 2.3478272e+07
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.60567689293e+09
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 0.43000000000000005
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 6.0
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 1024.0
# HELP evohome_temperature_celcius Evohome temperatuur in celsius
# TYPE evohome_temperature_celcius gauge
evohome_temperature_celcius{id="1234501",name="Livingroom",thermostat="EMEA_ZONE",type="measured"} 15.5
evohome_temperature_celcius{id="1234501",name="Livingroom",thermostat="EMEA_ZONE",type="setpoint"} 15.0
evohome_temperature_celcius{id="1234502",name="Kitchen",thermostat="EMEA_ZONE",type="measured"} 15.5
evohome_temperature_celcius{id="1234502",name="Kitchen",thermostat="EMEA_ZONE",type="setpoint"} 15.0
evohome_temperature_celcius{id="1234503",name="Hall",thermostat="EMEA_ZONE",type="measured"} 15.5
evohome_temperature_celcius{id="1234503",name="Hall",thermostat="EMEA_ZONE",type="setpoint"} 15.0
evohome_temperature_celcius{id="1244504",name="Bathroom",thermostat="EMEA_ZONE",type="measured"} 18.5
evohome_temperature_celcius{id="1234504",name="Bathroom",thermostat="EMEA_ZONE",type="setpoint"} 20.0
evohome_temperature_celcius{id="1234505",name="Garage",thermostat="EMEA_ZONE",type="measured"} 15.0
evohome_temperature_celcius{id="1234505",name="Garage",thermostat="EMEA_ZONE",type="setpoint"} 15.0
evohome_temperature_celcius{id="1234506",name="Study",thermostat="EMEA_ZONE",type="measured"} 20.0
evohome_temperature_celcius{id="1234506",name="Study",thermostat="EMEA_ZONE",type="setpoint"} 19.5
evohome_temperature_celcius{id="1234507",name="Bedroom1",thermostat="EMEA_ZONE",type="measured"} 15.5
evohome_temperature_celcius{id="1234507",name="Bedroom1",thermostat="EMEA_ZONE",type="setpoint"} 15.0
evohome_temperature_celcius{id="1234508",name="Bedroom2",thermostat="EMEA_ZONE",type="measured"} 15.0
evohome_temperature_celcius{id="1234508",name="Bedroom2",thermostat="EMEA_ZONE",type="setpoint"} 15.0
# HELP evohome_updated Evohome client last updated
# TYPE evohome_updated gauge
evohome_updated 1.6056773322508168e+09
# HELP evohome_up Evohome client status
# TYPE evohome_up gauge
evohome_up 1.0

About

Honeywell Evohome data exporter for prometheus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published