Sonoff THR316D
Moderators: grovkillen, Stuntteam, TD-er
Sonoff THR316D
Hello, I flashed the Sonoff THR316D with the WTS01 temperature probe
I can configure everything except the temperature probe, I can't get the address
I used the binary ESP_Easy_mega_20230304_climate_ESP32_4M316k.bin
I can configure everything except the temperature probe, I can't get the address
I used the binary ESP_Easy_mega_20230304_climate_ESP32_4M316k.bin
- Attachments
-
- espeasy1.jpg (103.13 KiB) Viewed 1638 times
-
- espeasy.JPG (141.15 KiB) Viewed 1638 times
Re: Sonoff THR316D
You need to pull up GPIO-27
So you can set this as the boot state on the hardware tab.
Then reboot, or just give the command "gpio,27,1"
So you can set this as the boot state on the hardware tab.
Then reboot, or just give the command "gpio,27,1"
Re: Sonoff THR316D
Thanks, that was it, now it works
I couldn't find the information
I couldn't find the information
Re: Sonoff THR316D
The 3V3 pin of the RJ11 connector is controlled by this GPIO.
Re: Sonoff THR316D
I still have a little problem with the configuration
I can't get the button to work
Is there anything special to do with it?
I enable Internal PullUp it works, but after a reboot it no longer works, then I disable Internal PullUp it works again, but after a reboot it no longer works, I re-enable it and it works until the next boot
I can't get the button to work
Is there anything special to do with it?
I enable Internal PullUp it works, but after a reboot it no longer works, then I disable Internal PullUp it works again, but after a reboot it no longer works, I re-enable it and it works until the next boot
Re: Sonoff THR316D
Button: GPIO-0
Relay1: GPIO-21
Relay2: GPIO-4
The button is a push-button, so you should set the Switch Button Type to "Push Button Active High" (or Low, as long as it is set as push button)
This will then toggle the state each time you press the button.
I don't have the internal pull-up checked.
Relay1: GPIO-21
Relay2: GPIO-4
The button is a push-button, so you should set the Switch Button Type to "Push Button Active High" (or Low, as long as it is set as push button)
This will then toggle the state each time you press the button.
I don't have the internal pull-up checked.
Re: Sonoff THR316D
You have the debounce set to 0.
That's not a good value for actual buttons which do bounce.
Try setting it to 100 msec.
That's not a good value for actual buttons which do bounce.
Try setting it to 100 msec.
Re: Sonoff THR316D
I just set it to 100ms, and it's still the same
I also tried with 200ms
I also tried with 200ms
Re: Sonoff THR316D
I just added this as rule:
For this I may first need to get "in sync" so the first time I may need to press the button twice.
Changing it to this, should fix that:
Code: Select all
on Button1#state do
gpio,4,%eventvalue1%
endon
Changing it to this, should fix that:
Code: Select all
on Button1#state do
gpiotoggle,4
endon
Re: Sonoff THR316D
thanks for your help, now it works
Who is online
Users browsing this forum: Google [Bot] and 36 guests