Comments (3)
Hi again,
Of course, backward compatibility should and will be maintained when applying this improvement to any of the existing service plugin configurations.
Let me reference both patches as examples which demonstrate the corresponding improvement for the Pushsafer service configuration, while retaining compatibility with the previous configuration layout.
With kind regards,
Andreas.
from mqttwarn.
Hi again,
at #632 (comment), we reported about improvements to the Frigate ยป Forward events and snapshots to ntfy integration tutorial.
This also utilizes the improved way of defining named parameters within target address descriptors. I think it works very well, and I haven't heard about any compatibility problems yet.
[config:ntfy]
targets = {
'test': {
'url': 'http://username:password@localhost:5555/frigate-testdrive',
'file': '/tmp/mqttwarn-frigate-{camera}-{label}.png',
'click': 'https://httpbin.org/anything?camera={event.camera}&label={event.label}&zone={event.entered_zones[0]}',
# Wait for the file to arrive for three quarters of a second, and delete it after reading.
'__settings__': {
'file_retry_tries': 10,
'file_retry_interval': 0.075,
'file_unlink': True,
}
}
}
With kind regards,
Andreas.
from mqttwarn.
With GH-676, the Pushbullet service plugin now also uses the modernized variant, based on named parameters.
[config:pushbullet]
targets = {
"warnme" : {
"access_token": "a6FJVAA0LVJKrT8k",
"recipient": "[email protected]",
"recipient_type": "email",
},
"alertme" : {
"access_token": "a6FJVAA0LVJKrT8k",
"recipient": "ujpah72o0sjAoRtnM0jc",
},
}
from mqttwarn.
Related Issues (20)
- Receiving and processing MQTT messages from Frigate NVR HOT 42
- Non-UTF-8 encoding causes error HOT 5
- Documentation vs. code: Clarify and/or fix logic of "filter" function HOT 3
- [Google Chat] Migrate from Google Hangouts HOT 1
- [Google IoT Core] Migrate from Xively HOT 2
- [FreeBSD] ModuleNotFoundError: No module named 'versioningit' HOT 37
- Remove `gss` service plugin in favor of `gss2`? HOT 3
- mqttwarn 0.34.0 sdist size change HOT 1
- mqttwarn nine years ago HOT 6
- Absorb mqttshark? HOT 5
- Documentation on Image-based installation is wrong HOT 3
- [Nextcloud] Verify thoroughness of implementation over Apprise
- [ntfy] Bug with notification messages longer than 76 characters HOT 5
- Improve ntfy documentation on authorization and/or add authorization header HOT 4
- Docker issue with pushbullet (mqttwarn-full) HOT 8
- [ntfy] Error if message contains newline character `\n` HOT 14
- [pushover] unable to decode base64 encoded image
- Nightly to latest docker build - what is the trigger for this? HOT 5
- Object of type bytes is not JSON serializable HOT 5
- Use `dynamic-imports` for loading Python code at runtime
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mqttwarn.