-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plantower #300
Plantower #300
Conversation
very nice, i want one. :) currently it doesnt compile, you forgot to delete pligin 50? also read https://github.com/letscontrolit/ESPEasy/blob/mega/.github/CONTRIBUTING.md and add the proper ifdefs. Edwin |
does this use direct serial? no softwareserial? |
@psy0rz: I'll check it, I was several commits behind and some new plugin were created in the meantime.. @krikk: This one uses the hw serial of the esp8266, mainly because the sensor transmits data asynchronously. I think a software serial is also possible when the sensor is set to "passive" mode and only transmits when requested. |
So, I did not add PLUGIN_BUILD_DEV because it's functional: Logging air quality to emoncms via mobile phone hotspot! |
thanks! |
@PieVo would be really great if you can also add the required documentation to the wiki, especially add you sensor to the supported sensors list, thanks |
Yes, I'll do that. Explain the device and the used IO etc |
I am trying to get this to work, I had it working with old ESPEasy 120 and: However I am not able to make it work with the latest GIT, as soon as I enable it, I also lose my serial log. Note I am using PMS5003 with only RX pin. |
Hi Nathan,
I created the plugin independent of the link that you provided. The plugin
in git uses the hardware serial, so you indeed lose serial logging. I
extended the web logging lines for that. It works on a wemos d1 mini,
what's your hardware?
The reset and set signal should be optional, but please check if they are
pulled up. The module should start spitting data once powered.
I don't have pins left for software serial, but the plugin from the forum
also seems to work. We could make hw/sw serial selectable.
Br, Pieter
Op za 3 jun. 2017 om 18:20 schreef Nathan Stratton <notifications@github.com
…
I am trying to get this to work, I had it working with old ESPEasy 120 and:
https://www.letscontrolit.com/forum/viewtopic.php?t=2389
However I am not able to make it work with the latest GIT, as soon as I
enable it, I also lose my serial log. Note I am using PMS5003 with only RX
pin.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#300 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFoNO1HuzhnBT7u76sGMIzkelJp3MrTbks5sAYfCgaJpZM4NaTlp>
.
|
I am using a D1 Mini pin D3 (GPIO 0) only no TX. I am willing to offer $100 via paypal if you add SW serial selection and don't require it to have a TX. |
So totally no logging from the plugin from the web-interface?
Let me check what I can do, software serial would be a good option to
add...
…On Sat, Jun 3, 2017 at 7:17 PM, Nathan Stratton ***@***.***> wrote:
I am using a D1 Mini pin D3 (GPIO 0) only no TX. I am willing to offer
$100 via paypal if you add SW serial selection and don't require it to have
a TX.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#300 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFoNO9Hk4xvb0zmPGTUX_vIIZlfvyYw_ks5sAZURgaJpZM4NaTlp>
.
|
Thanks, like I said I am happy to pay for the addition of software serial. |
Willing to bump this up to $200 US via paypal for SW Serial support. :-) |
My development branch has support for it but I did not had the time to test
the actual sw serial. When you configure the first pin for rx an "some"
second for tx it detects sw or hw serial. The third pin (reset) can be left
empty.
Only hw serial with reset is tested, next week I might be able to
re-connect pins and test sw serial
Op ma 19 jun. 2017 om 19:14 schreef Nathan Stratton <
notifications@github.com>
… Willing to bump this up to $200 US via paypal for SW Serial support. :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#300 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFoNO-lABhwU2zuDrPVZHN9xj1fUPp4mks5sFqxzgaJpZM4NaTlp>
.
|
Works! Can you drop me an email (nathan at robotics.net) so I have your paypal address? |
That's good to hear! Thanks for testing. I'll make a pull request to get
this included in the mega branch next week.
Op di 20 jun. 2017 om 14:26 schreef Nathan Stratton <
notifications@github.com>
… Works! Can you drop me an email (nathan at robotics.net) so I have your
paypal address?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#300 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFoNO0uKZ5ToxAhy39E6kkZZh4SJ3_O_ks5sF7p2gaJpZM4NaTlp>
.
|
PieVo, |
Do you have an english datasheet for this? From the chinese on I get that the ST variant sends 3 more 16-bit values in one burst. The bad thing is that you cannot recognize the ST automatically (same header). So either a new sensor implementation or a checkbox that enables the "ST" mode. |
You could check if data lenght has 3 additional words |
ok it is possible to detect new model. |
Hi,
I've added support for a particle sensor from plantower. This is a laser based particle sensor that can detect < PM2.5. Compared to the other sensors in ESPEasy it is "expensive", for about 15$ (PMS5003) you can buy it. However, you do get a sensor that just returns digital values over a serial line which is a lot more reliable than the sharp GP2Y.
Best regards, Pieter