-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sonoff TH16 #18
Comments
That is purely a copy of the original
It definitely works with DTH22 for me, make sure you have the defines set in <7b0f96b> config_mc.h
See his readme
https://github.com/KmanOz/KmanSonoff/blob/master/README.md
<https://github.com/KmanOz/KmanSonoff> KmanSonoff/ <https://github.com/KmanOz/KmanSonoff/tree/master/arduino> arduino/KmanSonoff_v1.00sc/
From: bachoo786 [mailto:[email protected]]
Sent: Wednesday, 7 February 2018 12:58 PM
To: KmanOz/KmanSonoff <[email protected]>
Cc: Subscribed <[email protected]>
Subject: [KmanOz/KmanSonoff] Sonoff TH16 (#18)
Hi
Is your code compatible with Sonoff TH16? I have uploaded the correct code of yours but I am not registering any temperature and humidity. I have also installed DHT.h library to no joy.
Is there something I need to enable? am I missing anything?
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#18> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AFHNvUvRZu77iCto47qIoDxns_7Cd6aQks5tSOcegaJpZM4R76-D> . <https://github.com/notifications/beacon/AFHNvbNpEAeVcKHhs14mlY5gEkKgRNqAks5tSOcegaJpZM4R76-D.gif>
|
Hi for the temperature sensor is it mc or school arduino file? I used sc as it contains the dht22 library and talks about temperature? Thanks |
I meant mc.h or sc.h? |
config_sc.h |
right so I done the changes above and have subscribed to the topic as well but yet I cannot receive any temperature values. I can turn the switch on and off. |
Quick question : does the temperature sensor only work when the sonoff is connected to the mains? Because I am m testing it out from a USB 3v supply |
Yes. Try connecting it to the mains (after disconnecting from your programming cable of course). I had a similar issue, tried almost everything and thought I was losing my mind, but connecting to mains power solved it and the readings come through just fine now. |
@mjoshd thanks for the reply. quick question does this Kman’s code work with DS18B20? because i am not getting any readings with DS18B20 but getting readings with AM2301. |
Pretty sure it only works with DHT11 & DHT22. I'd highly recommend using a
DHT22.
…On Feb 12, 2018 5:35 PM, "bachoo786" ***@***.***> wrote:
@mjoshd <https://github.com/mjoshd> thanks for the reply.
quick question does this Kman’s code work with DS18B20? because i am not
getting any readings with DS18B20 but getting readings with AM2301.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AiH_xSaHT0D7wTkcvKLC0tv-BzLRnXoBks5tULyqgaJpZM4R76-D>
.
|
yeah but sonoff do 2 types of temp sensors i.e. AM2301 and DS18B20 I think AM2301 is DHT22 because it works fine but DS18B20 is something else ... |
Hi
Is your code compatible with Sonoff TH16? I have uploaded the correct code of yours but I am not registering any temperature and humidity. I have also installed DHT.h library to no joy.
Is there something I need to enable? am I missing anything?
Thanks.
The text was updated successfully, but these errors were encountered: