But that if-construct works for month, without that I recognize any problems.
And in my tests, the event 'PumpeUndNT' is commented out (Line2 in event 'VentilSchalten').
Thanks, that you take a look in it.
Search found 372 matches
- 23 Sep 2020, 19:56
- Forum: ESP Easy: General Discussion
- Topic: Stack overflow at chained events in irrigation-control-rules
- Replies: 31
- Views: 20172
- 23 Sep 2020, 16:49
- Forum: ESP Easy: General Discussion
- Topic: Stack overflow at chained events in irrigation-control-rules
- Replies: 31
- Views: 20172
Stack overflow at chained events in irrigation-control-rules
I've a problem with my rules of my irrigation control (beta/develop-state). The event-rule 'VentilSchalten' (without the current comments) switch my valves on or off. The event-commands like 'Event,VentilSchalten=1,1' works as I expect. The event-rule 'AutoPrgStartStop' should start the program 1-3 ...
- 23 Sep 2020, 10:11
- Forum: ESP Easy: General Discussion
- Topic: Hostname and MQTT-Sysname differs
- Replies: 1
- Views: 5393
Hostname and MQTT-Sysname differs
If I enable 'Append Unit Number to hostname' in newer ESPEasy versions, the MQTT-sysname differs from the DNS-hostname.
DNS is 'NAME-NUMBER' and MQTT is 'NAME_NUMBER' !
Is that wanted and will it stay that way in newer versions?
DNS is 'NAME-NUMBER' and MQTT is 'NAME_NUMBER' !
Is that wanted and will it stay that way in newer versions?
- 22 Sep 2020, 17:58
- Forum: ESP Easy: General Discussion
- Topic: Functions in rules. For example, ABS.
- Replies: 6
- Views: 7370
Re: Functions in rules. For example, ABS.
or...
[Device#Value]^2^.5
for ABS.
[Device#Value]^2^.5
for ABS.
- 19 Sep 2020, 22:26
- Forum: ESP Easy: General Discussion
- Topic: Unstable syslog-operation
- Replies: 7
- Views: 6810
Re: Unstable syslog-operation
I mean, I'll look that there is no other problems and the instability is only because I enabled the syslog and not e.g. the newly added repeater.
- 19 Sep 2020, 21:29
- Forum: ESP Easy: General Discussion
- Topic: Unstable syslog-operation
- Replies: 7
- Views: 6810
Re: Unstable syslog-operation
@TD-er: You mean, I need flash a new Firmware or is the problem still exists and 'we all' need a later firmware?
- 19 Sep 2020, 15:12
- Forum: ESP Easy: General Discussion
- Topic: Unstable syslog-operation
- Replies: 7
- Views: 6810
Re: Unstable syslog-operation
I'll watch the ESP for a few more days and then test a newer firmware...
- 19 Sep 2020, 11:48
- Forum: ESP Easy: General Discussion
- Topic: Unstable syslog-operation
- Replies: 7
- Views: 6810
Unstable syslog-operation
I've a ESP with the Firmware ESP_Easy_mega_20200801_normal_WROOM02_2M256. If I enable the logging to a syslog-server, the operation of the ESP is very unstable. Reboot's while rule operations and additional reboot's while idle-time. Now I've disabled the logging to the syslog-server again and it's w...
- 07 Sep 2020, 07:50
- Forum: ESP Easy: Software
- Topic: Serial MCU controlled relay/switch
- Replies: 459
- Views: 1138103
Re: Serial MCU controlled relay/switch
No, but you read my post here ?
- 03 Sep 2020, 12:47
- Forum: ESP Easy: Software
- Topic: Execute rule once
- Replies: 4
- Views: 5751
Re: Execute rule once
You're right, thats better
I was just taking bonsai's example and integrate quickly the if-condition of VAR#1...
I was just taking bonsai's example and integrate quickly the if-condition of VAR#1...
- 02 Sep 2020, 23:44
- Forum: ESP Easy: Software
- Topic: Execute rule once
- Replies: 4
- Views: 5751
Re: Execute rule once
Or use a var to remember a state: on Licht#Lux>25 do if [VAR#1]=0 event,Tag Let,1,1 endif endon on Licht#Lux<25 do if [VAR#1]=1 event,Nacht Let,1,0 endif endon on Tag do WemosMotorShieldCMD,0,Forward,20 // open tuer timerSet 1,5 // 5 sec timer endon on Rules#Timer=1 do //When Timer1 expires, do Wemo...
- 02 Sep 2020, 23:25
- Forum: ESP Easy: Software
- Topic: Serial MCU controlled relay/switch
- Replies: 459
- Views: 1138103
Re: Serial MCU controlled relay/switch
I need it on my MOES WIFI Dimmer with 1MB Flash.
I use only:
- openHAB MQTT
- Serial MCU controlled switch
- Switch input
Maybe 'Generic dummy device' is a good idea... But I'm not currently using it.
I use only:
- openHAB MQTT
- Serial MCU controlled switch
- Switch input
Maybe 'Generic dummy device' is a good idea... But I'm not currently using it.
- 02 Sep 2020, 23:11
- Forum: ESP Easy: Software
- Topic: Serial MCU controlled relay/switch
- Replies: 459
- Views: 1138103
Re: Serial MCU controlled relay/switch
Same here with 'ESP_Easy_mega_20200829_normal_ESP8266_1M_VCC.bin'. No 'Serial MCU controled switch' available !
- 02 Sep 2020, 11:28
- Forum: ESP Easy: Software
- Topic: Serial MCU controlled relay/switch
- Replies: 459
- Views: 1138103
Re: Serial MCU controlled relay/switch
No. If you didn't factory-reset your ESP before new flashing, it didn't loose the config. It starts with the last config.
Or flash a blank (with the suitable size of the ESP-flash) image before the new one, to clean it.
Or flash a blank (with the suitable size of the ESP-flash) image before the new one, to clean it.
- 02 Sep 2020, 08:30
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 186961
Re: Rules using 'OR"
And your 'wall switch' is connected to GPIO14 and the device-name is 'Hall_light' ? And GPIO14 has a pull-down/pull-up resistor? Is the switch connected to 3.3V or ground? The state of the switch device only go to a value 11, when the longpress-time has passed. State 0 occurs immediately. You can se...
- 02 Sep 2020, 08:06
- Forum: ESP Easy: Software
- Topic: Serial MCU controlled relay/switch
- Replies: 459
- Views: 1138103
Re: Serial MCU controlled relay/switch
But you must new configure your device! The plugin get a other number...
- 02 Sep 2020, 07:56
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 186961
Re: Rules using 'OR"
Look here: https://www.letscontrolit.com/wiki/index.php/Tutorial_Rules under TaskValueSet. But what should the variable do? The basic description of what the rule should do is still missing. Only: Switch Hall_light=On then change GPIO16 to 1 and when switch Hall_light=Off the change GPIO16 back to 0...
- 31 Aug 2020, 13:10
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 186961
Re: Rules using 'OR"
Maybe it's better to activate "LongPress"-event and use: On Hall_light#state=10 do (or On Hall_light#state=11 do) to switch your output-GPIO. This avoids short (0-500ms) switching operations. My idea: On Hall_light#state=11 do GPIO,16,1 endon On Hall_light#state=0 do GPIO,16,0 endon Or,......
- 25 Aug 2020, 20:38
- Forum: ESP Easy: General Discussion
- Topic: Check availability of eventvalue possible?
- Replies: 6
- Views: 5839
Re: Check availability of eventvalue possible?
Nice workaround. Works with %eventvalue1% also. Thanks.
- 25 Aug 2020, 18:19
- Forum: ESP Easy: General Discussion
- Topic: Check availability of eventvalue possible?
- Replies: 6
- Views: 5839
Re: Check availability of eventvalue possible?
No, it's not 0! The result between:
Event,Eventname
and
Event,Eventname=0 is different. The if-condition isn't true. Also the check '<1' is not true, if no eentvalue is given.
Event,Eventname
and
Event,Eventname=0 is different. The if-condition isn't true. Also the check '<1' is not true, if no eentvalue is given.
- 25 Aug 2020, 08:36
- Forum: ESP Easy: General Discussion
- Topic: Check availability of eventvalue possible?
- Replies: 6
- Views: 5839
Check availability of eventvalue possible?
What's the recommended way, to check if the eventvalue contains a value ?
Check for zero seems not work! Can I check for undefined?
Code: Select all
on eventname do
if %eventvalue1%=0
(do something)
endif
endon
- 24 Jul 2020, 09:52
- Forum: ESP Easy: General Discussion
- Topic: Minimum doubleclick with 500ms possible?
- Replies: 4
- Views: 5332
- 22 Jul 2020, 11:10
- Forum: ESP Easy: General Discussion
- Topic: Minimum doubleclick with 500ms possible?
- Replies: 4
- Views: 5332
Re: Minimum doubleclick with 500ms possible?
Oh... damn, I mean the longclick minimal-interval ! In this case, double-clicking doesn't help me.
- 22 Jul 2020, 09:20
- Forum: ESP Easy: General Discussion
- Topic: Minimum doubleclick with 500ms possible?
- Replies: 4
- Views: 5332
Minimum doubleclick with 500ms possible?
Is it possible (without disturbing other things) to reduce the minimal doubleclick time of the P001_Switch-Plugin to 500ms ? The check inside the plugin seems to be ten-per-second... Background of my questions is: I would like to filter out GPIO-HIGH-signals smaller than ~0.5 seconds and Debunce tim...
- 08 Jul 2020, 11:17
- Forum: ESP Easy: General Discussion
- Topic: Log: Tail possible
- Replies: 9
- Views: 12414
Re: Log: Tail possible
The Hall sensor (KY-024, https://www.az-delivery.de/products/hall-sensor-modul) has a 3.3V TTL output and is connected to a GPIO-pin from the ESP. Very simple...
- 08 Jul 2020, 08:30
- Forum: ESP Easy: General Discussion
- Topic: Log: Tail possible
- Replies: 9
- Views: 12414
Re: Log: Tail possible
I want to catch info's (date, time, duration) from a hall-sensor, whose binary signal is sporadic (2-3 a month) wrong. But if I recognize the wrong signal, this is within a few minutes, the web-log didn't help, if it wasn't open before. A syslog-server or the MQTT-log is sometimes only a little help...
- 07 Jul 2020, 14:01
- Forum: ESP Easy: General Discussion
- Topic: Log: Tail possible
- Replies: 9
- Views: 12414
Re: Log: Tail possible
Yes, but the error appears only every few days...
and a 'tail' like solution should display the log-entrys after a boot sequence
and a 'tail' like solution should display the log-entrys after a boot sequence
- 07 Jul 2020, 08:06
- Forum: ESP Easy: General Discussion
- Topic: Log: Tail possible
- Replies: 9
- Views: 12414
Re: Log: Tail possible
Ok, than I need another solution to catch my sporadic problem.
- 06 Jul 2020, 11:53
- Forum: ESP Easy: General Discussion
- Topic: Log: Tail possible
- Replies: 9
- Views: 12414
Log: Tail possible
Is it possible to get the x-lines (like tail) from the ESPEasy-log via web-interface ? I've no syslog-server and if I open the log via the tools page, I see only new events and not the events some seconds before. For troubleshooting it would be better to cache a few lines and show the cached events ...
- 10 Jun 2020, 21:42
- Forum: ESP Easy: General Discussion
- Topic: ESP-01 - sleep configuration not working
- Replies: 25
- Views: 16983
Re: ESP-01 - sleep configuration not working
I've checked the 'ESP_Easy_mega-20200410_normal_ESP8266_1M.bin" with my (modified with 680k between Vcc and GPIO16) ESP-01. Same settings and the ESP-01 goes safe in deepsleep for 300s, wake up, send 4 sets of generic-sysinfo-data to my MQTT and goes in deepsleep again. The problem doesn't seem...
- 10 Jun 2020, 08:07
- Forum: ESP Easy: General Discussion
- Topic: ESP-01 - sleep configuration not working
- Replies: 25
- Views: 16983
Re: ESP-01 - sleep configuration not working
@parabacus: Yes, I've solved the problem on my battery-powered window-contact with a 1,2MOhm (high value to reduce standby current) resistor. But my probem was not exactly the same as yours. My ESP-01 didn't go into deepsleep-mode safely, when powered >3V. But the reset in my circuit is via a extern...
- 09 Jun 2020, 15:22
- Forum: ESP Easy: General Discussion
- Topic: ESP-01 - sleep configuration not working
- Replies: 25
- Views: 16983
Re: ESP-01 - sleep configuration not working
Maybe try a external pullup-resistor like 100k from GPIO16 to Vcc. ESPEasy implemantation of the internal pullup/pulldown on GPIO16 is somewhat unclear
I mean this thread: https://www.letscontrolit.com/forum/vie ... 004#p26004
I mean this thread: https://www.letscontrolit.com/forum/vie ... 004#p26004
- 06 May 2020, 11:19
- Forum: ESP Easy: Software
- Topic: Rules#Timer and eventvalue
- Replies: 14
- Views: 10189
Re: Rules#Timer and eventvalue
Works great for me too. ~600byte rule-code saved
- 05 May 2020, 13:30
- Forum: ESP Easy: Software
- Topic: Rules#Timer and eventvalue
- Replies: 14
- Views: 10189
Re: Rules#Timer and eventvalue
Nice... The feature is added, before I asked for it
- 05 May 2020, 12:58
- Forum: ESP Easy: Software
- Topic: Rules#Timer and eventvalue
- Replies: 14
- Views: 10189
Re: Rules#Timer and eventvalue
I'll change my rule this evening and report the result here...
- 05 May 2020, 12:43
- Forum: ESP Easy: Software
- Topic: Rules#Timer and eventvalue
- Replies: 14
- Views: 10189
Re: Rules#Timer and eventvalue
@TD-er: You think it should work?
- 05 May 2020, 11:18
- Forum: ESP Easy: Software
- Topic: Rules#Timer and eventvalue
- Replies: 14
- Views: 10189
Re: Rules#Timer and eventvalue
Example (current): On Rules#Timer=1 do Event,CloseValve=1 LogEntry,ValveClose 1 Let,1,0 EndOn On Rules#Timer=2 do Event,CloseValve=2 LogEntry,ValveClose 2 Let,2,0 EndOn On Rules#Timer=3 do Event,CloseValve=3 LogEntry,ValveClose 3 Let,3,0 EndOn My idea: On Rules#Timer do Event,CloseValve=%eventvalue%...
- 05 May 2020, 10:06
- Forum: ESP Easy: Software
- Topic: Rules#Timer and eventvalue
- Replies: 14
- Views: 10189
Rules#Timer and eventvalue
Is it possible to use one 'Rules#Timer' trigger and use the timer# in %eventvalue% ?
I've 6 partially parallel running timer, which mostly execute the same actions.
I've 6 partially parallel running timer, which mostly execute the same actions.
- 23 Apr 2020, 22:25
- Forum: ESP Easy: Software
- Topic: Going to deepsleep forever in rules
- Replies: 6
- Views: 6265
Re: Going to deepsleep forever in rules
... and the 'deepsleep,0'-command only works in the firmware versions 04/10/2020 or later.
- 23 Apr 2020, 20:16
- Forum: ESP Easy: Software
- Topic: Going to deepsleep forever in rules
- Replies: 6
- Views: 6265
Re: Going to deepsleep forever in rules
The correct command is 'deepsleep,0' !
- 14 Apr 2020, 14:44
- Forum: ESP Easy: Hardware
- Topic: Control 5v SSR relay with ESP01 GPIO
- Replies: 13
- Views: 17283
Re: Control 5v SSR relay with ESP01 GPIO
P45N02LD is N-Mosfet. Or I'm wrong?
No B/C/E !
No B/C/E !
- 14 Apr 2020, 12:19
- Forum: ESP Easy: Hardware
- Topic: Control 5v SSR relay with ESP01 GPIO
- Replies: 13
- Views: 17283
Re: Control 5v SSR relay with ESP01 GPIO
You can't conect a 5v relay direct to a ESP GPIO!
You need a transistor to boost the current, maybe you need also more then 3.3V to switch the relay.
A simply NPN transistor in common-emitter-circuit should do that.
You need a transistor to boost the current, maybe you need also more then 3.3V to switch the relay.
A simply NPN transistor in common-emitter-circuit should do that.
- 10 Apr 2020, 08:56
- Forum: ESP Easy: Hardware
- Topic: Control 5v SSR relay with ESP01 GPIO
- Replies: 13
- Views: 17283
Re: Control 5v SSR relay with ESP01 GPIO
Connect the SSR over a transistor with a resistor at the basis. Maybe the ESP has not enough current at the output.
- 28 Mar 2020, 18:31
- Forum: ESP Easy: General Discussion
- Topic: Delete remote branch via VSCode command palette
- Replies: 1
- Views: 4549
Delete remote branch via VSCode command palette
Hi. If my pull-request is merged to mega, I've deleted the branch via VSCode command palette (Ctrl+Shift+P) and 'Delete Branch...". All is Ok, the branch is locally deleted. Is there any way in VSCode's command palette', that allows me to delete branch remotely (on GitHub) to? Many thanks for y...
- 26 Mar 2020, 19:17
- Forum: ESP Easy: General Discussion
- Topic: First time query gpio status not working
- Replies: 7
- Views: 5578
Re: First time query gpio status not working
Have you set 'Send Boot State' in the switch-device ?
Otherwise the state is sent first, when it has changed.
Otherwise the state is sent first, when it has changed.
- 24 Mar 2020, 14:33
- Forum: ESP Easy: Software
- Topic: Different power consumption in sleep-modes !?
- Replies: 24
- Views: 19801
- 24 Mar 2020, 13:48
- Forum: ESP Easy: Software
- Topic: Different power consumption in sleep-modes !?
- Replies: 24
- Views: 19801
Re: Different power consumption in sleep-modes !?
Can you measure what happens on GPIO16 after the sleep time is over? When sleep-time (from command deepsleep,xxx) is over, the voltage level goes from ~Vcc to GND and stay there. That seems ok, because it should normally reset via RST (not wired in my circuit). But in this state, the ESP needs to m...
- 16 Mar 2020, 18:41
- Forum: ESP Easy: Software
- Topic: Additional rules field
- Replies: 1
- Views: 3847
Additional rules field
What have I configured wrong, that this field is displayed in my self-build image ?
- 14 Mar 2020, 17:21
- Forum: ESP Easy: Hardware
- Topic: JSR SR04-T 2.0 support ?
- Replies: 7
- Views: 10665
Re: JSR SR04-T 2.0 support ?
I've two of the V2.0. Works perfectly, also with 3.3V. One of them for ~1 year in my water-cistern.
- 12 Mar 2020, 15:52
- Forum: ESP Easy: General Discussion
- Topic: Rules help needed
- Replies: 11
- Views: 9344
Re: Rules help needed
You should use events to switch your relays.
Now you just have to see how you trigger the event from Domoticz. Via http it looks like this:
Code: Select all
on eventname1 do
GPIO,12,1
GPIO,13,0
GPIO,14,0
endon
Code: Select all
http://<espeasyip>/control?cmd=event,eventname1