-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make IRHVAC send incremental changes. (#18310)
This change will allow mqtt messages simpler by allowing something like `publish cmnd/ir-bridge/IRHVAC {"Power": "On"}`. The simpler format is required for working with mqtt clients like iotMQTTPanel or similar on android. Limitations: - Requires full message be sent at-least once. I work around this with a `system#boot` rule - Gets messy with multiple devices. I have only one AC per room, and this doesn't doesn't interfere with other IR devices. TODO: - [ ] Change the build flag `INCREMENTAL_IRAC`to a `SetOption` - [ ] Persist `irac_prev_state` across reboots. - [ ] Support multiple devices.
- Loading branch information
Showing
2 changed files
with
14 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters