0.0.17 Remove 'Days until service'. Closes gh-25
This commit is contained in:
parent
a0dedc7fcd
commit
4b89aec1c5
|
@ -22,7 +22,7 @@ import (
|
||||||
var static embed.FS
|
var static embed.FS
|
||||||
|
|
||||||
var (
|
var (
|
||||||
version = "0.0.16"
|
version = "0.0.17"
|
||||||
pingvin pingvinKL.PingvinKL
|
pingvin pingvinKL.PingvinKL
|
||||||
DEBUG *bool
|
DEBUG *bool
|
||||||
INTERVAL *int
|
INTERVAL *int
|
||||||
|
|
|
@ -61,18 +61,17 @@ type pingvinMeasurements struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type pingvinStatus struct {
|
type pingvinStatus struct {
|
||||||
HeaterPct int `json:"heater_pct"` // After heater valve position
|
HeaterPct int `json:"heater_pct"` // After heater valve position
|
||||||
HrcPct int `json:"hrc_pct"` // Heat recovery turn speed
|
HrcPct int `json:"hrc_pct"` // Heat recovery turn speed
|
||||||
TempSetting float32 `json:"temp_setting"` // Requested room temperature
|
TempSetting float32 `json:"temp_setting"` // Requested room temperature
|
||||||
FanPct int `json:"fan_pct"` // Circulation fan setting
|
FanPct int `json:"fan_pct"` // Circulation fan setting
|
||||||
Measurements pingvinMeasurements `json:"measurements"` // Measurements
|
Measurements pingvinMeasurements `json:"measurements"` // Measurements
|
||||||
HrcEffIn int `json:"hrc_efficiency_in"` // Calculated HRC efficiency, intake
|
HrcEffIn int `json:"hrc_efficiency_in"` // Calculated HRC efficiency, intake
|
||||||
HrcEffEx int `json:"hrc_efficiency_ex"` // Calculated HRC efficiency, extract
|
HrcEffEx int `json:"hrc_efficiency_ex"` // Calculated HRC efficiency, extract
|
||||||
OpMode string `json:"op_mode"` // Current operating mode, text representation
|
OpMode string `json:"op_mode"` // Current operating mode, text representation
|
||||||
DaysUntilService int `json:"days_until_service"` // Days until next filter service
|
Uptime string `json:"uptime"` // Unit uptime
|
||||||
Uptime string `json:"uptime"` // Unit uptime
|
SystemTime string `json:"system_time"` // Time and date in unit
|
||||||
SystemTime string `json:"system_time"` // Time and date in unit
|
Coils []pingvinCoil `json:"coils"`
|
||||||
Coils []pingvinCoil `json:"coils"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type PingvinLogger struct {
|
type PingvinLogger struct {
|
||||||
|
@ -452,7 +451,6 @@ func (p *PingvinKL) populateStatus() {
|
||||||
p.Status.HrcEffEx = p.Registers[30].Value / p.Registers[30].Multiplier
|
p.Status.HrcEffEx = p.Registers[30].Value / p.Registers[30].Multiplier
|
||||||
p.Status.OpMode = parseStatus(p.Registers[44].Value)
|
p.Status.OpMode = parseStatus(p.Registers[44].Value)
|
||||||
// TODO: Alarms, n of alarms
|
// TODO: Alarms, n of alarms
|
||||||
p.Status.DaysUntilService = p.Registers[538].Value / p.Registers[538].Multiplier
|
|
||||||
// TODO: Uptime & date in separate functions
|
// TODO: Uptime & date in separate functions
|
||||||
p.Status.Coils = p.Coils
|
p.Status.Coils = p.Coils
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,8 +49,6 @@ views:
|
||||||
name: Temperature setpoint
|
name: Temperature setpoint
|
||||||
- entity: sensor.penguin_circulation_fan_pct
|
- entity: sensor.penguin_circulation_fan_pct
|
||||||
name: Criculation fan
|
name: Criculation fan
|
||||||
- entity: sensor.penguin_days_until_service
|
|
||||||
name: Next maintenance
|
|
||||||
state_color: false
|
state_color: false
|
||||||
- type: entities
|
- type: entities
|
||||||
entities:
|
entities:
|
||||||
|
|
|
@ -49,8 +49,6 @@ views:
|
||||||
name: Asetettu lämpötila
|
name: Asetettu lämpötila
|
||||||
- entity: sensor.penguin_circulation_fan_pct
|
- entity: sensor.penguin_circulation_fan_pct
|
||||||
name: Kiertoilma
|
name: Kiertoilma
|
||||||
- entity: sensor.penguin_days_until_service
|
|
||||||
name: Seuraava huolto
|
|
||||||
state_color: false
|
state_color: false
|
||||||
- type: entities
|
- type: entities
|
||||||
entities:
|
entities:
|
||||||
|
|
Loading…
Reference in New Issue