Search found 23 matches
- 30 Jan 2022, 18:22
- Forum: ESP Easy: Hardware
- Topic: ESP32, Deepsleep and external Wake-up sources?
- Replies: 12
- Views: 10629
Re: ESP32, Deepsleep and external Wake-up sources?
i would have one more question: In my case the µC regularly switching on - send data via MQTT and is going back to sleep. My Problem is to do Maintenance as the awake time is very short. Question 1: What Pin could is use for enable Maintenance mode (maintenance Mode = continues running without going...
- 26 Jan 2022, 10:52
- Forum: ESP Easy: Hardware
- Topic: ESP32, Deepsleep and external Wake-up sources?
- Replies: 12
- Views: 10629
Re: ESP32, Deepsleep and external Wake-up sources?
Do you all want to use pure ESP32 modules or a developer board with USB connector and 5V power supply? Actually in my Minde is following Dev Board: https://www.dfrobot.com/product-2231.html My experience: The ESP32 developer boards I tested are not really the best choice to use deepsleep, especiall...
- 25 Jan 2022, 09:35
- Forum: ESP Easy: Hardware
- Topic: ESP32, Deepsleep and external Wake-up sources?
- Replies: 12
- Views: 10629
Re: ESP32, Deepsleep and external Wake-up sources?
hi
I am also looking since a while for such solution!
It would be cool to use the existing magnetic sensor. ESP32 Built-In Hall Effect Sensor
Wake up if a magnetic field gets apply.
Is this a technical challenge?
I would spend some money – if someone can realize this.
br
I am also looking since a while for such solution!
It would be cool to use the existing magnetic sensor. ESP32 Built-In Hall Effect Sensor
Wake up if a magnetic field gets apply.
Is this a technical challenge?
I would spend some money – if someone can realize this.
br
- 14 Oct 2021, 09:02
- Forum: ESP Easy: Software
- Topic: Switch ESP via MQTT in sleep Mode
- Replies: 22
- Views: 8523
Re: Switch ESP via MQTT in sleep Mode
It is better to have text like stuff being posted in [ code ] tags, as that's searchable and easier to reply to. So no need to post screenshots where it is only about the text shown. Also I don't see what you're trying to tell in that screenshot as I don't see a logentry sent from the rules, or am ...
- 14 Oct 2021, 08:50
- Forum: ESP Easy: Software
- Topic: Switch ESP via MQTT in sleep Mode
- Replies: 22
- Views: 8523
Re: Switch ESP via MQTT in sleep Mode
You are checking for %eventvalue2%. Can you just try to log the values (without calling deepsleep)? See the "logentry" command. (see: https://espeasy.readthedocs.io/en/latest/Reference/Command.html ) Your code (from the screenshot): on remote_sleep#Sleepstatus do if %eventvalue2% = 1 deep...
- 13 Oct 2021, 20:50
- Forum: ESP Easy: Software
- Topic: Switch ESP via MQTT in sleep Mode
- Replies: 22
- Views: 8523
Re: Switch ESP via MQTT in sleep Mode
It should be possible not to use MQTT Import to simplify. Referring to Command Reference and Rules documentation, you could just do this : - Send a command via MQTT : <MQTT subscribe template>/cmd with payload: <command> (most likely %sysname%/cmd) - Use this command : control?cmd=event,send_to_dee...
- 13 Oct 2021, 20:41
- Forum: ESP Easy: Software
- Topic: Switch ESP via MQTT in sleep Mode
- Replies: 22
- Views: 8523
Re: Switch ESP via MQTT in sleep Mode
You are close :) on remote_sleep#SleepStatus do if %eventvalue1% = 1 // For the first of (currently) max. 4 available eventvalues, also the alias %eventvalue% can be used deepsleep,10 endif endon // This is required to close the event handler code It works but i do not understand why :roll: In spec...
- 12 Oct 2021, 20:28
- Forum: ESP Easy: Software
- Topic: Switch ESP via MQTT in sleep Mode
- Replies: 22
- Views: 8523
Re: Switch ESP via MQTT in sleep Mode
You are close :) on remote_sleep#SleepStatus do if %eventvalue1% = 1 // For the first of (currently) max. 4 available eventvalues, also the alias %eventvalue% can be used deepsleep,10 endif endon // This is required to close the event handler code It works but i do not understand why :roll: In speci...
- 12 Oct 2021, 19:58
- Forum: ESP Easy: Software
- Topic: Switch ESP via MQTT in sleep Mode
- Replies: 22
- Views: 8523
Re: Switch ESP via MQTT in sleep Mode
What is the current .bin file you have installed? The MQTT Import plugin is included in nearly all builds, so you should be able to select it for a new task on the Devices tab, it's called "Generic - MQTT Import" Build:⋄ 20114 - Mega32 System Libraries:⋄ ESP32 SDK v3.3.5-1-g85c43024c Plug...
- 12 Oct 2021, 18:33
- Forum: ESP Easy: Software
- Topic: Switch ESP via MQTT in sleep Mode
- Replies: 22
- Views: 8523
Re: Switch ESP via MQTT in sleep Mode
Please include your screenshots in the forum (Attachments tab below message area when adding a reply), as external screenshots will disappear after some (short) time, making this thread useless for others. I would like to do it - but it looks like i didn’t find the right "insert" button. ...
- 12 Oct 2021, 18:31
- Forum: ESP Easy: Software
- Topic: Switch ESP via MQTT in sleep Mode
- Replies: 22
- Views: 8523
Re: Switch ESP via MQTT in sleep Mode
You can also use command topic with the OpenHAB controller which your device subscribes to, this does not require installing MQTT Import plugin. You can post there event names with arguments which can be interpreted as events in the rules. For instance On ctlEvent do If %eventvalue1%=0 //do whateve...
- 12 Oct 2021, 15:01
- Forum: ESP Easy: Software
- Topic: Switch ESP via MQTT in sleep Mode
- Replies: 22
- Views: 8523
Re: Switch ESP via MQTT in sleep Mode
Can you give me an further hint how it I can get this plugin installed (working). No expertise with adding Plugins. What is the current .bin file you have installed? The MQTT Import plugin is included in nearly all builds, so you should be able to select it for a new task on the Devices tab, it's c...
- 12 Oct 2021, 12:23
- Forum: ESP Easy: Software
- Topic: Switch ESP via MQTT in sleep Mode
- Replies: 22
- Views: 8523
Re: Switch ESP via MQTT in sleep Mode
Can you give me an further hint how it I can get this plugin installed (working). No expertise with adding Plugins. What is the current .bin file you have installed? The MQTT Import plugin is included in nearly all builds, so you should be able to select it for a new task on the Devices tab, it's c...
- 11 Oct 2021, 19:08
- Forum: ESP Easy: Software
- Topic: Switch ESP via MQTT in sleep Mode
- Replies: 22
- Views: 8523
Re: Switch ESP via MQTT in sleep Mode
You can use the MQTT import plugin, to read a message published to a topic. The current MQTT import plugin can only read numerical values (PR to read more complicated messages is pending) But if you read a value like a "0" or "1", that's usable for operating a switch. On and Off...
- 11 Oct 2021, 18:42
- Forum: ESP Easy: Software
- Topic: Switch ESP via MQTT in sleep Mode
- Replies: 22
- Views: 8523
Switch ESP via MQTT in sleep Mode
Hello Experts Following challenge: I am installing the ESP with sensors (T/H) that reports the value via MQTT (rules) to the Server. After doublechecking the values on the Server(1-2 hours) i would like to switch the ESP remotely to Sleep mode via MQTT. The ESP reports successfully via MQTT to the S...
- 30 Jul 2021, 20:03
- Forum: ESP Easy: Software
- Topic: MQTT (JASON) Rule Engine failure ?
- Replies: 1
- Views: 3995
MQTT (JASON) Rule Engine failure ?
Hello experts, I try to get my measurement to NodeRed transferred via MQTT and JASON. After some research I could get a hint here in the Forum So I created a rule that formats the “output” as Jason and sent it via MQTT to the Broker. Basically, it works as long I use a Single Value. My Target is to ...
- 28 Jul 2021, 22:02
- Forum: ESP Easy: Software
- Topic: Deep Sleep for ESP32
- Replies: 19
- Views: 11308
Re: Deep Sleep for ESP32
thx for the guideline!
Parts of it sounds Swahili for me like the topic “github reponto”. It sounds complex to get it running on my PC therefore I think I will push it out to the winter season – even if we have fun in Winter in Austria too.
Parts of it sounds Swahili for me like the topic “github reponto”. It sounds complex to get it running on my PC therefore I think I will push it out to the winter season – even if we have fun in Winter in Austria too.
- 28 Jul 2021, 19:09
- Forum: ESP Easy: Software
- Topic: Deep Sleep for ESP32
- Replies: 19
- Views: 11308
Re: Deep Sleep for ESP32
Hello The Sleep time with 14400 works well now with the fix you offered. For my actual Project there is no need to extend the Sleep awake time as I am expecting to get all done within the 255 seconds. Thank you very much to take the effort! Just for a dummy user – how I could do this fix by myself? ...
- 28 Jul 2021, 14:30
- Forum: ESP Easy: Software
- Topic: Deep Sleep for ESP32
- Replies: 19
- Views: 11308
Re: Deep Sleep for ESP32
The deepsleep command is a 'run as fired', so sending that command will only execute it once. If you would set that value in the Config page you should be able to set it to a reasonable time, like 3600 seconds (1 hour), and it will wake up and go to sleep again. The build from last nights Github Ac...
- 28 Jul 2021, 06:02
- Forum: ESP Easy: Software
- Topic: Deep Sleep for ESP32
- Replies: 19
- Views: 11308
Re: Deep Sleep for ESP32
I have created a PR to fix the maximum that can be set using the 'deepsleep' command. (Config page is already using the max. value allowed). If desired I can provide a download for a .bin file, what build have you uploaded? (That's visible on the Info page.) I used following Firmware: Firmware Buil...
- 28 Jul 2021, 05:40
- Forum: ESP Easy: Software
- Topic: Deep Sleep for ESP32
- Replies: 19
- Views: 11308
Re: Deep Sleep for ESP32
My intention was to enter the command 'deepsleep,14400' in the Command field on the Tools tab, and press Submit. After 30 seconds the unit should go into sleep mode, and after a while wake up again. The duration of that 'while' would be interesting to know. The Sleep Mode settings should be reset t...
- 27 Jul 2021, 06:15
- Forum: ESP Easy: Software
- Topic: Deep Sleep for ESP32
- Replies: 19
- Views: 11308
Re: Deep Sleep for ESP32
hi
please see the attached picture:
The high Value is not getting accapted
Did I misunderstood where to enter the deep Sleep ?
please see the attached picture:
The high Value is not getting accapted
Did I misunderstood where to enter the deep Sleep ?
- 26 Jul 2021, 14:41
- Forum: ESP Easy: Software
- Topic: Deep Sleep for ESP32
- Replies: 19
- Views: 11308
Deep Sleep for ESP32
Hallo, I started gaining knowledge with ESP Easy couple weeks ago. I have an ESP32 running with the “Mega” image. I need to bring the ESP32 in the deep sleep mode for 4h. Can someone help me to get in the right direction? In the forum I read some distraction information that the max tine is around 1...