Broadlink IR codes listener and SmartIR json generator.
Project description
Broadlink Listener
Broadlink IR codes listener and SmartIR json generator.
This project will install a broadlink-listener
command line tool that can be used to generate a climate SmartIR
compatible json, starting from an initial structure that defines climate behavior, putting Broadlink IR remote to
listening state, until all IR code combination will being scan.
- Documentation: https://gpongelli.github.io/broadlink-listener
- GitHub: https://github.com/gpongelli/broadlink-listener
- PyPI: https://pypi.org/project/broadlink-listener/
- Free software: MIT
Features
- Discover Broadlink IR remote
- Starting from SmartIR json structure like
{
"supportedController": "Broadlink",
"minTemperature": 16,
"maxTemperature": 31,
"precision": 1,
"operationModes": [
"op_a",
"op_b"
],
"fanModes": [
"fan_a",
"fan_b"
],
"swingModes": [
"swing_a",
"swing_b"
]
}
it helps you listen all the defined IR codes to create a json like
{
"supportedController": "Broadlink",
"minTemperature": 16,
"maxTemperature": 31,
"precision": 1,
"operationModes": [
"op_a",
"op_b"
],
"fanModes": [
"fan_a",
"fan_b"
],
"swingModes": [
"swing_a",
"swing_b"
],
"commands": {
"off": "...",
"op_a": {
"fan_a": {
"swing_a": {
"16": "....",
"31": "...."
},
"swing_b": {
"16": "....",
"31": "...."
}
},
"fan_b": {
"swing_a": {
"16": "....",
"31": "...."
},
"swing_b": {
"16": "....",
"31": "...."
}
}
},
"op_b": {
"fan_a": {
"swing_a": {
"16": "....",
"31": "...."
},
"swing_b": {
"16": "....",
"31": "...."
}
},
"fan_b": {
"swing_a": {
"16": "....",
"31": "...."
},
"swing_b": {
"16": "....",
"31": "...."
}
}
}
}
}
- Mandatory fields into starting json
supportedController
,minTemperature
,maxTemperature
,precision
- Optional fields (at least one must be present or nothing will be listened):
operationModes
,fanModes
,swingModes
- Generated file can be used into SmartIR HomeAssistant component
Credits
This package was created with Cookiecutter and the gpongelli/cookiecutter-pypackage project template.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
broadlink_listener-1.0.0.tar.gz
(15.8 kB
view hashes)
Built Distribution
Close
Hashes for broadlink_listener-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ea44512366cb8c897f396051cf19b64cea2cb7380f6d40ba4b8c3ee397715ce |
|
MD5 | 8628c9e3675cac367bfe98d289bb583e |
|
BLAKE2b-256 | 476bf1307f75331f2225e64e0599618ad00187ccd2dc391299fd4b3296b576de |