Can be closed, I am now able to use the search function of the board and found the answer.
Thanks, marstu
Search found 37 matches
- 02 Dec 2023, 17:51
- Forum: ESP Easy: General Discussion
- Topic: Skin question wrt latest mega version
- Replies: 1
- Views: 643
- 02 Dec 2023, 17:33
- Forum: ESP Easy: General Discussion
- Topic: Skin question wrt latest mega version
- Replies: 1
- Views: 643
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...
- 28 May 2022, 21:43
- Forum: ESP Easy: General Discussion
- Topic: Rules with several time/date ranges
- Replies: 11
- Views: 4975
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...
- 28 May 2022, 19:27
- Forum: ESP Easy: General Discussion
- Topic: Rules with several time/date ranges
- Replies: 11
- Views: 4975
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...
- 28 May 2022, 18:36
- Forum: ESP Easy: General Discussion
- Topic: Rules with several time/date ranges
- Replies: 11
- Views: 4975
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...
- 28 May 2022, 13:27
- Forum: ESP Easy: General Discussion
- Topic: Rules with several time/date ranges
- Replies: 11
- Views: 4975
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...
- 28 May 2022, 09:38
- Forum: ESP Easy: General Discussion
- Topic: Rules with several time/date ranges
- Replies: 11
- Views: 4975
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...
- 09 May 2022, 22:53
- Forum: ESP Easy: General Discussion
- Topic: Rules with several time/date ranges
- Replies: 11
- Views: 4975
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...
- 12 Jan 2022, 00:07
- Forum: Introduce yourself
- Topic: Hi all. Im newbie.
- Replies: 3
- Views: 5785
Re: Hi all. Im newbie.
Welcome, and enjoy your new hobby.
- 09 Nov 2021, 22:09
- Forum: Introduce yourself
- Topic: Hello world
- Replies: 2
- Views: 3370
- 05 Aug 2021, 22:47
- Forum: ESP Easy: General Discussion
- Topic: OTA question
- Replies: 7
- Views: 11472
Re: OTA question
Thanks for this information, again I learnt something new.
- 04 Aug 2021, 22:24
- Forum: ESP Easy: General Discussion
- Topic: OTA question
- Replies: 7
- Views: 11472
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
- 20 Jun 2021, 13:02
- Forum: ESP Easy: Software
- Topic: Display Off via rule
- Replies: 2
- Views: 3816
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...
- 19 Jun 2021, 22:07
- Forum: ESP Easy: Software
- Topic: Display Off via rule
- Replies: 2
- Views: 3816
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 ...
- 17 Jun 2021, 20:32
- Forum: ESP Easy: General Discussion
- Topic: Max. duration of longpulse/PCFLongpulse
- Replies: 32
- Views: 10325
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 ...
- 13 Jun 2021, 21:05
- Forum: ESP Easy: Software
- Topic: Reboot tracking
- Replies: 3
- Views: 4042
Re: Reboot tracking
Tested and it is working as expected, thanks for the helpful hint.marstu wrote: ↑13 Jun 2021, 20:58Code: 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
- 13 Jun 2021, 20:58
- Forum: ESP Easy: Software
- Topic: Reboot tracking
- Replies: 3
- Views: 4042
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...
- 13 Jun 2021, 20:28
- Forum: ESP Easy: Software
- Topic: Reboot tracking
- Replies: 3
- Views: 4042
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 ...
- 11 Jun 2021, 15:52
- Forum: ESP Easy: Software
- Topic: How to write OLED status to variable
- Replies: 11
- Views: 6254
- 11 Jun 2021, 15:51
- Forum: ESP Easy: Software
- Topic: How to write OLED status to variable
- Replies: 11
- Views: 6254
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...
- 11 Jun 2021, 00:30
- Forum: ESP Easy: Software
- Topic: How to write OLED status to variable
- Replies: 11
- Views: 6254
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...
- 10 Jun 2021, 23:39
- Forum: ESP Easy: Software
- Topic: How to write OLED status to variable
- Replies: 11
- Views: 6254
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...
- 10 Jun 2021, 22:17
- Forum: ESP Easy: Software
- Topic: How to write OLED status to variable
- Replies: 11
- Views: 6254
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 ...
- 08 Jun 2021, 23:08
- Forum: ESP Easy: Software
- Topic: How to write OLED status to variable
- Replies: 11
- Views: 6254
Re: How to write OLED status to variable
I'll let you know next week, but I guess this should solve my "problem".
- 08 Jun 2021, 23:07
- Forum: ESP Easy: Software
- Topic: How to write OLED status to variable
- Replies: 11
- Views: 6254
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 ...
- 08 Jun 2021, 21:30
- Forum: ESP Easy: Software
- Topic: How to write OLED status to variable
- Replies: 11
- Views: 6254
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...
- 06 Jun 2021, 00:10
- Forum: ESP Easy: Software
- Topic: OLED screen off timer rule
- Replies: 4
- Views: 6687
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...
- 31 May 2021, 23:56
- Forum: Introduce yourself
- Topic: Hi there...
- Replies: 1
- Views: 3867
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...
- 31 May 2021, 23:35
- Forum: ESP Easy: Software
- Topic: OLED screen off timer rule
- Replies: 4
- Views: 6687
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...
- 31 May 2021, 12:05
- Forum: ESP Easy: Software
- Topic: Calculation of daylight hours
- Replies: 18
- Views: 8376
- 30 May 2021, 23:27
- Forum: ESP Easy: Software
- Topic: Calculation of daylight hours
- Replies: 18
- Views: 8376
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...
- 30 May 2021, 22:34
- Forum: ESP Easy: Software
- Topic: Calculation of daylight hours
- Replies: 18
- Views: 8376
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...
- 30 May 2021, 22:02
- Forum: ESP Easy: Software
- Topic: Calculation of daylight hours
- Replies: 18
- Views: 8376
- 30 May 2021, 21:29
- Forum: ESP Easy: Software
- Topic: Calculation of daylight hours
- Replies: 18
- Views: 8376
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...
- 29 May 2021, 16:44
- Forum: ESP Easy: Software
- Topic: Calculation of daylight hours
- Replies: 18
- Views: 8376
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...
- 29 May 2021, 10:41
- Forum: ESP Easy: Software
- Topic: Calculation of daylight hours
- Replies: 18
- Views: 8376
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...
- 29 May 2021, 02:25
- Forum: ESP Easy: Software
- Topic: Calculation of daylight hours
- Replies: 18
- Views: 8376
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...