在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:Foxi352/homebridge-smarthomeng开源软件地址:https://github.com/Foxi352/homebridge-smarthomeng开源编程语言:TypeScript 100.0%开源软件介绍:homebridge-smarthomengVersion v2 is a complete rewrite from scratch and a breaking update. Currently supported accessoriesThis plugin currently supports the following services (and characteristics):
RequirementsInstallation of pluginUse Homebridge Config UI X or install manually using ConfigurationIf you already have a working homebridge installation just add the platform section into your existing config. If you are a new homebridge user you have to create a Platform configurationThe following parameters are available to configure the plugin as platform in homebridge.
Example configuration:{
"platform": "SmartHomeNG",
"name": "SmartHomeNG",
"host": "smarthome.my.domain",
"port": 2425,
"tls": true,
} Common accessories characteristicsThe following characteristics are valid for all accessories:
Example:{
"type": "OccupancySensor",
"name": "Presence kitchen",
"manufacturer": "Preussen",
"model": "Motion 360 KNX",
} Contact sensorThis sensor shows the open / closed state of a contact (door, window, generic ...). common characteristicsCharacteristics in addition to
Example:{
"type": "ContactSensor",
"name": "Window kitchen",
"ContactState": "EG.Kueche.Fenster"
} DoorbellA doorbell is an accessory that simply sends a message to all devices enrolled in the home that someone rang the doorbell. HomeKit displays a message that "This accessory is not currently supported by the Home app.". Further investigation is needed, but for now it still works. common characteristicsCharacteristics in addition to
Example:{
"type": "Doorbell",
"name": "Main door",
"SinglePress": "Technik.Asterisk.Klingel"
} FanFor now this accessory only supports turning the fan on and off. Further improvements are possible, but i don't have the needed hardware for testing. common characteristicsCharacteristics in addition to
Example:{
"type": "Fan",
"name": "Fan bathroom",
"Active": "OG.Bad.Ventilator"
} Garage DoorThis accessory is used for opening/closing garage doors or any other automatic gate. common characteristicsCharacteristics in addition to
Additional commentsValid values for 'CurrentDoorState':
Valid values for 'TargetDoorState':
'ObstructionDetected' may be set 'true' if there is any physical problem opening/closing the door. Example{
"type": "GarageDoor",
"name": "GarageRechts",
"currentdoorstate": "garage.rechts.cds",
"targetdoorstate": "garage.rechts.tds",
"obstructiondetected": "garage.rechts.od"
} Humidity sensorThis accessory shows the current relative humidity in %. common characteristicsCharacteristics in addition to
Example:{
"type": "HumiditySensor",
"name": "Luftfeuchtigkeit Glashaus",
"CurrentHumidity": "Glashaus.Luftfeuchtigkeit"
} LightBulbLightbulb can be as simple as a generic on/off light, but can also be as complex as a full RGBW led strip. common characteristicsCharacteristics in addition to
Additional commentsHomeKit works with values between 0 and 100 where 0 is completely dim and 100 is maximum brightness. Example (used for my KNX RGBW strip):{
"type": "Lightbulb",
"name": "RGBW strip living room",
"On": "EG.Stube.Ledleiste",
"Brightness": "EG.Stube.Ledleiste.dimmen",
"BrightnessMin": 0,
"BrightnessMax": 255,
"R": "EG.Stube.Ledleiste.R.dimmen",
"RMin": 0,
"RMax": 255,
"G": "EG.Stube.Ledleiste.G.dimmen",
"GMin": 0,
"GMax": 255,
"B": "EG.Stube.Ledleiste.B.dimmen",
"BMin": 0,
"BMax": 255,
"W": "EG.Stube.Ledleiste.W.dimmen",
"WMin": 0,
"WMax": 255
} Motion sensorThis sensor is tripped if it detects motion in a room. common characteristicsCharacteristics in addition to
Example:{
"type": "MotionSensor",
"name": "Movement hallway",
"MotionDetected": "EG.Flur.Bewegung"
} Occupancy sensorThis sensor is tripped if it detects presence in a room. common characteristicsCharacteristics in addition to
Example:{
"type": "OccupancySensor",
"name": "Presence bathroom",
"manufacturer": "Preussen",
"model": "Motion 360 KNX",
"OccupancyDetected": "OG.Bad.Praesenz"
} OutletThis accessory can monitor and change the on/off state of a wall outlet. The outlet can be generic, a light, a fan, ... common characteristicsCharacteristics in addition to
Example:{
"type": "Outlet",
"name": "Christmas tree",
"On": "EG.Esszimmer.Steckdose"
} Security systemThis accessory can pilote your intrusion security system. That system can be a physical one operated via SHNG, or a SHNG native logic. common characteristicsCharacteristics in addition to
Additional commentsValid values for 'CurrentState':
Valid values for 'TargetState':
Example:{
"type": "SecuritySystem",
"name": "Intrusion alarm",
"currentState": "Technik.Alarmanlage.Status.Ist",
"targetState": "Technik.Alarmanlage.Status.Soll"
} SwitchThis accessory can monitor and change the on/off state of something. It is very similar to an outlet. common characteristicsCharacteristics in addition to
Example:{
"type": "Switch",
"name": "Music living-room",
"On": "EG.Stube.Radio"
} Temperature sensorThis sensor shows the actual temperature. common characteristicsCharacteristics in addition to
Example:{
"type": "TemperatureSensor",
"name": "Temperature WC",
"CurrentTemperature": "EG.WC.Temperatur"
} |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论