Air quality sensor not added

Moderator: leecollings

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 »

I restarted node but I don't get any new sensor. I will contact a pc so I can see what it write as debug
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 »

Should I use V_LEVEL and S_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 »

Yes
Please have a look at the code
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 »

Ok.
I have not change the code so it must be something in Domotics.
I get OK in DEBUG but that only means that GW received it.
I see CO2 in Domoticz LOG so I have connection between node and Domoticz
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 »

I have CO2 and DUST sensor in this node
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 »

I also cleared the EEPROM so I get new Node ID from Domoticz and it is still same thing, only CO2 appear
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 »

That wont work, you can either present the node as S_AIR_QUALITY or as S_DUST, and not both
Both types also use the same V_LEVEL
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 »

Ok, so it must be one sensor for each node?
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 »

In this case, yes, else we dont know what type of 'node' you made...
Of course you can combine a temp sensor and a dust sensor if you want...
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 »

Ok. Then I will try to change my code and only have one sensor.
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 »

Sorry, i was wrong here...
You should be able to have multiple sensors in 1 node, but you have to present the child's correct

Like:
present(CHILD_ID_AIRQ, S_AIR_QUALITY);
present(CHILD_ID_DUST, S_DUST);
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 »

I am doing that.
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 »

Any possible error in Domoticz you think?
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 »

Need to check.... Could take some days
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 »

Ok no worries
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 »

Found the issue... really strange, some code i added, was lost in an commit....
There is a new beta available #4965, it should now work (tested with a mysensor...)
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 »

WOW
It is working and i really like the Custom Sensor.

Thank you, thank you
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 »

Great to hear, thanks for the feedback!
Quality outlives Quantity!
JacquesMulders
Posts: 33
Joined: Saturday 03 January 2015 22:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Air quality sensor not added

Post by JacquesMulders »

is it also possible to add it as a dummy sensor?
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 »

JacquesMulders wrote:is it also possible to add it as a dummy sensor?
Yes, Custom Sensor it is called
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest