frab
(Luca)
September 26, 2017, 9:33pm
1
Hi, I’m wondering if it’s possible to add a custom location reported by DD-WRT device_tracker and similar router-based device trackers.
For exampe, in my setup I have two DD-WRT routers.
device_tracker:
- platform: ddwrt
host: 192.168.1.6
username: admin
password: mypass
track_new_devices: false
interval_seconds: 30
- platform: ddwrt
host: 192.168.1.5
username: admin
password: mypass
track_new_devices: false
interval_seconds: 30
And they together can track my device home/not_home status.
Since one AP is in the very south of the house, and the other is in the very north of the house, they could help me get the locaton of the device I’m tracking.
I was thinking, if it would be possible to customize the “home” status, so the device location can be more precise.
Something like:
device_tracker:
- platform: ddwrt
home_location: 'home_south'
- platform: ddwrt
home_location: 'home_north"
Of course I’m aware there are more accurate methods of in-door location, like: Owntracks, Find, Bluetooth beacons, but every needs something like an App, or adding more hardware, while Acesss Points already are in every house.
Do you think this can be useful for somebody else in similar situation?
Thanks
rabittn
(Ryan)
September 27, 2017, 11:15am
2
There are a couple of other feature requests just like this one.
Hello, I am wondering if it is possible to assign presence detection like AsusWRT to another zone as home.
I want to achieve following, I have remote router which is not home, and I would like to monitor connected devices , but logically if there is some device connected it is not home, so I would need to create zone for example work , and there would be asuswrt router assigned or nmap or anything. My goal is to monitor remote location presence without need to run separate HASS installation in …
Hi, I’d like to be able to define a default zone for a device tracker.
If I have access to wifi presence in several physical locations it would be nice to be able to be able to say those devices are in this zone.
I guess the other way to get the same effect is to feed a lat/long as an optional extra with the device tracker then the devices would be sorted into zones with overlapping areas.
Hi,
I would propose an extension for other device tracker components like UniFi, nmap, DDWRT, etc., to be able to specify the GSP coordinates and radius of detection for that specific device tracker, so we can detect zone entering and exiting. Currently this is limited to iCloud and OwnTracks.
Example:
I have UniFi controller at home and at work, I would like for Home Assistant to be able to know via Zones that I’ve exited my home network, and when I have arrived at work. UniFi controller rep…
I wanted to suggest the option to include the possibility to have multiple home zones instead of just one. The current limitation of being in one zone only causes issues for which workarounds are possible but could be easily solved.
Concretely:
optional parameter in the zone definition (e.g. something like homezone: true
for those zones, the state is ‘home’ when a device is detected in it. An attribute value indicates which zone exactly.
for zones who don’t have this parameter, the current…
I started to look at the code but it appears that they way the code is written the minute a device is seen by a device tracker we assume it’s home.
Code change wise you would have to call the see service and place any “seen” device into whatever zone you would want.