Search found 7 matches
- 14 Feb 2019, 23:42
- Forum: ESP Easy: Hardware
- Topic: DHT11 not decimal values?
- Replies: 18
- Views: 18103
Re: DHT11 not decimal values?
Thanks for you patience, modifying to much at the same time...your code works, but still have difficulty understanding the syntax a bit. Can i modify var#2 to dummydev#Dtemp or does that not make sense? or is 2 here not a variable but a location? On DHT11#Temperature Do Let,2,[VAR#1]*4 Let,1,[DHT11#...
- 14 Feb 2019, 23:13
- Forum: ESP Easy: Hardware
- Topic: DHT11 not decimal values?
- Replies: 18
- Views: 18103
Re: DHT11 not decimal values?
On Temperature#Value Do
Let,2,[dummydev#Dtemp]*4
Let,1,[DHT11#Temperature]
TaskValueSet,2,1,([DHT11#Temperature]+[dummydev#Dtemp])/5
EndOn
with:
Let,2,[dummydev#Dtemp]*4
Let,1,[DHT11#Temperature]
TaskValueSet,2,1,([DHT11#Temperature]+[dummydev#Dtemp])/5
EndOn
with:
- 14 Feb 2019, 23:08
- Forum: ESP Easy: Hardware
- Topic: DHT11 not decimal values?
- Replies: 18
- Views: 18103
Re: DHT11 not decimal values?
No changes,
VAR#1 and 2 , do i need to change that to DHT11#Temperature ?
WHere does VAR#2 come from?
(sorry for the apparently 'i should know' questions)
VAR#1 and 2 , do i need to change that to DHT11#Temperature ?
WHere does VAR#2 come from?
(sorry for the apparently 'i should know' questions)
- 14 Feb 2019, 22:50
- Forum: ESP Easy: Hardware
- Topic: DHT11 not decimal values?
- Replies: 18
- Views: 18103
Re: DHT11 not decimal values?
added a picture in prev post, can do dht on task number 1 or put sensor on different row (12)
- 14 Feb 2019, 22:41
- Forum: ESP Easy: Hardware
- Topic: DHT11 not decimal values?
- Replies: 18
- Views: 18103
Re: DHT11 not decimal values?
I dont understand dummy device. have a dht11 connected, rules as suggested, always xx.00 degrees.
- 14 Feb 2019, 22:23
- Forum: ESP Easy: Hardware
- Topic: DHT11 not decimal values?
- Replies: 18
- Views: 18103
Re: DHT11 not decimal values?
Dear grovkillen,
maybe my learning curve is not so steep...?
I expected to have decimals with the filter. But I don's see it.
Maybe is mis the point on "you can set your decimals on that dummy value" ?
A hint for me?
best regards!
Jan
maybe my learning curve is not so steep...?
I expected to have decimals with the filter. But I don's see it.
Maybe is mis the point on "you can set your decimals on that dummy value" ?
A hint for me?
best regards!
Jan
- 14 Feb 2019, 21:15
- Forum: ESP Easy: Hardware
- Topic: DHT11 not decimal values?
- Replies: 18
- Views: 18103
Re: DHT11 not decimal values?
Hi there, thanks to the support of Gijs and Grovkiller I now have some basic sliding average filter implemented. Looks like: On Temperature#Value Do Let,2,[VAR#1]*4 Let,1,[Temperature#Value] TaskValueSet,12,1,([VAR#1]+[VAR#2])/5 EndOn Now, as I understand, the DHT11 only gives integers as a value. A...