File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -220,8 +220,17 @@ string with no HTML markup.
220220This accessory supports push notification from the physical device via
221221[ homebridge-http-notification-server] ( https://github.com/Supereg/homebridge-http-notification-server ) . This allows the device to modify the
222222switch's status by pushing the new status instead of Homebridge pulling it.
223- This can be realized by supplying the ` notificationID ` .
224- Your device should then push the ` On ` ` characteristic ` towards the notification server
225- using the specified ` notificationID ` as ` service ` .
223+ This can be realized by supplying the ` notificationID ` as part of this accesory's configuration.
224+ Your device should then push the ` On ` ` characteristic ` towards the notification server.
225+ E.g. a POST request towards ` http://<homebridge-host>:<notification-server-port>/<notificationID> ` with the following
226+ body:
227+
228+ ```
229+ {
230+ "characteristic": "On",
231+ "value": true
232+ }
233+ ```
234+
226235To get more details about the push configuration have a look at this
227236[ README] ( https://github.com/Supereg/homebridge-http-notification-server ) .
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ HTTP_RGB.prototype = {
174174 }
175175 // Handle color
176176 if ( this . color ) {
177- this . log ( '... adding color) ' ) ;
177+ this . log ( '... adding color' ) ;
178178 this . service
179179 . addCharacteristic ( new Characteristic . Hue ( ) )
180180 . on ( 'get' , this . getHue . bind ( this ) )
You can’t perform that action at this time.
0 commit comments