Request for help in selecting a switch

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
mackowiakp
Normal user
Posts: 531
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Request for help in selecting a switch

#1 Post by mackowiakp » 21 Jan 2024, 01:29

I currently have a disabled person at home.
Operating any application via, for example, a smartphone is impossible for this person.
Is there a ready-made switch (similar to the one in the photo, mechanical, not touch) on which ESPEas could be installed?
The device must be able to be controlled via Wi-Fi and RF from a remote control.
The point of this is for the person to be able to turn the lighting ON/OFF from the remote control while lying in bed, to do it with a button on the wall, and if they forget, the lighting will turn off automatically.
Another condition is that it must be a version without a neutral line.
Could you guys provide a link to a proven device of this type?
wył.jpeg
wył.jpeg (4.63 KiB) Viewed 1608 times

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Request for help in selecting a switch

#2 Post by TD-er » 21 Jan 2024, 01:59

You could also use a standard wall mounted switch and then attach those switches to some GPIO pins.
Maybe use some pull-up resistors and some capacitor over the pins and GND to filter out some noise.
Or take a look at the IR plugins so you can use just about any IR remote.

mackowiakp
Normal user
Posts: 531
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: Request for help in selecting a switch

#3 Post by mackowiakp » 21 Jan 2024, 05:42

I found an example of the switch I am looking for in terms of electrical parameters.

https://pl.aliexpress.com/item/10050029 ... ry_from%3A

But it's TUYA, i.e. via some kind of cloud. Tuya.local - sometimes it works and sometimes it doesn't - it depends, I don't really know.
That's why I would prefer ESPEasy of course.
Has anyone flashed this type of switch with ESPEasy FW?

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Request for help in selecting a switch

#4 Post by TD-er » 21 Jan 2024, 13:21

No idea what chip is being used in those.

User avatar
chromo23
Normal user
Posts: 827
Joined: 10 Sep 2020, 16:02
Location: germany

Re: Request for help in selecting a switch

#5 Post by chromo23 » 21 Jan 2024, 13:39

I also do not know of a good commercially available button but one of my first ESPEasy projects was a wireless battery powered button. If this is something you are looking for i could provide you with the information to build one.
I probably doesn't have to be battery powered. Using a USB cable would make this project much simpler. Only an esp8266 and a button.
bigbutton.jpg
bigbutton.jpg (81.95 KiB) Viewed 1562 times

mackowiakp
Normal user
Posts: 531
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: Request for help in selecting a switch

#6 Post by mackowiakp » 21 Jan 2024, 22:48

I think I found the solution to the problem.
https://pl.aliexpress.com/item/10050052 ... 02728925_6
This set is a purely hardware solution, but it can be added to a WiFi switch, e.g. mini SonOff with ESPEasy, via a 230V optocoupler.
The whole thing will fit in the place of the original switch on the wall.
The advantage of this solution is that the button does not require any power supply and can be placed (one or several) anywhere in the room.

User avatar
Ath
Normal user
Posts: 3521
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Request for help in selecting a switch

#7 Post by Ath » 21 Jan 2024, 23:23

Those switches can probably not be controlled from an ESP, as they need the 'mechanical' force of being pushed to generate the power to transmit, and that won't happen when trying to use an ESP to close a contact.

You could investigate of RFLink, also on this forum, can support those 433 MHz devices, as RFLink supports quite a few similar devices. That way you can operate the lights both using the switches and from some Home Automation (including ESPEasy) :)
/Ton (PayPal.me)

mackowiakp
Normal user
Posts: 531
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: Request for help in selecting a switch

#8 Post by mackowiakp » 21 Jan 2024, 23:27

Of course, the buttons themselves cannot be controlled by ESP.
But the receiver can be connected to ESP - as I wrote. And this is enough for me to achieve my goal.

User avatar
chromo23
Normal user
Posts: 827
Joined: 10 Sep 2020, 16:02
Location: germany

Re: Request for help in selecting a switch

#9 Post by chromo23 » 02 Feb 2024, 16:14

mackowiakp wrote: 21 Jan 2024, 22:48 I think I found the solution to the problem.
Since i was curious i ordered a pair of switches too.
Luckily i ordered a different kind as you can see in the picture. Mine has the receiver on an extra board. The other one is just one mainboard.
It runs with 3.3v has 6 pins (VCC, GND, Relay, Switch,Switch2, LED) is very small and it begs to be paired with an ESP :)
sw open.jpg
sw open.jpg (563.83 KiB) Viewed 842 times
sw.png
sw.png (34.29 KiB) Viewed 842 times

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests