diff --git a/README.md b/README.md index 1cfc2906b34ae957c89044b8c8b56ab3b57d6c6c..2575334d99df748763b009b28767443d2fdd132c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # prometheus_dyson -Prometheus client for DysonLink fans (e.g; Pure Hot+Cool). +Prometheus client for DysonLink fans (e.g; Pure Hot+Cool and Pure Cool). -This code only supports Pure Hot+Cool fans at the moment. It should be trivial +This code only supports Pure Hot+Cool and Pure Cool fans at the moment. It should be trivial to extend to other fan types (I just don't have one to test). ## Build @@ -39,7 +39,7 @@ dyson_dust_units | gauge | dust level (range 0-10?) Name | Type | Description ---- | ---- | ----------- -dyson_fan_mode | enum | AUTO, FAN (what the fan is set to) +dyson_fan_mode | enum | AUTO, FAN, OFF (what the fan is set to) dyson_fan_state | enum | FAN, OFF (what the fan is actually doing) dyson_fan_speed_units | gauge | 0-10 (or -1 if on AUTO) dyson_oscillation_mode | enum | ON, OFF diff --git a/grafana.json b/grafana.json index c5d6f042d5f76b26646990d5738627a2fcb160ef..25f72badc029b1a624bbc6d5a37a0dc63b34bd51 100644 --- a/grafana.json +++ b/grafana.json @@ -1054,7 +1054,7 @@ "multi": false, "name": "instance", "options": [], - "query": "label_values(fan_mode, instance)", + "query": "label_values(dyson_fan_mode, instance)", "refresh": 1, "regex": "", "skipUrlSync": false, @@ -1075,7 +1075,7 @@ "multi": false, "name": "name", "options": [], - "query": "label_values(fan_mode, name)", + "query": "label_values(dyson_fan_mode, name)", "refresh": 1, "regex": "", "skipUrlSync": false, @@ -1121,4 +1121,4 @@ "title": "Dyson Fan", "uid": "wSsTjyYik", "version": 10 -} \ No newline at end of file +}