CO2 Sensors

Pop your questions regarding Home automation Domotica hardware here.....
AshaiRey
Senior Member
Senior Member
Posts: 1310
Joined: Mon Feb 02, 2009 5:27 pm
Location: Netherlands
Contact:

Re: CO2 Sensors

Post by AshaiRey »

Aaahhhaa! :oops:
Till now i just didn't notice the 2 in CO2
Thanx for pointing this out to me.
Bram
Sparkman
Starting Member
Starting Member
Posts: 29
Joined: Wed Sep 09, 2015 5:57 am

Re: CO2 Sensors

Post by Sparkman »

esschenk wrote:Hello,

Ok, only my program skills are not so good.
So I look in to another way to put the sensor output in to Homeseer.

Thanks for repley

Ed
Hi Ed,

In case you don't have yours working yet, I have received my sensor and was able to get its values into HomeSeer using a JSON command. See here for more details: http://board.homeseer.com/showthread.ph ... ost1238267.

Cheers
Al
stefxx
Advanced Member
Advanced Member
Posts: 679
Joined: Fri Sep 12, 2008 2:26 pm
Location: Netherlands

Re: CO2 Sensors

Post by stefxx »

AshaiRey wrote:Aaahhhaa! :oops:
Till now i just didn't notice the 2 in CO2
Thanx for pointing this out to me.
Nonetheless, I would welcome a similar CO sensor as well. Or a combined CO/CO2 sensor? :)
User avatar
esschenk
Member
Member
Posts: 426
Joined: Sun Feb 17, 2008 10:34 pm
Location: Netherlands
Contact:

Re: CO2 Sensors

Post by esschenk »

Hi Al,

Thanks for the example for Json.

But iam a, no no with this kind of stuf.
Can you explane how i can get this in Homeseer.

What i have done so far.

The Wifi connection is working.
OK
setWifiAlquinxxxxxxx
Connecting to: "Alquin", "xxxxxxx"

received:OK

In the sensor i have set the url to.
http://192.168.1.11:2234/myservice?co2=%s&id=vAir

How can i get the Json command in Homeseer!!.


Thanks for the Explanation.

Ed
raymonvdm
Senior Member
Senior Member
Posts: 1153
Joined: Sun Dec 18, 2011 1:23 am

Re: CO2 Sensors

Post by raymonvdm »

I did not yet find the json commands for HS3, however i did find some example for domoticz :-)

https://www.domoticz.com/forum/viewtopi ... 860#p81138

However i found out this

Code: Select all


htpp://ipadresss:port/JSON?request=controldevicebyvalue&ref=3570&value=%s  (3570 is the device id of your virtual device)

Running HS3PRO on PC with Z-Wave / OpenTherm / Plugwise / RFXcom / MQTT / XAP400 / Logitech Media Server and Squeezelite on PI`s
User avatar
Phaeton
Advanced Member
Advanced Member
Posts: 573
Joined: Wed May 19, 2010 12:44 pm
Location: Wassenaar
Contact:

Re: CO2 Sensors

Post by Phaeton »

That's indeed how it works!
groeten,
Harry
vlast3k
Starting Member
Starting Member
Posts: 31
Joined: Fri Jan 08, 2016 3:45 pm

Re: CO2 Sensors

Post by vlast3k »

i have also created a small page on configuring it with domoticz, if this would help...
https://github.com/vlast3k/simple-co2-m ... ntegration
User avatar
esschenk
Member
Member
Posts: 426
Joined: Sun Feb 17, 2008 10:34 pm
Location: Netherlands
Contact:

Re: CO2 Sensors

Post by esschenk »

Hello,

Ok, i understand the http:
But how can I read this in Homeseer.
Must I make a script or a event to read the URL!!!
Sorry but I have nothing done with Json.
And I cant find any examples in The Help file from Homeseer.

Thanks in advanced

Ed
raymonvdm
Senior Member
Senior Member
Posts: 1153
Joined: Sun Dec 18, 2011 1:23 am

Re: CO2 Sensors

Post by raymonvdm »

- Create a virtual device in HomeSeer (http://ip:port/deviceutility and press the green + in the rightside upper corner)
- Remember the Reference ID (for example 1036)
- Use this link in your webbrowser to test (htpp://ipadresss:port/JSON?request=controldevicebyvalue&ref=1036&value=15252
- Check the device value in HomeSeer (it should be 15252)

- If it is working use this link in your CO2 device (htpp://ipadresss:port/JSON?request=controldevicebyvalue&ref=1036&value=%s

Note: I did not get it working yet

Code: Select all

192.168.110.35:8080/JSON?request=controldevicebyvalue&ref=762&value=0
192.168.110.35:8080/JSON?request=controldevicebyvalue&ref=762&value=100
Is switching between on and off but i cannot enter en custom value (yet)
Running HS3PRO on PC with Z-Wave / OpenTherm / Plugwise / RFXcom / MQTT / XAP400 / Logitech Media Server and Squeezelite on PI`s
mhn
Member
Member
Posts: 399
Joined: Tue Jul 21, 2009 9:27 pm
Location: Denmark

Re: CO2 Sensors

Post by mhn »

I use Device string for custom values. I can't remember why. But your problem could be the reason. :-)
raymonvdm
Senior Member
Senior Member
Posts: 1153
Joined: Sun Dec 18, 2011 1:23 am

Re: CO2 Sensors

Post by raymonvdm »

mhn wrote:I use Device string for custom values. I can't remember why. But your problem could be the reason. :-)

Could you give me "your url" to understand the issue ?
Running HS3PRO on PC with Z-Wave / OpenTherm / Plugwise / RFXcom / MQTT / XAP400 / Logitech Media Server and Squeezelite on PI`s
Sparkman
Starting Member
Starting Member
Posts: 29
Joined: Wed Sep 09, 2015 5:57 am

Re: CO2 Sensors

Post by Sparkman »

raymonvdm wrote:- Create a virtual device in HomeSeer (http://ip:port/deviceutility and press the green + in the rightside upper corner)
- Remember the Reference ID (for example 1036)
- Use this link in your webbrowser to test (htpp://ipadresss:port/JSON?request=controldevicebyvalue&ref=1036&value=15252
- Check the device value in HomeSeer (it should be 15252)

- If it is working use this link in your CO2 device (htpp://ipadresss:port/JSON?request=controldevicebyvalue&ref=1036&value=%s

Note: I did not get it working yet

Code: Select all

192.168.110.35:8080/JSON?request=controldevicebyvalue&ref=762&value=0
192.168.110.35:8080/JSON?request=controldevicebyvalue&ref=762&value=100
Is switching between on and off but i cannot enter en custom value (yet)
This is all correct, but you need to configure the Status Text portion of the Status Graphics tab similar to what I have shown in the thread on the HS board.

Cheers
Al
raymonvdm
Senior Member
Senior Member
Posts: 1153
Joined: Sun Dec 18, 2011 1:23 am

Re: CO2 Sensors

Post by raymonvdm »

Aha found it, and it is working. To bad that you cannot make it a status only device (prevent control using app or webinterface)

http://board.homeseer.com/showpost.php? ... ostcount=2
Running HS3PRO on PC with Z-Wave / OpenTherm / Plugwise / RFXcom / MQTT / XAP400 / Logitech Media Server and Squeezelite on PI`s
User avatar
Phaeton
Advanced Member
Advanced Member
Posts: 573
Joined: Wed May 19, 2010 12:44 pm
Location: Wassenaar
Contact:

Re: CO2 Sensors

Post by Phaeton »

You can use values if you add All possible values to the device in hs. Otherwise you het An error. I prefere to use the value instead of string for numbers. But you have to add the possible values (in a range)
groeten,
Harry
Sparkman
Starting Member
Starting Member
Posts: 29
Joined: Wed Sep 09, 2015 5:57 am

Re: CO2 Sensors

Post by Sparkman »

raymonvdm wrote:Aha found it, and it is working. To bad that you cannot make it a status only device (prevent control using app or webinterface)

http://board.homeseer.com/showpost.php? ... ostcount=2
Yes, unfortunately JSON does not work with status only device, but it's possible to create a simple ASP page instead of using JSON and then pass the value that way.

Cheers
Al
Post Reply

Return to “Questions & Discussions Forum”