homebridge-noolite
v0.12.0
Published
NooLite plugin for Homebridge
Downloads
80
Readme
homebridge-noolite
NooLite plugin (via USB MTRF-64 or МТRF-64 modules) for homebridge
Read this in other languages: Русский
TG channel: https://t.me/Noolite (tg://t.me/Noolite)
QuickStart
Install homebridge
Install homebridge-noolite plugin
$ sudo npm install -g --unsafe-perm homebridge-noolite
Add settings to homebridge config.json
... "platforms": [ { "platform": "NooLitePlatform", "serialPort": "/dev/tty.usbserial-AL032Z5U", "serialBaudRate": 9600, "serverPort": "8080", "periodicAccessoryUpdate": 5, "requestTtl": 1000, "serialWriteDelayMs": 250, "immediatelyResponse": true } ] ...
serialPort
- path to MTRF-64 serial port requiredserialBaudRate
- baud rate for serial port optional, default: 9600serverPort
- web-ui port for add new noolite accessories optional, default: 8080periodicAccessoryUpdate
- periodically update NooLite-F accessories status (in seconds) optional, default this feature is disabledrequestTtl
- waiting block response timeout in millisecondsserialWriteDelayMs
- delay between sending commands to blocks in milliseconds (if too short, MTRF adapter may not have enough time to process requests/responses)immediatelyResponse
- allows to respond immediately on HB request, this will allow to show Home tab with many device without response error (due to TTL). Devices will be updated in foreground (if something changed)
See
sampleConfig.json
file for example.Fix permission to MTRF (For USB)
sudo usermod -a -G dialout
Run homebridge
Description
After successful start web interface will be available on address: <device_ip>:8080
On the main page, we can directly interact with the MTRF-64 adapter by sending commands presets or use raw bites, according to MTRF-64 manual.
There are 2 sections оn accessories page (/acc
):
- MTRF - interact with NooLite-F devices (SLF, SRF blocks) by channels (0 to 63)
- HomeKit - interact with HomeKit accessories
NooLite supported accessories
Blocks:
- SLF block with NooLite-F protocol
- SUF dimmable block with NooLite-F protocol
- SU block
- SB block
- SR block
- SD RGB led strip block
- SRF-R block for garage and home doors, window and window coverages
- SRF-1-3000-T block for controlling electric heating systems
Sensors:
- Motion sensor PM112
- Temperature sensor PT112
- Temperature and humidity sensor PT111
- Leak sensor WS-1
- Contact sensor DS-1
Custom accessories:
- Garage Door accessory - based on SLF block, send 8 command (Power On by 1.5 seconds) to block on Open/Close action. Default setting is the interval of 1 second for the complete opening/closing of the door.
TODO:
- SLF configuration improvements
- Web interface UI/UX