Domoticz - Control at your fingertips

Send Push-Notifications by pushsafer.com to iOS, Android and Windows 10 devices out of Domoticz - Control at your fingertips

How to send a push-notification with image out of Domoticz

Download & Install

The Pushsafer Notification-Plugin is preinstalled from version 3.5687.

the transmission and display of an image in a push-notification needs version >=3.7153

Usage

  1. open the settings
  2. go to the notification tab
  3. in the Pushafer area activate the Plugin
  4. enter your private or alias key
  5. optionally you can add an absolute image url, e.g. from an ip camera or a door bell
  6. Lastly, save the settings
    Pushsafer Domoticz PlugIn Setting for Push Notifications
  7. if all data has been entered correctly, a test message can be sent after saving
  8. now the Pushsafer plugin is ready and can be used
  9. simply press the button "Notification" on the desired device
    Pushsafer Domoticz PlugIn send Push Notifications with image
  10. on the next page, enable the Pushsafer service, add a message for this action and click add
    Pushsafer Domoticz PlugIn Push Notifications

Advanced Configuration

available from Version >3.7502

To customize your notification to your fit, you can enter Pushsafer parameters in the Custom Message field.

The following parameters are available and must always be entered separately in this order by a PIPE character!

The domoticz priority is passed throught the pr parameter of pushsafer!

PrivateOrAliasKey|DeviceID|Icon|Sound|Vibration|Title|Message|ImageURL|URL|URLTitle|Time2Live

Pushsafer Domoticz PlugIn Advanced Settings for Push Notifications

Examples

XXXXXXXXXXXXXXXXXXXX|269|82|6|3|Domoticz|Switch on|http://user:pass@192.168.2.28:8080/snapshot.cgi|http://www.pushsafer.com|Open Pushsafer|1000

XXXXXXXXXXXXXXX||83|7|1|Domoticz|Switch off|http://user:pass@192.168.2.28:8080/snapshot.cgi|||0

Domoticz Blockly Example

Pushsafer Domoticz Blockly Push Notifications

Domoticz DzVents Example

return {
    on = {
        devices = {
            'Switch' --Device Name
        }
    },
    logging = {
        level = domoticz.LOG_DEBUG,
        marker = 'PushsaferLog',
    },
    execute = function(domoticz, device)
        domoticz.notify("subject","PrivateOrAliasKey|DeviceID|Icon|Sound|Vibration|Title|Message|ImageURL|URL|URLTitle|Time2Live", domoticz.PRIORITY_NORMAL,nil,nil,domoticz.NSS_PUSHSAFER)
    end
}

return {
    on = {
        devices = {
            'Switch' --Device Name
        }
    },
    logging = {
        level = domoticz.LOG_DEBUG,
        marker = 'PushsaferLog',
    },
    execute = function(domoticz, device)
        domoticz.notify("subject","PrivateOrAliasKey|DeviceID|11|12|3|dzVents " .. device.name .. " is " .. device.state .. "|Test Message|http://admin:ks1605@192.168.2.222:8088//tmpfs/snap.jpg|https://www.pushsafer.com|Open Pushsafer|0", domoticz.PRIORITY_NORMAL,nil,nil,domoticz.NSS_PUSHSAFER)
    end
}


© 2016 - 2024 Pushsafer.com, All rights reserved.