Skip to content

Improve Samjin multi sensor and Samjin battery reporting #4186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jan 17, 2021

Conversation

manup
Copy link
Member

@manup manup commented Jan 13, 2021

Align with original SmartThings configuration

  • Report battery state every 6 hours instead 5 minutes;
  • Samjin muli sensor open/close reporting set to 1 hour instead 5 minutes;
  • Samjin muli sensor orientation reporting set to 1 hour instead 5 minutes;
  • Further, align with ZCL spec and use manufacturer code in ZCL Default Response when the request was manufacturer specific.

Issue: #4131

The main battery safer comes via Poll Control configuration PR: #4163 formerly SmartThings devices did MAC Data Polling in very short intervals, sometimes every 5–10 seconds. With the PR this interval is raised to 15 minutes.

manup added 7 commits January 13, 2021 23:38
The device has 3 resources, configuring the cluster for one is enough.
Same configuration as SmartThings uses.
… cluster

For ZCL data type bitmap there is no reportable change field.
Since the IAS Zone Status reporting is not needed for main operation functionality and is more used as an is_alive ping, it shouldn't drain the battery too much.
@manup manup merged commit ba05ea1 into dresden-elektronik:master Jan 17, 2021
@manup manup deleted the samjin_1 branch May 6, 2021 16:18
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.

1 participant