Skip to content

Conversation

@coldfire0200
Copy link
Contributor

Add raw data decoding for older firmware build (20230406).
Note the battery info is not available with this converter for build 20230406

Link to picture pull request: TODO

coldfire0200 and others added 5 commits October 12, 2025 13:35
Add raw data decoding for older firmware build (20230406).
Note the battery info is not available with this converter for build 20230406
Fixed ikeaParasollRawConverter
convert: (model, msg, publish, options, meta) => {
const data = msg.data; // e.g., [21,104,17,62,240,110,111,116,105,102,121,0,0,0]
const contactState = data[data.length - 1]; // last number
return {contact: contactState ? false : true};
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return {contact: contactState ? false : true};
return {contact: contactState === 0 ? false : true};

This is more clear, can you check if this works?

Add comments for ikeaParasollRawConverter
Change contact detection for clarity
@coldfire0200
Copy link
Contributor Author

Changes were made based on the feedback

@Koenkk Koenkk force-pushed the master branch 10 times, most recently from bf7848c to da8e480 Compare October 16, 2025 18:07
@Koenkk Koenkk merged commit 3f16c78 into Koenkk:master Oct 16, 2025
3 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Oct 16, 2025

Thanks!

jacky202509 pushed a commit to jacky202509/zigbee-herdsman-converters that referenced this pull request Nov 13, 2025
…230406 (Koenkk#10324)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants