One last thing, i got everything working incl the blocky script for relay switching.
But, when i exit putty the dht script stops. I tried to run it with /dht & command for background but it still outputs in the putty terminal and stops when i close putty.
How to make sure that it always runs?
Search found 10 matches
- Wednesday 07 October 2020 20:38
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: DHT22 sensor value's into Domoticz
- Replies: 28
- Views: 14595
- Wednesday 07 October 2020 17:54
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: DHT22 sensor value's into Domoticz
- Replies: 28
- Views: 14595
Re: DHT22 sensor value's into Domoticz
There as "donate" button on the domoticz main page
Once i get everything working "for free" it's only fair to donate some symbolic amount to the developers, i was hoping you are part of the team
Once i get everything working "for free" it's only fair to donate some symbolic amount to the developers, i was hoping you are part of the team
- Wednesday 07 October 2020 17:28
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: DHT22 sensor value's into Domoticz
- Replies: 28
- Views: 14595
Re: DHT22 sensor value's into Domoticz
Hehe, no worries (just hate python) I see IDX 33 in the link ? ;)
OMG i was defining the IDX = 3 and also adding the 3 in the URL line not understanding that the first 3 will be added there... :oops: :oops: :oops:
Confirming, all works perfectly, I've learned a lot so i hope not to do the ...
- Wednesday 07 October 2020 17:17
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: DHT22 sensor value's into Domoticz
- Replies: 28
- Views: 14595
Re: DHT22 sensor value's into Domoticz
Thank you so much and apologize for the python stuff.
I got the readings but I'm missing the link to Domoticz, see below.
my IDX = 3
is there something wrong on the json line?
Orange/Raspberry PI DHT11/DHT22 temperature/humidity test
Humidity = 84.6 % Temperature = 16.6 *C (61.9 *F)
/bin/bash -c ...
I got the readings but I'm missing the link to Domoticz, see below.
my IDX = 3
is there something wrong on the json line?
Orange/Raspberry PI DHT11/DHT22 temperature/humidity test
Humidity = 84.6 % Temperature = 16.6 *C (61.9 *F)
/bin/bash -c ...
- Wednesday 07 October 2020 16:49
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: DHT22 sensor value's into Domoticz
- Replies: 28
- Views: 14595
Re: DHT22 sensor value's into Domoticz
Thanks, below the results from the gpio readall
pi@raspberrypi:~/domoticz/scripts $ gpio readall
+-----+-----+---------+------+---+---Pi 3B--+---+------+---------+-----+-----+
| BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM ...
pi@raspberrypi:~/domoticz/scripts $ gpio readall
+-----+-----+---------+------+---+---Pi 3B--+---+------+---------+-----+-----+
| BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM ...
- Wednesday 07 October 2020 16:26
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: DHT22 sensor value's into Domoticz
- Replies: 28
- Views: 14595
Re: DHT22 sensor value's into Domoticz
Thanks for taking your time to help me.
I did uncomment now and i can run the script but get no temperature data, only results shown is "Orange/Raspberry PI DHT11/DHT22 temperature/humidity test"
The sensor is working with the py script
this is what i use from your code:
/*
* dht.c:
* Read ...
I did uncomment now and i can run the script but get no temperature data, only results shown is "Orange/Raspberry PI DHT11/DHT22 temperature/humidity test"
The sensor is working with the py script
this is what i use from your code:
/*
* dht.c:
* Read ...
- Wednesday 07 October 2020 15:40
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: DHT22 sensor value's into Domoticz
- Replies: 28
- Views: 14595
Re: DHT22 sensor value's into Domoticz
Hmm, i can now run the dht command with full pathbut nothing happens. Below is the copy from dht.c that i used to compile the dht
IDX=3 and i use GPIO18
/*
* dht.c:
* Read temperature and humidity from DHT11 or DHT22 sensor on a Orange/Raspberry PI and put the value's into Domoticz every 3 ...
IDX=3 and i use GPIO18
/*
* dht.c:
* Read temperature and humidity from DHT11 or DHT22 sensor on a Orange/Raspberry PI and put the value's into Domoticz every 3 ...
- Wednesday 07 October 2020 15:31
- Forum: Temperature and Weather
- Topic: DHT22
- Replies: 7
- Views: 1658
Re: DHT22
Hi guys,
i got this working as well, but the temperature reading happens only once after i run the command python 2302.py where 2302.py is the script from the french site.
How can i get Domoticz to read the sensor all the time? Do i need to loop the script and how to do that?
i got this working as well, but the temperature reading happens only once after i run the command python 2302.py where 2302.py is the script from the french site.
How can i get Domoticz to read the sensor all the time? Do i need to loop the script and how to do that?
- Wednesday 07 October 2020 14:51
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: DHT22 sensor value's into Domoticz
- Replies: 28
- Views: 14595
Re: DHT22 sensor value's into Domoticz
Thanks, sorry for my lack of skills :)
I managed to get it working with a python script according to instruction in another thread here
https://domoticz.com/forum/viewtopic.php?f=12&t=33385&p=252615&hilit=dht22#p252615
Coping the linked french script and changing to correct parameters (same as i ...
I managed to get it working with a python script according to instruction in another thread here
https://domoticz.com/forum/viewtopic.php?f=12&t=33385&p=252615&hilit=dht22#p252615
Coping the linked french script and changing to correct parameters (same as i ...
- Wednesday 07 October 2020 13:38
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: DHT22 sensor value's into Domoticz
- Replies: 28
- Views: 14595
Re: DHT22 sensor value's into Domoticz
Hi,
i'm new here and trying to setup AM2302/DHT22 with Domoticz.
I can get correct sensor values with python code according to this guide https://pimylifeup.com/raspberry-pi-humidity-sensor-dht22/
I use pin 18 for the DHT 22
On pin 4 i have a ds18b20 which was easy to set up in the devices ...
i'm new here and trying to setup AM2302/DHT22 with Domoticz.
I can get correct sensor values with python code according to this guide https://pimylifeup.com/raspberry-pi-humidity-sensor-dht22/
I use pin 18 for the DHT 22
On pin 4 i have a ds18b20 which was easy to set up in the devices ...