diff --git a/FHEM/98_NTFY_CLIENT.pm b/FHEM/98_NTFY_CLIENT.pm index dd10ab6..3b36e1f 100644 --- a/FHEM/98_NTFY_CLIENT.pm +++ b/FHEM/98_NTFY_CLIENT.pm @@ -477,16 +477,84 @@ sub NTFY_Attr ######################################### =pod -=item summary devices to send and receive push notifications through ntfy.sh and self hosted instances - -

NTFY_CLIENT

-
  • - ntfy.sh is a service to publish messages to and receive messages from topics. It is also possible - to host own instances of the service. The service can be used from the commandline using curl or - wget and also from smartphone applications. The later are available for IOS and Android. -
  • -
  • - Module development takes place at https://rm.byterazor.de/projects/fhem-ntfy. -
  • +=item summary A module for pushing and receiving notifications from an ntfy.sh compatible server + +=item summary_DE Ein module zu senden und empfangen von Benachrichtigungen über einen ntfy.sh kompatiblen server + +=begin html + +

    NTFY_CLIENT

    + +
    + NTFY_CLIENT is a module for connecting to an ntfy.sh compatible server.
    + It supports ntfy.sh in the cloud but also self-hosted instances as long as + the fhem server is able to connect to it.
    + +

    Wiki

    + The wiki for this module can be found here. + +

    Integration with globalMSG

    + This module integrates with the fhem messaging system.
    + To use it you have to set the msgCmdPush attribute of the + globalMSG device to someting like
    + set %DEVICE% publish @%RECIPIENT% !%PRIORITY% *%TITLE% %MSG% +
    + After that you can use the msg to send out notifications to topics configured within devices. +
    + Please look for the MSG documentation for more information. + + + +

    Define

    + define NTFY0 NTFY_CLIENT <url> password=<password> user=<user> + +
    +
    url
    +
    The url to the ntfy.sh compatible server. This parameter is mandatory.
    +
    password
    +
    If you have an account at one ntfy server you can put the password in here. This parameter is optional.
    +
    user
    +
    If you have an account at one ntfy server you can put the username in here. This parameter is optional.
    +
    + + If you want to use token authentication just set the token as the password and ignore the user parameter. + + +

    Set

    + The module supports the following set commands +
    +
    publish
    +
    + This set command publishes a notification through the configured ntfy server.
    + set publish @fhem-topic #keyword !high *title this is my message
    + The following key tags are supported right now + + Everything without a prefix is considered the messages and is concatenated. +
    +
    + + +

    Get

    + No get commands supported yet. + + +

    Attributes

    + No own attributes supported yet. + +=end html + +=begin html_DE + +

    NTFY_CLIENT

    + + blabla + +=end html_DE + =cut \ No newline at end of file