pmsensor icon indicating copy to clipboard operation
pmsensor copied to clipboard

Unable to fetch data

Open jjj5313 opened this issue 8 years ago • 2 comments

Hi. i am new to home assistant. i have been trying using pms5003 in my setup. However, home assistant unable to fetch data from sensor.

it is like: 2017-05-20 13:56:36 ERROR (Thread-9) [homeassistant.components.sensor.serial_pm] Could not read PM10 value 2017-05-20 13:56:38 ERROR (Thread-4) [pmsensor.serial_pm] read timeout after 2 seconds, read 0 bytes 2017-05-20 13:56:38 ERROR (Thread-4) [homeassistant.components.sensor.serial_pm] Could not read PM1 value 2017-05-20 13:56:40 ERROR (Thread-1) [pmsensor.serial_pm] read timeout after 2 seconds, read 0 bytes

Is there anything wrong with the code? Thanks

jjj5313 avatar May 20 '17 14:05 jjj5313

This simply means that the code can't read data from your sensor. Try to connect directly via a serial terminal and check if you get data back.

ghost avatar May 21 '17 06:05 ghost

Hi. i am new to home assistant. i have been trying using pms5003 in my setup. However, home assistant unable to fetch data from sensor.

it is like: 2017-05-20 13:56:36 ERROR (Thread-9) [homeassistant.components.sensor.serial_pm] Could not read PM10 value 2017-05-20 13:56:38 ERROR (Thread-4) [pmsensor.serial_pm] read timeout after 2 seconds, read 0 bytes 2017-05-20 13:56:38 ERROR (Thread-4) [homeassistant.components.sensor.serial_pm] Could not read PM1 value 2017-05-20 13:56:40 ERROR (Thread-1) [pmsensor.serial_pm] read timeout after 2 seconds, read 0 bytes

Is there anything wrong with the code? Thanks

Can you please tell what is the unit for the values we are getting?

Date_Time PM1 PM2.5 PM10
2019/02/14 09:52:35 260 2854 3936

I am getting this kind of output

Thankyou.

ronakdedhia18 avatar Feb 17 '19 05:02 ronakdedhia18

The units are μg/m³

bencorrado avatar Feb 16 '23 16:02 bencorrado