{"_id":"@bluephlame/homebridge-mqtt-switch-tasmota","_rev":"1-10ab0a2d94ddf5a9b268fe9255110f0d","name":"@bluephlame/homebridge-mqtt-switch-tasmota","dist-tags":{"latest":"0.9.5"},"versions":{"0.9.5":{"name":"@bluephlame/homebridge-mqtt-switch-tasmota","version":"0.9.5","description":"Plugin to HomeBridge optimized for work with Itead Sonoff and Electrodragon Relay Board hardware with firmware Sonoff-Tasmota via MQTT.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/bluephlame/homebridge-gpio-garagedoor.git"},"dependencies":{"mqtt":"^1.12.0"},"engines":{"homebridge":">=0.2.0","node":">4.0.0"},"keywords":["homebridge-plugin","homebridge","homekit","sonoff","itead","tasmota","Sonoff-Tasmota","electrodragon","Wifi IoT Relay Board","Relay"],"author":{"name":"Jaromir Kopp"},"license":"MIT","bugs":{"url":"https://github.com/bluephlame/homebridge-gpio-garagedoor.git/issues"},"homepage":"https://github.com/bluephlame/homebridge-gpio-garagedoor.git#readme","gitHead":"db61cb46c97ea300d4e24f41a28a4f513ac54347","_id":"@bluephlame/homebridge-mqtt-switch-tasmota@0.9.5","_nodeVersion":"10.16.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-4m/2qnvk1TTKGhoiy1hR9KRHNTl/CDpPlpERD689WWp1eszRXtpCT/en6fG65ueJNSjzISYPkXLSmaDKp7Jmww==","shasum":"b37f75b723bba86e1258b02e753876d8bdc92d7d","tarball":"https://registry.npmjs.org/@bluephlame/homebridge-mqtt-switch-tasmota/-/homebridge-mqtt-switch-tasmota-0.9.5.tgz","fileCount":7,"unpackedSize":13257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMFmVCRA9TVsSAnZWagAAp4UP/iPf3Ff8dm3Jp5NhBqye\n8szHGPr1ZVz//yToAdMNb4FD3/mAZ/22N9jXEQZBSeJ5Tap7zlsVTvw+cc6q\nCMtGS4UZn8s9izSfJSNznxmwUfnZ5y3Zo+xhhJ/RIRI81mFc9r0F7rAwx+5a\n8szRZii+aMjo44gnaKVP3Drducgz7BrENyC7X6W/USu0OzaRwK1vnbt/rODE\nteSywjwnbbA43639ZY5NIo5P/xZppJaCcR+Fp+vlJ/nO70BhxMpawFFESs01\noNCKmFlhoRzYNjiUGu66agoYBwcowkU8OeojLA74tKVG1FDMrnAvX8290zNa\njonW539wYjkrLrDUwnPY9nxUWrhIgc3LWUY9urKQJYR7eTNFKbbcqxrQ9Mj+\nhaNOf69LKq89srY6v992vBX9vXN2yUF2VlmMXldCuY84G25VqfUm6nlv5n7x\nVTl2Gq/1oHq1Gd8nQtygbl5EV8m39JGi0P0AktMk8dyK8M4QJUK/1++cjL+x\nj+9XmVKbDl39YBKMj+pXEsd6s7feORSkNJPtNbk/Jj/aq6hM8iQLXsSZt4SN\nxTo43i7tjq+y4HlA197V2g3IV8+8rLiG6CjM75G9wiK96w8w3p0/fb5Y03IS\nFRwfidUWQ0SLNjPUM72zGxUzrb/TcmP3SV5uJ8Gu+vfWwqAvjENrMrAe3tK2\nnIvL\r\n=Jdnx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbrmhocbouQ3LzFW8KLz1dfKhb3pyaDr8BqEDVPz+bxgIhAJVYjwYl95YDMx4np1s9q8rtx3I/CSphOR8xxQ84h3SE"}]},"maintainers":[{"name":"bluephlame","email":"bluephlame@boyd.net.au"}],"_npmUser":{"name":"bluephlame","email":"bluephlame@boyd.net.au"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-mqtt-switch-tasmota_0.9.5_1563449748748_0.45136901842901755"},"_hasShrinkwrap":false}},"time":{"created":"2019-07-18T11:35:48.556Z","0.9.5":"2019-07-18T11:35:48.970Z","modified":"2022-04-04T19:49:23.767Z"},"maintainers":[{"name":"bluephlame","email":"bluephlame@boyd.net.au"}],"description":"Plugin to HomeBridge optimized for work with Itead Sonoff and Electrodragon Relay Board hardware with firmware Sonoff-Tasmota via MQTT.","homepage":"https://github.com/bluephlame/homebridge-gpio-garagedoor.git#readme","keywords":["homebridge-plugin","homebridge","homekit","sonoff","itead","tasmota","Sonoff-Tasmota","electrodragon","Wifi IoT Relay Board","Relay"],"repository":{"type":"git","url":"git+https://github.com/bluephlame/homebridge-gpio-garagedoor.git"},"author":{"name":"Jaromir Kopp"},"bugs":{"url":"https://github.com/bluephlame/homebridge-gpio-garagedoor.git/issues"},"license":"MIT","readme":"# homebridge-mqtt-switch-tasmota\n\nPlugin to HomeBridge optimized for work with Itead Sonoff and Electrodragon Relay Board hardware and firmware [Sonoff-Tasmota](https://github.com/arendst/Sonoff-Tasmota) via MQTT. It acts as a switch or outlet (depending of configuration).\n\nLike this? Please buy me a beer (or coffee)  ;-) <a href=\"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=CK56Q7SFHEHSW\"><img src=\"http://macwyznawca.pl/donate-paypal2.png\" alt=\"Donate a coder\" data-canonical-src=\"http://macwyznawca.pl/donate-paypal.svg\" style=\"max-width:100%;\"></a>\n\n[MacWyznawca.pl](http://macwyznawca.pl) Jaromir Kopp\n\nInstallation\n--------------------\n    sudo npm install -g homebridge-mqtt-switch-tasmota\n\nSample HomeBridge Configuration (complete)\n--------------------\n {\n\n    \"bridge\": {\n        \"name\": \"Homebridge\",\n        \"username\": \"CC:22:3D:E3:CE:30\",\n        \"port\": 51826,\n        \"pin\": \"031-45-154\"\n    },\n    \n    \"description\": \"This is an example configuration file. You can use this as a template for creating your own configuration file.\",\n\t\n    \"platforms\": [],\n\t  \"accessories\": [\n\t    {\n\t\t\t\"accessory\": \"mqtt-switch-tasmota\",\n\t\t\t\"switchType\": \"outlet\",\n\t\t\n\t\t\t\"name\": \"NAME OF THIS ACCESSORY\",\n\t\t\n\t\t\t\"url\": \"mqtt://MQTT–BROKER-ADDRESS\",\n\t\t\t\"username\": \"MQTT USER NAME\",\n\t\t\t\"password\": \"MQTT PASSWORD\",\n\t\t\n\t\t\t\"topics\": {\n\t\t\t\t\"statusGet\": \"stat/sonoff/RESULT\",\n\t\t\t\t\"statusSet\": \"cmnd/sonoff/POWER\",\n\t\t\t\t\"stateGet\": \"tele/sonoff/STATE\"\n\t\t\t},\n\t\t\t\"onValue\": \"ON\",\n\t\t\t\"offValue\": \"OFF\",\n\t\t\n\t\t\t\"activityTopic\": \"tele/sonoff/LWT\",\n\t        \"activityParameter\": \"Online\",\n        \n\t\t\t\"startCmd\": \"cmnd/sonoff/TelePeriod\",\n\t\t\t\"startParameter\": \"60\",\n\t\t\t\n\t\t\t\"manufacturer\": \"ITEAD\",\n\t\t\t\"model\": \"Sonoff\",\n\t\t\t\"serialNumberMAC\": \"MAC OR SERIAL NUMBER OR EMPTY\"\n\t\t}\n\t]\n}\n\nSample HomeBridge Configuration (minimal)\n--------------------\n{\n\t\n    \"bridge\": {\n        \"name\": \"Homebridge\",\n        \"username\": \"CC:22:3D:E3:CE:30\",\n        \"port\": 51826,\n        \"pin\": \"031-45-154\"\n    },\n    \n    \"description\": \"This is an example configuration file. You can use this as a template for creating your own configuration file.\",\n\t\n    \"platforms\": [],\n\t\n\t\"accessories\": [\n\t    {\n\t\t\t\"accessory\": \"mqtt-switch-tasmota\",\n\t\t\n\t\t\t\"name\": \"NAME OF THIS ACCESSORY\",\n\t\t\n\t\t\t\"url\": \"mqtt://MQTT–BROKER-ADDRESS\",\n\t\t\t\"username\": \"MQTT USER NAME\",\n\t\t\t\"password\": \"MQTT PASSWORD\",\n\t\t\n\t\t\t\"topics\": {\n\t\t\t\t\"statusGet\": \"stat/sonoff/POWER\",\n\t\t\t\t\"statusSet\": \"cmnd/sonoff/POWER\"\n\t\t\t}\n\t\t}\n\t]\n}\n\n\n# Description of the configuration file.\n\n**\"switchType\": \"outlet\"** - outlet for outlet emulation, other or empty for switch.\n\n**sonoff** in topic - topics name of Your Sonoff switch.\n\n**\"stateGet\": \"tele/sonoff/STATE\"** - topic for cyclic telemetry information.\n\n**\"activityTopic\": \"tele/sonoff/LWT\"** - last will topic for check online state.\n\n**\"activityParameter\": \"Online\"** - last will payload for online state.\n\n**\"startCmd\": \"cmnd/sonoff/TelePeriod\"** -  command sent after the connection.\n\n**\"startParameter\": \"60\"** - payload for **startCmd**.\n\n**\"statusGet\": \"stat/sonoff/RESULT\"** - is for Tasmota firmware relays only! For toher use: **\"statusGet\": \"stat/sonoff/POWER\"**\n\n","readmeFilename":"README.md"}