Home Assistant Community

Eero Support

#41

Thanks for the quick fix @343max ! I’ve pushed an update to the device tracker for Home Assistant to mimic the changes. @cjs28 give it a try again :slight_smile:

No one that has it already integrated needs to update. It’s only for those who are just adding it fresh or needing a new session token.

0 Likes

#42

Thanks @343max and @Scythe for the quick turn around. The new fix worked perfectly, and I have this up and running.

0 Likes

#43

I am added this as device tracker and I am noticing it jump between home and away, while I am sitting here at home. Is there anything I can do to stablize this? I tried to adjust the time is checks the api by changing the value from 60 to 120 but it did not seem to make a difference. Anything else I can try?

@Scythe

0 Likes

#44

What is your consider_home set to? Can’t say I’ve had similar issues :confused:

0 Likes

#45

So my consider_home in my configuration.yaml file is set to 300. I have tried to increase and decrease that value and it really did not seem to matter what I set it at, the device tracker would flip from home to away.

Configuration.yaml:
# eero device tracker
- platform: eero_tracker
consider_home: 300
interval_seconds: 60

I did some digging and I noticed you can override the value for consider_home by setting it in the known_devices.yaml and that seems to be working. When connected to WIFI, it stays on home now instead of flipping back and forth.

known_devices.yaml
android:
hide_if_away: false
icon:
mac: ##:##:##:##:##:##
name: Android
picture:
consider_home: 300
track: true

Thanks for your help!

0 Likes

#46

@Scythe

So, I’m having some trouble setting this up. I’ve followed all the instructions and was able to get a token and that all seems fine. But when I set up a tracker, it doesn’t seem to be seeing the eero info. I’m pretty new as HA in general, so I could be setting it up completely wrong. Please help.

I have a known_devices.yaml file which was the devices I want to track, but when I view the state of the devices, I just get source_type: null for them.

Any ideas?

0 Likes

#47

Any luck @flippedcracker? Sorry, I just saw this in my inbox :slight_smile:

0 Likes

#48

No luck. I did figure out in the log that HA wants /device_tracker/eero_tracker.py to actually be /eero_tracker/device_tracker.py. But that didn’t fix it. I’m sure it’s something basic that I’m missing. I’m running HA in a docker on unraid if that means anything.

0 Likes

#49

Mine is working fine after slight modifications that had to be made for changes in HASS.IO 0.91, where I had to create a /config/custom_components folder and an eero_tracker folder under it and move the device_tracker.py file into it.

1.  The eero.session file remains in the root of /config
2.  device_tracker.py file is in /config/custom_components/eero_tracker
3.  eero_tracker.cpython-36.pyc & 37 and device_tracker.cpython-37.pyc files are in /config/custom_components/eero_tracker/__pycache__

My configuration.yaml contains the following:

device_tracker:
  - platform: eero_tracker
    consider_home: 240
    interval_seconds: 300

See: https://developers.home-assistant.io/blog/2019/02/19/the-great-migration.html

Thanks.

0 Likes

#50

Thanks for the info Bsheedy – I’ll work to backport those changes into the github. I did create an issue in the tracker for the big rename that needs to happen.

0 Likes

#51

@Scythe I’m still trying to work this out. I have noticed that re-running the eero_tracker_instantiate.py doesn’t populate the eero.session file with anything, other than the original login token. Maybe that has something to do with it? I’m not getting any errors, just not getting any information either.

0 Likes

#52

Are you using python3 or 2?

0 Likes

#53

Also updated the component to 1.0.4 – with the new custom_components structure thanks to a pull request. If you’re running the latest version of HA, upgrade the component so your integration won’t break with a future HA update.

Leave your eero.session and delete all the other eero_tracker files. Then just overwrite it with the latest zip and restart.

0 Likes

#54

I’m using python3.

0 Likes

#55

@Scythe
I’ve figured out my issue. I didn’t realize that my network was associated with a different phone number. Basic user error.

0 Likes

#56

Awesome! Glad it’s been figured out :slight_smile:

0 Likes