GithubHelp home page GithubHelp logo

Comments (12)

Habbie avatar Habbie commented on May 27, 2024 2

Going even more off topic, you inspired me to do esphome/esphome#2038, with credit to you in the comment there, and in the docs content at esphome/esphome-docs#1315

from esp8266-vindriktning-particle-sensor.

Habbie avatar Habbie commented on May 27, 2024 1

The sensor in the IKEA VINDRIKTNING is the PM1006, not the PM1006K.

from esp8266-vindriktning-particle-sensor.

Hypfer avatar Hypfer commented on May 27, 2024

Ah yes I was somewhat suspecting that that could be wrong but did work anyways as during normal operation only the last byte actually contains data.

Adding [3] and [4] to the sum as well was taken from the datasheet of the PM2107 as I did only find a different datasheet for the PM1006K which used a different poll command than the one for the PM1006.
By googling for "11 02 0b 01 e1", the PM2107 turned up.

Measurements would be absurdly high to exceed those two bytes though so it makes sense that they've dropped(?) that

from esp8266-vindriktning-particle-sensor.

Habbie avatar Habbie commented on May 27, 2024

Yep - the wrong code effectively adds 2 to the measurement I think, which is not an error that stands out! I did also find the PM1006K - at least that explains why the string is so long for just 2 bytes of data :-)

from esp8266-vindriktning-particle-sensor.

Habbie avatar Habbie commented on May 27, 2024

Commit looks good, thanks for the quick response!

from esp8266-vindriktning-particle-sensor.

Hypfer avatar Hypfer commented on May 27, 2024

I can't help but wonder what the other data fields might contain 🤔

I did plot DF9-DF12 for a while and got basically the same curve as the PM2.5 reading albeit offset by around 20 μg/m³ so I'd suspect that that's some kind of raw uncalibrated value or similar.

DF5-DF8 are mostly constant during my observations

from esp8266-vindriktning-particle-sensor.

Habbie avatar Habbie commented on May 27, 2024

Yes, me too! I did not plot them but I do have this small collection of dumps

16 11 0b 00 00 00 17 00 00 06 9f 00 00 00 16 01 00 00 00 fb 

16 11 0b 00 00 00 19 00 00 06 a4 00 00 00 18 01 00 00 00 f2 

16 11 0b 00 00 00 18 00 00 06 a3 00 00 00 17 01 00 00 00 f5 

(I used these to implement checksumming, not for anything else).

The offset in these 3 readings is 1, not 20.

I also note that the PM1006K, which does have PM10 and PM1.0, still has a shorter string!

from esp8266-vindriktning-particle-sensor.

Hypfer avatar Hypfer commented on May 27, 2024

This might also be interesting for @GSzabados #1

from esp8266-vindriktning-particle-sensor.

GSzabados avatar GSzabados commented on May 27, 2024

Thanks @Hypfer, and @Habbie that is awesome work. I haven't started to use EspHome yet, but that will make things far more easier.

from esp8266-vindriktning-particle-sensor.

Hypfer avatar Hypfer commented on May 27, 2024

If only ESPHome wasn't using yaml and this weird web thing :(

from esp8266-vindriktning-particle-sensor.

GSzabados avatar GSzabados commented on May 27, 2024

If only ESPHome wasn't using yaml and this weird web thing :(

Sure thing, but with a HA installation it makes things kinda plug and play.

from esp8266-vindriktning-particle-sensor.

blakadder avatar blakadder commented on May 27, 2024

https://en.gassensor.com.cn/Product_files/Specifications/LED%20Particle%20Sensor%20PM1006K%20Specification.pdf

from esp8266-vindriktning-particle-sensor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.