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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] IFTTT Webhook Notification #1

Closed
DJay-X opened this issue Apr 23, 2020 · 7 comments
Closed

[FEATURE REQUEST] IFTTT Webhook Notification #1

DJay-X opened this issue Apr 23, 2020 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@DJay-X
Copy link

DJay-X commented Apr 23, 2020

@potrudeau First of all thanks for your work on this plugin and sharing with the community. 馃檹

At them moment I am using homebridge-notificationPlugin to get Notifications pushed to show in a fancy way that something was triggert. See Screenshot.
Unfortunately the plugin is not maintained since 3 years and I got the impression that is not working properly anymore. Im using 26 of this "build" notifications.

Napkin 23 04 20, 1 44 02 PM

Do you see a way to integrate IFTTT Notification also to your messenger as a service?

With homebridge-notification the config looks like this

{
            "accessory": "Notification",
            "name": "Notify Wasserkocher ein",
            "ifttt_api_key": "xxxxxxxxxxxxxx",
            "ifttt_event": "Kettle_on_03",
            "ifttt_message": "Wasserkocher ist eingeschaltet",
            "ifttt_mute_notification_interval_in_sec": 10
        },

It triggers a Webhook to IFTTT and the IFTTT App is then pushing a rich notification including an Image.

Thanks in advance for the time you invest and for your consideration.

Napkin 23 04 20, 1 36 01 PM

@potrudeau
Copy link
Owner

IFTTT was always planned for this plugin! I should be available over the new few days.

The code is written and I'm currently testing. The last step before releasing is implemeting the Homebridge Plugin Settings GUI.

I will close this issue when the new version (0.0.5) will be released. ;)

@DJay-X
Copy link
Author

DJay-X commented Apr 23, 2020

Wow. Thanks for your fast reply and the positive feedback. This is awesome. Thank you so much.
Then I can finally switch to your plugin and still get richt text notifications including picture with IFTTT. 馃憤

However, is it also possible to use Pushover and include an image directly and a URL to open with your plugin right now?

Something like

"messages": [
              {
                  "type": "pushover",
                  "name": "Pushover message",
                  "text": "This is a test",
                  "sound": "pushover",
                  "device" : "iPhone",
                  "image" : "https://i.imgur.com/edPcUfc.png",
                  "url" : "evehome://",
                  "priority": 0
              },

Anyway, thanks again for your support and the time you are investing.

@potrudeau
Copy link
Owner

Pushover does not have an image property. But it could send HTML messages. I haven't implemented this but it could be done. Your texte could then have an html img in it.

@potrudeau potrudeau added the enhancement New feature or request label Apr 23, 2020
@potrudeau potrudeau self-assigned this Apr 23, 2020
@potrudeau
Copy link
Owner

IFTTT is now implemented. You can now use it, or use Pushover! ;P

@DJay-X
Copy link
Author

DJay-X commented Apr 25, 2020

Thanks @potrudeau
How can I use Pushover and IFTTT configured in the same config.json? 馃

@DJay-X
Copy link
Author

DJay-X commented Apr 25, 2020

Figured it out. 馃槵

{
            "name": "Messenger",
            "services": {
                "pushover": {
                    "user": "xxxxxxx",
                    "token": "xxxxxx"
                },
                "ifttt": {
                    "key": "xxxxxxxx"
                },
                "email": {
                    "smtpPort": 8080
                }
            },
            "messages": [
                {
                    "name": "Test IFTTT",
                    "type": "ifttt",
                    "event": "mikettle_done",
                    "value1": "Der Wasserkocher ist fertig.",
                    "value2": "Zeile 2",
                    "value3": "Zeile 3"
                },
                {
                    "name": "Test-Pushover-Messages",
                    "type": "pushover",
                    "text": "<img scr='https://i.imgur.com/edPcUfc.png'>",
                    "device": "iPhone11Pro",
                    "priority": 0,
                    "sound": "pushover"
                },
                {
                    "name": "Test2-Pushover-Messages",
                    "type": "pushover",
                    "text": "This is only a test",
                    "device": "iMac,iPhone11Pro",
                    "priority": 0,
                    "sound": "pushover"
                }
            ],
            "accessory": "HomebridgeMessenger"
        }

@potrudeau
Copy link
Owner

Good! 馃憤

FYI, I have a full example available here.

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

No branches or pull requests

2 participants