1.3.3 • Published 4 years ago

homebridge-sonoff-wifi-switch v1.3.3

Weekly downloads
16
License
ISC
Repository
-
Last release
4 years ago

Config Example:

{ "platforms" : [   {    "platform" : "SonoffWiFiSwitchHTTPPlatform",    "accessories" :      {       "initState" : "off",       "action" : "on",       "hostname" : "XXX.XX.X.XX",       "password" : "***"       "pulse" : "false",       "lock" : "false",       "duration" : "5",       "name" : "accessorie 1",       "status" : "relay1",       "sensor" : "true",       "sensorService" : "ContactSensor",       "sensorCharacteristic" : "ContactSensorState"      },      {       "accessory" : "SonoffWiFiSwitchHTTP",       "hostname" : "XXX.XX.X.XX",       "sensor" : "true",       "sensorUpdateIntervalMs" : "1000",       "sensorService" : "TemperatureSensor",       "TemperatureSensorCorrection" : "-30.5",       "TemperatureSensorCorrectionMax" : "100",       "TemperatureSensorCorrectionMim" : "-100",       "sensorCharacteristic" : "CurrentTemperature",       "status" : "temperature1",       "name" : "ServerRoom"      }     ,    "name" : "SonoffWiFiPlatform1"   }  ] } Default accessorie type is "Switch" hostname - accessorie address pulse - (true/false) Flag to change the state to the original after (duration) seconds duration - timer (seconds) status - (string, default: "relay" + RelayNum) Name of the Json -field containing the device status in status response action - (on/off) click RelayNum - (int, default: 1) relay number for internal requests (examples, where "2" is RelayNum: "cmd?command=relay off 2", "cmd?command=pulse on relay2 2000") lock - (true/false) accessorie is "LockMechanism" sensor - (true/false) accessorie is "ContactSensor"   -sensorService/sensorCharacteristic (both fields must be filled) - (string - name of sensor sensor service/sensor characteristic) accessorie is sensor (sensor = true)   -sensorUpdateIntervalMs   If sensorService is TemperatureSensor:    -TemperatureSensorCorrection    -TemperatureSensorCorrectionMax    -TemperatureSensorCorrectionMim

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago