Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. CO2 Sensor Senseair S8 - big values read

CO2 Sensor Senseair S8 - big values read

Scheduled Pinned Locked Moved Hardware
3 Posts 3 Posters 41 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wasssu
    wrote on last edited by
    #1

    Hi,

    I installed a Senseair S8 senzor on a Raspberry Pi 4. In the first week it worked ok (values coming close to 400 ppm when I open the window) then it started to show big values, especially when I open the window, values like 65429 ppm. The reading interval is 15 seconds. I use this code to get the value from the sensor. Any idea what could be the problem?

        ser = serial.Serial("/dev/serial0",baudrate =9600,timeout = .5)
        ser.flushInput()
        time.sleep(1)
        ser.flushInput()
        ser.write(b"\xFE\x44\x00\x08\x02\x9F\x25")
        time.sleep(.5)
        resp = ser.read(7)
        high = resp[3]
        low = resp[4]
        co2 = (high*256) + low
    

    Thanks!

    mfalkviddM 1 Reply Last reply
    0
    • W wasssu

      Hi,

      I installed a Senseair S8 senzor on a Raspberry Pi 4. In the first week it worked ok (values coming close to 400 ppm when I open the window) then it started to show big values, especially when I open the window, values like 65429 ppm. The reading interval is 15 seconds. I use this code to get the value from the sensor. Any idea what could be the problem?

          ser = serial.Serial("/dev/serial0",baudrate =9600,timeout = .5)
          ser.flushInput()
          time.sleep(1)
          ser.flushInput()
          ser.write(b"\xFE\x44\x00\x08\x02\x9F\x25")
          time.sleep(.5)
          resp = ser.read(7)
          high = resp[3]
          low = resp[4]
          co2 = (high*256) + low
      

      Thanks!

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      Welcome to the forum @wasssu

      Best way to find out is probably to log the contents of the resp variable.

      1 Reply Last reply
      0
      • epierreE Offline
        epierreE Offline
        epierre
        Hero Member
        wrote on last edited by
        #3

        maybe check what they did here:
        https://github.com/airgradienthq/arduino/blob/master/AirGradient.cpp

        z-wave - Vera -> Domoticz
        rfx - Domoticz <- MyDomoAtHome <- Imperihome
        mysensors -> mysensors-gw -> Domoticz

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        19

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular