Senseair value in Domoticz zero

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
jack100
Normal user
Posts: 14
Joined: 26 Sep 2017, 08:26

Senseair value in Domoticz zero

#1 Post by jack100 » 09 Mar 2021, 16:54

Hi,

Today I connected an senseair S8 to an wemos with Easy ESP.
I see the CO2 value under device in the Easy ESP software.
In Domoticz the CO2 stays at zero and will not change.
The IDX number is correct. Both in Easy ESP and Domoticz.
In the log of the Easy ESP I see the rules:
2504445: Senseair: co2 = 1107
2504449: Domoticz: Sensortype: 1 idx: 89 values: 1107
2519445: Senseair: co2 = 1109
2519449: Domoticz: Sensortype: 1 idx: 89 values: 1109
2522854: WD : Uptime 42 ConnectFailures 0 FreeMem 16600 WiFiStatus 3

What goes wrong here?

Grtz,
Jack
Last edited by jack100 on 09 Mar 2021, 16:57, edited 1 time in total.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Senseair value in Domoticz zero

#2 Post by TD-er » 09 Mar 2021, 16:55

What type of Domoticz sensor did you use?
Domoticz does expect the "CO2" sensor to use "nvalue" and we only send "svalue" (or the other way around....)
So for CO2 you need to use a "custom" sensor type in Domoticz.

jack100
Normal user
Posts: 14
Joined: 26 Sep 2017, 08:26

Re: Senseair value in Domoticz zero

#3 Post by jack100 » 09 Mar 2021, 16:58

The senseair S8 sensor

jack100
Normal user
Posts: 14
Joined: 26 Sep 2017, 08:26

Re: Senseair value in Domoticz zero

#4 Post by jack100 » 09 Mar 2021, 17:01

What must I fill in the field: Aslabel under create vitual sensor?

jack100
Normal user
Posts: 14
Joined: 26 Sep 2017, 08:26

Re: Senseair value in Domoticz zero

#5 Post by jack100 » 09 Mar 2021, 17:04

Thanks!!
Solved.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Senseair value in Domoticz zero

#6 Post by TD-er » 09 Mar 2021, 17:11

jack100 wrote: 09 Mar 2021, 17:01 What must I fill in the field: Aslabel under create vitual sensor?
Unit of measure of a CO2 sensor is ppm

GravityRZ
Normal user
Posts: 206
Joined: 23 Dec 2019, 21:24

Re: Senseair value in Domoticz zero

#7 Post by GravityRZ » 09 Mar 2021, 17:36

i would create a co2 sensor in Domoticz and then use rules to send out the nvalue.

this looks way better in domoticz including levels instead of a custom sensor

this is what you put in rules

through MQTT

Code: Select all

on Slaapkamer#PPM do
Publish domoticz/in,'{"idx":349,"nvalue":[Slaapkamer#PPM],"svalue":""}' // CO2 sensor in domoticz needs Nvalue
endon
or through HTTP

Code: Select all

on Slaapkamer#PPM do
SendToHTTP 192.168.1.50,8084,/json.htm?type=command&param=udevice&idx=349&nvalue=[Slaapkamer#PPM]&svalue=0
endon

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Senseair value in Domoticz zero

#8 Post by TD-er » 09 Mar 2021, 21:54

... or I should put a flag in the 2 CO2 plugins to do this for Domoticz....
It is only a feature request dating back to 2017 or something like that... sigh.

GravityRZ
Normal user
Posts: 206
Joined: 23 Dec 2019, 21:24

Re: Senseair value in Domoticz zero

#9 Post by GravityRZ » 10 Mar 2021, 20:22

that would be even nicer.

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests