Skip to content

is_online entity consistently reports as "false", even though SPA is running, online and connecting through the Bestway App #89

@mleibundgut

Description

@mleibundgut

Version of the custom_component

Removed and installed ha-bestway several times, assured I have version 1.6.2

Bestway device

Bestway Saluspa, Airjet-V01 Pump

Describe the bug

Symptoms are as described in Issue #82. After upgrade to HA core 2025.1.4, all Bestway controls and entities are unavailable. I downgraded core, but that did not seem to help. Even restored a month old backup and now still can't get the controls to show as available.
The is_online entity shows consistently as false. Control via the Bestway app works flawlessly. The timing with the core upgrade might have been a coincidence...

One thing I noticed is that the app at the beginning often shows the unit as offline. When I click on it it says "loading" and then I can control the unit. See below in app screenshots. Also the Wifi connection shows as "excellent" in the access point.

So here I think the option of ignoring the "is_online" status might be helpful.

Logs

2025-01-28 10:06:26.963 DEBUG (MainThread) [custom_components.bestway.bestway.api] Device list refreshed: {"devices": [{"protoc": 3, "ws_port": 8080, "port_s": 8883, "gw_did": null, "host": "usm2m.gizwits.com", "sleep_duration": 3600, "port": 1883, "mcu_soft_version": "D4H10603", "product_key": "********************************", "state_last_timestamp": 1738020143, "role": "owner", "is_sandbox": false, "type": "normal", "product_name": "Airjet_V01", "is_disabled": false, "mcu_hard_version": "P4970005", "wifi_soft_version": "04X3000B", "dev_alias": "Terrace", "mesh_id": null, "is_online": false, "dev_label": [], "wss_port": 8880, "remark": "25", "did": "", "mac": "", "passcode": "", "wifi_hard_version": "0ESP32C3", "is_low_power": false}]}
2025-01-28 10:06:27.078 DEBUG (MainThread) [custom_components.bestway.bestway.api] New data received for device Nx0BI8hTx0TPKRZZIkzyBO
2025-01-28 10:06:27.078 DEBUG (MainThread) [custom_components.bestway.bestway.api] Status for device type 'Airjet_V01' returned: {"E19": 0, "E18": 0, "E32": 0, "E31": 0, "E30": 0, "E11": 0, "E10": 0, "E13": 0, "E12": 0, "E15": 0, "E14": 0, "E17": 0, "E16": 0, "word5": 262, "word4": 0, "word7": 35, "word6": 0, "word1": 0, "word0": 0, "E29": 0, "word2": 262, "option6": 10244, "ver": 1175, "E22": 0, "jet": 0, "E23": 0, "power": 1, "Tnow": 95, "option7": 10260, "option4": 0, "option5": 27136, "option2": 0, "option3": 30, "option0": 59940, "option1": 59940, "E24": 0, "E25": 0, "E26": 0, "E27": 0, "E20": 0, "E21": 0, "E08": 0, "E09": 0, "E06": 0, "E07": 0, "E04": 0, "E05": 0, "E02": 0, "E03": 0, "E01": 0, "bit7": 1, "heat": 3, "Tunit": 0, "wave": 0, "word3": 0, "Tset": 104, "filter": 2, "E28": 0, "bit6": 1, "bit5": 0, "bit4": 0, "bit3": 0, "bit2": 1}
2025-01-28 10:06:27.078 DEBUG (MainThread) [custom_components.bestway.coordinator] Finished fetching Bestway API data in 0.663 seconds (success: True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions