Air quality sensor not added
Moderator: leecollings
-
- Posts: 7
- Joined: Saturday 04 July 2015 20:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Air quality sensor not added
I just started with domoticz a few days ago so excuse if I make some dumb questions.
I have domoticz up and running with serial gateway.
In the log I can see it has received the presentation of the air quality sketch but nothing is added under the utility tab or any other.
Is this sensor not supported or is something wrong? Is there any way to manually add it?
I have domoticz up and running with serial gateway.
In the log I can see it has received the presentation of the air quality sketch but nothing is added under the utility tab or any other.
Is this sensor not supported or is something wrong? Is there any way to manually add it?
Last edited by ViperScull on Friday 10 July 2015 17:56, edited 1 time in total.
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: Air quality sensor not added
Have you looked under 'Setup' > 'Devices' to see if it is mentioned in the list there?
If you found it, click on the green arrow behind the device to add it to the Domoticz interface.
If you found it, click on the green arrow behind the device to add it to the Domoticz interface.
I am not active on this forum anymore.
-
- Posts: 7
- Joined: Saturday 04 July 2015 20:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Air quality sensor not added
It's not there. There are the initial 5 devices: temperature, cpu and memory usage, etc..ThinkPad wrote:Have you looked under 'Setup' > 'Devices' to see if it is mentioned in the list there?
If you found it, click on the green arrow behind the device to add it to the Domoticz interface.
I wrote before while in the underground, I'll expand it a bit more:
This is the sketch I'm using:
http://www.mysensors.org/build/gas
It's using V_VAR1. For what I can see, this is a custom value. (I don't know if domoticz supports custom values).
This is what I see in the log:
But after that it's just "Hardware Monitor: Fetching data (System sensors)"2015-07-07 11:14:29.905 MySensors: Node: 1, Sketch Name: Air Quality Sensor
2015-07-07 11:14:29.912 MySensors: Node: 1, Sketch Version: 1.0
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: Air quality sensor not added
Can't help you then.... Something for gizmocuz 

I am not active on this forum anymore.
-
- Posts: 7
- Joined: Saturday 04 July 2015 20:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Air quality sensor not added
Calling out for gizmocuz then!!!
More info: The gas sensor was giving in fresh air all the time 0ppm of CO, LPG, and SMOKE (not sure if this is correct or I should adjust the sensitivity with the potentiometer). As the initial value of the variable to send is 0 and it just sends a command if there's a a difference between the previous value and the actual value it wasn't sending even the first report.
So I took a lighter, let some gas flow away and this time it's sending the command:
No sign in the log that a command has been received, just the sketch name and version. And no device recognized.
I read a bit about V_VAR and I think they are supported by domoticz.
Any ideas guys?
More info: The gas sensor was giving in fresh air all the time 0ppm of CO, LPG, and SMOKE (not sure if this is correct or I should adjust the sensitivity with the potentiometer). As the initial value of the variable to send is 0 and it just sends a command if there's a a difference between the previous value and the actual value it wasn't sending even the first report.
So I took a lighter, let some gas flow away and this time it's sending the command:
and after the sleep time and no more gas presentsend: 1-1-0-0 s=0,c=1,t=24,pt=2,l=2,st=ok:137
but in domoticz I got the same.send: 1-1-0-0 s=0,c=1,t=24,pt=2,l=2,st=ok:0
No sign in the log that a command has been received, just the sketch name and version. And no device recognized.
I read a bit about V_VAR and I think they are supported by domoticz.
Any ideas guys?
-
- Posts: 7
- Joined: Saturday 04 July 2015 20:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Air quality sensor not added
Some more info:
If I change in the sketch S_AIR_QUALITY for S_LIGHT and V_VAR1 for V_LIGHT, the gateway recognizes a light actuator in the devices tab, I can add it, and it works fine.
If I use S_AIR_QUALITY and V_LIGHT, it recognizes a light actuator too and receives commands with state changes.
If I use S_LIGHT and V_VAR1, it doesn't recognize anything and doesn't receive anything. I guess it must be something related to the use of V_VAR1.
I think I didn't mention the domoticz version. It's 2641.
If I change in the sketch S_AIR_QUALITY for S_LIGHT and V_VAR1 for V_LIGHT, the gateway recognizes a light actuator in the devices tab, I can add it, and it works fine.
If I use S_AIR_QUALITY and V_LIGHT, it recognizes a light actuator too and receives commands with state changes.
If I use S_LIGHT and V_VAR1, it doesn't recognize anything and doesn't receive anything. I guess it must be something related to the use of V_VAR1.
I think I didn't mention the domoticz version. It's 2641.
- gizmocuz
- Posts: 2492
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Air quality sensor not added
domoticz does not understand V_VAR, it is used to store/retrieve variables (a kwh meter could request the last counter value for example)
you need to send it with something like V_DUST_LEVEL, could you try that?
you need to send it with something like V_DUST_LEVEL, could you try that?
Quality outlives Quantity!
-
- Posts: 7
- Joined: Saturday 04 July 2015 20:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Air quality sensor not added
It looks like with V_DUST_LEVEL works.
I can see the Air quality sensor now and add it. Thanks for the help.
I can see the Air quality sensor now and add it. Thanks for the help.
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: Air quality sensor not added
Hello,
in the new 1.5 format V_DUST_LEVEL becomes V_LEVEL (to abstract the ppm mesurement).
@ gizmocuz I am moving my dust sensors to report ppm as I have found the formula.
in the new 1.5 format V_DUST_LEVEL becomes V_LEVEL (to abstract the ppm mesurement).
@ gizmocuz I am moving my dust sensors to report ppm as I have found the formula.
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
-
- Posts: 18
- Joined: Thursday 13 August 2015 4:36
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Air quality sensor not added
could someone post the domoticz display of the dust reading? I am thinking about adding a mysensors dust sensor but would like to see what I am getting.
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: Air quality sensor not added
Hello,
If you use my script for Shinyei or SamYoung (https://github.com/empierre/arduino) you should get something like this indoor for PM10:

The flat parts are usb issues I'm getting at the moment with the arduino as gateway... I may find a way to disable/discover the arduino on the kernel level to correct this... maybe the arduino will dye by itself anyway...
If you use my script for Shinyei or SamYoung (https://github.com/empierre/arduino) you should get something like this indoor for PM10:

The flat parts are usb issues I'm getting at the moment with the arduino as gateway... I may find a way to disable/discover the arduino on the kernel level to correct this... maybe the arduino will dye by itself anyway...
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
-
- Posts: 279
- Joined: Sunday 03 January 2016 14:55
- Target OS: -
- Domoticz version:
- Location: Sweden
- Contact:
Re: Air quality sensor not added
@gizmocuz
would it be possible to change the uit on axis from "co2(ppm)" to "dust" or can it be change by the user, easy?
would it be possible to change the uit on axis from "co2(ppm)" to "dust" or can it be change by the user, easy?
- gizmocuz
- Posts: 2492
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Air quality sensor not added
No, but is it an idea to rename the axis to 'ppm' ?
Quality outlives Quantity!
-
- Posts: 279
- Joined: Sunday 03 January 2016 14:55
- Target OS: -
- Domoticz version:
- Location: Sweden
- Contact:
Air quality sensor not added
Ok, I am sending ug/m3, possible to choose?
Also the sensor type is wrong, it says Air quality, Volcraft CO-20, rename to Dust?
Also the sensor type is wrong, it says Air quality, Volcraft CO-20, rename to Dust?
- gizmocuz
- Posts: 2492
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Air quality sensor not added
Then i am afraid we can not change this, and a new dust sensor must be made then, or we could rename this to 'ppm sensor'
Dust is measured in ppm ?
Dust is measured in ppm ?
Quality outlives Quantity!
-
- Posts: 279
- Joined: Sunday 03 January 2016 14:55
- Target OS: -
- Domoticz version:
- Location: Sweden
- Contact:
Re: Air quality sensor not added
You can measure in ppm,ppb, ug and mg maybe ever more.
It is difficult to set a standard I think
It is difficult to set a standard I think
-
- Posts: 279
- Joined: Sunday 03 January 2016 14:55
- Target OS: -
- Domoticz version:
- Location: Sweden
- Contact:
Re: Air quality sensor not added
ug/mg in Europe and ppm/ppb in US, roughly
- gizmocuz
- Posts: 2492
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Air quality sensor not added
If we keep it 'ppm' then the Air Quality sensor could be renamed to 'Air Sensor' (which can also be dust?) and the axis label be changed to co2
Quality outlives Quantity!
-
- Posts: 279
- Joined: Sunday 03 January 2016 14:55
- Target OS: -
- Domoticz version:
- Location: Sweden
- Contact:
Air quality sensor not added
Yes an air sensor can also be Dust. Does this Dust parameter have something with CO2 parameter or you can separate them?
It is two different parameter in MySensors.
Dust will never be CO2, since CO2 is a gas.
It is two different parameter in MySensors.
Dust will never be CO2, since CO2 is a gas.
-
- Posts: 279
- Joined: Sunday 03 January 2016 14:55
- Target OS: -
- Domoticz version:
- Location: Sweden
- Contact:
Re: Air quality sensor not added
These are the parameters that I use when sending data to Domoticz.
MySensor gw;
MyMessage msg(CHILD_ID_MQ, V_LEVEL);
MyMessage dustMsg(CHILD_ID_DUST, V_LEVEL);
MySensor gw;
MyMessage msg(CHILD_ID_MQ, V_LEVEL);
MyMessage dustMsg(CHILD_ID_DUST, V_LEVEL);
Who is online
Users browsing this forum: No registered users and 1 guest