0.0.12 • Published 6 years ago
homebridge-logo-blind v0.0.12
Homebridge-Logo-Blind
! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
Homebridge-Logo-Blind is deprecated please use:
Homebridge-Logo-Blind-REST
! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
Use a Siemens logo PLC to control a blind.
- The plugin that this one is based on: homebrige-logo.
- Original plugin: homebrige-s7.
- Inspired by homebridge-blinds-udp
If you use Homebridge-Logo-Blind please donate: PayPal.Me/Sinclair81 !!
Installation
(Requires node >=6.0.0)
- Install homebridge using:
sudo npm install -g --unsafe-perm homebridge
- Install homebridge-config-ui-x using:
sudo npm install -g --unsafe-perm homebridge-config-ui-x
- Update your configuration file with this guide: https://smartapfel.de/homebridge/plugins-installieren/
- Install homebridge-logo-blind using: homebridge-config-ui-x's Webserver
- Install snap7 with this guide: http://simplyautomationized.blogspot.de/2014/12/raspberry-pi-getting-data-from-s7-1200.html
- Update your configuration file with code like the sample below
Homebridge-Logo-Blind configuration parameters
Name | Value | Required | Notes |
---|---|---|---|
accessory | "LogoBlind" | yes | Must be set to "LogoBlind" and is required. |
name | (custom) | yes | Name of accessory that will appear in homekit app and is required. |
ip | "10.0.0.3" | yes | Must be set to the IP of your Logo PLC and is required. |
local_tsap | "0x4400" | no | Must be set to the local_tsap of your Logo PLC, default is: 0x4400. |
remote_tsap | "0x5400" | no | Must be set to the remote_tsap of your Logo PLC, default is: 0x5400. |
write_position | "90" | yes | Must be set to the Variable Memory for a Analog-Network-Input, Analog-Input or Analog-Merker. |
read_position | "92" | yes | Must be set to the Variable Memory for a Analog-Network-Output, Analog-Output or Analog-Merker. |
read_state | "94" | yes | Must be set to the Variable Memory for a Analog-Network-Output, Analog-Output or Analog-Merker. |
Configuration
"accessories": [
{
"accessory": "LogoBlind",
"name": "Blind 1",
"ip": "10.0.0.2",
"local_tsap": "0x4200",
"remote_tsap": "0x5200",
"write_position": "90",
"read_position": "92",
"read_state": "94"
},
{
"accessory": "LogoBlind",
"name": "Blind 4",
"ip": "10.0.0.3",
"write_position": "96",
"read_position": "956",
"read_state": "958"
}
]