Air quality sensor not added

Moderator: leecollings

ViperScull
Posts: 7
Joined: Saturday 04 July 2015 20:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Air quality sensor not added

Post by ViperScull »

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?
Last edited by ViperScull on Friday 10 July 2015 17:56, edited 1 time in total.
ThinkPad
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

Post by ThinkPad »

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 am not active on this forum anymore.
ViperScull
Posts: 7
Joined: Saturday 04 July 2015 20:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Air quality sensor not added

Post by ViperScull »

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.
It's not there. There are the initial 5 devices: temperature, cpu and memory usage, etc..

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:
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
But after that it's just "Hardware Monitor: Fetching data (System sensors)"
ThinkPad
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

Post by ThinkPad »

Can't help you then.... Something for gizmocuz :mrgreen:
I am not active on this forum anymore.
ViperScull
Posts: 7
Joined: Saturday 04 July 2015 20:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Air quality sensor not added

Post by ViperScull »

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:
send: 1-1-0-0 s=0,c=1,t=24,pt=2,l=2,st=ok:137
and after the sleep time and no more gas present
send: 1-1-0-0 s=0,c=1,t=24,pt=2,l=2,st=ok:0
but in domoticz I got the same.
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?
ViperScull
Posts: 7
Joined: Saturday 04 July 2015 20:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Air quality sensor not added

Post by ViperScull »

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.
User avatar
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

Post by gizmocuz »

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?
Quality outlives Quantity!
ViperScull
Posts: 7
Joined: Saturday 04 July 2015 20:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Air quality sensor not added

Post by ViperScull »

It looks like with V_DUST_LEVEL works.
I can see the Air quality sensor now and add it. Thanks for the help.
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: Air quality sensor not added

Post by epierre »

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.
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
punter9
Posts: 18
Joined: Thursday 13 August 2015 4:36
Target OS: Windows
Domoticz version:
Contact:

Re: Air quality sensor not added

Post by punter9 »

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.
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: Air quality sensor not added

Post by epierre »

Hello,

If you use my script for Shinyei or SamYoung (https://github.com/empierre/arduino) you should get something like this indoor for PM10:

Image

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
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: Air quality sensor not added

Post by Flopp »

@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?
User avatar
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

Post by gizmocuz »

No, but is it an idea to rename the axis to 'ppm' ?
Quality outlives Quantity!
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Air quality sensor not added

Post by Flopp »

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?
User avatar
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

Post by gizmocuz »

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 ?
Quality outlives Quantity!
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: Air quality sensor not added

Post by Flopp »

You can measure in ppm,ppb, ug and mg maybe ever more.
It is difficult to set a standard I think
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: Air quality sensor not added

Post by Flopp »

ug/mg in Europe and ppm/ppb in US, roughly
User avatar
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

Post by gizmocuz »

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!
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Air quality sensor not added

Post by Flopp »

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.
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: Air quality sensor not added

Post by Flopp »

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);
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest