0.2.1 • Published 6 years ago
homebridge-logo-blind-rest v0.2.1
Homebridge-Logo-Blind-REST
Use a Siemens Logo PLC for control blinds.
This is a client for: Snap7 Logo Service
- The plugin that this one is based on: homebrige-s7.
- Original plugin: homebridge-script2.
If you use Homebridge-Logo-Blind-REST please donate: PayPal.Me/Sinclair81 !!
For this accessory you have to use in your logo the UDF Blind_analog_digital.lma or something similar!
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-rest using: homebridge-config-ui-x's Webserver
- Install and Run Snap7 Logo Service
- Update your configuration file with code like the sample below
Homebridge-Logo-Blind-REST configuration parameters
Name | Value | Required | Notes |
---|---|---|---|
accessory | "Logo-Blind-REST" | yes | Must be set to "Logo-Blind-REST". |
service | "10.0.0.7:5000" | yes | Must be set to the Ip and Port of your Snap7 Logo Service. |
name | (custom) | yes | Name of accessory that will appear in homekit app. |
position_id | 9 | yes | GET and SET the position of a blind. Must be set to a id for a logo_io_node from your Snap7 Logo Service. |
state_id | 10 | yes | GET the state of a blind. Must be set to a id for a logo_io_node from your Snap7 Logo Service. |
digital | 0 | no | Must be set to 1 if you do not want to control the blind via analogue values. And they do not want to use the analog UFD, but push buttons. |
push_button | 1 | no | Must be set to 0 if your Network-Input act as a switch, default is: 1 (push_button means: 1. send a 1 to write_operator; 2. wait 0.2 sec; 3. send a 0 to write_operator) |
Configuration
"accessories": [
{
"accessory": "Logo-Blind-REST",
"service": "10.0.0.7:5000",
"name": "Example 9-10 (analog)",
"position_id": 9,
"state_id": 10
},
{
"accessory": "Logo-Blind-REST",
"service": "10.0.0.7:5000",
"name": "Digital Example 1",
"position_id": 13,
"state_id": 0,
"digital": 1
},
{
"accessory": "Logo-Blind-REST",
"service": "10.0.0.7:5000",
"name": "Digital Example 2",
"position_id": 14,
"state_id": 0,
"digital": 1,
"push_button": 0
}
]
0.2.1
6 years ago
0.2.0
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago
0.0.26
6 years ago
0.0.25
6 years ago
0.0.24
6 years ago
0.0.23
6 years ago
0.0.22
6 years ago
0.0.21
6 years ago
0.0.20
6 years ago
0.0.19
6 years ago
0.0.18
6 years ago
0.0.17
6 years ago
0.0.16
6 years ago
0.0.15
6 years ago
0.0.14
6 years ago
0.0.13
6 years ago
0.0.12
6 years ago
0.0.11
6 years ago
0.0.10
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago