Search found 41 matches

by Regolsis
14 Nov 2022, 12:19
Forum: ESP Easy: General Discussion
Topic: OLED Framed - Configurable formatting?
Replies: 9
Views: 6047

Re: OLED Framed - Configurable formatting?

I meant this text in the linked docs: The <text> parameter must be a single command parameter. Meaning, it must be wrapped in quotes when using a space or comma as text. A split token <|> can be used to display the line splitted, one part on the left the other one on the right side of the display.
by Regolsis
14 Nov 2022, 11:44
Forum: ESP Easy: General Discussion
Topic: OLED Framed - Configurable formatting?
Replies: 9
Views: 6047

Re: OLED Framed - Configurable formatting?

Hi TD-er, I played around with Oled Framed, but I did not found out how to use left-and-right-alignment, like described in the docs . When using "|" in the text, the pipe-symbol is shown as text instead of splitting the text into left and right parts. What am I doing wrong here? Any hint? ...
by Regolsis
29 Oct 2022, 18:54
Forum: ESP Easy: General Discussion
Topic: How to flash an LED as mailbox notification and use sleep mode?
Replies: 12
Views: 4247

Re: How to flash an LED as mailbox notification and use sleep mode?

Of course, you are right. But I don't have these components, have to get them, test the circuit etc. So far I will let the ESP run the whole LED flashing time (battery with small solarpanel should work) and hopefully in the future ...in 10-20 years... there will be an update and I only have to chang...
by Regolsis
29 Oct 2022, 18:43
Forum: ESP Easy: General Discussion
Topic: How to flash an LED as mailbox notification and use sleep mode?
Replies: 12
Views: 4247

Re: How to flash an LED as mailbox notification and use sleep mode?

For example, a Dual D Flip Flop with a clock, data, and set/reset pin. Such as a 74HC74 IC. Or one that uses I2C. Such as a PCF8574 or MCP23017. All of this only for a flashing LED? Sounds like a little bit of overkill, as we already have a microcomputer running :D If TD-er finds a way to set wifi ...
by Regolsis
29 Oct 2022, 17:30
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

Yes, the XNOR does not use any measurable current and the voltage divider has high resistors. Also the HT7333 LDO uses very little current. I think the measurement is correct, because the battery shows nearly no drop over night with the ESP-sensors sending every 15mins in my test.
by Regolsis
29 Oct 2022, 17:24
Forum: ESP Easy: General Discussion
Topic: How to flash an LED as mailbox notification and use sleep mode?
Replies: 12
Views: 4247

Re: How to flash an LED as mailbox notification and use sleep mode?

Yes, 433 is bad, so I prefer wifi over this. Wifi has also a better range in my case. By the way, is there any chance to disable wifi? I read about "wifimode,off", but when using this, there is no difference and the eco mode obviously gets disabled, so wifi is consuming 70mA against the 20...
by Regolsis
29 Oct 2022, 09:27
Forum: ESP Easy: General Discussion
Topic: How to flash an LED as mailbox notification and use sleep mode?
Replies: 12
Views: 4247

Re: How to flash an LED as mailbox notification and use sleep mode?

Thank you. I know this thread about mail notification, quite interesting. For about 8 years I used an Arduino with 433MHz sender as mail notification, which used to work fine, but in the last years it did not work correctly any longer. Could be that there is another sender nearby which distorts my o...
by Regolsis
29 Oct 2022, 09:09
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

I use a normal multimeter with mA and uA scale. Of course I am not sure if this is super correct, but I can see the tendency quite clear. So it doesn't matter if it is 30uA or 80uA, but it is really energy efficient, which the none decreasing voltage of my battery does also proof.
by Regolsis
28 Oct 2022, 18:05
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

In the meantime I found a solution using an XNOR-gate: Now the ESP wakes up on rising and on falling edge of the reed-contact. I don't know, why I have to use a transistor to lower down RST, because the XNOR-gate output pin seems not to be powerful enough to pull down the RST-pin. Yesterday I build ...
by Regolsis
28 Oct 2022, 17:21
Forum: ESP Easy: General Discussion
Topic: How to flash an LED as mailbox notification and use sleep mode?
Replies: 12
Views: 4247

How to flash an LED as mailbox notification and use sleep mode?

Hi, I would like to build a mail notification, which sends MQTT infos from my mailbox at the door when getting mail. This works fine in my breadboard tests. But there is an issue: On the outside of my mailbox I have an LED, which should also flash on incoming mail. This seems to be a showstopper, be...
by Regolsis
17 Oct 2022, 16:06
Forum: ESP Easy: Hardware
Topic: ESP32 - which versions are supported by ESPeasy?
Replies: 6
Views: 2300

Re: ESP32 - which versions are supported by ESPeasy?

OK, will keep this in mind. Thank you.
by Regolsis
17 Oct 2022, 13:53
Forum: ESP Easy: Hardware
Topic: ESP32 - which versions are supported by ESPeasy?
Replies: 6
Views: 2300

Re: ESP32 - which versions are supported by ESPeasy?

Thank you, I will take a look, which ones are offered.
by Regolsis
17 Oct 2022, 10:37
Forum: ESP Easy: Hardware
Topic: ESP32 - which versions are supported by ESPeasy?
Replies: 6
Views: 2300

ESP32 - which versions are supported by ESPeasy?

Hi,

is there a list of all the different ESP32-types which are supported by ESPeasy?

I thought about buying some ESP32 for testing and found out, that there is not ONE ESP32, but probably 100 :o
https://www.espressif.com/en/products/modules
by Regolsis
14 Oct 2022, 19:21
Forum: ESP Easy: Projects / Applications
Topic: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266
Replies: 22
Views: 14609

Re: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266

I now use https://github.com/esplesekopf/Tasmota which is described here https://tasmota.github.io/docs/Smart-Meter-Interface/

Works fine:

photo_2022-10-14_19-13-02.jpg
photo_2022-10-14_19-13-02.jpg (31.62 KiB) Viewed 4884 times
photo_2022-10-14_19-17-03.jpg
photo_2022-10-14_19-17-03.jpg (78.5 KiB) Viewed 4884 times

But my other sensors will be ESPeasy :ugeek:
by Regolsis
14 Oct 2022, 14:30
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

But how do you deal with the massive increase in power consumption than (assuming your setup uses a battery only) Edit: and let’s not forget.. it would only be easy if somebody is implementing it. this is work too. it is easier right now to buy and install a second switch than writing and testing c...
by Regolsis
14 Oct 2022, 14:28
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

And by the way, two reed-switches would still fit perfectly in a tic tac box next to each other. they can be placed almost side by side for the 2-reed solution. (it depends then on the strength/ placement and direction of the magnet) Could be, but it is too complicated to set this thing up on a win...
by Regolsis
14 Oct 2022, 14:02
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

I know, but that's why I suggested to add a FET to it as a "sample and hold" kind of idea. A simple FET and capacitor could do the trick. Just make sure the capacitor can be discharged in due time and will not be charged by the GPIO while it is in sleep. Maybe add some diode with low leak...
by Regolsis
14 Oct 2022, 13:59
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

One reed switch a bit further away from the magnet would do the trick...so it would pulse every time the magnet passes (just like in the window-open detection suggested by me) That's the problem: 2 reeds and 1 magnet and 1 reed has to be way away from the other. So this would result in a not nice i...
by Regolsis
14 Oct 2022, 13:50
Forum: ESP Easy: Projects / Applications
Topic: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266
Replies: 22
Views: 14609

Re: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266

Well it shouldn't really be rocket science to decode these. Wouldn't be surprised if someone already made a library for it to make it easier to implement. Something like this? https://github.com/mruettgers/SMLReader I am very new to ESPeasy, so I don't have any idea how to build a plugin or how to ...
by Regolsis
14 Oct 2022, 13:39
Forum: ESP Easy: Projects / Applications
Topic: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266
Replies: 22
Views: 14609

Re: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266

Maybe implementing to decode the protocol in an ESPEasy plugin would be the best fix? So that the ESP can send the decrypted data by MQTT? Would be an option. But how? :( Seems that someone did this in Tasmota: https://forum.creationx.de/forum/index.php?thread/1095-d0-z%C3%A4hler-sml-auslesen-mit-t...
by Regolsis
14 Oct 2022, 13:33
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

TD-er wrote: 14 Oct 2022, 11:29 Maybe use a coil instead of a reed contact?
This coil then could trigger a FET which can remain open by its own current.
A coil does not have an open or closed state. I must be able to read out the reed contact after wakeup.
by Regolsis
14 Oct 2022, 12:03
Forum: ESP Easy: Projects / Applications
Topic: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266
Replies: 22
Views: 14609

Re: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266

Hi, I built this simple smartmeter reader: https://www.mwinklerblog.de/smarthome/aktoren-sensoren/stromz%C3%A4hler-digital/ With telnet I get the raw data, but when I tried to get these serial2net data with openHAB I missed, because their binding (https://www.openhab.org/addons/bindings/smartmeter/)...
by Regolsis
14 Oct 2022, 09:40
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

When the window-state has changed it was a manual (reed-switch) wake up and if not it was an automatic one... I found this project: http://www.whatimade.today/esp-8266-mailbox-notifier-using-deepsleep-and-blynk/ http://www.whatimade.today/content/images/2016/06/ESPSketch_bb.jpg This circuit works w...
by Regolsis
10 Oct 2022, 17:13
Forum: ESP Easy: Software
Topic: Serial event processing only ONE time on data reception?
Replies: 2
Views: 1544

Re: Serial event processing only ONE time on data reception?

Ath wrote: 10 Oct 2022, 16:38 Q: Does the IR led provide usable data on the RX pin?
In my testing with a flashlight it does. I used this manual:
https://www.mwinklerblog.de/smarthome/a ... r-digital/
by Regolsis
10 Oct 2022, 16:33
Forum: ESP Easy: Software
Topic: Serial event processing only ONE time on data reception?
Replies: 2
Views: 1544

Serial event processing only ONE time on data reception?

Hi, I want to use an ESP8266-12F to send the data from a smart power meter (by IR-sensor on serial-RX) to openHAB. The power meter sends its data by IR once per second. I want to use the LED on D4 to flash once on data reception, but only once every second. When enabling Event processing to Generic ...
by Regolsis
09 Oct 2022, 14:50
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

you cannot find out how it has woken up. In your case you can! When the window-state has changed it was a manual (reed-switch) wake up and if not it was an automatic one... As the dummy device keeps the last state, even during deep sleep, I could know this, yes, now I understand, what you mean. But...
by Regolsis
09 Oct 2022, 14:14
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

My code is maybe also a bit confusing since i copied it from my weatherstation which is optimized to put the esp back to sleep as fast as possible... But what is basically does ist, sending something after a wake and puts the device with "DeepSleep,1800" back to sleep if the "boot#is...
by Regolsis
08 Oct 2022, 23:43
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

TD-er wrote: 08 Oct 2022, 23:38 They all will agree that the WiFi code for ESPs is something they rather not dare to touch as it may stop working by simply looking at it.
:lol: :lol: :lol:
by Regolsis
08 Oct 2022, 23:19
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

However there are so many edge cases which are hardly documented and more often than not absolutely not documented at all You are wrong: These "features" are not hardly documented, but they are nice easter eggs from our "Chinese fliends" :lol: But given the true nightmare nature...
by Regolsis
08 Oct 2022, 22:17
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

I will for sure look into the option to wake by pin on ESP8266. Thank you, I am really looking forward to this. For ESP32 it is at least implemented to send an event with the pin state of some pins. I know the ESP32 can be programmed to wake by a specific pin, or even some touch level. But that's n...
by Regolsis
08 Oct 2022, 22:10
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

right now it doesn’t determine between manual and auto wake up... why would you need it... every time all your data is send.... you could change the rules to determine a manual or auto wake... just look for a state change of the "window-switch". If it hasn’t changed it is a auto wake up. ...
by Regolsis
08 Oct 2022, 21:25
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

[boot#isboot] is a dummy device to determine whenever it was a powercycle (the value is lost in this case) or not Thank you. Ah, that's the trick to differentiate between manual reset and auto timer deep sleep? The value is kept on manual reset but not on auto wake up? What do you mean with "p...
by Regolsis
08 Oct 2022, 21:06
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

chromo23 wrote: 08 Oct 2022, 21:03 Yes..you can use rules for all of that...
I can send you a demo code if you are interested.
Yes, would be nice, thank you.

I read this post and TD-er replied, that it is not possible:
viewtopic.php?t=9249#p59790
by Regolsis
08 Oct 2022, 20:54
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

actually you can..... just wake the esp periodically for transmitting your sensor and battery values and by using the reset it wakes up manually and sends your window state along with the sensorvalues. Edit: it´s just a matter of writing the right rule for it I want to get the window open state rig...
by Regolsis
08 Oct 2022, 20:51
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

When is "gpio_pin_wakeup_enable()" introduced? I was sure only the ESP32 could be woken up by a GPIO pin... No, ESP8266 works fine with that (I tested ESP8266-07 and ESP8266-12F). I did implement this with success, but as I mentioned I want to use ESPeasy instead of building all functiona...
by Regolsis
08 Oct 2022, 20:35
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

@Regolsis there is an option i just made up where you can use the deep sleep mode (which might be the best option in terms of powersaving) Thank you! This is a good idea, but with that I can't use the automatic wake up to send alive state or battery state. This window sensor also gets temperature a...
by Regolsis
08 Oct 2022, 20:32
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

Right now ESPEasy will retry to reconnect as soon as you disconnect. But I am working on the WiFi part right now, and I will look into this for sure to make sure "WiFi off" is also a proper network medium to have active. Sounds great. Perhaps you could also have a look into my link above ...
by Regolsis
08 Oct 2022, 19:09
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

Re: "Automatic Light Sleep" or "Timed / Forced Light Sleep"

So there is no possibility to set the device to sleep except for deep sleep at the moment? In CPU Eco Mode it consumes at least 20mA, which is way too high for a battery device. I tried to disable wifi (WifiDisconnect), but this also does not work. Is there any chance to shut down wifi manually and ...
by Regolsis
08 Oct 2022, 13:20
Forum: ESP Easy: General Discussion
Topic: "Automatic Light Sleep" or "Timed / Forced Light Sleep"
Replies: 43
Views: 7388

"Automatic Light Sleep" or "Timed / Forced Light Sleep"

Hi, before I have found this cool ESPeasy stuff I tried to program the ESP8266 by myself. I used the following doc for setting the device into different light sleep modes without having to use the deep sleep mode and its disadvantages: https://github.com/esp8266/Arduino/tree/master/libraries/esp8266...