how to remotely (no WiFi, no IR) control ESP's
Moderators: grovkillen, Stuntteam, TD-er
how to remotely (no WiFi, no IR) control ESP's
As you know I'm currently installing new ESP based hardware.
I'm really loving to access it via ESP Easy Mega software with all of it's possibilities.
However, sometimes, I'd just like to push a button and initiate an action - no mobile, no tablet.
Unfortunately neither cable nor IR will do. Battery powered would be a nice-to-have.
Is there a way to do it? Do you have examples of dos and don'ts? I do need ESP Easy Mega in parallel.
Looking forward to your posts
I'm really loving to access it via ESP Easy Mega software with all of it's possibilities.
However, sometimes, I'd just like to push a button and initiate an action - no mobile, no tablet.
Unfortunately neither cable nor IR will do. Battery powered would be a nice-to-have.
Is there a way to do it? Do you have examples of dos and don'ts? I do need ESP Easy Mega in parallel.
Looking forward to your posts
Re: how to remotely (no WiFi, no IR) control ESP's
Not sure what you are saying here? What if you just connect a button to a GPIO on the ESP, and respond to that from Rules (using a Switch device, or simply using a `monitor,g,<pin>` on that gpio)?
/Ton (PayPal.me)
Re: how to remotely (no WiFi, no IR) control ESP's
unfortunately I do not have the possibility to wire a button to the ESP.just connect a button to a GPIO
Re: how to remotely (no WiFi, no IR) control ESP's
Is that because it's not electrically safe, or no GPIO pins available anymore? If the first problem, then, IR would be a quite viable solution (even though you say it is a no-no), as it only needs a single GPIO, and can be mounted electrically safe.
The WiFi AP is turned off 5 minutes after starting when no WiFi connection can be made, and no client is connected during that 5 time, so you can't (re)connect using f.e. your phone. Unless you can reset the unit, connect and do the needed action, but that's way more than a single button-press
/Ton (PayPal.me)
Re: how to remotely (no WiFi, no IR) control ESP's
neither nor, it's just because this setup is in fact within WiFi reach but far away from the users .. no chance to get a wire from A to B.Is that because it's not electrically safe, or no GPIO pins available anymore?
Re: how to remotely (no WiFi, no IR) control ESP's
You can send commands via ESPEasy p2p.
See the "sendto" command https://espeasy.readthedocs.io/en/lates ... nd-publish
For this you need to have the same UDP port set (e.g. port 8266 on tools->Advanced page) on the nodes that need to communicate with eachother.
And you need to have an unique host nr (Config tab), being not 0 and not 255, per ESPEasy node.
It is most useful to send an event via this "sendto" command and then in the rules define what to do when acting on the event.
You can give parameters along with the event, which you can use in the rules via %eventvalue1%.... etc.
See: https://espeasy.readthedocs.io/en/lates ... eventvalue
See the "sendto" command https://espeasy.readthedocs.io/en/lates ... nd-publish
For this you need to have the same UDP port set (e.g. port 8266 on tools->Advanced page) on the nodes that need to communicate with eachother.
And you need to have an unique host nr (Config tab), being not 0 and not 255, per ESPEasy node.
It is most useful to send an event via this "sendto" command and then in the rules define what to do when acting on the event.
You can give parameters along with the event, which you can use in the rules via %eventvalue1%.... etc.
See: https://espeasy.readthedocs.io/en/lates ... eventvalue
Re: how to remotely (no WiFi, no IR) control ESP's
You can create a custom dashboard for users (need to find the documentation link for that), or use a more complete setup like this: https://github.com/chromoxdor/easyfetch
/Ton (PayPal.me)
Re: how to remotely (no WiFi, no IR) control ESP's
Just to be clear, you want a battery operated wireless button rather than use traditional WiFi access methods? If this is the case, what distance? Is it clear line of sight?However, sometimes, I'd just like to push a button and initiate an action - no mobile, no tablet.
- Thomas
Re: how to remotely (no WiFi, no IR) control ESP's
Thanks a lot for your feedback, very helpful - also to rearrange my thoughts, what I'm thinking I might need!
The user's device CAN be connected to the mains and will be in WiFi range as well. Battery powered, hmm, would even be better ..
Distance as well as the amount of metal inbetween the two devices will not allow 'conventional' remotes, e.g. like the ones used for TV, audio equipment (referring to 'no IR' in the title).
I thought it might be feasible to upload the URL-sequence to something that's looking like a regular switch but any idea is welcome.
I know I could hang-up a tablet, display continuously on, showing the one button to press .. but somehow that's a bit too much technics for the purpose.
Also thought of something like this one: https://www.az-delivery.de/products/az- ... -und-esp32
I assume that might lead to something as you mentioned in
some of 'my' users don't know how to operate a mobile but a switch - yeah, I know, irritating, but that's the way it is.create a custom dashboard for users
the target device, the one that is reading the sensors, activating a relay e.a., is connected to the mains and in WiFi range.a battery operated wireless button rather than use traditional WiFi access methods? If this is the case, what distance? Is it clear line of sight?
The user's device CAN be connected to the mains and will be in WiFi range as well. Battery powered, hmm, would even be better ..
Distance as well as the amount of metal inbetween the two devices will not allow 'conventional' remotes, e.g. like the ones used for TV, audio equipment (referring to 'no IR' in the title).
I thought it might be feasible to upload the URL-sequence to something that's looking like a regular switch but any idea is welcome.
I know I could hang-up a tablet, display continuously on, showing the one button to press .. but somehow that's a bit too much technics for the purpose.
Also thought of something like this one: https://www.az-delivery.de/products/az- ... -und-esp32
I assume that might lead to something as you mentioned in
You can send commands via ESPEasy p2p.
Re: how to remotely (no WiFi, no IR) control ESP's
I'm working on supporting the Wireless-Tag WT32-SC01 units, for some time already, supporting the touch screen (the TFT and custom SPI pin configuration is already supported by ESPEasy), that's still in beta, but quite usable.obod0002c wrote: ↑02 Nov 2022, 09:26 Also thought of something like this one: https://www.az-delivery.de/products/az- ... -und-esp32
/Ton (PayPal.me)
Re: how to remotely (no WiFi, no IR) control ESP's
How about this: For simplicity use a second mains powered ESPEasy device. Put it in a wall or desk mounted enclosure with a push button switch. When the button is pressed this device will trigger the event in your other ESPEasy device that controls the relay. You can use ESPEasy's P2P for this. There's also HTTP and MQTT, pick your poison.The user's device CAN be connected to the mains and will be in WiFi range as well. Battery powered, hmm, would even be better ..
If you want something with a touch screen then that's doable. The project by @Ath is cool. Or you can use ESPEasy's Nextion plugin.
- Thomas
Who is online
Users browsing this forum: No registered users and 36 guests