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

Actionable notification response #1

Open
PierreScerri opened this issue Mar 22, 2019 · 1 comment
Open

Actionable notification response #1

PierreScerri opened this issue Mar 22, 2019 · 1 comment

Comments

@PierreScerri
Copy link

Hi

Trying to get actionable notification response to work in Node-RED:

configuration.yaml:

ios:
  push:
    categories:
      - name: shutter_open_while_away
        identifier: 'shutter_open_while_away'
        actions:
          - identifier: 'CLOSE_SHUTTERS'
            title: "Close Shutters"
            authenticationRequired: no
            destructive: no

Node-red sequence:

[{"id":"8dac9e29.0079b8","type":"server-events","z":"84230fa5.429b","name":"Close Shutters","server":"646a4a07.b2d144","event_type":"","x":620,"y":360,"wires":[["90bfa5cb.5c0a18"]]},{"id":"743f78dc.3cb048","type":"debug","z":"84230fa5.429b","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":930,"y":360,"wires":[]},{"id":"90bfa5cb.5c0a18","type":"switch","z":"84230fa5.429b","name":"","property":"payload.event.actionName","propertyType":"msg","rules":[{"t":"eq","v":"CLOSE_SHUTTERS","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":790,"y":360,"wires":[["743f78dc.3cb048"]]},{"id":"646a4a07.b2d144","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open"}]

When the action button is clicked, the following persistent notification is generated:

Login attempt failed

Login attempt or request with invalid authentication from 192.168.1.254

This is my router.

I'm stumped. What am I doing wrong?

@internet-conception
Copy link

+1
A specific "notify" node would be so great to manage all this aspects :p especially handling the actionable part... maybe one day...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants