{"id":28282330,"url":"https://github.com/bondrogeen/iobroker.paw","last_synced_at":"2025-10-13T20:39:09.468Z","repository":{"id":46211363,"uuid":"84671946","full_name":"bondrogeen/ioBroker.paw","owner":"bondrogeen","description":"Драйвер для iobroker","archived":false,"fork":false,"pushed_at":"2021-11-06T14:03:06.000Z","size":40508,"stargazers_count":14,"open_issues_count":6,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-11T11:15:11.503Z","etag":null,"topics":["android","iobroker","smarthouse"],"latest_commit_sha":null,"homepage":null,"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/bondrogeen.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}},"created_at":"2017-03-11T18:40:30.000Z","updated_at":"2021-08-02T12:46:54.000Z","dependencies_parsed_at":"2022-09-10T11:21:27.853Z","dependency_job_id":null,"html_url":"https://github.com/bondrogeen/ioBroker.paw","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bondrogeen/ioBroker.paw","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bondrogeen%2FioBroker.paw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bondrogeen%2FioBroker.paw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bondrogeen%2FioBroker.paw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bondrogeen%2FioBroker.paw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bondrogeen","download_url":"https://codeload.github.com/bondrogeen/ioBroker.paw/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bondrogeen%2FioBroker.paw/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016929,"owners_count":26085910,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["android","iobroker","smarthouse"],"created_at":"2025-05-21T14:22:02.057Z","updated_at":"2025-10-13T20:39:09.464Z","avatar_url":"https://github.com/bondrogeen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](admin/paw.png)\n\n# ioBroker.paw 2  BETA\n=================\n\n![Number of Installations](http://iobroker.live/badges/paw-installed.svg) ![Number of Installations](http://iobroker.live/badges/paw-stable.svg) [![NPM version](http://img.shields.io/npm/v/iobroker.paw.svg)](https://www.npmjs.com/package/iobroker.paw)\n[![Downloads](https://img.shields.io/npm/dm/iobroker.paw.svg)](https://www.npmjs.com/package/iobroker.paw)\n\n[![NPM](https://nodei.co/npm/iobroker.paw.png?downloads=true)](https://nodei.co/npm/iobroker.paw/)\n\n## Description\n\nIt is an adapter to control Android devices. \nIt can speak texts, control volume, make calls, vibrate, and much more ...\nTasker and Locale Plug-in support.\n\n## Install the program and configure the adapter.\n\n\n\u003e !!! Do not forget to update the adapter with the application. If you use the old version, errors may occur.\n\n\u003ca href=\"https://play.google.com/store/apps/details?id=ru.codedevice.iobrokerpawii\" target=\"_blank\"\u003e\n  \u003cimg alt=\"Get it on Google Play\"\n       src=\"https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png\" height=\"60\"/\u003e\n\u003c/a\u003e\n\n![Screenshot](admin/img/Picture_for_description.jpg)     \n     \n     \n     \n\n![Screenshot](admin/img/Screenshot_1.jpg)\n\n\n\n\n## Object\n\n[name_device] - name device\n\nFor each device, two main object branches are created:   \n\n***paw.0.[name_device].info.*** - information about the device   \n***paw.0.[name_device].comm.*** - control commands   \n\nThere is also a branch for all devices:   \n***paw.0.all_device.*** - control commands for all devices   \n\n\n***paw.0.[name_device].comm.audio.alarm***   \n***paw.0.[name_device].comm.audio.music***   \n***paw.0.[name_device].comm.audio.notification***    \n***paw.0.[name_device].comm.audio.ring***    \n***paw.0.[name_device].comm.audio.system***    \n***paw.0.[name_device].comm.audio.voice***    \n\u003e Set the volume on the device [number]\n\n***paw.0.[name_device].comm.call.number***\n\u003e Call the number [number]  \n\n***paw.0.[name_device].comm.call.end***\n\u003e Reject call [boolean]\n\n***paw.0.[name_device].comm.display.brightness***\n\u003e Backlight brightness level from 4-100 [number]\n\n***paw.0.[name_device].comm.display.mode***\n\u003e Backlight type automatic or manual [boolean]\n\n***paw.0.[name_device].comm.display.toWake***\n\u003e Wake up devices from sleep [boolean]\n\n***paw.0.[name_device].comm.display.timeOff***\n\u003e Set backlight time [number] (sec)\n\n***paw.0.[name_device].comm.other.home***\n\u003e Go to home screen [boolean]\n\n***paw.0.[name_device].comm.other.openURL***\n\u003e Open url in browser [string]\n\n***paw.0.[name_device].comm.other.play***\n\u003e Play notification melody [boolean]\n\n***paw.0.[name_device].comm.other.vibrate***\n\u003e Enable vibration, time in seconds [number]\n\n***paw.0.[name_device].comm.tts.request***\n\u003e Send text to speech [string]\n\n***paw.0.[name_device].comm.tts.stop***\n\u003e Stop speech  [boolean]\n\n   \n![Screenshot](admin/img/Screenshot_2.jpg)\n\n\n## Commands for javascript\n\n```javascript\n\n\n// [dev1] - is the name of the device, you can also enter IP devices.\n// You can specify multiple devices separated by commas 'dev1, dev3, 192.168.1.71'\n// all - send to all devices.\n\n\n// send the text to the speech synthesizer.\nsendTo(\"paw.0\",'dev1,dev3',{tts:  'Hello World'});\n\n// with callback\nsendTo(\"paw.0\",'all',{\n    tts:  'Hello World'},function (res){\n    log(JSON.stringify(res));\n});\n\n// set the screen backlight time in seconds. '0' - do not quit the screen (does not work on all devices) \nsendTo(\"paw.0\",'dev1',{timeOff: '60'});\n\n// wake up devices from sleep\nsendTo(\"paw.0\",'all',{toWake: true});\n\n// backlight brightness level from 4-100\nsendTo(\"paw.0\",'dev1',{brightness: '50'});\n\n// execute shell command (need root)\n// \"input tap x y\" emulates a click on the screen x - coordinates along the mountains. Y - vertical coordinates.\n// \"poweroff -f\" turn off devices\n// \"reboot\" reboot device\nsendTo(\"paw.0\",'all',{exec:'input tap 100 100'});\n\n// Exit to home screen. Emulate pressing the HOME button.\nsendTo(\"paw.0\",'all',{home:'true'});\n\n// disable battery tracking, translates 0% (need root)\nsendTo(\"paw.0\",'dev1',{send:'battery_off'});\n\n// run the application. You can enter a package name 'ru.codedevice.iobrokerpawii' or title name 'ioBroker.PAW II'\nsendTo(\"paw.0\",'all',{startApp:'lcf.clock'});\n\n// get the list of installed applications.\nsendTo(\"paw.0\",'dev1',{\n    apps:  'installed'  // or apps: 'all'  - get all applications\n},function (res){\n    log(JSON.stringify(res));\n});\n\n// !!! Not working yet\n\n// send message.  \n//sendTo(\"paw.0\",'dev1',{message: '8123456789',text:  'Any text'});\n//\n//sendTo(\"paw.0\",'192.168.1.71',{\n//    message: '8123456789',\n//    text:  'Any text'\n//},function (res){\n//    log(JSON.stringify(response));\n//});\n\n\n// setting the volume from 0 to 15, the maximum volume is set by the system,\nsendTo(\"paw.0\",'dev1',{volume: 5});\n\n// call to number\nsendTo(\"paw.0\",'192.168.1.71',{call: '0611'});\n\n// play default sound notifications\nsendTo(\"paw.0\",'all',{play: true});\n\n// call the number or send ussd command.\nsendTo(\"paw.0\",'dev1',{call: '*100#'});\n\n// enables vibration, [number] (time in milliseconds)\nsendTo(\"paw.0\",'dev1',{vibrate: '1000'});\n\n// send notifications to devices\nsendTo(\"paw.0\",'all',{\n    noti:  'Any text',       // text notifications\n    title: 'Title',          //optional (default: Title)\n    info: 'Any text',        //optional (default: '')\n    vibrate:false,           //optional (default: false)  only works on SDK \u003c= 26 \n    sound:false,             //optional (default: false)  only works on SDK \u003c= 26 \n    light:true,              //optional (default: false)  only works on SDK \u003c= 26 \n    id:2,                    //optional (default: id++)\n    channel:'Notification_2' //optional (default: 'Notification') Notification profile name, only works on SDK \u003e= 26 \n                      \n},function(res){\n     log(JSON.stringify(res));\n});\n\n// send alert dialog to devices.\nsendTo(\"paw.0\",'all',{\n    alert:  'Any text', // text notifications\n    id:'alert1',        // id alert, need to respone. respone = {\"id\":\"alert1\",\"state\":\"Maybe\"}\n    title: 'Title',     //optional (default: Title)\n    positive: 'Yes',    //optional (default: '')\n    neutral: 'Maybe',   //optional (default: '')\n    negative: 'No' ,    //optional (default: '')\n    sound:true          //optional (default: false)\n},function(res){\n     log(JSON.stringify(res));\n});\n\n// open the browser at the specified address\nsendTo(\"paw.0\",'dev1',{link: 'http://iobroker.net'});\n\n// end call\nsendTo(\"paw.0\",'dev1',{callEnd: 'true'});\n\n// get list Notification Sounds\nsendTo(\"paw.0\",'dev1',{listNotificationSounds: 'true'});\n\n// get list Notification Sounds\nsendTo(\"paw.0\",'dev1',{\n  listNotificationSounds: 'true'\n},function(res){\n     log(JSON.stringify(res)); \n                \n// [[{\"uri\":\"content://media/internal/audio/media/14\",\"title\":\"Beep once\"},\n// {\"uri\":\"content://media/internal/audio/media/62\",\"title\":\"Beep once\"},\n// {\"uri\":\"content://media/internal/audio/media/29\",\"title\":\"Whistle\"}]]\n});\n\n// set sounds notification\nsendTo(\"paw.0\",'dev1',{sound: 'content://media/internal/audio/media/62'});  \n\n\n/*******  Tasker  *******/\n\n// Attention!!! Enable in settings Tasker \"Allow external access\"\n\n// Get the task list from the Tasker application \"tasks\": [auto, bubble, call, clock]\nsendTo(\"paw.0\",'dev1',{\n    taskerList:  'tasker'\n},function (res){\n    log(JSON.stringify(res));\n});\n\n// Run the task from the Tasker application.\nsendTo(\"paw.0\",'dev2',{\n    tasker : 'task_name',        // Name task\n    myKeyOne : 123,              // (Optional) parameter will be passed to the variable %myKeyOne \n    myKeyTwo : \"Hello World\",    // (Optional) parameter will be passed to the variable %myKeyTwo\n                                 // ... and so on\n},function (res){\n    log(JSON.stringify(res));\n});\n\n```\n\n\n### 0.3.2\n* (bondrogeen) (adapter) Minor fixes. Fixed the toWake function. Added control version of the adapter and application.\n\n#### 0.3.1\n* (bondrogeen) (adapter) Minor fixes. (app) added widget and expanded item functionality\n\n#### 0.3.0\n* (foxriver76) added compact mode compatibility\n\n#### 0.2.8\n* (bondrogeen) minore fix application item, map SDK \u003e=29 and changed adding device.\n\n#### 0.2.7\n* (bondrogeen) fix alert dialog, noti SDK \u003e=26 app\n\n#### 0.2.6\n* (bondrogeen) minor fix adapter and app\n\n#### 0.2.5\n* (bondrogeen) npm publish\n\n#### 0.2.3\n* (bondrogeen) minor fix app\n\n#### 0.2.2\n* (bondrogeen) minor fix, add item feedback\n\n#### 0.2.1\n* (bondrogeen) release app\n\n#### 0.2.0\n* (bondrogeen) initial release\n\n## License\nThe MIT License (MIT)\n\nCopyright (c) 2017 bondrogeen \u003cbondrogeen@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%2Fbondrogeen%2Fiobroker.paw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbondrogeen%2Fiobroker.paw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbondrogeen%2Fiobroker.paw/lists"}