{"_id":"homebridge-ibricks-plugin-v2","_rev":"33-b23dbbf417f63c53cc892a0ddd12bb39","name":"homebridge-ibricks-plugin-v2","dist-tags":{"latest":"1.0.18"},"versions":{"1.0.0":{"private":false,"displayName":"iBricks Plugin","name":"homebridge-ibricks-plugin-v2","version":"1.0.0","description":"Homebridge integration for iBricks","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/bursacmilan/homebridge-ibricks.git"},"bugs":{"url":"https://github.com/bursacmilan/homebridge-ibricks/issues"},"engines":{"node":">=14.18.1","homebridge":">=1.3.5"},"main":"dist/index.js","scripts":{"lint":"eslint src/**.ts --max-warnings=0","watch":"npm run build && npm link && nodemon","build":"rimraf ./dist && tsc","prepublishOnly":"npm run lint && npm run build","test":"jest"},"keywords":["homebridge-plugin"],"dependencies":{"address":"^1.2.2","axios":"^1.4.0","eventsource":"^2.0.2","postgres":"^3.3.5","rxjs":"^7.8.0"},"devDependencies":{"@types/jest":"^29.5.3","@types/node":"^20.5.1","@typescript-eslint/eslint-plugin":"^5.62.0","@typescript-eslint/parser":"^5.0.0","eslint":"^8.47.0","eslint-config-standard-with-typescript":"^37.0.0","eslint-plugin-import":"^2.28.0","eslint-plugin-n":"^16.0.1","eslint-plugin-promise":"^6.1.1","homebridge":"^1.3.5","jest":"^29.3.1","nodemon":"^2.0.13","prettier":"3.0.2","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-node":"^10.3.0","typescript":"^5.1.6"},"types":"./dist/index.d.ts","gitHead":"5a5b659d29f3a2ea0562f2dc47629ff30b4ed8c5","homepage":"https://github.com/bursacmilan/homebridge-ibricks#readme","_id":"homebridge-ibricks-plugin-v2@1.0.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-XMqTn0G0DLBeFMilaYr+0134td329Yv9B3K6FJ5DtrMR+HYX1RKEl03nURZUIaffzg0RGiYQzW1q8LMr93pLow==","shasum":"7f9886d2dd07ba7501c1c0003d280c2094a03e2d","tarball":"https://registry.npmjs.org/homebridge-ibricks-plugin-v2/-/homebridge-ibricks-plugin-v2-1.0.0.tgz","fileCount":147,"unpackedSize":434283,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFHWqW783wUgZJ96Smj2pom+MzAroKqmvFY+CuxrI1aoAiAzazMjElTnnVOjsU2VNe23dxPP/vb9TNFExvvdHRS0Gg=="}]},"_npmUser":{"name":"bursacmilan","email":"bursac.m@outlook.com"},"directories":{},"maintainers":[{"name":"bursacmilan","email":"bursac.m@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-ibricks-plugin-v2_1.0.0_1692639730235_0.480840175506583"},"_hasShrinkwrap":false},"1.0.17":{"private":false,"displayName":"iBricks Plugin","name":"homebridge-ibricks-plugin-v2","version":"1.0.17","description":"Homebridge integration for iBricks","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/bursacmilan/homebridge-ibricks.git"},"bugs":{"url":"https://github.com/bursacmilan/homebridge-ibricks/issues"},"engines":{"node":">=14.18.1","homebridge":">=1.3.5"},"main":"dist/index.js","scripts":{"lint":"eslint src/**.ts --max-warnings=0","watch":"npm run build && npm link && nodemon","build":"rimraf ./dist && tsc","prepublishOnly":"npm run lint && npm run build","test":"jest"},"keywords":["homebridge-plugin"],"dependencies":{"address":"^1.2.2","axios":"^1.4.0","eventsource":"^2.0.2","postgres":"^3.3.5","rxjs":"^7.8.0"},"devDependencies":{"@types/jest":"^29.5.3","@types/node":"^20.5.1","@typescript-eslint/eslint-plugin":"^5.62.0","@typescript-eslint/parser":"^5.0.0","eslint":"^8.47.0","eslint-config-standard-with-typescript":"^37.0.0","eslint-plugin-import":"^2.28.0","eslint-plugin-n":"^16.0.1","eslint-plugin-promise":"^6.1.1","homebridge":"^1.3.5","jest":"^29.3.1","nodemon":"^2.0.13","prettier":"3.0.2","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-node":"^10.3.0","typescript":"^5.1.6"},"types":"./dist/index.d.ts","gitHead":"b0c98919b52fea000eaaa00ffbacd0c27b859f84","homepage":"https://github.com/bursacmilan/homebridge-ibricks#readme","_id":"homebridge-ibricks-plugin-v2@1.0.17","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-pqFMcw7WtZZGM3Q4SNH7AcywZqdO2XJYc9b6j82/usTacWxeh3s+Cf6J3UTSiDRB1Ut+qkvNG3fv5aJR2ZZvBA==","shasum":"fc4e62b6d554eedcb69ffa3af430e0f1707f3d89","tarball":"https://registry.npmjs.org/homebridge-ibricks-plugin-v2/-/homebridge-ibricks-plugin-v2-1.0.17.tgz","fileCount":151,"unpackedSize":447935,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEctB2zwM/Q1bu/dgYylLUqfRccpB+vwdF7blWqw0x21AiB3SD5aBdxfQbUc7KvkJSmbp0s9xXO15j4+wq0urNe5+w=="}]},"_npmUser":{"name":"bursacmilan","email":"bursac.m@outlook.com"},"directories":{},"maintainers":[{"name":"bursacmilan","email":"bursac.m@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-ibricks-plugin-v2_1.0.17_1692741084253_0.48538356509412295"},"_hasShrinkwrap":false},"1.0.18":{"private":false,"displayName":"iBricks Plugin","name":"homebridge-ibricks-plugin-v2","version":"1.0.18","description":"Homebridge integration for iBricks","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/bursacmilan/homebridge-ibricks.git"},"bugs":{"url":"https://github.com/bursacmilan/homebridge-ibricks/issues"},"engines":{"node":">=14.18.1","homebridge":">=1.3.5"},"main":"dist/index.js","scripts":{"lint":"eslint src/**.ts --max-warnings=0","watch":"npm run build && npm link && nodemon","build":"rimraf ./dist && tsc","prepublishOnly":"npm run lint && npm run build","test":"jest"},"keywords":["homebridge-plugin"],"dependencies":{"address":"^1.2.2","axios":"^1.4.0","eventsource":"^2.0.2","postgres":"^3.3.5","rxjs":"^7.8.0"},"devDependencies":{"@types/jest":"^29.5.3","@types/node":"^20.5.1","@typescript-eslint/eslint-plugin":"^5.62.0","@typescript-eslint/parser":"^5.0.0","eslint":"^8.47.0","eslint-config-standard-with-typescript":"^37.0.0","eslint-plugin-import":"^2.28.0","eslint-plugin-n":"^16.0.1","eslint-plugin-promise":"^6.1.1","homebridge":"^1.3.5","jest":"^29.3.1","nodemon":"^2.0.13","prettier":"3.0.2","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-node":"^10.3.0","typescript":"^5.1.6"},"types":"./dist/index.d.ts","gitHead":"ae037f22e662cbcd973a483fa8ef21ba65f40027","homepage":"https://github.com/bursacmilan/homebridge-ibricks#readme","_id":"homebridge-ibricks-plugin-v2@1.0.18","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-kU3OagcmvrENFr/UZSKEyd6n05Mv0RDEpJ9S/wLwvPrSRxR3dagNl1NJ/uiJ07ep6xs4rqvVBTIXU866qc//jA==","shasum":"f6befaf5ade7a4bfb55631784f7d8c8e20bf43f1","tarball":"https://registry.npmjs.org/homebridge-ibricks-plugin-v2/-/homebridge-ibricks-plugin-v2-1.0.18.tgz","fileCount":151,"unpackedSize":447939,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFD+Fz/O+mQ5laXda9n8SVwSpFM84QYYPy7XGQ5xDOg9AiEAv2uDTSd0qnygfBA3inJrqovzNYvWx6DYMxXW9WcMb5M="}]},"_npmUser":{"name":"bursacmilan","email":"bursac.m@outlook.com"},"directories":{},"maintainers":[{"name":"bursacmilan","email":"bursac.m@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-ibricks-plugin-v2_1.0.18_1693041321379_0.7774660540829461"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-21T17:42:10.233Z","1.0.0":"2023-08-21T17:42:10.587Z","modified":"2023-08-26T09:15:22.115Z","1.0.1":"2023-08-21T17:46:38.689Z","1.0.2":"2023-08-21T17:49:53.186Z","1.0.3":"2023-08-21T17:53:15.055Z","1.0.4":"2023-08-21T17:54:44.522Z","1.0.5":"2023-08-21T17:57:44.992Z","1.0.6":"2023-08-21T18:01:49.424Z","1.0.7":"2023-08-21T18:04:43.446Z","1.0.8":"2023-08-21T18:50:21.754Z","1.0.9":"2023-08-21T18:54:24.406Z","1.0.10":"2023-08-21T18:59:37.392Z","1.0.11":"2023-08-21T19:21:41.641Z","1.0.12":"2023-08-21T19:38:32.991Z","1.0.13":"2023-08-21T19:44:39.574Z","1.0.14":"2023-08-21T19:47:42.805Z","1.0.15":"2023-08-22T21:19:17.032Z","1.0.16":"2023-08-22T21:26:11.560Z","1.0.17":"2023-08-22T21:51:24.718Z","1.0.18":"2023-08-26T09:15:21.884Z"},"maintainers":[{"name":"bursacmilan","email":"bursac.m@outlook.com"}],"description":"Homebridge integration for iBricks","homepage":"https://github.com/bursacmilan/homebridge-ibricks#readme","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git+https://github.com/bursacmilan/homebridge-ibricks.git"},"bugs":{"url":"https://github.com/bursacmilan/homebridge-ibricks/issues"},"license":"Apache-2.0","readme":"\n# Homebridge iBricks Plugin\n\nThis is a plugin to integrate iBricks Cello Devices into Homebridge.\n\n## Setup\n1. Install Homebridge\n2. Install this plugin using npm install: `npm i homebridge-ibricks-plugin-v2`\n3. Add configuration in Homebridge for this plugin (see \"Configuration\" below)\n4. Restart Homebridge. This plugin will initially send a UDP Request to the Broadcast IP. All Cellos, which are in the same network, will respond with their IP and Mac-Address. \nAfter that, each Cello will send his hardware information to the plugin. This takes a few minutes. I recommend to wait at least 30 minutes after the first start of Homebridge with this plugin.\nEach cello with his hardware information will be saved on the dist. The plugin will after the first initialization know all Cellos and you don't need to wait for the initialization anymore.\n5. Restart Homebridge again. Now the plugin will create all accessories for the Cellos. You can now use the Cellos in Homebridge.\n\nThe Plugin can not ask the Cellos for their current state. If you want to initialize the current state of the Cellos, you have to set \"Restart Cellos\" in the config to true.\nThis will restart all Cellos and they will send their current state to the plugin. After that, don't forget to set \"Restart Cellos\" to false again. Otherwise the Cellos will restart every time you restart Homebridge.\n\nEvery change of the state of a Cello will be saved on the disk. If you restart Homebridge, the plugin will set the state in Homebridge to the last saved state.\n\n---\n\n## Exposed Accessories\nThe plugin will expose the following accessories:\n- Switches (Relays) for the Cellos\n- Dimmers for the Cellos\n- Thermostats for the Cellos\n- Temperature sensors for the Cellos\n- Window covering with lamella tilt angle for the Cellos\n\nSome Cellos have more than one relay, shutter or thermostat. This information is read from the Cellos. The plugin will create one accessory for each relay, shutter or thermostat.\nThe devices will be named like this:\n- `<Cello-Description> - Left` (Channel 2)\n- `<Cello-Description> - Right` (Channel 1)\n\nIf you want to disable the left side of the Cello (for example the left relay) so you have to use the channel '2'. For the right side use the channel '1'.\n\n---\n## Configuration\n### Disable Lamella\nIf you don't want to use the lamella, you can disable it here. Enter the Mac-Address of the Cello.\n\n### Reboot\nIf true, the plugin will reboot all Cellos after the start of Homebridge.\n\n### Director Target Heating Cooling State\nThe thermostats in homebridge requires to handle the heating cooling state. Cellos doesn't support this. Here you can select what your default heating cooling state should be and what should be displayed in Homebridge. This setting has no effect on the functionality.\n\n### Ignore devices\nIf you want to ignore some devices, you can enter their mac addresses, channel and type here. The plugin will ignore these devices and will not create accessories for them.\nYou can disable the following types:\n- Relay => Relay / Switch\n- Shutter => Window covering\n- Director => Thermostat\n- Meteo => Temperature sensor\n\n#### How to find the Mac-Address of a Cello\nYou can find the Mac-Address of a Cello in the device settings of the accessory in Homebridge. The Mac-Address is the serial number of the accessory.\n![FINDMAC](./Find-Mac.png)\n\n---\n\n## Development\n### Install development dependencies\n```\nnpm install\n```\n\n### Build plugin\n```\nnpm run build\n```\n\n### Link to local Homebridge installation\n\nRun this command so your global install of Homebridge can discover the plugin in your development environment:\n\n```\nnpm link\n```\n\n### Versioning\n\nThis plugin uses [SemVer](http://semver.org/) for versioning. The version has the following format: `major.minor.patch`:\n\n1. **MAJOR** Breaking changes\n2. **MINOR** New functionality in a backwards compatible manner\n3. **PATCH** Backwards compatible bug fixes\n\nYou can use the `npm version` command to help you with this:\n\n```bash\n# major update / breaking changes\nnpm version major\n\n# minor update / new features\nnpm version update\n\n# patch / bugfixes\nnpm version patch\n```\n\n### Publish Package\n```\nnpm publish\n```\n\n#### Publishing Beta Versions\n```bash\n# create a new pre-release version (eg. 2.1.0-beta.1)\nnpm version prepatch --preid beta\n\n# publish to @beta\nnpm publish --tag=beta\n```\n\nYou can then install the beta version using @beta to the install command:\n```\nsudo npm install -g homebridge-example-plugin@beta\n```\n\n---\n\n## Change Log\n### 3.X -> 4.X\n- IP-Address, Broadcast-IP and Mac-Address are now automatically detected. You don't need to enter them anymore in the config.\n\n\n","readmeFilename":"README.md"}