Known devices - BT Hub 5, 404 Response

Hi there, I am new to using Home Assistant and I’m trying to set up tracking for my phone. I have the following in my configuration.yaml

device_tracker:

  • platform: bt_home_hub_5
    host: 192.168.1.254
    username: admin
    password: ########
    interval_seconds: 180
    consider_home: 40

I have also set my android phone in the known devices as follows

android-abefbf17b5d423:
name: Stuart
mac: DB:9B:D3:1B:39:8A
track: yes
hide_if_away: no

This shows on fine but shows me as “Away” when I’m not actually away I am connected to my WiFi network, I clicked on Developer Tools → States and it shows my device only without the “-” between android and abe… so it shows like

androidabefbf17b5d423

I was wondering if this missing dash is the issue? Can anyone help me figure out what my problem is here, been stumped for a while now with this. Thanks in advance.

Have you tried to delete the entry in known devices and let it re-find you?

Yeah, I completely deleted the known devices file in hope it would find all the devices on my network but nothing at all shows up. I’m very confused as why it doesn’t pick up anything

Did you add the config for your router?

What do you mean by that?

Sorry, didn’t see you had bt hub configured.

Delete the “known_devices.yaml” file and reboot.

So after looking at the log file I found the following

2017-06-11 19:47:57 ERROR (Thread-3) [homeassistant.components.device_tracker.bt_home_hub_5] Invalid response from Home Hub: < Response [404] >
2017-06-11 19:47:57 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform bt_home_hub_5

Any help from here? Not sure why it would return a 404 error as I can reach the page myself in a browser and yes my internet is up haha

@Coolie1101 already tried that mate

Did you try without username and password?

The component doesn’t list it as a requirement or option.

Just tried that there too. Same error in the log file…

Looks like HA can’t reach that subnet.

What platform are you running HA on?

Hassbian on my raspberry pi

Try pinging 192.168.1.254 from putty

Yeah can reach it from the pi/putty no issues pinging

Are you using https in the browser?

Nope not using https anywhere

I’m stumped, sorry.

Try rebooting your Pi.

Tried that plenty of times, I’m even using ethernet.

Cheers anyway, hopefully someone might know something to try :slight_smile:

Are there any other errors in the log besides the two you listed above concerning the hub?

I ve got the same problem :frowning2:
Is it possible to have more verbosity to understand what`'s happening ? I’m just starting with HA.

@Coolie1101 Nothing else appearing in the logs except for them two lines.

@Thunders I’m also just starting with HA and so far have been really looking forward to developing my HA system overtime, but I seem to be held back a lot due to this issue… Kinda annoying. It seems to be that for some unknown reason my HA system (Raspberry Pi) can’t communicate with my BT Hub (192.168.1.254) however it is able to ping it without any issues, I have full access to the internet so I’m kinda stumped. You having the same problem?