Heat Pump State
Heat pump state parameters provide real-time operational data, sensor readings, and consumption metrics. These fields are read-only and automatically updated from the manufacturer’s API.State data refresh frequency depends on the manufacturer’s API. Most values update every 5-15 minutes.
Operational Status
Current operational mode of the heat pump.Options:
Hot Water- Heating domestic hot water onlyHeating- Space heating activePool Heating- Pool heating mode (if applicable)Standby- Device is on but not actively heatingOff- Device is powered off
Hot WaterCurrent power consumption in Watts.Example:
2341.0Timestamp when the device state was last updated from the manufacturer’s API.Use this to determine data freshness.Example:
2023-03-22T13:54:34.000ZTemperature Readings
Current outdoor temperature in °C measured by the heat pump.Example:
9.3Current indoor temperature in °C (if indoor sensor is available).May be
null if the device doesn’t have an indoor temperature sensor.Example: 21.2Current temperature of domestic hot water in °C.Example:
51.1Energy Consumption
Energy consumption for the previous day in kWh.Example:
9.4Energy consumption for the previous week in kWh.Example:
72.5Energy consumption for the previous month in kWh.Example:
351.3Timestamp when consumption data was last calculated.Example:
2023-03-22T13:54:34.000ZUsage Examples
Get Device State
Understanding Operational Modes
- Hot Water
- Heating
- Pool Heating
- Standby
- Off
The heat pump is actively heating domestic hot water to reach the target temperature.Typical Duration: 30-90 minutes per cyclePower Consumption: Medium to High
Best Practices
Data Polling
Data Polling
- Poll device state every 5-15 minutes for dashboard updates
- Check
current_state_last_updated_atto avoid unnecessary API calls - Implement caching to reduce API load
- Show last update timestamp to users for transparency
Consumption Monitoring
Consumption Monitoring
- Compare daily consumption across similar timeframes
- Account for outdoor temperature when analyzing trends
- Use weekly/monthly averages for meaningful comparisons
- Alert users to unusual consumption spikes
Temperature Display
Temperature Display
- Show both indoor and outdoor temperatures for context
- Highlight when indoor temperature is outside comfort range
- DHW temperature should typically be 45-55°C
- Consider outdoor temperature for heating efficiency expectations
Error Handling
Error Handling
- Handle
nullvalues gracefully (e.g., missing indoor sensor) - Display user-friendly messages for stale data
- Provide troubleshooting steps when data stops updating
- Check
is_authenticatedbefore displaying state data
Heat Pump Attributes
Writable parameters and configuration
Dashboard Integration
Building end-user dashboards
Energy Contracts
Energy pricing parameters
Buildings
Building parameters reference
