Search found 37 matches

by marstu
02 Dec 2023, 17:51
Forum: ESP Easy: General Discussion
Topic: Skin question wrt latest mega version
Replies: 1
Views: 633

Re: Skin question wrt latest mega version

Can be closed, I am now able to use the search function of the board and found the answer.

Thanks, marstu
by marstu
02 Dec 2023, 17:33
Forum: ESP Easy: General Discussion
Topic: Skin question wrt latest mega version
Replies: 1
Views: 633

Skin question wrt latest mega version

Dear all, I have recently updated all my 8266 from mega-20231013 to mega-20231130, and it is working as before. Thanks for all your hard work. But I was wondering if there was a change in the skin? Now it looks like more than a text console with some icons, and the colors are missing. BTW before som...
by marstu
28 May 2022, 21:43
Forum: ESP Easy: General Discussion
Topic: Rules with several time/date ranges
Replies: 11
Views: 4872

Re: Rules with several time/date ranges

Better not make these if checks too complicated. N.B. I did edit my post to remove the () in the if statement too. Thank you very much, a much better and smart way to solve my problem. It works very well, and I definitively need to get more familiar with "let". Kind regards and have a nic...
by marstu
28 May 2022, 19:27
Forum: ESP Easy: General Discussion
Topic: Rules with several time/date ranges
Replies: 11
Views: 4872

Re: Rules with several time/date ranges

Combining AND and OR without any round braces is probably not going to work as intended: if %sysweekday%>1 and %sysweekday%<7 and ((%systm_hm% > 06:00 and %systm_hm% < 08:00) or (%systm_hm% > 18:00 and %systm_hm% < 22:00)) // Allowed Date Range, Mon=2, Fri=6 This looked the most logical expectation...
by marstu
28 May 2022, 18:36
Forum: ESP Easy: General Discussion
Topic: Rules with several time/date ranges
Replies: 11
Views: 4872

Re: Rules with several time/date ranges

The first IF in your event handler excludes sat (7) and sun (1), so trying to select either of them in the last ELSEIF in that block is never giving the desired result... Thanks @Ath for the hint...grrrr...you are right: on Clock#Time=All,**:** do LogEntry,"Processing One-Minute Clock Event: T...
by marstu
28 May 2022, 13:27
Forum: ESP Easy: General Discussion
Topic: Rules with several time/date ranges
Replies: 11
Views: 4872

Re: Rules with several time/date ranges

I just checked your rules in Notepad++ with the ESPEasy rules color highlighter and the ifs and elses to seem to match. See: https://github.com/letscontrolit/ESPEasy/tree/mega/misc/Notepad%2B%2B Also your observation seems to match with the rules. I just deleted the rest of the lines, so you can se...
by marstu
28 May 2022, 09:38
Forum: ESP Easy: General Discussion
Topic: Rules with several time/date ranges
Replies: 11
Views: 4872

Re: Rules with several time/date ranges

Not looked through all the code, but this one looks weird: With weekdays ranging 1...7, this check is always true. Hi TD-er, you are totally right, I changed the code slightly and now at least it is working from Mon to Fri, but not on Sat and Sun: on Clock#Time=All,**:** do LogEntry,"Processin...
by marstu
09 May 2022, 22:53
Forum: ESP Easy: General Discussion
Topic: Rules with several time/date ranges
Replies: 11
Views: 4872

Rules with several time/date ranges

Dear all, long time no see, because of being happy until a few days. since the last weekend I though about having the OLEDs of my ESPs only active for a few hours per day, with different time ranges at the weekend and during the week. I tried a lot, but didn't find a solution, I hope to get somethin...
by marstu
12 Jan 2022, 00:07
Forum: Introduce yourself
Topic: Hi all. Im newbie.
Replies: 3
Views: 4800

Re: Hi all. Im newbie.

Welcome, and enjoy your new hobby.
by marstu
09 Nov 2021, 22:09
Forum: Introduce yourself
Topic: Hello world
Replies: 2
Views: 3119

Re: Hello world

Hello and welcome from my side as well.
Ath wrote: 09 Nov 2021, 11:00 Please feel invited to show some of your projects here, it's always inspiring to see other people's projects :)
I would support Ath's request, because I am into ESP8266, ESPEasy, and Domoticz as well. :)
by marstu
05 Aug 2021, 22:47
Forum: ESP Easy: General Discussion
Topic: OTA question
Replies: 7
Views: 11143

Re: OTA question

Thanks for this information, again I learnt something new.
by marstu
04 Aug 2021, 22:24
Forum: ESP Easy: General Discussion
Topic: OTA question
Replies: 7
Views: 11143

Re: OTA question

I noticed that only FHEM versions with OTA are available (the ESP_Easy_mega_20210802_minimal_core_274_ESP8285_1M_OTA_FHEM_HA.bin) Is there any chance that the Domoticz version will be released? Only for curiosity, what is the speciality of this version and what can the Domoticz version do? marstu
by marstu
20 Jun 2021, 13:02
Forum: ESP Easy: Software
Topic: Display Off via rule
Replies: 2
Views: 3755

Re: Display Off via rule

Display should be off during 19:00 and 8:00 from Monday to Friday, and completely in the weekend. Where is the mistake? Do I need another trigger? I'm a bit unsure what you want (OLED off during daytime or off during night time). From your code I think you want the display only on during the daytim...
by marstu
19 Jun 2021, 22:07
Forum: ESP Easy: Software
Topic: Display Off via rule
Replies: 2
Views: 3755

Display Off via rule

Hi all, It's again me, with a new question. I try to switch my small OLED display via the following rule: on %sysweekday%>0 and %sysweekday%<6 do If %systm_hm% < 19:00 and %systm_hm% > 08:00 OledFramedCmd,display,on else OledFramedCmd,display,off endif endon But obviously it is not working. Display ...
by marstu
17 Jun 2021, 20:32
Forum: ESP Easy: General Discussion
Topic: Max. duration of longpulse/PCFLongpulse
Replies: 32
Views: 10111

Re: Max. duration of longpulse/PCFLongpulse

The link is not showing the download links of the bin files. If you want to OTA flash them, you can browse them here: https://td-er.nl/ESPEasy/static/ Hi TD-er, I am happy to test one of these builds as well, because one of my ESP 8266 is also having issues with connecting to WLAN. Did you include ...
by marstu
13 Jun 2021, 21:05
Forum: ESP Easy: Software
Topic: Reboot tracking
Replies: 3
Views: 3957

Re: Reboot tracking

marstu wrote: 13 Jun 2021, 20:58

Code: Select all

on Clock#Time=All,23:59 do //will run once a day at noon
 TaskValueSet 6,1,0
endon
On System#Boot do 
  TaskValueSet 6,1,[Reb_Count#Reboots]+1 //will this survive a reboot?
endon
Tested and it is working as expected, thanks for the helpful hint.
by marstu
13 Jun 2021, 20:58
Forum: ESP Easy: Software
Topic: Reboot tracking
Replies: 3
Views: 3957

Re: Reboot tracking

Variables do not survive a reboot, but task variables do. So you could store something in a dummy task and try to read it at boot. Ok, again not thought out correctly. Next try is something like that: on Clock#Time=All,23:59 do //will run once a day at noon TaskValueSet 6,1,0 endon On System#Boot d...
by marstu
13 Jun 2021, 20:28
Forum: ESP Easy: Software
Topic: Reboot tracking
Replies: 3
Views: 3957

Reboot tracking

Hi all, I have a new idea, and would like to track the reboots of my ESPs on a daily basis (clear variable right before midnight) in a dummy device due to this rule, which is working very well: on System#Boot do timerSet,1,60 // Set timer 1 endon on WiFi#Disconnected do timerSet,1,60 // Set timer 1 ...
by marstu
11 Jun 2021, 15:52
Forum: ESP Easy: Software
Topic: How to write OLED status to variable
Replies: 11
Views: 6128

Re: How to write OLED status to variable

marstu wrote: 11 Jun 2021, 00:30
I already ticked sending with highest TX power, but will also change to 20.5 dBm.

Ok, will try B/G mode as well.
With these changes WIFI seems to be a little more stable, slower, but stable.
by marstu
11 Jun 2021, 15:51
Forum: ESP Easy: Software
Topic: How to write OLED status to variable
Replies: 11
Views: 6128

Re: How to write OLED status to variable

If the display timer interferes with your Wifi check timer, then one of them should be using another timer, there are 8 available. Now using timer 2: I have opened a new PR #3684 that adds the option to send events on Display On/Off and change of Contrast. I'm thinking if I should add an event on p...
by marstu
11 Jun 2021, 00:30
Forum: ESP Easy: Software
Topic: How to write OLED status to variable
Replies: 11
Views: 6128

Re: How to write OLED status to variable

If the WiFi reception is worse, please increase TX pwr to 20.5 dBm and check sending with highest TX power. I already ticked sending with highest TX power, but will also change to 20.5 dBm. Setting to B/G mode will allow you to actually send with more TX power compared to "n" network. (20...
by marstu
10 Jun 2021, 23:39
Forum: ESP Easy: Software
Topic: How to write OLED status to variable
Replies: 11
Views: 6128

Re: How to write OLED status to variable

I don't know why you would want to reboot if Wifi is away for > 60 seconds? Shouldn't be needed, I think. Because downstairs I have really a bad WIFI connection with the latest MEGA version, that was the reason for this rule, and it is quite helpful. If the display timer interferes with your Wifi c...
by marstu
10 Jun 2021, 22:17
Forum: ESP Easy: Software
Topic: How to write OLED status to variable
Replies: 11
Views: 6128

Re: How to write OLED status to variable

Hi Ath, I slightly adapted your code and it seems to work, but need some further testing. on PIR#State=1 do // Most PIR sensor give a high signal when activated AsyncEvent,displayon endon on displayon do if %systm_hm% < 20:00 and %systm_hm% > 06:30 // Only when we are awake OledFramedCmd,display,on ...
by marstu
08 Jun 2021, 23:08
Forum: ESP Easy: Software
Topic: How to write OLED status to variable
Replies: 11
Views: 6128

Re: How to write OLED status to variable

Ath wrote: 08 Jun 2021, 22:16 This solution is not keeping a state (yet), but I'll update that post later to add that if needed, as currently the display is always turned off after 1 minute, so no need to worry if it is turned off in time.
I'll let you know next week, but I guess this should solve my "problem".
by marstu
08 Jun 2021, 23:07
Forum: ESP Easy: Software
Topic: How to write OLED status to variable
Replies: 11
Views: 6128

Re: How to write OLED status to variable

There are 2 challenges with this: - You can't read the state of the display What a pity. - The OLED should not be kept on for prolonged times, as its content will burn in, most likely within a few months, depending on the brightness level I know, that's the reason why all are already only switched ...
by marstu
08 Jun 2021, 21:30
Forum: ESP Easy: Software
Topic: How to write OLED status to variable
Replies: 11
Views: 6128

How to write OLED status to variable

Hi all, I am using the following rule to switch my OLED on and off: on Clock#Time=All,20:00 do //will run once a day oledframedcmd,display,off endon on Clock#Time=All,06:30 do //will run once a day oledframedcmd,display,on endon Which is working perfectly, now I would like to write the status of the...
by marstu
06 Jun 2021, 00:10
Forum: ESP Easy: Software
Topic: OLED screen off timer rule
Replies: 4
Views: 6494

Re: OLED screen off timer rule

Please be aware that if an OLED is turned on for prolonged time, the risk of image-burn-in is quite real. So setting a display time-out, either by the configuration settings on the OLED(Framed) configuration using a button or sensor to wake-up, or by rules (when having more complex time-out require...
by marstu
31 May 2021, 23:56
Forum: Introduce yourself
Topic: Hi there...
Replies: 1
Views: 3688

Hi there...

...and already big thanks for your support getting my sun up time calculation solve. I am marstu a project manager from Germany, quite new to this topic and with no idea on scripting/programming. At the moment I have 3 ESP8266 incl. some small OLEDs and BMx280 running on ESP Easy connected to Domoti...
by marstu
31 May 2021, 23:35
Forum: ESP Easy: Software
Topic: OLED screen off timer rule
Replies: 4
Views: 6494

Re: OLED screen off timer rule

Current rule: On System#Boot do //When the ESP boots, do timerSet,1,30 //Set Timer 1 for the next event in 30 seconds endon On Rules#Timer=1 do //When Timer1 expires, do OLEDCMD,off endon on Motion#Detection=1 do timerSet,2,30 OLEDCMD,on endon on Rules#Timer=2 do OLEDCMD,off endon I am not an exper...
by marstu
31 May 2021, 12:05
Forum: ESP Easy: Software
Topic: Calculation of daylight hours
Replies: 18
Views: 8284

Re: Calculation of daylight hours

Ath wrote: 31 May 2021, 07:33 The requested information is in the 'Memory' section of that same page, not the 'Storage' section.
Sorry, here you are:

Free RAM: 8760 (8256 - sendContentBlocking)
Heap Max Free Block: 7840
Heap Fragmentation: 11%
Free Stack: 3632 (880 - sendContentBlocking)
by marstu
30 May 2021, 23:27
Forum: ESP Easy: Software
Topic: Calculation of daylight hours
Replies: 18
Views: 8284

Re: Calculation of daylight hours

How much free memory do you have? (RAM) Issue solved after several reboots, but here is the requested information: Sketch Size: 898 kB (2172 kB free) Max. OTA Sketch Size: 1019 kB (1044464 bytes) SPIFFS Size: 934 kB (843 kB free) Page size: 256 Block size: 8192 I am fine with this now, and will kee...
by marstu
30 May 2021, 22:34
Forum: ESP Easy: Software
Topic: Calculation of daylight hours
Replies: 18
Views: 8284

Re: Calculation of daylight hours

Just to feed your curiosity please find attached that build, updated with this feature :) Well done, thanks and too many good ideas. This one is working very well: on Time#Set do TaskValueSet 4,1,%m_sunset%-%m_sunrise% endon My initial rule doesn't work, i.e. nothing was sent to TaskValueSet 4,1. F...
by marstu
30 May 2021, 22:02
Forum: ESP Easy: Software
Topic: Calculation of daylight hours
Replies: 18
Views: 8284

Re: Calculation of daylight hours

Ath wrote: 30 May 2021, 21:51
What .bin file have you installed on your ESP's? (filename please), then I'll build and attach an updated one here for you to test.
I can wait until the next release. All of my ESPs are running currently on ESP_Easy_mega_20210503_normal_ESP8266_4M1M.
by marstu
30 May 2021, 21:29
Forum: ESP Easy: Software
Topic: Calculation of daylight hours
Replies: 18
Views: 8284

Re: Calculation of daylight hours

Well, I did :lol:, and opened PR #3661 to add 4 new system variables: %s_sunrise%, %m_sunrise%, %s_sunset% and %m_sunset%. These new variables lead me to the next question. Would these then "solve" my problem in this rule? On System#Boot do timerSet,1,40 endon on Rules#Timer=1 do TaskValu...
by marstu
29 May 2021, 16:44
Forum: ESP Easy: Software
Topic: Calculation of daylight hours
Replies: 18
Views: 8284

Re: Calculation of daylight hours

That's not what I'm currently working on :D though I probably could :lol: For the time being I did a parser/converter in rules: on Time#Set do // Called when NTP updates the time logentry,"Sunrise: %sunrise% Sunset: %sunset%" let,20,{substring:0:1:"%sunrise%"}*60 // Assuming her...
by marstu
29 May 2021, 10:41
Forum: ESP Easy: Software
Topic: Calculation of daylight hours
Replies: 18
Views: 8284

Re: Calculation of daylight hours

You can't use the time notation for calculations. It isn't automatically converted to an int. Would be a nice feature though. Right now, I can't think of a very simple way to do so, as the %syssec_d% variable does not convert it. That's a pity, then I will look for a solution in Domoticz. One trick...
by marstu
29 May 2021, 02:25
Forum: ESP Easy: Software
Topic: Calculation of daylight hours
Replies: 18
Views: 8284

Calculation of daylight hours

Hi all, I am relatively new to ESPs and ESPEASY, but have already 3 ESP8266 incl. some small OLEDs and BMx280 running, which forward their information to Domoticz. This works quite well, with exceptions for one wrt WiFi connection issues since last update. Anyway this is not my topic, I'm recently t...