Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wifi Hub With Wrong Device ID Prevents Re-Configuration #283

Open
Maxcodesthings opened this issue Jan 20, 2025 · 1 comment
Open

Wifi Hub With Wrong Device ID Prevents Re-Configuration #283

Maxcodesthings opened this issue Jan 20, 2025 · 1 comment
Assignees

Comments

@Maxcodesthings
Copy link

I got a new hose timer Gen1 and configured it to my existing hub. To do so i ended up re-associating the hub and my other timer as well. When re-configuring the integration and selecting my two timers i get an error about an incorrect device ID.

Image

It looks as if there might be an old device ID stored from earlier for my wifi hub as seen in the diagnostics which shows a new device ID. The new ID is not sent in the POST payload only the old device ID which im guessing no longer exists since it was re-added to my account

Image

This of course is returning a 400 from the server and failing to configure the integration

Image

I am going to try a complete reinstall of the integatration and re-download

Expected behaviour
Re-configuring the integration should not store old or incorrect device IDs of Bhyvbe products so it can successfully complete

BHyve devices
2 Hose TImers (Tap TImer)
1 Wifi Hub

Device Diagnostics

{
  "home_assistant": {
    "installation_type": "Home Assistant Container",
    "version": "2024.12.5",
    "dev": false,
    "hassio": false,
    "virtualenv": false,
    "python_version": "3.13.0",
    "docker": true,
    "arch": "x86_64",
    "timezone": "America/Los_Angeles",
    "os_name": "Linux",
    "os_version": "5.15.0-91-generic",
    "run_as_root": true
  },
  "custom_components": {
    "alarmo": {
      "documentation": "https://github.com/nielsfaber/alarmo",
      "version": "v1.10.7",
      "requirements": []
    },
    "hass_agent_mediaplayer": {
      "documentation": "https://github.com/LAB02-Research/HASS.Agent-MediaPlayer",
      "version": "2022.5.6",
      "requirements": []
    },
    "hass_agent_notifier": {
      "documentation": "https://github.com/LAB02-Research/HASS.Agent-Notifier",
      "version": "2022.10.25.1",
      "requirements": []
    },
    "govee_lan": {
      "documentation": "https://github.com/wez/govee-lan-hass",
      "version": "1.0.0",
      "requirements": [
        "govee-led-wez>=0.0.15"
      ]
    },
    "hacs": {
      "documentation": "https://hacs.xyz/docs/use/",
      "version": "2.0.2",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "wasp_sensor": {
      "documentation": "https://github.com/dlashua/hass-wasp_sensor",
      "version": "0.0.3",
      "requirements": []
    },
    "emporia_vue": {
      "documentation": "https://github.com/magico13/ha-emporia-vue",
      "version": "0.10.1",
      "requirements": [
        "pyemvue==0.18.6"
      ]
    },
    "frigate": {
      "documentation": "https://github.com/blakeblackshear/frigate",
      "version": "5.6.0",
      "requirements": [
        "hass-web-proxy-lib==0.0.7"
      ]
    },
    "tesla_custom": {
      "documentation": "https://github.com/alandtse/tesla/wiki",
      "version": "3.24.3",
      "requirements": [
        "teslajsonpy==3.12.3"
      ]
    },
    "babybuddy": {
      "documentation": "https://github.com/jcgoette/baby_buddy_homeassistant",
      "version": "v0.0.0",
      "requirements": []
    },
    "bhyve": {
      "documentation": "https://github.com/sebr/bhyve-home-assistant/blob/main/README.md",
      "version": "3.2.5",
      "requirements": []
    },
    "hyperhdr": {
      "documentation": "https://github.com/awawa-dev/HyperHDR#readme",
      "version": "0.0.7",
      "requirements": [
        "hyperhdr-py==0.0.3"
      ]
    },
    "wyzeapi": {
      "documentation": "https://github.com/JoshuaMulliken/ha-wyzeapi#readme",
      "version": "0.1.19",
      "requirements": [
        "wyzeapy==0.5.19"
      ]
    },
    "chargepoint": {
      "documentation": "https://github.com/mbillow/ha-chargepoint",
      "version": "0.8.0",
      "requirements": [
        "python-chargepoint==1.9.2"
      ]
    },
    "moonraker": {
      "documentation": "https://moonraker-home-assistant.readthedocs.io/en/latest/",
      "version": "1.5.0",
      "requirements": [
        "moonraker-api==2.0.6"
      ]
    },
    "volvo_cars": {
      "documentation": "https://github.com/thomasddn/ha-volvo-cars",
      "version": "0.4.2",
      "requirements": []
    },
    "bambu_lab": {
      "documentation": "https://github.com/greghesp/ha-bambulab",
      "version": "2.0.39",
      "requirements": [
        "cloudscraper"
      ]
    },
    "xiaomi_cloud_map_extractor": {
      "documentation": "https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor",
      "version": "v2.2.0",
      "requirements": [
        "pillow",
        "pybase64",
        "python-miio",
        "requests",
        "pycryptodome"
      ]
    },
    "pfsense": {
      "documentation": "https://github.com/travisghansen/hass-pfsense",
      "version": "0.1.0",
      "requirements": [
        "mac-vendor-lookup>=0.1.11"
      ]
    },
    "browser_mod": {
      "documentation": "https://github.com/thomasloven/hass-browser_mod/blob/master/README.md",
      "version": "2.3.0",
      "requirements": []
    },
    "ui_lovelace_minimalist": {
      "documentation": "https://ui-lovelace-minimalist.github.io/UI/",
      "version": "v1.3.12",
      "requirements": [
        "aiofiles>=0.8.0",
        "aiogithubapi>=22.2.4"
      ]
    },
    "weatherflow_forecast": {
      "documentation": "https://github.com/briis/weatherflow_forecast",
      "version": "1.0.11",
      "requirements": [
        "pyweatherflow-forecast==1.1.0"
      ]
    },
    "plant": {
      "documentation": "https://github.com/Olen/homeassistant-plant/",
      "version": "2024.7.0",
      "requirements": [
        "async-timeout>=4.0.2"
      ]
    },
    "govee": {
      "documentation": "https://github.com/LaggAt/hacs-govee/blob/master/README.md",
      "version": "2025.1.1",
      "requirements": [
        "govee-api-laggat==0.2.2",
        "dacite==1.8.0"
      ]
    }
  },
  "integration_manifest": {
    "domain": "bhyve",
    "name": "Orbit B-hyve",
    "codeowners": [
      "sebr"
    ],
    "config_flow": true,
    "dependencies": [],
    "documentation": "https://github.com/sebr/bhyve-home-assistant/blob/main/README.md",
    "iot_class": "cloud_push",
    "requirements": [],
    "version": "3.2.5",
    "is_built_in": false,
    "overwrites_built_in": false
  },
  "setup_times": {
    "null": {
      "setup": 2.8192996978759766e-05
    },
    "570910ff32c17407712833562c49ea5c": {
      "wait_import_platforms": -3.6438139118254185,
      "config_entry_setup": 4.172633625566959
    }
  },
  "data": {
    "devices": [
      {
        "last_connected_at": "2025-01-20T22:16:00.182Z",
        "address": "**REDACTED**",
        "timezone": {
          "dst_offset": 3600,
          "raw_offset": -28800,
          "timezone_id": "America/Los_Angeles",
          "timezone_name": "Pacific Daylight Time"
        },
        "full_location": "**REDACTED**",
        "firmware_version": "0030",
        "name": "Wi-Fi Hub",
        "type": "bridge",
        "network_interface": "wifi",
        "updated_at": "2025-01-20T22:16:00.182Z",
        "reference": "44675527a785",
        "mac_address": "44675527a785",
        "mesh_id": "678ec1d98153d63a28093ff1",
        "status": {
          "next_start_programs": [],
          "next_start_time": "1970-01-01T00:00:00-07:00",
          "rain_delay": 0,
          "run_mode": "auto",
          "watering_status": null
        },
        "wifi_version": 0,
        "id": "626eee124f0c040b8ba9f99c",
        "num_stations": 0,
        "user_id": "626eede64f0c040b8ba9f990",
        "device_gateway_topic": "devices-11",
        "hardware_version": "BH1-0001",
        "is_connected": true,
        "location": "**REDACTED**",
        "created_at": "2022-05-01T20:31:14.547Z"
      },
      {
        "last_connected_at": "2025-01-20T22:16:03.272Z",
        "address": "**REDACTED**",
        "water_sense_mode": "auto",
        "timezone": {
          "dst_offset": 0,
          "raw_offset": -28800,
          "timezone_id": "America/Los_Angeles",
          "timezone_name": "Pacific Standard Time"
        },
        "full_location": "**REDACTED**",
        "weather_forecast_location_id": "**REDACTED**",
        "firmware_version": "0041",
        "name": "East Zone Tap Timer",
        "type": "sprinkler_timer",
        "battery": {
          "percent": 56,
          "charging": false
        },
        "restricted_frequency": null,
        "updated_at": "2025-01-20T22:16:03.272Z",
        "reference": "44675527a785-25972",
        "mac_address": "446755188cd4",
        "weather_station_id": "**REDACTED**",
        "mesh_id": "678ec1d98153d63a28093ff1",
        "status": {
          "run_mode": "auto",
          "watering_status": {
            "clear_on_idle": true
          },
          "rain_delay": 0,
          "flow_sensor": null,
          "rain_delay_started_at": "2025-01-20T21:48:48.000Z",
          "watering-status": null
        },
        "id": "678ec20a8153d63a28094014",
        "num_stations": 1,
        "zones": [
          {
            "station": 1,
            "num_sprinklers": 0,
            "catch_cup_volumes": [],
            "catch_cup_run_time": 0,
            "smart_watering_enabled": false
          }
        ],
        "user_id": "626eede64f0c040b8ba9f990",
        "google_home_status": null,
        "device_gateway_topic": "devices-11",
        "smart_watering_enabled": true,
        "hardware_version": "HT25-0000",
        "is_connected": true,
        "location": "**REDACTED**",
        "created_at": "2025-01-20T21:37:14.595Z",
        "suggested_start_time": null,
        "et_id": "5644ff06ad27a7777ff6acd2"
      },
      {
        "last_connected_at": "2025-01-20T22:16:04.116Z",
        "address": "**REDACTED**",
        "water_sense_mode": "auto",
        "timezone": {
          "dst_offset": 0,
          "raw_offset": -28800,
          "timezone_id": "America/Los_Angeles",
          "timezone_name": "Pacific Standard Time"
        },
        "full_location": "**REDACTED**",
        "weather_forecast_location_id": "**REDACTED**",
        "firmware_version": "0041",
        "name": "West Zone Tap Timer",
        "type": "sprinkler_timer",
        "battery": {
          "percent": 46,
          "charging": false
        },
        "restricted_frequency": null,
        "updated_at": "2025-01-20T22:16:04.116Z",
        "reference": "44675527a785-13247",
        "mac_address": "4467551804c8",
        "weather_station_id": "**REDACTED**",
        "mesh_id": "678ec1d98153d63a28093ff1",
        "status": {
          "run_mode": "auto",
          "watering_status": {
            "clear_on_idle": true
          },
          "rain_delay": 0,
          "flow_sensor": null,
          "rain_delay_started_at": "2025-01-20T22:13:48.000Z",
          "watering-status": null
        },
        "id": "678ec290a29c4e52dce5ed1e",
        "num_stations": 1,
        "zones": [
          {
            "station": 1,
            "num_sprinklers": 0,
            "catch_cup_volumes": [],
            "catch_cup_run_time": 0,
            "smart_watering_enabled": false
          }
        ],
        "user_id": "626eede64f0c040b8ba9f990",
        "google_home_status": null,
        "device_gateway_topic": "devices-11",
        "smart_watering_enabled": true,
        "hardware_version": "HT25-0000",
        "is_connected": true,
        "location": "**REDACTED**",
        "created_at": "2025-01-20T21:39:28.113Z",
        "suggested_start_time": null,
        "et_id": "5644ff06ad27a7777ff6acd2"
      }
    ],
    "programs": []
  }
}

Please attach the Home Assistant diagnostics for the B-hyve device. Sensitive information is redacted when compiling the diagnostic data.

-->

@Maxcodesthings
Copy link
Author

For the record completely removing the integration and re-adding it fixes the issue. The old device ID must have been cached locally. I will leave this up as it breaks the ability to re-configure the integration through the UI without removal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants