Page 1 of 2
Proposal for new device in Domoticz
Posted: Saturday 17 October 2020 18:00
by HoogendoornJH
I have a Senseair tSense CO2-meter (
https://senseair.com/products/tsense/tsense-display/) which sends its data via a USB-port to a program that shows and logs de CO2-data.
Is it possible to add this device to Domoticz?
Re: Proposal for new device in Domoticz
Posted: Saturday 17 October 2020 18:51
by Toulon7559
At the Senseair-website reference is made to a ModBus Interface description (TDE0103.pdf).
To be checked how this description for this device matches with Domoticz, either by plugin, or by script.
According to productsheet PSP3488.pdf also analogue outputs 0~10V available:
easy, but less direct & (possibly) less accurate, because ADC required to read such signals.
Also translation needed to get readout in PPM from the ADC-value.
Re: Proposal for new device in Domoticz
Posted: Saturday 17 October 2020 18:53
by EddyG
It is already present. Type Air Quality, Voltcraft CO-20. Unit is ppm.
Now find a way to convert your data into this sensor. Node-red?
Re: Proposal for new device in Domoticz
Posted: Monday 19 October 2020 14:54
by HoogendoornJH
Thanks for your responses.
EddyG, I assume that by "type" you mean "hardware type"? However, I cannot find a type "Air quality" in the hardware list.
Re: Proposal for new device in Domoticz
Posted: Monday 19 October 2020 17:50
by EdwinK
You need to search for voltcraft.
Re: Proposal for new device in Domoticz
Posted: Monday 19 October 2020 18:18
by HoogendoornJH
I am sorry Edwin, but I see neither Voltcraft nor air quality in the hardware list.
Re: Proposal for new device in Domoticz
Posted: Monday 19 October 2020 18:54
by EdwinK
You can find it there.

- Screen Shot 2020-10-19 at 18.52.50.png (84.25 KiB) Viewed 2476 times
Maybe it's just in the beta version of Domoticz.
Re: Proposal for new device in Domoticz
Posted: Monday 19 October 2020 19:01
by waaren
HoogendoornJH wrote: ↑Monday 19 October 2020 18:18
I am sorry Edwin, but I see neither Voltcraft nor air quality in the hardware list.
First add a 'Dummy (Does nothing, use for virtual switches') type hardware.
Push the highlighted
[Create Virtual Sensor] on the just created hardware.
Select sensor type Air Quality name- and create it by pressing OK.
It will show up in the devices tab like the ones below

- devices.png (60.1 KiB) Viewed 2475 times
Re: Proposal for new device in Domoticz
Posted: Monday 19 October 2020 19:09
by HoogendoornJH
OK, I did, but how do I link it to the SenseAir CO2-meter?
Re: Proposal for new device in Domoticz
Posted: Monday 19 October 2020 19:17
by waaren
HoogendoornJH wrote: ↑Monday 19 October 2020 19:09
OK, I did, but how do I link it to the SenseAir CO2-meter?
Via an
API call or
MQTT or
mySensors ? Either direct or via a broker like Node-Red
Re: Proposal for new device in Domoticz
Posted: Tuesday 20 October 2020 9:25
by HoogendoornJH
EdwinK wrote: ↑Monday 19 October 2020 18:54
You can find it there.
Screen Shot 2020-10-19 at 18.52.50.png
Maybe it's just in the beta version of Domoticz.
Mmm, strange Edwin. I upgraded to the latest version, but do not find the Voltcraft in the hardware list.

- Hardwarelist.jpg (47.09 KiB) Viewed 2437 times
Re: Proposal for new device in Domoticz
Posted: Tuesday 20 October 2020 9:46
by waaren
HoogendoornJH wrote: ↑Tuesday 20 October 2020 9:25
Mmm, strange Edwin. I upgraded to the latest version, but do not find the Voltcraft in the hardware list.
Have you tried clearing browser- and appcache (different things) ?
- clear appcache
Chrome: chrome://appcache-internals/#
Firefox:
https://support.mozilla.org/en-US/kb/storage
- in www/js look for domoticz.js.gz, if its there remove it, (KEEP domoticz.js !! )
- use incognito mode using
Chrome [control] [shift] n
Firefox: [control] [shift] p
Re: Proposal for new device in Domoticz
Posted: Tuesday 20 October 2020 11:05
by HoogendoornJH
I performed your suggestions (did not find domoticz.js.gz), but still no Voltcraft.
Re: Proposal for new device in Domoticz
Posted: Tuesday 20 October 2020 11:16
by waaren
HoogendoornJH wrote: ↑Tuesday 20 October 2020 11:05
I performed your suggestions (did not find domoticz.js.gz), but still no Voltcraft.
See below screenshot from the wiki

- Voltcraft.png (74.46 KiB) Viewed 2416 times
Re: Proposal for new device in Domoticz
Posted: Tuesday 20 October 2020 11:34
by HoogendoornJH
Ah, yes, what a pity. Anyhow, thanks for the support.
By the way, I have a Raspberry Pi operational. Would it be better to have Domoticz running on a Raspberry Pi?
Re: Proposal for new device in Domoticz
Posted: Tuesday 20 October 2020 11:48
by waaren
HoogendoornJH wrote: ↑Tuesday 20 October 2020 11:34
I have a Raspberry Pi operational. Would it be better to have Domoticz running on a Raspberry Pi?
Probably very subjective.. But Yes
Re: Proposal for new device in Domoticz
Posted: Tuesday 20 October 2020 12:18
by HoogendoornJH
Any idea what the advantages of running Domoticz on a Raspberry Pi in stead of Windows could be, apart from a possible antipathy for windows (and access to Voltcraft)?
Re: Proposal for new device in Domoticz
Posted: Tuesday 20 October 2020 12:33
by waaren
HoogendoornJH wrote: ↑Tuesday 20 October 2020 12:18
Any idea what the advantages of running Domoticz on a Raspberry Pi in stead of Windows could be, apart from a possible antipathy for windows (and access to Voltcraft)?
I only have Windows on my desktop and laptop and they are not powered 24/7 because of the energy usage.
All other reasons are as said subjective and related to my lack of knowledge of the Windows toolsets and my preference for opensource + the tools / possibilities of Linux.
In fact I have domoticz on Windows, Synology, Raspberry Pi and Intel NUC for test and development and my "production" domoticz is on Intel NUC.
Re: Proposal for new device in Domoticz
Posted: Tuesday 20 October 2020 14:31
by HoogendoornJH
OK, thanks for your opinion, waaren. May be I'll give Domoticz on the RasPi a try (the most difficult thing being the handling of USB ports). Actually, I am more used to a Windows environment and apart from a few remarkable things (which I will post soon), Domoticz works quite well under Windows (running 24/7 on a Surface 3). In general and as far as possible, I share your preference for opensource.
Re: Proposal for new device in Domoticz
Posted: Monday 26 October 2020 12:36
by Bramz
waaren wrote: ↑Tuesday 20 October 2020 11:16
HoogendoornJH wrote: ↑Tuesday 20 October 2020 11:05
I performed your suggestions (did not find domoticz.js.gz), but still no Voltcraft.
See below screenshot from the wiki
Voltcraft.png
For what it's worth: a little Windows programme that came with the Voltcraft CO-20 USB stick is still downloadable from the Conrad website:
https://asset.conrad.com/media10/add/16 ... luchtk.zip