Giter Club home page Giter Club logo

Comments (3)

iranl avatar iranl commented on July 23, 2024 1

State/AuthorizationId not changing with different codes/fingerprints is correct.
The keypad has one authorization (id) which is the same for all actions executed through the keypad, regardless of used code and method. Trigger and codeId are specific to certain codes and actions (e.g. fingerprint, arrow or code).

I do agree that it might not be the best value for the HA sensor.
I'll change it to index which will count up with every new log entry.

There are some more needed improvements on the rolling log as rebooting the ESP currently resets the rolling log and replays the max auth log count (default 5)

from nuki_hub.

propi62 avatar propi62 commented on July 23, 2024 1

i am testing a workaround with any statechange of timeSecond as trigger.

trigger:
  - platform: numeric_state
    entity_id:
      - sensor.nuki_garage_rolling_authorization_log
    attribute: timeSecond
    above: -1
    below: 61

action:
  - conditions:
      - condition: state
        entity_id: sensor.nuki_garage_rolling_authorization_log
        attribute: authorizationName
        state: garagehaus (Keypad)
    sequence:
      - service: cover.toggle
        target:
          entity_id: cover.garagentor_haus
        data: {}
      - service: notify.mobile_app
        data:
          title: garagehaus (Keypad) triggered
          message: ""

from nuki_hub.

propi62 avatar propi62 commented on July 23, 2024

an easy way to trigger automations if code/fingerprint is entered.
also trigger automation whene last key entered is the same as before.
if homeassistant reboots the last key entered should not trigger the automation.

from nuki_hub.

Related Issues (20)

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.