ESP8266 Air quality sensor

Everything about esp8266 and more.

Moderator: leecollings

Post Reply
Mads
Posts: 40
Joined: Thursday 18 January 2018 20:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ESP8266 Air quality sensor

Post by Mads »

Mads wrote:
jvdz wrote:Great, so that means it works. Now only add the Rule back and leave the Device tickbox unchecked.
This should trigger the update to domoticz each time the MHZ19 is updated on ESPEasy.

Jos
Can i setup to update om every minutter?

Sendt fra min ONEPLUS A3003 med Tapatalk
Nothing has changed the last 10 min. Image

Sendt fra min ONEPLUS A3003 med Tapatalk

Mads
Posts: 40
Joined: Thursday 18 January 2018 20:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ESP8266 Air quality sensor

Post by Mads »

Mads wrote:
Mads wrote:
jvdz wrote:Great, so that means it works. Now only add the Rule back and leave the Device tickbox unchecked.
This should trigger the update to domoticz each time the MHZ19 is updated on ESPEasy.

Jos
Can i setup to update om every minutter?

Sendt fra min ONEPLUS A3003 med Tapatalk
Nothing has changed the last 10 min. Image

Sendt fra min ONEPLUS A3003 med Tapatalk
**problem Solved***

Was the wrong idx in the rules ImageImage

I own you a beer.

Sendt fra min ONEPLUS A3003 med Tapatalk

User avatar
jvdz
Posts: 2267
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: ESP8266 Air quality sensor

Post by jvdz »

Mads wrote: Saturday 20 January 2018 20:34 **problem Solved***
Great !!
Mads wrote: Saturday 20 January 2018 20:34 I own you a beer.
Sounds good... just leave me a place to stop by ;)

Enjoy... Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Mads
Posts: 40
Joined: Thursday 18 January 2018 20:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ESP8266 Air quality sensor

Post by Mads »

jvdz wrote:
Mads wrote: Saturday 20 January 2018 20:34 **problem Solved***
Great !!
Mads wrote: Saturday 20 January 2018 20:34 I own you a beer.
Sounds good... just leave me a place to stop by ;)

Enjoy... Jos
If your way crossed Denmark, then give me a headsup :)

Is IT only the mh-z19 where this problem is. With the box should be uncheck (send to controller)

Sendt fra min ONEPLUS A3003 med Tapatalk

User avatar
jvdz
Posts: 2267
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: ESP8266 Air quality sensor

Post by jvdz »

I do not know all devices supported by Espeasy, but yes, the code for the mhz19 is wrong. That is why I have my own version on github which actually does work now using the build in update mechanism.

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
nixalsschrott
Posts: 39
Joined: Tuesday 11 July 2017 10:26
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Location: Germany
Contact:

Re: ESP8266 Air quality sensor

Post by nixalsschrott »

Dear friends,

by the way, is there any chance to also get the forecast for the baro values, e.g. cloudy, sunny, rain, dry, etc.? Actually on the switch no value or not available is shown?

Kind regards
Matty
Domoticz Beta | Aeon Labs Z-Wave USB Stick Gen5 | Cyrus SmartHome 4-in-1 Multisensor | Qubino ZMNHCD1 - Roller Shutter | NEO COOLCAM NAS-WR01ZE Power Plug | Fibaro FGRGB-101 | WEMOS D1 MINI (ESP8266) Sensors CO2/TEMP/BARO |
User avatar
jvdz
Posts: 2267
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: ESP8266 Air quality sensor

Post by jvdz »

With an airquality sensor?
Nah .... Not going to work :roll:

Jos

In other words... Your question is totally unrelated to this thread.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
nixalsschrott
Posts: 39
Joined: Tuesday 11 July 2017 10:26
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Location: Germany
Contact:

Re: ESP8266 Air quality sensor

Post by nixalsschrott »

Hi,

no I mean baro=baromether (BMP180) which is giving pressure values.

Kind regards
Domoticz Beta | Aeon Labs Z-Wave USB Stick Gen5 | Cyrus SmartHome 4-in-1 Multisensor | Qubino ZMNHCD1 - Roller Shutter | NEO COOLCAM NAS-WR01ZE Power Plug | Fibaro FGRGB-101 | WEMOS D1 MINI (ESP8266) Sensors CO2/TEMP/BARO |
User avatar
jvdz
Posts: 2267
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: ESP8266 Air quality sensor

Post by jvdz »

I guess I did understand and have a bmp180 myself in use connected to the same wemos/Espeasy setup and together with a dht22 for temp/hum.
My point was that this thread is specifically about the setup for airquality. ;)

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
astrapowerrr
Posts: 141
Joined: Tuesday 31 January 2017 20:34
Target OS: -
Domoticz version:
Contact:

Re: ESP8266 Air quality sensor

Post by astrapowerrr »

nice!

I have ordered a wemo and a mhz19b and getting some stuff together.
As I was reading this post I wanted to check the github link.
But is it correct that that link isn’t working anymore?

Do I just download the flash software mega?

Greets Marco
nixalsschrott
Posts: 39
Joined: Tuesday 11 July 2017 10:26
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Location: Germany
Contact:

Re: ESP8266 Air quality sensor

Post by nixalsschrott »

jvdz wrote: Friday 03 November 2017 17:27 .... So the below only works with my GIT version at this moment.
[/list]...
Dear jos,
did you erase your modified MHZ19b branch which sends automatically the values to domoticz?
Kind regards
matty
Domoticz Beta | Aeon Labs Z-Wave USB Stick Gen5 | Cyrus SmartHome 4-in-1 Multisensor | Qubino ZMNHCD1 - Roller Shutter | NEO COOLCAM NAS-WR01ZE Power Plug | Fibaro FGRGB-101 | WEMOS D1 MINI (ESP8266) Sensors CO2/TEMP/BARO |
User avatar
jvdz
Posts: 2267
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: ESP8266 Air quality sensor

Post by jvdz »

Correct, it was merged into the (my) development branch: https://github.com/jvanderzande/ESPEasy ... evelopment
I've also created a new Development v2.0 branch for the newer version of ESPEasy: https://github.com/jvanderzande/ESPEasy ... lopmentv20.
The latter one also contains a compiled version.
The Development branches contain all the modifications I have made to ESPEasy:
  • My MHZ19b version that also will update Domoticz via an HTTP link.
  • My _P145_Itho.ino version.
  • Couple of fixes for other sensors which where not updating via HTTP.
.. having said this: The standard branch is already nicely supporting the MHZ19b these days, just the HTTP update isn't working without a rule as discussed earlier in this thread.

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
astrapowerrr
Posts: 141
Joined: Tuesday 31 January 2017 20:34
Target OS: -
Domoticz version:
Contact:

Re: ESP8266 Air quality sensor

Post by astrapowerrr »

Hi.
Just got my parts together and the co2 is working perfect.
I just can’t fix the lux sensor.
In the espeasy log it’s giving data. I used the Domoticz dummy idx.
But Domoticz stays on 0 lux. So not getting data?
First time user with this today and don’t know where to start.
Can someone help me?
User avatar
jvdz
Posts: 2267
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: ESP8266 Air quality sensor

Post by jvdz »

Which version of espeasy are you using?
What type of dummy device did you?
How did you define the espeasy settings for this lux sensor?

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
astrapowerrr
Posts: 141
Joined: Tuesday 31 January 2017 20:34
Target OS: -
Domoticz version:
Contact:

ESP8266 Air quality sensor

Post by astrapowerrr »

jvdz wrote:Which version of espeasy are you using?
What type of dummy device did you?
How did you define the espeasy settings for this lux sensor?

Jos
Hi

I used the version of Espeasy 2 posts above.
The 2.0 version.

In Domoticz I used the dummy sensor and selected lux sensor.

In espeasy I made a screenshot.
Image

You need more info?


Verzonden vanaf mijn iPhone met Tapatalk
User avatar
jvdz
Posts: 2267
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: ESP8266 Air quality sensor

Post by jvdz »

I see it is showing 0 lux in espeasy already. Are you sure it is connected and configured correctly in espeasy?

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
astrapowerrr
Posts: 141
Joined: Tuesday 31 January 2017 20:34
Target OS: -
Domoticz version:
Contact:

Re: ESP8266 Air quality sensor

Post by astrapowerrr »

jvdz wrote:I see it is showing 0 lux in espeasy already. Are you sure it is connected and configured correctly in espeasy?

Jos
Image
Image
Image
Image

It was hidden in my casing.
It pulled it out right now and made some pictures of the value and settings.
Also as you can see in Domoticz value stay zero.



Verzonden vanaf mijn iPhone met Tapatalk
User avatar
jvdz
Posts: 2267
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: ESP8266 Air quality sensor

Post by jvdz »

That config looks good to me.
You are sure about the IDX being 577 for the LUX sensor?
It does look like something is received for the LUX device looking at the last update timestamp. What does the Log show for the device?

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
astrapowerrr
Posts: 141
Joined: Tuesday 31 January 2017 20:34
Target OS: -
Domoticz version:
Contact:

Re: ESP8266 Air quality sensor

Post by astrapowerrr »

jvdz wrote:That config looks good to me.
You are sure about the IDX being 577 for the LUX sensor?
It does look like something is received for the LUX device looking at the last update timestamp. What does the Log show for the device?

Jos
Image
Image
And Domoticz log is showing nothing of a lux sensor. But that log is huge...

So strange this..
Just made a dummy sensor with setting lux sensor.



Verzonden vanaf mijn iPhone met Tapatalk
User avatar
jvdz
Posts: 2267
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: ESP8266 Air quality sensor

Post by jvdz »

Yea, that all looks good, but what does it show when you click on the Log button for the "Lux sensor Woonkamer" ?
That should show whether values are actually send for the sensor.

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest