Skip to content

Commit

Permalink
release 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorz914 committed Jul 29, 2023
1 parent c2b26f5 commit 0d25ad9
Show file tree
Hide file tree
Showing 9 changed files with 1,216 additions and 13 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## The properties *inputs.displayType* and *surrounds.displayType* are removed.
## Note - after update to 3.15.x need remove the accessory frome Home app and add it again.

## [4.3.0] - (29.03.2023)
## Note - after update to 4.1.x buttons need to be configure again using config UI.
## Changes
- added RESTFul server
- code refactor and cleanup
- config.schema updated
- fixed some minor issues

## [4.1.0] - (02.03.2023)
## Note - after update to 4.1.x buttons need to be configure again using config UI.
## Changes
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,15 @@ Tested with Denon AVR-X6300H, Denon AVR-X2700H, Denon AVR-3311CI, Marantz SR8012
* Digital Input Modes can be controlled by creating separate tile in the buttons section.
* Siri can be used for all functions, some times need create legacy buttons/switches/sensors.
* Automations can be used for all functions, some times need create legacy buttons/switches/sensors.
* MQTT publisch topic *Info*, *State* *Picture* and *Surround* as payload JSON data.
* This plugin is based upon the official documentation: [Denon Control Protocol 2020](https://github.com/grzegorz914/homebridge-denon-tv/blob/main/src/Denon%20Control%20Protocol.xlsx)
* RESTful server:
* Request: `http//homebridge_ip_address:port/path`.
* Path: `info`, `state`, `picture`, `surround`.
* Respone as JSON data.
* MQTT client:
* Topic: `Info`, `State`, `Picture`, `Surround`.
* Publish as JSON data.


<p align="left">
<a href="https://github.com/grzegorz914/homebridge-denon-tv"><img src="https://raw.githubusercontent.com/grzegorz914/homebridge-denon-tv/main/graphics/homekit.png" width="382"></a>
Expand Down Expand Up @@ -90,6 +97,9 @@ Tested with Denon AVR-X6300H, Denon AVR-X2700H, Denon AVR-3311CI, Marantz SR8012
| `volumeControl` | Here choice what a additional volume control mode You want to use (`-1 - None/Disabled`, `0 - Lightbulb`, `1 - Fan`). |
| `infoButtonCommand` | Here select the function of `I` button in RC app. |
| `refreshInterval` | Here set the data refresh interval. |
| `enableRestFul` | If enabled, RESTful server will start automatically and respond to any path request. |
| `restFulPort` | Here set the listening `Port` for RESTful server, every zone need own port. |
| `restFulDebug` | If enabled, deep log will be present in homebridge console for RESTFul server. |
| `enableMqtt` | If enabled, MQTT Broker will start automatically and publish all awailable PV installation data. |
| `mqttDebug` | If enabled, deep log will be present in homebridge console for MQTT. |
| `mqttHost` | Here set the *IP Address* or *Hostname* for MQTT Broker. |
Expand Down
39 changes: 39 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4604,6 +4604,33 @@
"description": "Here set the background data refresh interval.",
"required": true
},
"enableRestFul": {
"title": "Enable",
"type": "boolean",
"default": false,
"required": false,
"description": "This enable RESTful server."
},
"restFulDebug": {
"title": "Debug",
"type": "boolean",
"default": false,
"required": false,
"description": "This enable debug mode for RESTFul.",
"condition": {
"functionBody": "return model.devices[arrayIndices].enableRestFul === true;"
}
},
"restFulPort": {
"title": "Port",
"type": "integer",
"placeholder": 3000,
"required": true,
"description": "Here set the listening Port for RESTful server, every zone need own port.",
"condition": {
"functionBody": "return model.devices[arrayIndices].enableRestFul === true;"
}
},
"enableMqtt": {
"title": "Enable",
"type": "boolean",
Expand Down Expand Up @@ -4814,6 +4841,18 @@
"devices[].refreshInterval"
]
},
{
"key": "devices[]",
"type": "section",
"title": "RESTful",
"expandable": true,
"expanded": false,
"items": [
"devices[].enableRestFul",
"devices[].restFulDebug",
"devices[].restFulPort"
]
},
{
"key": "devices[]",
"type": "section",
Expand Down
Loading

0 comments on commit 0d25ad9

Please sign in to comment.