Page 1 of 4

Air quality sensor not added

Posted: Tuesday 07 July 2015 9:57
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?

Re: Air quality sensor not added

Posted: Tuesday 07 July 2015 10:29
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.

Re: Air quality sensor not added

Posted: Tuesday 07 July 2015 11:48
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)"

Re: Air quality sensor not added

Posted: Tuesday 07 July 2015 11:49
by ThinkPad
Can't help you then.... Something for gizmocuz :mrgreen:

Re: Air quality sensor not added

Posted: Thursday 09 July 2015 12:26
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?

Re: Air quality sensor not added

Posted: Friday 10 July 2015 14:33
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.

Re: Air quality sensor not added

Posted: Friday 10 July 2015 15:41
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?

Re: Air quality sensor not added

Posted: Friday 10 July 2015 17:55
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.

Re: Air quality sensor not added

Posted: Wednesday 12 August 2015 10:47
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.

Re: Air quality sensor not added

Posted: Tuesday 12 January 2016 17:46
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.

Re: Air quality sensor not added

Posted: Wednesday 13 January 2016 9:30
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...

Re: Air quality sensor not added

Posted: Tuesday 08 March 2016 22:24
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?

Re: Air quality sensor not added

Posted: Wednesday 09 March 2016 14:21
by gizmocuz
No, but is it an idea to rename the axis to 'ppm' ?

Air quality sensor not added

Posted: Wednesday 09 March 2016 14:23
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?

Re: Air quality sensor not added

Posted: Wednesday 09 March 2016 14:34
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 ?

Re: Air quality sensor not added

Posted: Wednesday 09 March 2016 14:36
by Flopp
You can measure in ppm,ppb, ug and mg maybe ever more.
It is difficult to set a standard I think

Re: Air quality sensor not added

Posted: Wednesday 09 March 2016 14:37
by Flopp
ug/mg in Europe and ppm/ppb in US, roughly

Re: Air quality sensor not added

Posted: Wednesday 09 March 2016 16:46
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

Air quality sensor not added

Posted: Wednesday 09 March 2016 16:51
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.

Re: Air quality sensor not added

Posted: Wednesday 09 March 2016 16:53
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);