I’m fairly sure these devices need the 5V supply to go to the switch and the other side of the switch goes to the Signal In and it uses GPIO0 as the Switch input.
Regards
Phil K
Sent from Mail for Windows 10
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/85333374-23d3-485c-a918-feaa83138ac5n%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/995e9ac6-8cfc-4365-9764-5de85cd74940n%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/dd5e0e8a-a201-4231-b827-c420e52cc767n%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/5a4ef268-19be-4be2-a2ae-713255a427d4n%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/32da5c09-91a0-43fb-bcd8-6dfe9fb33c4fn%40googlegroups.com.
On the one I have there is an optoisolator on the input (next to the relay). I never used the input just the output on GPIO4.
From: Michael Ingraham
Sent: 05 January 2021 20:26
To: Tim Dowker
Cc: TasmotaUsers
Subject: Re: Help request
Like I said, you may have lucked out. But do stay away from 5V on those pins.
You should put a pullup resistor tied to 3.3V and then use the switch to connect the GPIO to GND.
On Tue, Jan 5, 2021 at 3:17 PM Tim Dowker <timd...@gmail.com> wrote:
I've tried hooking up the Signal In and GND to the switch and still no go.
If the "damage has been done" is true, would I still be able to activate the relay from the Tasmota web interface? Currently I can still operate it via this method.
On Tuesday, January 5, 2021 at 3:14:47 PM UTC-5 meing..@gmail.com wrote:
You're feeding 5VDC to an ESP82xx GPIO. ESP82xx SoC are 3.3VDC. If you haven't released the magic smoke, you may have lucked out... but perhaps the damage has been done.
On Tue, Jan 5, 2021 at 2:58 PM Tim Dowker <timd...@gmail.com> wrote:
changed - still no go. Here is a picture of the basic wall switch I have setup for testing.
On Tuesday, January 5, 2021 at 2:52:11 PM UTC-5 meing...@gmail.com wrote:
GPIO5 should be SWITCH1. You have it configured as SWITCH2.
On Tue, Jan 5, 2021 at 2:42 PM Tim Dowker <timd...@gmail.com> wrote:
On Tuesday, January 5, 2021 at 2:40:50 PM UTC-5 meing...@gmail.com wrote:
`Switch<x>` status will be transmitted in the `STATUSSNS` (`Status 8`) telemetry.
Post the template you are using.
On Tuesday, January 5, 2021 at 2:06:02 PM UTC-5 timd...@gmail.com wrote:
Possibly silly question - if I have a switch hooked up properly - will the on/off show up in the Tasmota console?
On Tuesday, January 5, 2021 at 2:03:48 PM UTC-5 Tim Dowker wrote:
Hi Michael - Thank you for responding. I tried setting GPIO5 to both Button and Switch, neither worked unfortunately. According to my multimeter, my adapter is supplying 12.5VDC on the input side.
On Tuesday, January 5, 2021 at 1:59:00 PM UTC-5 meing...@gmail.com wrote:
On my module `Signal In` is on GPIO5 (not GPIO0). GPIO0 is broken out to the `Boot` contact (for booting into programming mode).
Also, be sure that your DC output from you AC/DC adapter supplies at least 7VDC.
On Tuesday, January 5, 2021 at 1:34:45 PM UTC-5 timd...@gmail.com wrote:
Ok, after some testing - here are the results.
Setting GPIO0 to Switch an connecting a standard household wall switch to the Digital Out 5V and Signal In does nothing. Also tried connecting the switch to the Digital GND and Signal In, same results, no worky.
Tried with both manually configuring the template and also using the Yunshan Relay (33), both failed. I've attached a (very) basic concept diagram of what I'd like to accomplish. If anybody is knowledgeable enough to at least let me know if what I'd like to do is even possible with this device, I would very much appreciate it.
Short description of what I'd like to do - basically I have a gas fireplace that is controlled by a switch on the wall. There are 12V going to this switch from the fireplace controller. I'd like to be able to turn the fireplace on/off via both the wall switch and from my phone (through Home Assistant).
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/CAMys3ReXwo-jrRSJ3y-u89mOF1b5ciG7TEtA9UsN4VYTheYRrQ%40mail.gmail.com.
I’ve finally had a chance to try using the input on my HW-622. Connecting the 5V line to the signal had no effect so I did some investigation with a multimeter. There is no voltage difference between the 5V and Signal connection and, critically, no voltage difference between %V and 0V. I connected a wire between the supply 0V and the 0V on the input block and then a switch between 5V and signal and the relay operated .
I have 2 of these and neither of them is connected to 0V. There is a board feedthrough next to the HW-622 writing which may be the issue but, as it is, the solution is a wire between the two )Vs.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/96142e7b-058a-e73b-d4ca-0fbf6b1bfdfc%40gmail.com.
The 0V on the switch side isn’t connected (which is why there isn’t a voltage difference between 5V and 0V – it reads 0 instead of 5). As there is no ‘reference the input is unable to work. It needs to connected like this. The little black item below the relay is an optoisolator which means that you don’t need to worry about ‘frying’ the ESP8266
From: Tim Dowker
Sent: 07 January 2021 13:44
To: TasmotaUsers
Subject: Re: Help request
@Phil K - thank you so much for your continued support and the follow up research/investigation. I truly appreciate your help and support on this.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/87e793b6-922b-4cfc-b215-6a9099818112n%40googlegroups.com.
No mine just operates the relay while the switch is closed. I have it set as Generic with GPIO4 as Relay1 and GPIO5 as Switch1.
What voltage are you supplying it with and is the switch a “normal” switch?
Regards
Phil K
Sent from Mail for Windows 10
From: Tim Dowker
Sent: 07 January 2021 16:34
To: TasmotaUsers
Subject: Re: Help request
@Phil K - I tried to set it up as you described but now whenever the switch is turned on, the unit becomes unresponsive (ran a continuous ping on it). As soon as I flip the switch back to off - the unit comes back online and can be used as normal. Is this to be expected?
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/64652cbb-bc0a-4e69-95cd-ff3701e03729n%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/22d3d278-e991-47b5-813f-3775a4d5830an%40googlegroups.com.
I’m fairly sure your device is the same as the one I have. Have you tried my suggestion about viewing what happens in Console?
Sent from Mail for Windows 10
From: Tim Dowker
Sent: 08 January 2021 12:54
To: TasmotaUsers
Subject: Re: Help request
@Barry - thank you for the follow-up and diagram - they are very helpful. Unfortunately, when I do the "Switch 2" setup, any time I flip the switch on - the module completely powers down. It's as if the unit shorts out. Once I flip the switch back to "off" it comes right back up. If toggle the switch multiple times, it resets it's configuration.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/7060935f-4a79-48d0-9c2e-3b5f042fefb6n%40googlegroups.com.
You don’t have anything connected between the signal input and 0V?
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/71ccb2e5-2efa-47cd-9c28-c8add72eba59n%40googlegroups.com.
I’d try a multimeter between signal and 0V to check the resistance. On mine it’s > 60kohm
Sent from Mail for Windows 10
From: Tim Dowker
Sent: 08 January 2021 15:24
To: TasmotaUsers
Subject: Re: Help request
Nope, here is my exact setup.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers..@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/71ccb2e5-2efa-47cd-9c28-c8add72eba59n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/b13799ad-8d72-4f21-9d0d-746a0c9f5724n%40googlegroups.com.
Yes Signal In. 0V and Gnd are synonymous – tend use 0V in the UK as Ground and Earth can be confused.
Sent from Mail for Windows 10
From: Tim Dowker
Sent: 08 January 2021 16:54
To: TasmotaUsers
Subject: Re: Help request
Sure thing - when you say signal, do you mean the "Signal In" terminal? And what do you mean by 0V?
On Friday, January 8, 2021 at 10:31:03 AM UTC-5 knowles...@gmail.com wrote:
I’d try a multimeter between signal and 0V to check the resistance. On mine it’s > 60kohm
Sent from Mail for Windows 10
From: Tim Dowker
Sent: 08 January 2021 15:24
To: TasmotaUsers
Subject: Re: Help request
Nope, here is my exact setup.
On Friday, January 8, 2021 at 9:50:31 AM UTC-5 knowles...@gmail.com wrote:
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/464c89b5-8981-421a-9b89-9e877c4d9604n%40googlegroups.com.
small steps.
I suspect that you have a duff device. There’s some stuff about diodes being fitted the wrong way round. You could use the Rx pin . You would need to create a voltage divider
Sent from Mail for Windows 10
From: Tim Dowker
Sent: 08 January 2021 18:40
To: TasmotaUsers
Subject: Re: Help request
Ok, thank you for your patience.
Measurement is attached. It drops to zero when I flip the hardware switch to "on" position.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/ed9c8788-fd36-4e63-b7e8-5d7ac387e131n%40googlegroups.com.
A faulty one
Sent from Mail for Windows 10
From: Tim Dowker
Sent: 08 January 2021 20:02
To: TasmotaUsers
Subject: Re: Help request
Sorry, I don't know what "duff device" means...
On Friday, January 8, 2021 at 3:00:48 PM UTC-5 knowles...@gmail.com wrote:
I suspect that you have a duff device. There’s some stuff about diodes being fitted the wrong way round. You could use the Rx pin . You would need to create a voltage divider
Sent from Mail for Windows 10
From: Tim Dowker
Sent: 08 January 2021 18:40
To: TasmotaUsers
Subject: Re: Help request
Ok, thank you for your patience.
Measurement is attached. It drops to zero when I flip the hardware switch to "on" position.
On Friday, January 8, 2021 at 1:17:08 PM UTC-5 knowles...@gmail.com wrote:
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/aa1ff4ae-5bb5-4e7d-869b-156dd823a1f0n%40googlegroups.com.
Yes the drawing was how I had it connected and it worked but Tim’s didn’t
From: Barry Parr
Sent: 08 January 2021 20:30
To: TasmotaUsers
Subject: Re: Help request
if the schematic you posted is correct , the diagram I posted should work.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/CAECyPQhX-SABe0u36Py7MzXw2KK5HwRv_K9a0fGMjK095RwM1g%40mail.gmail.com.