moshkit

CHannelsAndEvents

Mar 1st, 2021 (edited)
219
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Motion
  2. GetChannelsAndEventsTable with result
  3. ChannelsAndEvents(channels=[
  4.     ChannelAndEventCode(channelNum=0, eventCode=33), 0010_0001 Событие датчика движения 0x21
  5.     ChannelAndEventCode(channelNum=2, eventCode=16), 0001_0000 Событие температуры 0x10
  6.     ChannelAndEventCode(channelNum=3, eventCode=81)  0101_0001 Событие "Я не дома"    0x51
  7.     ])
  8.  
  9. Reed switch
  10. GetChannelsAndEventsTable with result
  11. ChannelsAndEvents(channels=[
  12.     ChannelAndEventCode(channelNum=0, eventCode=48), 0011_0000 Срабатывание геркона 0x30
  13.     ChannelAndEventCode(channelNum=2, eventCode=1),  0000_0001 Нажатие кнопки 0x01
  14.     ChannelAndEventCode(channelNum=3, eventCode=16)  0001_0000 Событие температуры 0x10
  15.     ])
  16.  
  17. Smoke
  18. GetChannelsAndEventsTable with result
  19. ChannelsAndEvents(channels=[
  20.     ChannelAndEventCode(channelNum=0, eventCode=16), 0001_0000 Событие температуры 0x10
  21.     ChannelAndEventCode(channelNum=1, eventCode=34)  0010_0010 Событие датчика дыма 0x22
  22.     ])
RAW Paste Data