Posted to tcl by rmax at Wed Oct 06 07:58:51 GMT 2021view raw

  1. #
  2. # --- Ei650i Smoke detector ---
  3. #
  4. # 11111111 preamble
  5. # 10101010 start of frame
  6. #
  7. # 01011110 00010100 hours of operation ( (24090 - value) * 4 )
  8. # 00000010 device type (1 = Ei650, 2 = Ei650i)
  9. # 00000000 6..7: unknown
  10. # 0..5: sensor contamination (0..10 in steps of 1/32)
  11. # 00001111 7: unknown
  12. # 6: sensor status (0 = OK, 1 = failure)
  13. # 5: unknown
  14. # 4: contamination status (0 = valid, 1 = invalid)
  15. # 0..3: battery voltage(2.35 V .. 3,04 V)
  16. # 01011110 00011000 00000001 time + # of test button presses
  17. # 01011110 00011000 00000010 time + # of warning events
  18. # 01011110 00011000 00000100 time + # of battery empty events
  19. # 01011110 00011000 00001000 time + # of device removals (value - 1)
  20. # 01001111 00100100 CRC-CCITT over the payload data
  21. #
  22. # 10101010 end of frame
  23. #
  24.  
  25. #
  26. # --- Ei208 CO detector ---
  27. #
  28. # 11111111 preamble
  29. # 10101010 start of frame
  30. #
  31. # 00111101 00011110 hours of operation ((24090 - value) * 4)
  32. # 00000000 device type (0 = Ei208)
  33. # 00000000 highest CO concentration ever seen
  34. # (high nibble * 100 + low nibble * 10)
  35. # 00001111 7: unknown
  36. # 6: sensor status (0 = OK, 1 = failure)
  37. # 4..5: unknown
  38. # 0..3: battery voltage(2.35 V .. 3,04 V)
  39. # 00111101 00011110 00001011 time + # of test button presses
  40. # 00111101 00011110 00000001 time + # of CO > 45ppm
  41. # 00111101 00011110 00000011 time + # of CO > 90ppm
  42. # 00111101 00011110 00000100 time + # of CO > 150ppm
  43. # 00111101 00011110 00001000 time + # of CO > 30ppm
  44. # 00111101 00011110 00010000 unknown
  45. # 00111101 00011110 00100000 time + # of battery empty events
  46. # 01011110 00011001 00000111 time + # of device removals (value - 1)
  47. # 10101101 01110011 CRC-CCITT over the payload data
  48. #
  49. # 10101010 end of frame
  50. #
  51.