wiser-exporter

command module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 12 Imported by: 0

README

wiser-exporter

Uses the Drayton Wiser HubR local API (/data/v2/domain/, opentherm/, network/ and status/) to export Prometheus metrics.

Metric Labels Notes
wiser_room_temperature id, name °C. Omitted while the room has no reading
wiser_room_set_point id, name °C
wiser_room_humidity id, name %, rooms with a RoomStat only
wiser_room_demand id, name %
wiser_room_heating_rate id, name
wiser_channel_percent_demand id, name %
wiser_channel_relay_on id, name 1 when the heating relay is on
wiser_device_battery_voltage id, product_type, serial_number Omitted for mains-powered or offline devices
wiser_room_scheduled_set_point id, name °C the schedule asks for now
wiser_room_override_active id, name 1 during a boost or manual override
wiser_room_window_detection_enabled id, name
wiser_room_window_open id, name Open-window state, inferred from a rapid temperature drop
wiser_valve_temperature id, room °C measured at the radiator valve
wiser_valve_demand id, room %
wiser_valve_window_open id, room
wiser_device_rssi_dbm id, product_type, serial_number, link Zigbee RSSI; link is hub_to_device or device_to_hub
wiser_device_lqi id, product_type, serial_number, link Zigbee link quality, 0-255
wiser_device_battery_level id, product_type, serial_number, level Always 1; level is normal, twothirds, onethird, ...
wiser_hub_wifi_connected
wiser_hub_wifi_rssi_dbm
wiser_hub_wifi_connection_failures Since hub boot
wiser_hub_wifi_info ssid, channel Always 1
wiser_hub_uptime_seconds
wiser_hub_free_heap_bytes
wiser_hub_lowest_free_heap_bytes Since hub boot
wiser_hub_last_reset_info reason Always 1
wiser_hub_zigbee_no_signal_resets Undocumented counter
wiser_hub_zigbee_jpan_count Undocumented counter
wiser_opentherm_connected 1 when the hub's OpenTherm link is up
wiser_opentherm_enabled
wiser_opentherm_flow_temperature_celsius
wiser_opentherm_return_temperature_celsius
wiser_opentherm_ch_pressure_bar
wiser_opentherm_relative_modulation_percent Holds its last value while the burner is off
wiser_opentherm_minimum_modulation_percent
wiser_opentherm_maximum_capacity_kw
wiser_opentherm_ch_enabled 1 while the hub is requesting CH
wiser_opentherm_ch_flow_setpoint_celsius Flow temperature the hub is requesting
wiser_opentherm_dhw_enabled
wiser_opentherm_dhw_setpoint_celsius
wiser_opentherm_dhw_flow_rate_litres_per_minute
wiser_opentherm_messages_sent Since hub boot
wiser_opentherm_decoding_errors Since hub boot
wiser_opentherm_slave_status Raw OpenTherm status byte
wiser_opentherm_status_flag flag fault, ch_active, dhw_active, flame, cooling_active, ch2_active, diagnostic
wiser_scrape_errors_total endpoint
wiser_last_scrape_success_timestamp_seconds endpoint
wiser_exporter_build_info version, commit, date

Retrieving the secret

To use this exporter you need to find your network secret.

  1. Press the "SETUP" button once on the front of the HubR.
  2. Connect to its wifi network
  3. Load 192.168.8.1/secret in your browser
  4. Copy the secret into an env variable or the defaults file (see below)
  5. Press the "SETUP" button once again to return the HubR to normal mode.

Install on ubuntu

  1. Download the latest deb from GitHub releases
  2. dpkg -i ./wiser-exporter_<version>_linux_amd64.deb to install
  3. Edit /etc/default/wiser-exporter and update secret + hub IP
  4. Run systemctl restart wiser-exporter

Build from source

configured via env variables:

export WISER_SECRET=$SECRET // wiser network secret key
export WISER_HUB_IP=192.168.0.126 // wiser hub IP address
export PORT=2112 // http server port
export INTERVAL=30s // how often to read

run the exporter:

go build -o wiser-exporter ./ && ./wiser-exporter

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL