Repository navigation
feat(0.4): two exact standard IAS contact + illuminance profiles (#1298) - #1508
Merged
Merged
Conversation
JohanBendz
marked this pull request as ready for review
October 3, 2026 14:47
This was referenced Oct 3, 2026
Open
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Coding lane · canonical #1298
Two separate literal pair Homey Compose drivers on the new code-only branch:
contact_lux_hobeian—HOBEIAN / ZG-102ZL, physical source IAS contact + illuminance sensors — HOBEIAN hybrid and TZE200 standard-only exact profiles #1298. EP1 declares Basic0, Power1, Identify3, Illuminance1024, IAS Zone1280 and physically advertised optional EF00/61184; no EF00 binding or private datapoint parsing/writes.contact_lux_pay2byax—_TZE200_pay2byax / TS0601, latest repeated independent physical interviews in older Device Request - Luminance door sensor - _TZE200_pay2byax / TS0601 #414 (canonical source Verify _TZE200_pay2byax / TS0601 door sensor with illuminance #1486). EP1 declares standard Basic0/Power1/Identify3/Illuminance1024/IAS1280 WITHOUT EF00, regardless of TS0601 modelId; earlier contradictory Device Request - Luminance door sensor - _TZE200_pay2byax / TS0601 #414 interview remains an explicit hardware Test caveat.Shared new isolated standard runtime in
contact_lux_hobeian/device.js(second exact profile imports it); listens for IAS zone status/contact + optional battery bit, optional zone enroll fallback, standard illuminanceMeasurement measuredValue and batteryPercentageRemaining. Uses the already-existing Zigbee logarithmic lux conversion fromilluminance_sensor/measurements.js, 0xFFFF/invalid filtering, /2 battery conversion, optional separately caught initial reporting configuration for sleepy devices. Lux calibration against real hardware is explicitly pending Test; HOBEIAN raw 33273/max 4000 deserves particular attention. Physical battery cells/count remain unknown, so both dedicated manifests declareOTHER, never retrofitted to an existing battery profile.Adds mock runtime/manifest/negative matching tests and independent physical acceptance rows; regenerates committed app.json, SUPPORTED_DEVICES.md, 0.4 Test readiness/changelog. Scope is ONLY new drivers/tests/docs/generated manifests/assets copied from existing door sensor Git blobs. No global Zigbee, light or existing driver manifest edit, no 0.3.1 / release Draft #1470 change. Candidate if merged: 149 drivers, 14 new profiles, 28 exact hardware identities for physical testing during public 0.4 Test. Does not assert hardware-proven support.
Refs #1298, #1486, #414, #1469.