Skip to content
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

Fix SP1 status text #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lausser
Copy link

@lausser lausser commented Aug 27, 2022

Hi,
i was using your decoder because of the "Definition of head line daily value", but still the packets i received showed no sp1_decode field and status_decoded was still false. Then i saw:
studierendenwerk-ulm#1 (comment)
After using bytes[2] << 8 | bytes[1] i got better results

{
    "port": 1,
    "packet_type": 1,
    "packet_subtype": 0,
    "packet_type_info": "synchronous",
    "status_decoded": false,
    "status_info": "payload_raw: 11 00 80 00 00",
    "sp1_decode": "S_REMOVAL_DETECTION"
}

The status is fine, because the smoke detector is here on my desk and is not snapped in the ground plate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant