{"id":28510601,"url":"https://github.com/iobroker/iobroker.pushsafer","last_synced_at":"2025-07-03T05:32:06.279Z","repository":{"id":57275734,"uuid":"68637028","full_name":"ioBroker/ioBroker.pushsafer","owner":"ioBroker","description":"Send messages via pushsafer","archived":false,"fork":false,"pushed_at":"2025-01-01T03:17:18.000Z","size":506,"stargazers_count":4,"open_issues_count":12,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-08T23:05:25.486Z","etag":null,"topics":["iobroker","notifications","pushsafer"],"latest_commit_sha":null,"homepage":"https://www.pushsafer.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ioBroker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-19T19:05:56.000Z","updated_at":"2024-05-31T22:26:04.000Z","dependencies_parsed_at":"2024-04-21T21:08:35.344Z","dependency_job_id":"e872250e-1489-4d3c-8ee2-22e176ca93bc","html_url":"https://github.com/ioBroker/ioBroker.pushsafer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ioBroker/ioBroker.pushsafer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioBroker%2FioBroker.pushsafer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioBroker%2FioBroker.pushsafer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioBroker%2FioBroker.pushsafer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioBroker%2FioBroker.pushsafer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ioBroker","download_url":"https://codeload.github.com/ioBroker/ioBroker.pushsafer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioBroker%2FioBroker.pushsafer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263268536,"owners_count":23439968,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["iobroker","notifications","pushsafer"],"created_at":"2025-06-08T23:05:33.685Z","updated_at":"2025-07-03T05:32:06.271Z","avatar_url":"https://github.com/ioBroker.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](admin/pushsafer.png)\n# ioBroker pushsafer Adapter\n\n![Number of Installations](http://iobroker.live/badges/pushsafer-installed.svg) ![Number of Installations](http://iobroker.live/badges/pushsafer-stable.svg) [![NPM version](http://img.shields.io/npm/v/iobroker.pushsafer.svg)](https://www.npmjs.com/package/iobroker.pushsafer)\n[![Downloads](https://img.shields.io/npm/dm/iobroker.pushsafer.svg)](https://www.npmjs.com/package/iobroker.pushsafer)\n\n[![NPM](https://nodei.co/npm/iobroker.pushsafer.png?downloads=true)](https://nodei.co/npm/iobroker.pushsafer/)\n\n\nSend pushsafer notifications from ioBroker.\nPushsafer.com supports iOS, Android, Windows 10 (Phone \u0026 Desktop) devices and Webpush (Chrome \u0026 Firefox)\n\n## Configuration\nFirst of all it is required an account on pushsafer with a [private key](https://www.pushsafer.com/), instead of the private key, you also can use a alias key with predefined parameters.\n![Pushsafer configuration](img/Screen0.png)\n\n## Usage\nTo send notification from ScriptEngine just write: \n\n```javascript\n// send notification to all instances of pushsafer adapter\nsendTo(\"pushsafer\", \"message body\");\n\n// send notification to specific instance of pushsafer adapter\nsendTo(\"pushsafer.1\", \"message body\");\n\n// To specify subject or other options\nsendTo(\"pushsafer\", {\n   message:   'Test text',             // mandatory - your text message\n   title:     'SweetHome',             // optional  - your message's title, otherwise your app's name is used\n   device:    '12',                    // optional  - a device id or device group id (empty or a = all devices)\n   sound:     '2',                     // optional  - a number betwenn 0-60 (see pushsafers API description)\n   icon:      '2',                     // optional  - a number betwenn 1-177 (see pushsafers API description)\n   vibration: '0',                     // optional  - a number betwenn 0-3 (see pushsafers API description)\n   priority:  '2',                     // optional  - 2, 1, 0, -1, -2 (see pushsafers API description)\n   retry:     '600',                   // optional  - Integer 60-10800 (60s steps): Time in seconds, after a message shuld resend (see pushsafers API description)\n   expire:    '1200',                  // optional  - Integer 60-10800: Time in seconds, after the retry/resend should stop. (see pushsafers API description)\n   answer:    '1',                     // optional  - 1 = Answer is possible, 0 = Answer is not possible. (see pushsafers API description)\n   picture:   'absolutePathToPicture', // optional  - absolute path to picture or base64 coded image URL\n   picture2:  'absolutePathToPicture2',// optional  - absolute path to picture or base64 coded image URL\n   picture3:  'absolutePathToPicture3',// optional  - absolute path to picture or base64 coded image URL   \n   url:       'http://blabla',         // optional  - URL or URL scheme, https://www.pushsafer.com/en/url_schemes\n   urlTitle:  'Link to BLA',           // optional  - title of URL\n   time2live: '60',                    // optional  - Integer number 0-43200: Time in minutes, after which message automatically gets purged.\n});\n```\n\nYou can find API description [here](https://www.pushsafer.com/en/pushapi)\n\nYou can use blockly too.\n\n## Changelog\n### 1.1.0 (2024-04-21)\n* IMPORTANT: This adapter now requires Node.js 18.x+\n* (ChrMaass) Fix Blockly priority and answer\n\n### 1.0.3 (2021-01-13)\n* (Apollon77) update dependencies\n\n### 1.0.2 (2020-04-24)\n* (bluefox) Added color icon option\n* (bluefox) Refactoring\n\n### 0.1.9 (2019-09-19)\n* (appzer) add new sounds \u0026 icons, add new parameter (priority, retry, expire, answer)\n\n### 0.1.8 (2017-09-12)\n* (bluefox) use new pushsafer package\n\n### 0.1.7 (2016-10-19)\n* (appzer) implement time2live parameter\n\n### 0.1.6 (2016-10-17)\n* (bluefox) implement picture send\n* (bluefox) add blockly\n\n### 0.1.3 (2016-09-21)\n* (bluefox) fix config dialog\n\n### 0.1.2 (2016-09-21)\n* fixed error with private key\n\n### 0.1.0 (2016-08-28)\n* filter out double messages\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014-2024 bluefox \u003cdogafox@gmail.com\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiobroker%2Fiobroker.pushsafer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiobroker%2Fiobroker.pushsafer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiobroker%2Fiobroker.pushsafer/lists"}