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

Topic is not updated with device status "Not Home" after TRACKER_TIMEOUT reach out #275

Open
begemotik opened this issue Nov 10, 2024 · 0 comments

Comments

@begemotik
Copy link

begemotik commented Nov 10, 2024

Describe the bug
I configured the gateway as Home Assistant addon. I see the successful messages of iphone being online. The problem is that when device is not actually connected the status is still "home". I expect the reason is that after timeout (TRACKER_TIMEOUT ) happen no new messages posted to the topic and last one contains "rssi" property.

Configuration

{
    "adapter": "",
    "bindkeys": {},
    "blacklist": [],
    "ble": 1,
    "ble_scan_time": 10,
    "ble_time_between_scans": 20,
    "discovery": "1",
    "discovery_device_name": "TheengsGateway",
    "discovery_filter": "[IBEACON]",
    "discovery_topic": "homeassistant",
    "enable_tls": 0,
    "enable_websocket": 0,
    "general_presence": 1,
    "hass_discovery": "1",
    "host": "core-mosquitto",
    "identities": {
        "redacted": "redacted"
    },
    "log_level": "INFO",
    "lwt_topic": "home/TheengsGateway/LWT",
    "pass": "redacted",
    "port": 1883,
    "presence": 1,
    "presence_topic": "home/presence/TheengsGateway",
    "publish_advdata": 0,
    "publish_all": 1,
    "publish_topic": "home/TheengsGateway/BTtoMQTT",
    "scanning_mode": "active",
    "subscribe_topic": "home/+/BTtoMQTT/undecoded",
    "time_format": "0",
    "time_sync": [],
    "tls_insecure": 1,
    "tracker_timeout": 60,
    "user": "addons",
    "whitelist": [
        "redacted"
    ]
}

Expected behavior
I expect that after timeout configured if device is offline it should be marked as "not_home".

Screenshots
The last message was posted 30 minutes ago, and home assistant state is still "home".

Screenshot 2024-11-10 at 18 15 43
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

1 participant