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

Alert всегда в состоянии ON #14

Open
dream700 opened this issue Jan 28, 2024 · 1 comment
Open

Alert всегда в состоянии ON #14

dream700 opened this issue Jan 28, 2024 · 1 comment

Comments

@dream700
Copy link

Для проверки alert_threshold выставил в значение 12, Alert сработал и перешел из состояния OFF в ON, после я alert_threshold поправил на значение 20, но Alert теперь всегда в состоянии ON.
Решил что важен переход через "границу" значения - поставил в 13, уровень поднимался до 15-17, и после вернулся на 11-12 (перенес датчик из ванны в зал 🙂 ) , но Alert по прежнему ON.
Возможно я делаю что то не так, подскажите как правильно работать с alert_threshold и alert

@dream700
Copy link
Author

AREQ_AF_INCOMING_MSG GroupId: 0x0000, ClusterId: 0x0400 MS_ILLUMINANCE_MEASUREMENT, SrcAddr: 0x4F7F, SrcEn: 1, DstEn: 1, WasBr: 0x00, LinkQuality: 76, SecurityUse: 0x00, TimeStamp: 0x0004E37D, TransSeqNum: 0, Len: 15, Data: 18B30A02F0230E00000001F0212F00
86[22:18:51.359] [D] ZCL FC: 0x18, T: 00, MS: 00, D: 01, DDR: 01, TSN: 179, Cmd: 0x0A REPORT, P: 02F0230E00000001F0212F00
87[22:18:51.376] [D] AttrId: 0xF002, AttrDataType: 0x23, AttrDataLen: 4, AttrValue: 14
88[22:18:51.383] [D] AttrId: 0xF001, AttrDataType: 0x21, AttrDataLen: 2, AttrValue: 47
89[22:18:51.390] [V] SetDeviceState nwkAddr: 0x4F7F, radioactive_events_per_minute = UINT16: 47
90[22:18:51.400] [V] SetDeviceState nwkAddr: 0x4F7F, radiation_dose_per_hour = UINT32: 14
91[22:18:51.415] FZ [DIYRuZ_Geiger : 0x00124B002882AD76]: {"alert":"ON","alert_threshold":100,"buzzer_feedback":false,"led_feedback":false,"linkquality":76,"radiation_dose_per_hour":14,"radioactive_events_per_minute":47,"sensitivity":0,"sensors_count":2,"sensors_type":0

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

No branches or pull requests

1 participant