Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


peejayw

1913 posts

Uber Geek
+1 received by user: 123


#302500 28-Nov-2022 08:51
Send private message

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.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Create new topic
boosacnoodle
1269 posts

Uber Geek
+1 received by user: 855


  #3002361 28-Nov-2022 09:29
Send private message

There is an integration for Huawei LTE routes but not for fixed-line that I can see.




Chippo
129 posts

Master Geek
+1 received by user: 52

Trusted

  #3002471 28-Nov-2022 10:35
Send private message

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.


rscole86
4999 posts

Uber Geek
+1 received by user: 462

Moderator
Trusted
Lifetime subscriber

  #3002581 28-Nov-2022 12:12
Send private message

Have you checked the app sensor settings?
There are plenty of network sensors in there, I assume setting it to detect which wifi SSID it is connected to will do what you need?



peejayw

1913 posts

Uber Geek
+1 received by user: 123


  #3002588 28-Nov-2022 12:35
Send private message

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.


rscole86
4999 posts

Uber Geek
+1 received by user: 462

Moderator
Trusted
Lifetime subscriber

  #3002618 28-Nov-2022 13:40
Send private message

Open the Home Assistant app on your phone, Settings > Companion App > Manage Sensors.

timmmay
20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #3002625 28-Nov-2022 13:53
Send private message

You can do it three ways I know of:

 

  • Via your router
  • Via the app
  • Using a Life360 integration (if you're a user)

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.


 
 
 

Shop now on AliExpress (affiliate link).
hairy1
3352 posts

Uber Geek
+1 received by user: 644

ID Verified
Trusted
Lifetime subscriber

  #3002660 28-Nov-2022 15:26
Send private message

Best thing for this is a bayesian sensor that aggregates multiple sensors.

Cheers, Matt

https://www.home-assistant.io/integrations/bayesian/




My views (except when I am looking out their windows) are not those of my employer.


hairy1
3352 posts

Uber Geek
+1 received by user: 644

ID Verified
Trusted
Lifetime subscriber

  #3002665 28-Nov-2022 15:28
Send private message

Actually, it's easier than that... Just add all your trackers to the person

https://community.home-assistant.io/t/presence-logic/380776




My views (except when I am looking out their windows) are not those of my employer.


peejayw

1913 posts

Uber Geek
+1 received by user: 123


  #3002679 28-Nov-2022 16:11
Send private message

Wow, lots to digest there. Thanks everyone for the input.




 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


timmmay
20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #3002798 28-Nov-2022 20:27
Send private message

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
2114 posts

Uber Geek
+1 received by user: 2060

Trusted
Lifetime subscriber

  #3002833 28-Nov-2022 22:39
Send private message

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?





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.

 
 
 
 

Shop now on Samsung phones, tablets, TVs and more (affiliate link).
timmmay
20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #3002899 29-Nov-2022 06:55
Send private message

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.


hairy1
3352 posts

Uber Geek
+1 received by user: 644

ID Verified
Trusted
Lifetime subscriber

  #3002901 29-Nov-2022 07:02
Send private message

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.


timmmay
20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #3002984 29-Nov-2022 10:34
Send private message

hairy1:

 

Min aggregation is straightforward. There is an integration for that.

https://www.home-assistant.io/integrations/min_max/

 

 

That was straightforward, thanks!


allio
895 posts

Ultimate Geek
+1 received by user: 529


  #3003059 29-Nov-2022 12:00
Send private message

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.


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.