dahlb / ha_carrier

Carrier Infinity Integration for Home Assistant
MIT License
35 stars 3 forks source link

Static Pressure is misreported #106

Closed adrianbn closed 2 months ago

adrianbn commented 2 months ago

System Health details

System Information

version core-2024.4.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.1.73-haos-raspi
arch aarch64
timezone America/Los_Angeles
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.34.0 Stage | running Available Repositories | 1399 Downloaded Repositories | 9 HACS Data | ok
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 12.2 -- | -- update_channel | stable supervisor_version | supervisor-2024.04.0 agent_version | 1.6.0 docker_version | 25.0.5 disk_total | 57.8 GB disk_used | 9.9 GB healthy | true supported | true board | rpi4-64 supervisor_api | ok version_api | ok installed_addons | Z-Wave JS (0.4.5), Let's Encrypt (5.0.15), File editor (5.8.0), Log Viewer (0.17.0), Terminal & SSH (9.13.0), Ring-MQTT with Video Streaming (5.6.3), Mosquitto broker (6.4.0), Music Assistant BETA (2.0.0b137)
Dashboards dashboards | 3 -- | -- resources | 4 views | 6 mode | storage
Recorder oldest_recorder_run | April 11, 2024 at 11:08 PM -- | -- current_recorder_run | April 15, 2024 at 9:36 PM estimated_db_size | 916.51 MiB database_engine | sqlite database_version | 3.44.2

Checklist

Describe the issue

Hi,

The static pressure value reported by the integration is off and never updates. All the other sensors seem to be reporting fine and the controls work as well. The thermostat and the Carrier app report the right value. See screenshot

Screenshot 2024-04-16 at 1 31 08 PM

I also noticed looking at the integration's debug logs that the API reports the value correctly as staticPressure': 0.8599998950958252. Leaving aside the fact that Carrier reports this in PSI and home assistant uses hPa, the conversion is wrong and the HAAS value never changes. I would recommend using PSI anyway.

Reproduction steps

  1. Install integration
  2. Look at reported value
  3. ...

Debug logs

I am not sure how to get the whole sequence of debug logs from all subsystems and return everything to its original log level, but I think it hardly matters since the issue seems contained to the API response from Carrier not being used correctly. 

Below is some integration logs with API response data:

2024-04-16 13:48:55.564 DEBUG (SyncWorker_60) [carrier_api.status] raw_status_json:{'$': {'version': '1.48', 'xmlns:atom': 'http://www.w3.org/2005/Atom'}, 'atom:link': [{'$': {'rel': 'self', 'href': 'https://www.app-api.ing.carrier.com/systems/REDACTED/status'}}, {'$': {'rel': 'http://www.api.ing.carrier.com/rels/system', 'href': 'https://www.app-api.ing.carrier.com/systems/REDACTED'}}], 'timestamp': '2024-04-16T20:40:14.862Z', 'pingRate': 15, 'iduStatusPingRate': 93600, 'iduFaultsPingRate': 86400, 'oduStatusPingRate': 90000, 'oduFaultsPingRate': 82800, 'historyPingRate': 75600, 'equipEventsPingRate': 79200, 'rootCausePingRate': 72000, 'serverHasChanges': False, 'configHasChanges': False, 'dealerHasChanges': False, 'dealerLogoHasChanges': False, 'oduConfigHasChanges': False, 'iduConfigHasChanges': False, 'utilityEventsHasChanges': False, 'sensorConfigHasChanges': False, 'sensorProfileHasChanges': False, 'sensorDiagnosticHasChanges': False, 'name': 'Temp', 'oat': 79, 'mode': 'auto', 'cfgem': 'C', 'cfgtype': 'heatcool', 'vacatrunning': 'off', 'filtrlvl': 0, 'uvlvl': 100, 'humlvl': 100, 'ventlvl': 100, 'humid': 'off', 'localTime': '2024-04-16T13:40:14.862', 'oprstsmsg': 'idle', 'isDisconnected': False, 'idu': {'cfm': 0, 'opstat': 'off', 'type': 'fancoilnoheater'}, 'odu': {'opmode': 'off', 'opstat': 'off', 'type': 'xxxxxx'}, 'isActive': False, 'zones': {'zone': [{'$': {'id': '1'}, 'name': 'Zone2', 'enabled': 'on', 'currentActivity': 'wake', 'rt': 21, 'rh': 52, 'fan': 'off', 'hold': 'off', 'htsp': 20.5, 'clsp': 25.5, 'otmr': None, 'zoneconditioning': 'idle', 'damperposition': 15, 'occupancy': 'unoccupied', 'occupancyOverride': 'off'}, {'$': {'id': '2'}, 'name': 'Zone2', 'enabled': 'on', 'currentActivity': 'wake', 'rt': 20, 'rh': 52, 'fan': 'off', 'hold': 'off', 'htsp': 20, 'clsp': 25, 'otmr': None, 'zoneconditioning': 'idle', 'damperposition': 0, 'occupancy': 'unoccupied', 'occupancyOverride': 'off'}, {'$': {'id': '3'}, 'name': "Zone3", 'enabled': 'on', 'currentActivity': 'wake', 'rt': 21, 'rh': 52, 'fan': 'off', 'hold': 'off', 'htsp': 20, 'clsp': 25, 'otmr': None, 'zoneconditioning': 'idle', 'damperposition': 0, 'occupancy': 'unoccupied', 'occupancyOverride': 'off'}, {'$': {'id': '4'}, 'name': 'Zone 4', 'enabled': 'off', 'currentActivity': 'away', 'rh': '49', 'fan': 'off', 'hold': 'off', 'htsp': '15.5', 'clsp': '26.5', 'otmr': None, 'zoneconditioning': 'idle', 'damperposition': '0', 'occupancyOverride': 'off'}, {'$': {'id': '5'}, 'name': 'Zone 5', 'enabled': 'off', 'currentActivity': 'away', 'rh': '49', 'fan': 'off', 'hold': 'off', 'htsp': '15.5', 'clsp': '26.5', 'otmr': None, 'zoneconditioning': 'idle', 'damperposition': '0', 'occupancyOverride': 'off'}, {'$': {'id': '6'}, 'name': 'Zone 6', 'enabled': 'off', 'currentActivity': 'away', 'rh': '49', 'fan': 'off', 'hold': 'off', 'htsp': '15.5', 'clsp': '26.5', 'otmr': None, 'zoneconditioning': 'idle', 'damperposition': '0', 'occupancyOverride': 'off'}, {'$': {'id': '7'}, 'name': 'Zone 7', 'enabled': 'off', 'currentActivity': 'away', 'rh': '49', 'fan': 'off', 'hold': 'off', 'htsp': '15.5', 'clsp': '26.5', 'otmr': None, 'zoneconditioning': 'idle', 'damperposition': '0', 'occupancyOverride': 'off'}, {'$': {'id': '8'}, 'name': 'Zone 8', 'enabled': 'off', 'currentActivity': 'away', 'rh': '49', 'fan': 'off', 'hold': 'off', 'htsp': '15.5', 'clsp': '26.5', 'otmr': None, 'zoneconditioning': 'idle', 'damperposition': '0', 'occupancyOverride': 'off'}]}}
{model': 'SYSTXCCITC01-B', 'brand': 'Carrier', 'firmware': 'CESR131626-04.47', 'indoor_model': 'FE4ANB006', 'indoor_serial': '**REDACTED**', 'outdoor_model': '25VNA460A00310', 'outdoor_serial': '**REDACTED**', 'time_stamp': '04/14/2024, 23:23:27 PDT', 'zone_ids': ['1', '2', '3']}, 'status': {'outdoor_temperature': 79.0, 'mode': 'auto', 'temperature_unit': 'C', 'filter_used': 0, 'is_disconnected': False, 'airflow_cfm': 0, 'outdoor_unit_operational_status': 'off', 'indoor_unit_operational_status': 'off', 'time_stamp': '04/16/2024, 13:40:14 PDT', 'zones': [{'id': '1', 'name': 'Zone1', 'current_activity': 'wake', 'temperature': 21.0, 'humidity': 52, 'fan': 'off', 'hold': False, 'occupancy': False, 'hold_until': None, 'heat_set_point': 20.5, 'cool_set_point': 25.5, 'conditioning': 'idle'}, {'id': '2', 'name': 'Zone2', 'current_activity': 'wake', 'temperature': 20.0, 'humidity': 52, 'fan': 'off', 'hold': False, 'occupancy': False, 'hold_until': None, 'heat_set_point': 20.0, 'cool_set_point': 25.0, 'conditioning': 'idle'}, {'id': '3', 'name': "Zone3", 'current_activity': 'wake', 'temperature': 21.0, 'humidity': 52, 'fan': 'off', 'hold': False, 'occupancy': False, 'hold_until': None, 'heat_set_point': 20.0, 'cool_set_point': 25.0, 'conditioning': 'idle'}]}, 'config': {'temperature_unit': 'C', 'static_pressure': 0.8599998950958252, 'mode': 'auto', 'limit_min': 10, 'limit_max': 32, 'time_stamp': '04/16/2024, 00:07:29 PDT', 'zones': [{'api_id': '1', 'name': 'Zone1', 'now': '13:48', 'current_activity': {'api_id': 'wake', 'fan': 'off', 'heat_set_point': 20.5, 'cool_set_point': 25.5}, 'hold_activity': None, 'hold': False, 'hold_until': None, 'today_active_periods': ["{'$': {'id': '1'}, 'activity': 'wake', 'time': '06:00', 'enabled': 'on'}", "{'$': {'id': '5'}, 'activity': 'sleep', 'time': '21:45', 'enabled': 'on'}"], 'yesterday_active_periods': ["{'$': {'id': '1'}, 'activity': 'wake', 'time': '06:00', 'enabled': 'on'}", "{'$': {'id': '5'}, 'activity': 'sleep', 'time': '21:45', 'enabled': 'on'}"], 'activities': [{'api_id': 'away', 'fan': 'off', 'heat_set_point': 15.5, 'cool_set_point': 26.5}, {'api_id': 'home', 'fan': 'off', 'heat_set_point': 21.5, 'cool_set_point': 25.5}, {'api_id': 'manual', 'fan': 'med', 'heat_set_point': 21.0, 'cool_set_point': 25.5}, {'api_id': 'sleep', 'fan': 'off', 'heat_set_point': 20.0, 'cool_set_point': 26.0}, {'api_id': 'wake', 'fan': 'off', 'heat_set_point': 20.5, 'cool_set_point': 25.5}, {'api_id': 'vacation', 'fan': 'off', 'heat_set_point': 15.5, 'cool_set_point': 26.5}]}, {'api_id': '2', 'name': 'Zone 2', 'now': '13:48', 'current_activity': {'api_id': 'wake', 'fan': 'off', 'heat_set_point': 20.0, 'cool_set_point': 25.0}, 'hold_activity': None, 'hold': False, 'hold_until': None, 'today_active_periods': ["{'$': {'id': '1'}, 'activity': 'wake', 'time': '06:15', 'enabled': 'on'}", "{'$': {'id': '5'}, 'activity': 'sleep', 'time': '21:45', 'enabled': 'on'}"], 'yesterday_active_periods': ["{'$': {'id': '1'}, 'activity': 'wake', 'time': '06:15', 'enabled': 'on'}", "{'$': {'id': '5'}, 'activity': 'sleep', 'time': '21:45', 'enabled': 'on'}"], 'activities': [{'api_id': 'away', 'fan': 'off', 'heat_set_point': 15.5, 'cool_set_point': 26.5}, {'api_id': 'home', 'fan': 'off', 'heat_set_point': 20.0, 'cool_set_point': 26.0}, {'api_id': 'manual', 'fan': 'off', 'heat_set_point': 20.5, 'cool_set_point': 25.0}, {'api_id': 'sleep', 'fan': 'off', 'heat_set_point': 18.5, 'cool_set_point': 23.0}, {'api_id': 'wake', 'fan': 'off', 'heat_set_point': 20.0, 'cool_set_point': 25.0}, {'api_id': 'vacation', 'fan': 'off', 'heat_set_point': 15.5, 'cool_set_point': 26.5}]}, {'api_id': '3', 'name': "Zone3", 'now': '13:48', 'current_activity': {'api_id': 'wake', 'fan': 'off', 'heat_set_point': 20.0, 'cool_set_point': 25.0}, 'hold_activity': None, 'hold': False, 'hold_until': None, 'today_active_periods': ["{'$': {'id': '3'}, 'activity': 'wake', 'time': '07:00', 'enabled': 'on'}", "{'$': {'id': '4'}, 'activity': 'sleep', 'time': '19:30', 'enabled': 'on'}", "{'$': {'id': '5'}, 'activity': 'home', 'time': '23:00', 'enabled': 'on'}"], 'yesterday_active_periods': ["{'$': {'id': '3'}, 'activity': 'wake', 'time': '07:00', 'enabled': 'on'}", "{'$': {'id': '4'}, 'activity': 'sleep', 'time': '19:30', 'enabled': 'on'}", "{'$': {'id': '5'}, 'activity': 'home', 'time': '23:00', 'enabled': 'on'}"], 'activities': [{'api_id': 'away', 'fan': 'off', 'heat_set_point': 17.0, 'cool_set_point': 26.5}, {'api_id': 'home', 'fan': 'off', 'heat_set_point': 20.0, 'cool_set_point': 24.0}, {'api_id': 'manual', 'fan': 'off', 'heat_set_point': 19.5, 'cool_set_point': 23.0}, {'api_id': 'sleep', 'fan': 'off', 'heat_set_point': 19.5, 'cool_set_point': 24.0}, {'api_id': 'wake', 'fan': 'off', 'heat_set_point': 20.0, 'cool_set_point': 25.0}, {'api_id': 'vacation', 'fan': 'off', 'heat_set_point': 15.5, 'cool_set_point': 26.5}]}]}}```

Diagnostics dump

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.4.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.2",
    "docker": true,
    "arch": "aarch64",
    "timezone": "America/Los_Angeles",
    "os_name": "Linux",
    "os_version": "6.1.73-haos-raspi",
    "supervisor": "2024.04.0",
    "host_os": "Home Assistant OS 12.2",
    "docker_version": "25.0.5",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "ha_carrier": {
      "version": "1.21.4",
      "requirements": [
        "carrier-api==1.12.0"
      ]
    },
    "hacs": {
      "version": "1.34.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "tesla_custom": {
      "version": "3.20.5",
      "requirements": [
        "teslajsonpy==3.10.2"
      ]
    },
    "nest_protect": {
      "version": "0.3.12",
      "requirements": []
    },
    "mass": {
      "version": "2024.3.6",
      "requirements": [
        "music-assistant==2.0.0b131"
      ]
    }
  },
  "integration_manifest": {
    "domain": "ha_carrier",
    "name": "Carrier Infinity",
    "codeowners": [
      "@dahlb"
    ],
    "config_flow": true,
    "documentation": "https://github.com/dahlb/ha_carrier",
    "integration_type": "hub",
    "iot_class": "cloud_polling",
    "issue_tracker": "https://github.com/dahlb/ha_carrier/issues",
    "loggers": [
      "carrier_api"
    ],
    "requirements": [
      "carrier-api==1.12.0"
    ],
    "version": "1.21.4",
    "is_built_in": false
  },
  "data": {
    "entry": {
      "entry_id": "f6230d5e78208ae8451e611422ea0c1a",
      "version": 1,
      "minor_version": 1,
      "domain": "ha_carrier",
      "title": "xxxxx@gmail.com",
      "data": {
        "username": "**REDACTED**",
        "password": "**REDACTED**"
      },
      "options": {
        "scan_interval": 10,
        "infinite_holds": true
      },
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "user",
      "unique_id": null,
      "disabled_by": null
    },
    "0222W207751": {
      "mapped_data": {
        "serial": "**REDACTED**",
        "name": "Temp",
        "profile": {
          "model": "SYSTXCCITC01-B",
          "brand": "Carrier",
          "firmware": "CESR131626-04.47",
          "indoor_model": "FE4ANB006",
          "indoor_serial": "**REDACTED**",
          "outdoor_model": "25VNA460A00310",
          "outdoor_serial": "**REDACTED**",
          "time_stamp": "04/14/2024, 23:23:27 PDT",
          "zone_ids": [
            "1",
            "2",
            "3"
          ]
        },
        "status": {
          "outdoor_temperature": 80.0,
          "mode": "auto",
          "temperature_unit": "C",
          "filter_used": 0,
          "is_disconnected": false,
          "airflow_cfm": 1400,
          "outdoor_unit_operational_status": "off",
          "indoor_unit_operational_status": "off",
          "time_stamp": "04/16/2024, 13:50:15 PDT",
          "zones": [
            {
              "id": "1",
              "name": "zone1",
              "current_activity": "wake",
              "temperature": 20.0,
              "humidity": 53,
              "fan": "off",
              "hold": false,
              "occupancy": false,
              "hold_until": null,
              "heat_set_point": 20.5,
              "cool_set_point": 25.5,
              "conditioning": "active_heat"
            },
            {
              "id": "2",
              "name": "zone2",
              "current_activity": "wake",
              "temperature": 20.0,
              "humidity": 53,
              "fan": "off",
              "hold": false,
              "occupancy": false,
              "hold_until": null,
              "heat_set_point": 20.0,
              "cool_set_point": 25.0,
              "conditioning": "idle"
            },
            {
              "id": "3",
              "name": "zone3",
              "current_activity": "wake",
              "temperature": 21.0,
              "humidity": 53,
              "fan": "off",
              "hold": false,
              "occupancy": false,
              "hold_until": null,
              "heat_set_point": 20.0,
              "cool_set_point": 25.0,
              "conditioning": "idle"
            }
          ]
        },
        "config": {
          "temperature_unit": "C",
          "static_pressure": 0.8599998950958252,
          "mode": "auto",
          "limit_min": 10,
          "limit_max": 32,
          "time_stamp": "04/16/2024, 00:07:29 PDT",
          "zones": [
            {
              "api_id": "1",
              "name": "zone1",
              "now": "14:0",
              "current_activity": {
                "api_id": "wake",
                "fan": "off",
                "heat_set_point": 20.5,
                "cool_set_point": 25.5
              },
              "hold_activity": null,
              "hold": false,
              "hold_until": null,
              "today_active_periods": [
                "{'$': {'id': '1'}, 'activity': 'wake', 'time': '06:00', 'enabled': 'on'}",
                "{'$': {'id': '5'}, 'activity': 'sleep', 'time': '21:45', 'enabled': 'on'}"
              ],
              "yesterday_active_periods": [
                "{'$': {'id': '1'}, 'activity': 'wake', 'time': '06:00', 'enabled': 'on'}",
                "{'$': {'id': '5'}, 'activity': 'sleep', 'time': '21:45', 'enabled': 'on'}"
              ],
              "activities": [
                {
                  "api_id": "away",
                  "fan": "off",
                  "heat_set_point": 15.5,
                  "cool_set_point": 26.5
                },
                {
                  "api_id": "home",
                  "fan": "off",
                  "heat_set_point": 21.5,
                  "cool_set_point": 25.5
                },
                {
                  "api_id": "manual",
                  "fan": "med",
                  "heat_set_point": 21.0,
                  "cool_set_point": 25.5
                },
                {
                  "api_id": "sleep",
                  "fan": "off",
                  "heat_set_point": 20.0,
                  "cool_set_point": 26.0
                },
                {
                  "api_id": "wake",
                  "fan": "off",
                  "heat_set_point": 20.5,
                  "cool_set_point": 25.5
                },
                {
                  "api_id": "vacation",
                  "fan": "off",
                  "heat_set_point": 15.5,
                  "cool_set_point": 26.5
                }
              ]
            },
            {
              "api_id": "2",
              "name": "zone2",
              "now": "14:0",
              "current_activity": {
                "api_id": "wake",
                "fan": "off",
                "heat_set_point": 20.0,
                "cool_set_point": 25.0
              },
              "hold_activity": null,
              "hold": false,
              "hold_until": null,
              "today_active_periods": [
                "{'$': {'id': '1'}, 'activity': 'wake', 'time': '06:15', 'enabled': 'on'}",
                "{'$': {'id': '5'}, 'activity': 'sleep', 'time': '21:45', 'enabled': 'on'}"
              ],
              "yesterday_active_periods": [
                "{'$': {'id': '1'}, 'activity': 'wake', 'time': '06:15', 'enabled': 'on'}",
                "{'$': {'id': '5'}, 'activity': 'sleep', 'time': '21:45', 'enabled': 'on'}"
              ],
              "activities": [
                {
                  "api_id": "away",
                  "fan": "off",
                  "heat_set_point": 15.5,
                  "cool_set_point": 26.5
                },
                {
                  "api_id": "home",
                  "fan": "off",
                  "heat_set_point": 20.0,
                  "cool_set_point": 26.0
                },
                {
                  "api_id": "manual",
                  "fan": "off",
                  "heat_set_point": 20.5,
                  "cool_set_point": 25.0
                },
                {
                  "api_id": "sleep",
                  "fan": "off",
                  "heat_set_point": 18.5,
                  "cool_set_point": 23.0
                },
                {
                  "api_id": "wake",
                  "fan": "off",
                  "heat_set_point": 20.0,
                  "cool_set_point": 25.0
                },
                {
                  "api_id": "vacation",
                  "fan": "off",
                  "heat_set_point": 15.5,
                  "cool_set_point": 26.5
                }
              ]
            },
            {
              "api_id": "3",
              "name": "zone3",
              "now": "14:0",
              "current_activity": {
                "api_id": "wake",
                "fan": "off",
                "heat_set_point": 20.0,
                "cool_set_point": 25.0
              },
              "hold_activity": null,
              "hold": false,
              "hold_until": null,
              "today_active_periods": [
                "{'$': {'id': '3'}, 'activity': 'wake', 'time': '07:00', 'enabled': 'on'}",
                "{'$': {'id': '4'}, 'activity': 'sleep', 'time': '19:30', 'enabled': 'on'}",
                "{'$': {'id': '5'}, 'activity': 'home', 'time': '23:00', 'enabled': 'on'}"
              ],
              "yesterday_active_periods": [
                "{'$': {'id': '3'}, 'activity': 'wake', 'time': '07:00', 'enabled': 'on'}",
                "{'$': {'id': '4'}, 'activity': 'sleep', 'time': '19:30', 'enabled': 'on'}",
                "{'$': {'id': '5'}, 'activity': 'home', 'time': '23:00', 'enabled': 'on'}"
              ],
              "activities": [
                {
                  "api_id": "away",
                  "fan": "off",
                  "heat_set_point": 17.0,
                  "cool_set_point": 26.5
                },
                {
                  "api_id": "home",
                  "fan": "off",
                  "heat_set_point": 20.0,
                  "cool_set_point": 24.0
                },
                {
                  "api_id": "manual",
                  "fan": "off",
                  "heat_set_point": 19.5,
                  "cool_set_point": 23.0
                },
                {
                  "api_id": "sleep",
                  "fan": "off",
                  "heat_set_point": 19.5,
                  "cool_set_point": 24.0
                },
                {
                  "api_id": "wake",
                  "fan": "off",
                  "heat_set_point": 20.0,
                  "cool_set_point": 25.0
                },
                {
                  "api_id": "vacation",
                  "fan": "off",
                  "heat_set_point": 15.5,
                  "cool_set_point": 26.5
                }
              ]
            }
          ]
        }
      },
      "profile_raw": {
        "$": {
          "version": "1.48",
          "xmlns:atom": "http://www.w3.org/2005/Atom"
        },
        "atom:link": [
          {
            "$": {
              "rel": "self",
              "href": "**REDACTED**"
            }
          },
          {
            "$": {
              "rel": "http://www.api.ing.carrier.com/rels/system",
              "href": "**REDACTED**"
            }
          }
        ],
        "timestamp": "2024-04-15T06:23:27.558Z",
        "pin": "**REDACTED**",
        "name": "Temp",
        "serial": "**REDACTED**",
        "brand": "Carrier",
        "indoorModel": "FE4ANB006",
        "indoorSerial": "**REDACTED**",
        "outdoorModel": "25VNA460A00310",
        "outdoorSerial": "**REDACTED**",
        "samType": "ING",
        "firmware": "CESR131626-04.47",
        "model": "SYSTXCCITC01-B",
        "iduversion": "CESR131329-17  ",
        "idutype": "fancoil",
        "idusource": "electric",
        "idustages": "0",
        "iducapacity": 0,
        "pwmblower": "off",
        "oduversion": "CESR131660-11.00",
        "odutype": "varcaphp",
        "oducapacity": 60,
        "ventpresent": "off",
        "sampresent": "off",
        "nimpresent": "off",
        "routerMac": "**REDACTED**",
        "vfdModel": "HR46VR002",
        "vfdSerial": "21051900100316",
        "vfdVersion": "A036",
        "ewtsensorpresent": "off",
        "zoneboards": {
          "board": [
            {
              "$": {
                "id": "1"
              },
              "present": "on",
              "model": "SYSTXCC4ZC01    ",
              "version": "CESR131331-01  "
            },
            {
              "$": {
                "id": "2"
              },
              "present": "off"
            }
          ]
        },
        "zones": {
          "zone": [
            {
              "$": {
                "id": "1"
              },
              "present": "on",
              "sensortype": "smartsensor",
              "ssmodel": "SYSTXZNSMS01",
              "ssserial": "1322M088271",
              "ssversion": "900-120906-1-2"
            },
            {
              "$": {
                "id": "2"
              },
              "present": "on",
              "sensortype": "smartsensor",
              "ssmodel": "SYSTXZNSMS01",
              "ssserial": "1322M087490",
              "ssversion": "900-120906-1-2"
            },
            {
              "$": {
                "id": "3"
              },
              "present": "on",
              "sensortype": "smartsensor",
              "ssmodel": "SYSTXZNSMS01",
              "ssserial": "1322M077981",
              "ssversion": "900-120906-1-2"
            },
            {
              "$": {
                "id": "4"
              },
              "present": "off",
              "sensortype": "unknown"
            },
            {
              "$": {
                "id": "5"
              },
              "present": "off",
              "sensortype": "unknown"
            },
            {
              "$": {
                "id": "6"
              },
              "present": "off",
              "sensortype": "unknown"
            },
            {
              "$": {
                "id": "7"
              },
              "present": "off",
              "sensortype": "unknown"
            },
            {
              "$": {
                "id": "8"
              },
              "present": "off",
              "sensortype": "unknown"
            }
          ]
        }
      },
      "status_raw": {
        "$": {
          "version": "1.48",
          "xmlns:atom": "http://www.w3.org/2005/Atom"
        },
        "atom:link": [
          {
            "$": {
              "rel": "self",
              "href": "**REDACTED**"
            }
          },
          {
            "$": {
              "rel": "http://www.api.ing.carrier.com/rels/system",
              "href": "**REDACTED**"
            }
          }
        ],
        "timestamp": "2024-04-16T20:50:15.669Z",
        "pingRate": 15,
        "iduStatusPingRate": 93600,
        "iduFaultsPingRate": 86400,
        "oduStatusPingRate": 90000,
        "oduFaultsPingRate": 82800,
        "historyPingRate": 75600,
        "equipEventsPingRate": 79200,
        "rootCausePingRate": 72000,
        "serverHasChanges": false,
        "configHasChanges": false,
        "dealerHasChanges": false,
        "dealerLogoHasChanges": false,
        "oduConfigHasChanges": false,
        "iduConfigHasChanges": false,
        "utilityEventsHasChanges": false,
        "sensorConfigHasChanges": false,
        "sensorProfileHasChanges": false,
        "sensorDiagnosticHasChanges": false,
        "name": "Temp",
        "oat": 80,
        "mode": "auto",
        "cfgem": "C",
        "cfgtype": "heatcool",
        "vacatrunning": "off",
        "filtrlvl": 0,
        "uvlvl": 100,
        "humlvl": 100,
        "ventlvl": 100,
        "humid": "off",
        "localTime": "2024-04-16T13:50:15.669",
        "oprstsmsg": "idle",
        "isDisconnected": false,
        "idu": {
          "cfm": 1400,
          "opstat": "off",
          "type": "fancoilnoheater"
        },
        "odu": {
          "opmode": "heating",
          "opstat": "off",
          "type": "gs3ngiphp"
        },
        "isActive": false,
        "zones": {
          "zone": [
            {
              "$": {
                "id": "1"
              },
              "name": "zone1",
              "enabled": "on",
              "currentActivity": "wake",
              "rt": 20,
              "rh": 53,
              "fan": "off",
              "hold": "off",
              "htsp": 20.5,
              "clsp": 25.5,
              "otmr": null,
              "zoneconditioning": "active_heat",
              "damperposition": 15,
              "occupancy": "unoccupied",
              "occupancyOverride": "off"
            },
            {
              "$": {
                "id": "2"
              },
              "name": "zone2",
              "enabled": "on",
              "currentActivity": "wake",
              "rt": 20,
              "rh": 53,
              "fan": "off",
              "hold": "off",
              "htsp": 20,
              "clsp": 25,
              "otmr": null,
              "zoneconditioning": "idle",
              "damperposition": 0,
              "occupancy": "unoccupied",
              "occupancyOverride": "off"
            },
            {
              "$": {
                "id": "3"
              },
              "name": "zone3",
              "enabled": "on",
              "currentActivity": "wake",
              "rt": 21,
              "rh": 53,
              "fan": "off",
              "hold": "off",
              "htsp": 20,
              "clsp": 25,
              "otmr": null,
              "zoneconditioning": "idle",
              "damperposition": 0,
              "occupancy": "unoccupied",
              "occupancyOverride": "off"
            },
            {
              "$": {
                "id": "4"
              },
              "name": "Zone 4",
              "enabled": "off",
              "currentActivity": "away",
              "rh": "49",
              "fan": "off",
              "hold": "off",
              "htsp": "15.5",
              "clsp": "26.5",
              "otmr": null,
              "zoneconditioning": "idle",
              "damperposition": "0",
              "occupancyOverride": "off"
            },
            {
              "$": {
                "id": "5"
              },
              "name": "Zone 5",
              "enabled": "off",
              "currentActivity": "away",
              "rh": "49",
              "fan": "off",
              "hold": "off",
              "htsp": "15.5",
              "clsp": "26.5",
              "otmr": null,
              "zoneconditioning": "idle",
              "damperposition": "0",
              "occupancyOverride": "off"
            },
            {
              "$": {
                "id": "6"
              },
              "name": "Zone 6",
              "enabled": "off",
              "currentActivity": "away",
              "rh": "49",
              "fan": "off",
              "hold": "off",
              "htsp": "15.5",
              "clsp": "26.5",
              "otmr": null,
              "zoneconditioning": "idle",
              "damperposition": "0",
              "occupancyOverride": "off"
            },
            {
              "$": {
                "id": "7"
              },
              "name": "Zone 7",
              "enabled": "off",
              "currentActivity": "away",
              "rh": "49",
              "fan": "off",
              "hold": "off",
              "htsp": "15.5",
              "clsp": "26.5",
              "otmr": null,
              "zoneconditioning": "idle",
              "damperposition": "0",
              "occupancyOverride": "off"
            },
            {
              "$": {
                "id": "8"
              },
              "name": "Zone 8",
              "enabled": "off",
              "currentActivity": "away",
              "rh": "49",
              "fan": "off",
              "hold": "off",
              "htsp": "15.5",
              "clsp": "26.5",
              "otmr": null,
              "zoneconditioning": "idle",
              "damperposition": "0",
              "occupancyOverride": "off"
            }
          ]
        }
      },
      "config_raw": {
        "$": {
          "version": "1.48",
          "xmlns:atom": "http://www.w3.org/2005/Atom"
        },
        "atom:link": [
          {
            "$": {
              "rel": "self",
              "href": "**REDACTED**"
            }
          },
          {
            "$": {
              "rel": "http://www.api.ing.carrier.com/rels/system",
              "href": "**REDACTED**"
            }
          }
        ],
        "timestamp": "2024-04-16T07:07:29.242Z",
        "mode": "auto",
        "previousMode": "off",
        "cfgem": "C",
        "cfgtype": "heatcool",
        "cfgauto": "on",
        "cfgdead": 2,
        "cfgfan": "on",
        "cfgpgm": "on",
        "blight": 60,
        "screensaver": "off",
        "sound": "on",
        "filtrrmd": "on",
        "uvrmd": "on",
        "humrmd": "on",
        "ventrmd": "on",
        "cfgchgovr": 0,
        "cfgsimultheatcool": "on",
        "cfgrecovery": "on",
        "cfgzoning": "on",
        "cfghumid": "off",
        "cfgvent": "off",
        "cfguv": "off",
        "erate": 0.4300000071525574,
        "grate": 1.100000023841858,
        "vacat": "off",
        "vacmint": 15.5,
        "vacmaxt": 26.5,
        "vacfan": "off",
        "fueltype": "gas",
        "gasunit": "therm",
        "heatsource": "system",
        "filtertype": "air filter",
        "filterinterval": 3,
        "statpressmon": "on",
        "ventinterval": 90,
        "uvinterval": "NaN",
        "huminterval": "NaN",
        "humidityfan": "off",
        "odtmpoff": 0,
        "humoff": 0,
        "ducthour": "NaN",
        "weatherPostalCode": "**REDACTED**",
        "torqueControl": "off",
        "staticPressure": 0.8599998950958252,
        "calcMinCFM": 347,
        "blowerSpeed": 1182,
        "occParameters": "T1=60,T2=300,MCT1=5,MCT2=10,MCT=60,N2=60",
        "occSustainTime": 120,
        "windowprotect": {
          "enabled": "on",
          "rhtg": 9,
          "ventprotect": "on"
        },
        "humidityHome": {
          "rhtg": 4,
          "rclg": 7,
          "rclgovercool": "off",
          "humidifier": "on",
          "venthtg": "auto",
          "ventspdhtg": "high",
          "ventclg": "auto",
          "ventspdclg": "high",
          "humid": "manual"
        },
        "humidityAway": {
          "rhtg": 4,
          "rclg": 15,
          "rclgovercool": "off",
          "humidifier": "off",
          "venthtg": "off",
          "ventspdhtg": "high",
          "ventclg": "off",
          "ventspdclg": "high",
          "humid": "off"
        },
        "humidityVacation": {
          "rhtg": 1,
          "rclg": 15,
          "rclgovercool": "off",
          "humidifier": "off",
          "venthtg": "off",
          "ventspdhtg": "high",
          "ventclg": "off",
          "ventspdclg": "high"
        },
        "utilityEvent": {
          "enabled": "off",
          "priceResp": "offset",
          "priceLimit": 10,
          "priceOffset": 2,
          "priceHtAbs": 15,
          "priceClAbs": 28,
          "demandResp": "offset",
          "demandOffset": 2,
          "demandHtAbs": 15,
          "demandClAbs": 28,
          "minLimit": 10,
          "maxLimit": 32,
          "restoreDefaults": "off",
          "venId": null
        },
        "wholeHouse": {
          "holdActivity": "none",
          "hold": "off",
          "activities": {
            "activity": [
              {
                "$": {
                  "id": "away"
                },
                "blight": 10
              },
              {
                "$": {
                  "id": "home"
                },
                "blight": 60
              },
              {
                "$": {
                  "id": "manual"
                },
                "blight": 60
              },
              {
                "$": {
                  "id": "sleep"
                },
                "blight": 10
              },
              {
                "$": {
                  "id": "vacation"
                },
                "blight": 10
              },
              {
                "$": {
                  "id": "wake"
                },
                "blight": 70
              }
            ]
          }
        },
        "timeAndDate": null,
        "accessoryStatusReset": {
          "filter": false,
          "humidifierPad": false,
          "uvLamp": false,
          "ventilatorPrefilter": false
        },
        "isMqtt": true,
        "zones": {
          "zone": [
            {
              "$": {
                "id": "1"
              },

.....

"sensor.temp_static_pressure": {
            "unique_id": "REDACTED_Static Pressure",
            "platform": "ha_carrier",
            "previous_unique_id": null,
            "aliases": [],
            "area_id": null,
            "categories": {},
            "capabilities": null,
            "config_entry_id": "f6230d5e78208ae8451e611422ea0c1a",
            "device_class": null,
            "device_id": "2fc92818dc7f2126a86ddd6d1ed03ba1",
            "domain": "sensor",
            "disabled_by": null,
            "entity_category": null,
            "hidden_by": null,
            "icon": null,
            "id": "b44271d316fdff9457702d85700ce98f",
            "has_entity_name": false,
            "labels": [],
            "name": null,
            "options": {
              "sensor.private": {
                "suggested_unit_of_measurement": "hPa"
              },
              "conversation": {
                "should_expose": false
              }
            },
            "original_device_class": "pressure",
            "original_icon": null,
            "original_name": "Temp Static Pressure",
            "supported_features": 0,
            "translation_key": null,
            "unit_of_measurement": "hPa",
            "state": {
              "state": "29.1229387544695371",
              "attributes": {
                "unit_of_measurement": "hPa",
                "device_class": "pressure",
                "friendly_name": "Temp Static Pressure"
              },
              "last_changed": "2024-04-16T04:37:14.250411+00:00",
              "last_reported": "2024-04-16T04:37:14.250411+00:00",
              "last_updated": "2024-04-16T04:37:14.250411+00:00"
            }
          },

.....
dahlb commented 2 months ago

thanks for reporting the API's unit for pressure, I had it as inHg as a guess because I am not familiar with HVAC details and the api didn't expose which unit is was using.

fixed in https://github.com/dahlb/ha_carrier/commit/1e2651030f677559d78e1122ddbfe4a7f9e94874 released in 1.21.5

adrianbn commented 2 months ago

No problem! Will this fix also make it update? It seems it is always fixed at the same value no matter what.

dahlb commented 2 months ago

This fix only fixes the units based on what is in the API, the integration can only expose what is available from the API

adrianbn commented 2 months ago

The API seems to always be stuck returning the same static pressure, but their app and the thermostat show the right dynamic value. Do you know if they have a way for me to report the bug with them?

dahlb commented 2 months ago

I use carrier home and have never seen a static pressure accurate or not, is that the same carrier app you use? Is it on Android? If so how do you get to the screen showing it?

adrianbn commented 2 months ago

I would have sworn I had seen it in their app before. Right now I can only see it in the thermostat. Long press the service icon until it turns green, then down in the menus until you see service information. In that menu you can check HP status or Fan coil status, they both have the real time static pressure value. I can record a video if you want to see how to get to the info. I wonder if the API is reporting the last duct check value for it?

dahlb commented 2 months ago

Yeah, I think the API is reporting the value from when you do the initial setup on the furnace