Proposal for new device in Domoticz Topic is solved

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

HoogendoornJH
Posts: 37
Joined: Wednesday 31 July 2019 16:43
Target OS: Windows
Domoticz version: 12736
Location: Netherlands
Contact:

Proposal for new device in Domoticz

Post 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?
Aeotec Z-wave Gen5, RFXtrx433xl, Philips Hue Bridge, Davies Weather Station, Honeywell HGI/S80, AurAir CO2
Toulon7559
Posts: 858
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

Re: Proposal for new device in Domoticz

Post 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.
Last edited by Toulon7559 on Tuesday 20 October 2020 12:30, edited 3 times in total.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Proposal for new device in Domoticz

Post 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?
HoogendoornJH
Posts: 37
Joined: Wednesday 31 July 2019 16:43
Target OS: Windows
Domoticz version: 12736
Location: Netherlands
Contact:

Re: Proposal for new device in Domoticz

Post 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.
Aeotec Z-wave Gen5, RFXtrx433xl, Philips Hue Bridge, Davies Weather Station, Honeywell HGI/S80, AurAir CO2
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Proposal for new device in Domoticz

Post by EdwinK »

You need to search for voltcraft.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
HoogendoornJH
Posts: 37
Joined: Wednesday 31 July 2019 16:43
Target OS: Windows
Domoticz version: 12736
Location: Netherlands
Contact:

Re: Proposal for new device in Domoticz

Post by HoogendoornJH »

I am sorry Edwin, but I see neither Voltcraft nor air quality in the hardware list.
Aeotec Z-wave Gen5, RFXtrx433xl, Philips Hue Bridge, Davies Weather Station, Honeywell HGI/S80, AurAir CO2
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Proposal for new device in Domoticz

Post by EdwinK »

You can find it there.
Screen Shot 2020-10-19 at 18.52.50.png
Screen Shot 2020-10-19 at 18.52.50.png (84.25 KiB) Viewed 2461 times
Maybe it's just in the beta version of Domoticz.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Proposal for new device in Domoticz

Post 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
devices.png (60.1 KiB) Viewed 2460 times
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
HoogendoornJH
Posts: 37
Joined: Wednesday 31 July 2019 16:43
Target OS: Windows
Domoticz version: 12736
Location: Netherlands
Contact:

Re: Proposal for new device in Domoticz

Post by HoogendoornJH »

OK, I did, but how do I link it to the SenseAir CO2-meter?
Aeotec Z-wave Gen5, RFXtrx433xl, Philips Hue Bridge, Davies Weather Station, Honeywell HGI/S80, AurAir CO2
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Proposal for new device in Domoticz

Post 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
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
HoogendoornJH
Posts: 37
Joined: Wednesday 31 July 2019 16:43
Target OS: Windows
Domoticz version: 12736
Location: Netherlands
Contact:

Re: Proposal for new device in Domoticz

Post 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
Hardwarelist.jpg (47.09 KiB) Viewed 2422 times
Aeotec Z-wave Gen5, RFXtrx433xl, Philips Hue Bridge, Davies Weather Station, Honeywell HGI/S80, AurAir CO2
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Proposal for new device in Domoticz

Post 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
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
HoogendoornJH
Posts: 37
Joined: Wednesday 31 July 2019 16:43
Target OS: Windows
Domoticz version: 12736
Location: Netherlands
Contact:

Re: Proposal for new device in Domoticz

Post by HoogendoornJH »

I performed your suggestions (did not find domoticz.js.gz), but still no Voltcraft.
Aeotec Z-wave Gen5, RFXtrx433xl, Philips Hue Bridge, Davies Weather Station, Honeywell HGI/S80, AurAir CO2
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Proposal for new device in Domoticz

Post 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
Voltcraft.png (74.46 KiB) Viewed 2401 times
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
HoogendoornJH
Posts: 37
Joined: Wednesday 31 July 2019 16:43
Target OS: Windows
Domoticz version: 12736
Location: Netherlands
Contact:

Re: Proposal for new device in Domoticz

Post 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?
Aeotec Z-wave Gen5, RFXtrx433xl, Philips Hue Bridge, Davies Weather Station, Honeywell HGI/S80, AurAir CO2
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Proposal for new device in Domoticz

Post 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
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
HoogendoornJH
Posts: 37
Joined: Wednesday 31 July 2019 16:43
Target OS: Windows
Domoticz version: 12736
Location: Netherlands
Contact:

Re: Proposal for new device in Domoticz

Post 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)?
Aeotec Z-wave Gen5, RFXtrx433xl, Philips Hue Bridge, Davies Weather Station, Honeywell HGI/S80, AurAir CO2
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Proposal for new device in Domoticz

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
HoogendoornJH
Posts: 37
Joined: Wednesday 31 July 2019 16:43
Target OS: Windows
Domoticz version: 12736
Location: Netherlands
Contact:

Re: Proposal for new device in Domoticz

Post 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.
Aeotec Z-wave Gen5, RFXtrx433xl, Philips Hue Bridge, Davies Weather Station, Honeywell HGI/S80, AurAir CO2
Bramz
Posts: 8
Joined: Wednesday 01 October 2014 14:28
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: NL
Contact:

Re: Proposal for new device in Domoticz

Post 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
RPi B, RFXtrx 433e, KaKu switches, P1-Smart Meter cable v2, CO2 sensor, 1Wire-WirelessMultiSensor, SBFspot/PV-output
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest