Releases: 0x5e/homebridge-tuya-platform
Releases · 0x5e/homebridge-tuya-platform
v1.6.0-beta.15
v1.6.0-beta.13
What's Changed
- Fix Lightbulb color temperature not working. by @0x5e in #13
- Passing access_token in token refresh API. by @0x5e in #15
Full Changelog: v1.6.0-beta.12...v1.6.0-beta.13
v1.6.0-beta.12
v1.6.0-beta.9
Changed
- Add Air Quality Sensor support (pm25).
- Add Carbon Monoxide Sensor support (cobj).
- Add Carbon Dioxide Sensor support (co2bj).
- Add Motion Sensor support (pir).
- Add Light Sensor support (ldcg).
- Add Water Detector support (sj).
- Add Temperature and Humidity Sensor support (wsdcg).
- Reimplement SmokeSensorAccessory.
v1.6.0-beta.11
v1.6.0-beta.10
Changed
- Reimplement GarageDoorAccessory
- Add voc density detect for Air Quality Accessory
- Update initial process
v1.6.0-beta.8
Changed
- [Plugin] Optimize api error handling.
- [Plugin] Update login error messages.
- [Plugin] Update config validation.
- [Plugin] Fix issue when device list empty.
- [ContactSensor] Reimplemented.
- [LeakSensor] Reimplemented.
- [LeakSensor] Add CO Detector support (
cobj
).
v1.6.0-beta.6
Changed
- Rewritten in TypeScript, brings benefits of type checking, smart code hints, etc.
- Reimplement accessory logics. More friendly for accessory developers. (old accessory class still compatible to use yet)
- Update device info list polling logic. Less errors.
- Add
AMERICA_EAST
andEUROPE_WEST
endpoints. - Add config validation on plugin start.
- Add device manufactor, serial number (device id) and model displayed in HomeKit.
- Add GitHub action
Build and Lint
. - Add instruction log when API failed with 1106 permission errors.
- Remove
debug
option. Silence logs for users. For debugging, please start homebridge in debug mode:homebridge -D
- Remove
lang
option. - Update unit test.
Fixed
- 1004 signature error when url query has more than 2 elements.
- 1106 permission error when polling device info list.
- Fix access_token undefined error. (tuya#298 (comment) by @Azukovskij )
Accessory category specific
- Rewrite
BaseAccessory
,SwitchAccessory
,OutletAccessory
,LightAccessory
, reduce about 50% code size. Now writing aBaseAccessory
child class is much more simple. - Add
debounce
and command send queue forLightAccessory
, more stable during frequent operations on different characteristics. - Legacy accessory codes moved to
src/accessory/legacy/
folder. - Fix wrong color temperature map. (tuya#136 by @XiaoTonyLuo and tuya#135 by @levidhuyvetter)
Known issue
LightAccessory
may not work properly, espasially on work mode change. need more test and info.- Sometimes mqtt not respond quickly, will influence the accessory status update. still addressing the issue.