Currently my device tracker (mobile phone) source attribute is set to gps. I would like to set it to the modem (Huawei HG659). Can this be done? If so, how? Thanks.
![]() ![]() |
There is an integration for Huawei LTE routes but not for fixed-line that I can see.
If you're not specifically tied to the modem - switching to Unifi or another vendor with a native integration may be simpler for you than attempting to make it work with Huawei.
If not, you could use a static IP and the "Ping" integration to ping your devices - that sound like a terrible idea though.
I work for a global Data Protection Software company - But my opinions are my own.
I am stuck with the current modem.
Could you explain a bit more about network sensors?
Thanks.
I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.
You can do it three ways I know of:
The main issue I have is if you put your phone into airplane mode like I do at night some of these methods assume you're not at home. Life360 works well in that situation.
My views (except when I am looking out their windows) are not those of my employer.
My views (except when I am looking out their windows) are not those of my employer.
I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.
hairy1: Best thing for this is a bayesian sensor that aggregates multiple sensors.
Cheers, Matt
https://www.home-assistant.io/integrations/bayesian/
Nice, seems advanced.
Something vaguely similar I've been wondering. I have multiple temperature sensors and I want to combine them into one sensor - whichever is the lowest number as that's the one that'll be in the shade. Any idea of how to do that?
timmmay:hairy1: Best thing for this is a bayesian sensor that aggregates multiple sensors.
Cheers, Matt
https://www.home-assistant.io/integrations/bayesian/Nice, seems advanced.
Something vaguely similar I've been wondering. I have multiple temperature sensors and I want to combine them into one sensor - whichever is the lowest number as that's the one that'll be in the shade. Any idea of how to do that?
Ge0rge:
While I don't have an answer for you directly, do you use NodeRed with your home assistant instance? I can imagine doing what you are asking above very easily with a flow.
Nope, I don't know anything about NodeRed. I'll do some googling thanks.
Min aggregation is straightforward. There is an integration for that.
https://www.home-assistant.io/integrations/min_max/
My views (except when I am looking out their windows) are not those of my employer.
hairy1:
Min aggregation is straightforward. There is an integration for that.
https://www.home-assistant.io/integrations/min_max/
That was straightforward, thanks!
If you want to use connection to wifi as a proxy for presence, then this addon is by far the best I've found. Despite the name it works with any kind of device and is both lightning fast and reliable. You do need to set up static DHCP leases for each device you want to track but that's probably true for any method based on this technique.
![]() ![]() |