Announcement

Collapse
No announcement yet.

How to use BLLAN as occupancy sensor

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • cheeryfool
    replied
    Originally posted by randman View Post
    It's interesting how BLLAN can report the different iPhone states (charging, not charging, etc.). I would consider replacing my access points with all Apple if needed if this were the best occupancy solution.
    Just to be clear, it's not reporting the different states, but it is reporting the phone as online, no matter which of those 4 states (from my earlier post) the phone is in.

    So, when I come home my BLLAN device for my phone changes to Online and only when I leave home or the phone completely dies (out of battery) does it report as Offline

    Leave a comment:


  • randman
    replied
    Originally posted by cheeryfool View Post
    On the power consumption, I can't really confirm either way at the moment. My phone is 21 months old and gets heavy usage every day, so the battery would already be far below it's original capability. I have also been playing with all sorts of other location solutions, including IFTTT, FollowMee, GeoFancy and GeoFency, although never more than 2 at a time on top of BLLAN. My phone charges all night and if I don't plug it in at some point later in the day, it will die. How much of this is due to location determining solutions vs just the age of the battery I don't know. I will try it sometime with everything turned off to see how much improvement I get.

    Will test using a Netgear AP instead of the Apple one this evening to see if BLLAN still sees the phone in sleep mode. My IP addresses are assigned by a FiOS router/modem - i.e. I never had the Apple AP handle that, so that's already out of the mix.
    It's interesting how BLLAN can report the different iPhone states (charging, not charging, etc.). I would consider replacing my access points with all Apple if needed if this were the best occupancy solution.

    Leave a comment:


  • cheeryfool
    replied
    Originally posted by randman View Post
    I have 3 access points, only 1 of which is Apple, so I'm interested to know if your configuration works with non-Apple access points. Also, is your iPhone's power consumption any different or the same whether using BLLAN or not?
    On the power consumption, I can't really confirm either way at the moment. My phone is 21 months old and gets heavy usage every day, so the battery would already be far below it's original capability. I have also been playing with all sorts of other location solutions, including IFTTT, FollowMee, GeoFancy and GeoFency, although never more than 2 at a time on top of BLLAN. My phone charges all night and if I don't plug it in at some point later in the day, it will die. How much of this is due to location determining solutions vs just the age of the battery I don't know. I will try it sometime with everything turned off to see how much improvement I get.

    Will test using a Netgear AP instead of the Apple one this evening to see if BLLAN still sees the phone in sleep mode. My IP addresses are assigned by a FiOS router/modem - i.e. I never had the Apple AP handle that, so that's already out of the mix.

    Leave a comment:


  • randman
    replied
    Originally posted by cheeryfool View Post
    Hmmm. Not sure why it's working for me. I have mine configured with static IP and then the BLLAN device has both that IP and the MAC address defined. I have it configured to ping every 60 secs and report offline after 3 missed pings.

    When I woke up this morning it was showing online for 10h 40m which is correct from when I came home last night. During that time the phone has been in 4 states:
    - In use charging
    - in use not charging
    - screen asleep/locked charging
    - screen asleep/locked not charging

    I just read something about possible differences when connected to an Apple AP vs a non-Apple AP. We use an Apple AP the majority of the time.

    If nobody has figured this out by this evening I will try connecting to my network on a non-Apple AP to prove/disprove that theory

    I will also dig around in the phone settings to see if I can see anything obvious that I may have changed some time
    in the distant past.
    I have 3 access points, only 1 of which is Apple, so I'm interested to know if your configuration works with non-Apple access points. Also, is your iPhone's power consumption any different or the same whether using BLLAN or not?

    Leave a comment:


  • cheeryfool
    replied
    Originally posted by TomTom View Post
    Just installed plugin and my iphone 5s -shows offline after the 1 min 20sec after the screen goes off? Any thoughts?

    Hmmm. Not sure why it's working for me. I have mine configured with static IP and then the BLLAN device has both that IP and the MAC address defined. I have it configured to ping every 60 secs and report offline after 3 missed pings.

    When I woke up this morning it was showing online for 10h 40m which is correct from when I came home last night. During that time the phone has been in 4 states:
    - In use charging
    - in use not charging
    - screen asleep/locked charging
    - screen asleep/locked not charging

    I just read something about possible differences when connected to an Apple AP vs a non-Apple AP. We use an Apple AP the majority of the time.

    If nobody has figured this out by this evening I will try connecting to my network on a non-Apple AP to prove/disprove that theory

    I will also dig around in the phone settings to see if I can see anything obvious that I may have changed some time in the distant past.

    Leave a comment:


  • Blade
    replied
    Originally posted by TomTom View Post
    Are any of you noticing high cpu usage with BLLAN? Read that on one of the other post, but wasn't sure if it was just a user set up issue or plugin issue.
    I am not seeing it on my end. There was a user seeing it but I do not think there are a lot of people reporting it.
    What type of machine are you running it on?
    If you want to log a ticket on my web site and capture a debug log of the high CPU and attach the debug log zipped I can have a look

    Leave a comment:


  • TomTom
    replied
    Originally posted by cheeryfool View Post
    My iPhone 5S works very well with BLLAN
    Just installed plugin and my iphone 5s -shows offline after the 1 min 20sec after the screen goes off? Any thoughts?

    Leave a comment:


  • TomTom
    replied
    Are any of you noticing high cpu usage with BLLAN? Read that on one of the other post, but wasn't sure if it was just a user set up issue or plugin issue.

    Leave a comment:


  • randman
    replied
    Originally posted by rprade View Post
    My iPhone 5 would go to sleep and it wouldn't work. I think my wife's Android worked. We switched to iPhone 6 plus and they seem to respond to pings as long as they are home. I've been home for the last couple of days and my wife got home from work at 6:33. As you can see from the screenshot, they have continually responded to pings.

    This may be new with iOS 8 or with the iPhone 6, but it didn't work last year with my iPhone 5.
    I have an iPhone 6 Plus as well. When I turn it off using its right button, I can no longer ping it. Now, the phone really isn't off, since it can still send notifications for emails, text messages, etc. so it's definitely not asleep, although ping stops responding. So, I!m curious that your ping contnues to work even if you haven't used the iPhoone for a long time.

    I haven't tried BLLAN yet but wanted to first see if it can be reliably used for occupancy detection.

    Another option is this:

    http://board.homeseer.com/showthread...ight=Occupancy

    But if BLLAN can be made to work, it's a simpler, possibly more secure option.

    Leave a comment:


  • cheeryfool
    replied
    My iPhone 5S works very well with BLLAN

    Leave a comment:


  • rprade
    replied
    Originally posted by randman View Post
    I was wondering if/how BLLAN can be used to detect if me or my wife are home based on the presence of our iPhones. If I use my router to reserve IP addresses for our iPhones, then I suppose they can be pinged. However, if they go to sleep, then ping won't work. I think BLLAN can use WOL to wake them? But then, they wouldn't go to sleep if polled regularly and would just consume a lot more power?
    My iPhone 5 would go to sleep and it wouldn't work. I think my wife's Android worked. We switched to iPhone 6 plus and they seem to respond to pings as long as they are home. I've been home for the last couple of days and my wife got home from work at 6:33. As you can see from the screenshot, they have continually responded to pings.

    This may be new with iOS 8 or with the iPhone 6, but it didn't work last year with my iPhone 5.
    Attached Files

    Leave a comment:


  • randman
    started a topic How to use BLLAN as occupancy sensor

    How to use BLLAN as occupancy sensor

    I was wondering if/how BLLAN can be used to detect if me or my wife are home based on the presence of our iPhones. If I use my router to reserve IP addresses for our iPhones, then I suppose they can be pinged. However, if they go to sleep, then ping won't work. I think BLLAN can use WOL to wake them? But then, they wouldn't go to sleep if polled regularly and would just consume a lot more power?
Working...
X