GithubHelp home page GithubHelp logo

homey-smartpresence's Introduction

Smart Presence

Detects the presence of humans by their smartphones. The app works on detecting closed TCP ports of smart phones on your Wifi networks. This means it functions without installing the Homey app, allowing you to detect guests as well.

The app does NOT support MAC-addresses, cause of limitations in Homey.

If you like this app, consider showing your support:

Adding device

For adding a device, please follow the following steps:

  1. Give guest your wifi password.
  2. Check the IP address off the smartphone. Most router user interfaces support this.
  3. Make a DHCP reservation for the IP address, this makes sure that the device will get the same address every time. Again: most routers support DHCP reservations in their user interface.
  4. Enter the IP address of the smartphone
  5. Check 'Is Guest' if the smartphone does belong to a house guest. Don't check it if the smartphone belongs to a household member.

Triggers

  • Specific user left
  • Specific user arrived
  • Someone came home
  • Someone left home
  • First person came home
  • Last person left home
  • A guest arrived
  • A guest left
  • The first guest arrived
  • The last guest left
  • A household member came home
  • A household member left home
  • The first household member came home
  • The last household member left home

Conditions

  • Someone is home
  • Someone left home
  • Having guests
  • Not having guests
  • Household members home
  • No household members home

Upcoming features

  • Drop the usage of devices (probably 0.5.0)
  • Anonymous presence (with the help of your other sensors, probably 0.5.0)
  • Room presence detection (with the help of your other sensors, probably 0.5.0)
  • Feature requests can be posted on BitBucket.org

Release history

0.5.1

  • Device tile will now greyout when an user is not home and vice versa

0.5.0

  • Workaround for V2

0.4.1

  • Fixed a bug introduced in 0.4.0

0.4.0

  • Added person specific triggers and conditions.
  • Dropped the "OFFLINE" status from devices that are not present, this collided with person specific conditions.

0.3.0

  • Refactored the entire app to use less of homey's hardware.
  • Add better explanation when adding a device.

0.2.7

  • When a host was on the network, but isn't there for a quarter of the away delay. The host will be checked stressful, hoping this will fix issues with battery saving phone configurations. When the host is found again, it will use the configured host check interval. Results with LG G4 seem promising.

0.2.6

  • Bugfix.

0.2.5

  • Rollback experimental changes. Re-added host interval and host timeout settings.
  • Fixed 2 typo's.
  • Add support for windows phone by allowing you to set the TCP port numbers that the app will scan on. A port from this list is chosen randomly every time the app scans for presence.

0.2.4

  • Checkboxes in flow cards work.
  • Changed compatiblity to 1.x.

0.2.3

  • Experimental changes.

0.2.2

  • Improved dutch translations
  • Remove host interval and host timeout settings. It will always run with interval 1 and timeout 3.
  • Fix 'log is undefined' exception.
  • Changed "Offline" to "Away" when a device is away.

0.2.1

  • Household member triggers & conditions.
  • Add 'Away delay'. This is required because some smartphones disconnect from the Wifi. They reconnect once in a while. This setting allows you to specify how it should take before the smartphone gets the 'Away' status.
  • Monkey proofing.

0.2.0

  • Guests triggers & conditions.
  • Adding 'is guest' to device config.

0.1.0

  • Initial presence implementation, using the Net Scan app.
  • Someone / nobody triggers & conditions

Related projects

If you're looking for a TCP port monitoring app, checkout my Net Scan app.

homey-smartpresence's People

Contributors

matrover avatar tobiaslins avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

homey-smartpresence's Issues

App won't start on homey fw 5.0.0 rc17

Hello Tobias.

I just installed homey fw 5.0.0 rc17 and smart presence won't start anymore. It is saying incompatible SDK. This is possible, because they removed SDK v1 and only available is V2 and V3
Is there a fix for it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.