Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added trigger filtering capabilities to the location node for specific events #4

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Commits on Oct 15, 2020

  1. Fixed spurious outputs when no location change?

    I believe that the entire member list was being sent in 2 cases: 1. when any member's location name had changed or when no members' location had changed... Although I think there's more to it and I suspect it has to do with different circles and places and there being only 1 "updated_locations" array...
    hepcat72 committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    b803a12 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2020

  1. Configuration menu
    Copy the full SHA
    73a74fe View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2020

  1. Accounted for overlapping named locations

    The same location can have a life360 place with a different name in a different circle. E.g. circles made by different users that invite one another. The way it was written, overlapping places cause spurious location events.
    hepcat72 committed Oct 17, 2020
    Configuration menu
    Copy the full SHA
    997861f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f71216 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ba70867 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ebb6e27 View commit details
    Browse the repository at this point in the history
  5. Tweaked node status output.

    Files checked in: nodes/*
    hepcat72 committed Oct 17, 2020
    Configuration menu
    Copy the full SHA
    320fd69 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2020

  1. Created edit dialog to support new first/last to arrive/leave feature…

    … that is planned.
    
    Files checked in: index.js nodes/location.* nodes/server.js
    hepcat72 committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    938dc6f View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2020

  1. Added the ability to trigger events based on the node filter settings.

    I have only tested the any circle, any event case.
    Also, this currently does not support multiple location nodes.
    
    Files checked in: nodes/location.js nodes/server.js
    hepcat72 committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    14b0bf2 View commit details
    Browse the repository at this point in the history
  2. Removed an invalid status update.

    Changed the changed value callback to an array to support multiple location nodes.
    Fixed a problem with the calculation of a location's previous occupancy.
    Added some debug statements.
    
    Files checked in: nodes/location.js nodes/server.js
    hepcat72 committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    caee3c3 View commit details
    Browse the repository at this point in the history
  3. Added Readme details

    hepcat72 committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    1d0cbf6 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' of https://github.com/hepcat72/node-red-contrib…

    …-life into first_arrive_leave_trigger
    hepcat72 committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    72dc3d5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c1b35dd View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2020

  1. Added support for disabling/deleting location nodes.

    Files checked in: nodes/location.html nodes/location.js nodes/server.js
    hepcat72 committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    7a8edfb View commit details
    Browse the repository at this point in the history
  2. Code cleanup.

    Files checked in: index.js nodes/location.html nodes/location.js nodes/server.js
    hepcat72 committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    7327caf View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2020

  1. Bug fix that prevented last to leave trigger from working.

    Files checked in: nodes/server.js
    hepcat72 committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    b3ca931 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2020

  1. Fixed another bug that calculates location population used for detect…

    …ing last to leave.
    
    Files checked in: nodes/server.js
    hepcat72 committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    d8270ce View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2020

  1. Finished debugging and testing. Mainly added debug mode for testing l…

    …eave events on startup.
    
    Files checked in: nodes/location.html nodes/location.js nodes/server.js
    hepcat72 committed Nov 8, 2020
    Configuration menu
    Copy the full SHA
    9d4f40f View commit details
    Browse the repository at this point in the history
  2. Bumped to version 1.0.

    Files checked in: package.json
    hepcat72 committed Nov 8, 2020
    Configuration menu
    Copy the full SHA
    3851d3f View commit details
    Browse the repository at this point in the history