Comments (12)
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.
The sensor in the IKEA VINDRIKTNING is the PM1006, not the PM1006K.
from esp8266-vindriktning-particle-sensor.
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.
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.
Commit looks good, thanks for the quick response!
from esp8266-vindriktning-particle-sensor.
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.
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.
This might also be interesting for @GSzabados #1
from esp8266-vindriktning-particle-sensor.
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.
If only ESPHome wasn't using yaml and this weird web thing :(
from esp8266-vindriktning-particle-sensor.
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.
from esp8266-vindriktning-particle-sensor.
Related Issues (20)
- Control LED HOT 4
- After connecting to personal WiFi an AP is still present HOT 2
- Is ESP8266 module (not D1 mini) 5V tolerant? HOT 1
- Received message with invalid header. HOT 3
- Not an issue, you probably need to clean the sensor regularly HOT 4
- 5V mention in the README HOT 3
- Not an issue, low noise mod skews sensor results by ~50% HOT 3
- Can't re-configure D1 after initial deployment HOT 1
- No pm25, ssid, ip values on esp01s
- Not Issue - I need help with code
- Set OTA password HOT 1
- Web interface problem HOT 4
- The sensor measure always 0 ug/mc! HOT 3
- Embarrasingly stuck HOT 5
- I don't have MQTT But I need help. HOT 2
- Not an Issue ! juste Topic Name HOT 2
- Seeing odd values on sensor UART
- No mqtt topic is visible HOT 1
- How to See the Data in an App ? & Simple Wiring to ESP8266 HOT 4
- Also working with the new version, VINDSTYRKA HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp8266-vindriktning-particle-sensor.