Search found 291 matches

by Domosapiens
20 Oct 2019, 18:13
Forum: ESP Easy: Software
Topic: check if Sensor is active
Replies: 18
Views: 1483

Re: check if Sensor is active

Code: Select all

on [ds18b20#Temperature] do

   event,SetTemp

EndOn
Must be:

Code: Select all

on ds18b20#Temperature do

   event,SetTemp

EndOn
you are not operating on the content ( conent is with []), but on the event that ds18b20#Temperature is updated , so no [] there
by Domosapiens
20 Oct 2019, 16:59
Forum: ESP Easy: Software
Topic: check if Sensor is active
Replies: 18
Views: 1483

Re: check if Sensor is active

In this part ...no EndIf !

Code: Select all

on [ds18b20#Temperature] do

   Event,SetTemp
 EndIf
EndOn
by Domosapiens
19 Oct 2019, 23:36
Forum: ESP Easy: Software
Topic: remote send a variable
Replies: 2
Views: 1113

Re: remote send a variable

Syntax is something like:

Code: Select all

on testevent do
  TaskValueSet 5,4,%eventvalue%
endon

http://x.x.x.x/control?cmd=event,testevent=3
by Domosapiens
19 Oct 2019, 21:25
Forum: ESP Easy: Software
Topic: count up a variable
Replies: 2
Views: 1087

Re: count up a variable

You need to mention the name of your variable [DummyVar#TempSetpoint] and operate on the content, therefor the [] On System#Boot do //When the ESP boots, do //[DummyVar#TempSetpoint]=40 TaskValueSet 3,1,40 endon on ButtonLeft#state=0 do //[DummyVar#TempSetpoint]- TaskValueSet 3,1,[DummyVar#TempSetpo...
by Domosapiens
12 Oct 2019, 21:50
Forum: ESP Easy: Software
Topic: Device action depending on another device's state
Replies: 1
Views: 1211

Re: Device action depending on another device's state

Did you study the Rules? Switch the Rules on in the Tools tab. And then ... https://espeasy.readthedocs.io/en/latest/Rules/Rules.html Good practice is to fire a command Heating_On every 60 sec. On the receiving side you use a 80 sec. timer for auto Heating_Off So as long as you receive every 60 seco...
by Domosapiens
26 Sep 2019, 00:22
Forum: ESP Easy: Software
Topic: Collection Q&A post: Let variables VAR and INT
Replies: 4
Views: 1953

Re: Collection Q&A post: Let variables VAR and INT

Thanks a lot TD-er. int and var do share the same value Understood So the int version of the variable is just cast to int Understood Somewhere in my notes (written by grovkillen ?) Exporting as a string .... The percentage variable %v16% is a string while the square brackets [VAR#16] is a float valu...
by Domosapiens
24 Sep 2019, 16:45
Forum: ESP Easy: Software
Topic: Collection Q&A post: Let variables VAR and INT
Replies: 4
Views: 1953

Collection Q&A post: Let variables VAR and INT

@TD-er, @grovkillen ... others So I will also add it for references to [Var#n] types which I believe will make the rules quite a bit more powerful. It will be included in PR https://github.com/letscontrolit/ESPEasy/pull/2617 Seen this post: Rules: Clock#Time - possible to compare with a variable? ht...
by Domosapiens
16 Sep 2019, 10:06
Forum: ESP Easy: General Discussion
Topic: Save GPIO state on flash/eeprom
Replies: 4
Views: 2407

Re: Save GPIO state on flash/eeprom

What is the intended use case? For me .... to let relay's controlling pumps survive their activity despite all watchdog reboots I store GPIO states controlling a relay, in a dummy task. With a Rule: "On System#Boot do" I restore the last known GPIO state This works for a hot-boot, NOT a power outage.
by Domosapiens
31 Aug 2019, 22:22
Forum: ESP Easy: General Discussion
Topic: Feedback required: New sets of plugins/controllers
Replies: 20
Views: 3724

Re: Feedback required: New sets of plugins/controllers

As reported on Github, My applications are: - Multi DS18B20 / BME280 Temperature measurement - Energy calculation by DS18B20 delta Temperature measurement and Flow measurement plus PWM pump control - Thermostat setting&control by Rotary encoder, MLX90614 IR and DS18B20 Temperature measurement and re...
by Domosapiens
31 Aug 2019, 12:34
Forum: ESP Easy: General Discussion
Topic: lc technology ESP8266 realy x4 Problem
Replies: 8
Views: 3284

Re: lc technology ESP8266 realy x4 Problem

Suggestion ... start here:

http://www.chinalctech.com/cpzx/Programmer/427.html
Install APP "EspTouch_Demo" android version to configure wifi account and password for ESP-01 module on the first time of mode 2
by Domosapiens
18 Aug 2019, 13:11
Forum: ESP Easy: Software
Topic: Rules (old engine) Rules Set 1/2/3/4
Replies: 4
Views: 2718

Re: Rules (old engine) Rules Set 1/2/3/4

Yes, all 4 pages are active.

B.t.w. it would be nice if there was an enable button per rule page for try&test purposes.
by Domosapiens
06 Aug 2019, 23:43
Forum: ESP Easy: Software
Topic: %c_m2dhm%(%uptime%) does nothing
Replies: 6
Views: 2807

Re: %c_m2dhm%(%uptime%) does nothing

For those who are also lost with %c_m2dhm%
See:
https://www.letscontrolit.com/wiki/inde ... asyFormula end of page.

:o :roll:
by Domosapiens
12 Jun 2019, 00:05
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 195
Views: 21501

Re: Hardware Watchdog Reboots

To minimize reboot measurement disturbance, I use this rule, On System#Boot do timerset,3,30 //Reboot detection wait for WiFi Endon On Rules#Timer=3 do //reboot detected SendToHTTP 192.168.1.7,8080,/json.htm?type=command¶m=switchlight&idx=219&switchcmd=On SendToHTTP 192.168.1.7,8080,/json.htm?ty...
by Domosapiens
28 May 2019, 10:09
Forum: ESP Easy: General Discussion
Topic: esp8266 and water flow SEN-HZ43WB
Replies: 22
Views: 7511

Re: esp8266 and water flow SEN-HZ43WB

My use is in a heating system with a pump, so a minimal flow is guaranteed. My maximum is 25L/min. Therefor my choice for 30L/min. This is my way for drinking water: https://www.letscontrolit.com/forum/viewtopic.php?f=2&t=5955#p33231 In your case, I understand, it's for drinking water (max 15L/min?)...
by Domosapiens
28 May 2019, 00:47
Forum: ESP Easy: General Discussion
Topic: Maximum Uptime minute
Replies: 6
Views: 6454

Re: Maximum Uptime minute

@budman1758
Wow !!
Can you show us an overview of the tasks?
by Domosapiens
24 May 2019, 23:16
Forum: ESP Easy: General Discussion
Topic: esp8266 and water flow SEN-HZ43WB
Replies: 22
Views: 7511

Re: esp8266 and water flow SEN-HZ43WB

Up until now i have seen that this sensor is not giving reads under 1 Liter and the day counter has a difference comparing it to my water supplyer. I steel have some doubts about this value "477 pulses" has a difference .... more then the official meter ?? ... less ..? within 10% ?? In case your pu...
by Domosapiens
21 May 2019, 23:42
Forum: ESP Easy: General Discussion
Topic: esp8266 and water flow SEN-HZ43WB
Replies: 22
Views: 7511

Re: esp8266 and water flow SEN-HZ43WB

@mrc-core. I use comparable flow counters. https://nl.aliexpress.com/item/32788046376.html?spm=a2g0z.10010108.1000016.1.34ab795fJEWhi4&isOrigTitle=true with a slightly more convenient specification. The website specification of your source is incomplete/inconsistent: 7. The cumulative flow pulse con...
by Domosapiens
15 May 2019, 20:47
Forum: ESP Easy: Software
Topic: Level control or rules ?
Replies: 16
Views: 1116

Re: Level control or rules ?

Endif missing
by Domosapiens
13 May 2019, 21:17
Forum: ESP Easy: Hardware
Topic: Solar Power Supply
Replies: 60
Views: 4479

Re: Solar Power Supply

Ton,
that protection board is lacking a booster.
Thus low voltage from the solar panel will not be used without the booster.
by Domosapiens
13 May 2019, 00:17
Forum: ESP Easy: Hardware
Topic: Solar Power Supply
Replies: 60
Views: 4479

Re: Solar Power Supply

A few streets away .... at Ikea .... 2Amp USB charger.

Just to make sure ..
You need to feed the battery shield USB plug .... not the Wemos plug
LED is red, but the charging voltage for the battery is (a too low) 0.45V.
Sounds like a dead board, ... a dead battery, ...polarity reversal .....
by Domosapiens
12 May 2019, 21:01
Forum: ESP Easy: Hardware
Topic: Solar Power Supply
Replies: 60
Views: 4479

Re: Solar Power Supply

Ton, In my case: the BatteryShield is charging the battery, parallel to the WEMOS When I charge the battery through the shield, the Wemos starts (see also schematics) Battery full? green LED. Charging ... red LED Situation 1: Wemos On, running on battery (4.17V), plug-in USB on shield, Red light goe...
by Domosapiens
12 May 2019, 01:06
Forum: ESP Easy: Software
Topic: Resets the variable every day.
Replies: 27
Views: 3497

Re: Resets the variable every day.

My suggestion,
at 00.01
read the value
and
subtract that value
by Domosapiens
10 May 2019, 23:21
Forum: ESP Easy: Hardware
Topic: Solar Power Supply
Replies: 60
Views: 4479

Re: Solar Power Supply

Ton_vN wrote:
09 May 2019, 13:49
Related experiences with this shield?
Yep, ...my experience
charging the battery via USB does not work when the Wemos is not switched on.
by Domosapiens
18 Apr 2019, 21:55
Forum: ESP Easy: Software
Topic: lcd 2004 Display - LCD2004 backlight off
Replies: 2
Views: 364

Re: lcd 2004 Display - LCD2004 backlight off

Only with rules

Code: Select all

On System#Boot do
LCDCMD,off
Endon
by Domosapiens
16 Apr 2019, 22:44
Forum: ESP Easy: Hardware
Topic: Reboot cause: WEMOS D1 (clone) voltage regulator ??
Replies: 10
Views: 1698

Re: Reboot cause: WEMOS D1 (clone) voltage regulator ??

Sorry to say ...but ...
I disconnected the 5V connection and used a 3.3V regulator LM1117T-3.3 with 800mA specification. Thus by-passing the on-board regulator.
is not THE solution.
Further testing goes on ..
by Domosapiens
15 Apr 2019, 22:31
Forum: ESP Easy: General Discussion
Topic: IR RX extended decoding of AC Protocols
Replies: 6
Views: 823

Re: IR RX extended decoding of AC Protocols

Use a version like ESP_Easy_mega-20190406_normal_IR_ESP8266_4M.bin
(with IR in the name)
Here are 2 IR project pages
https://www.letscontrolit.com/wiki/inde ... erProjects
by Domosapiens
14 Apr 2019, 23:08
Forum: ESP Easy: General Discussion
Topic: UDP Controller only sending first value
Replies: 12
Views: 1109

Re: UDP Controller only sending first value

Correct, that's the port setting.
Additional choose under the tab Controllers the ESPEasy P2P Networking.

It's somewhat legacy that activation and port setting are on different places.
by Domosapiens
08 Apr 2019, 21:43
Forum: ESP Easy: Software
Topic: Change PWM Frequency ?
Replies: 25
Views: 10852

Re: Change PWM Frequency ?

Did you see?

Code: Select all

PWM,<GPIO>,<duty>,<duration>,<frequency>
https://espeasy.readthedocs.io/en/lates ... hlight=pwm
by Domosapiens
06 Apr 2019, 11:44
Forum: ESP Easy: Hardware
Topic: Reboot cause: WEMOS D1 (clone) voltage regulator ??
Replies: 10
Views: 1698

Re: Reboot cause: WEMOS D1 (clone) voltage regulator ??

Thanks for your response ThomasB, I'm running mostly NodeMCU's Are NodeMCU's free of the reboot problem ? another issue with the XC6204 is that Vin MUST be at least 2V greater than Vout (2V dropout) Where/how did you find that ? This document https://www.torexsemi.com/file/xc6205/XC6204-XC6205.pdf s...
by Domosapiens
05 Apr 2019, 17:58
Forum: ESP Easy: Hardware
Topic: Reboot cause: WEMOS D1 (clone) voltage regulator ??
Replies: 10
Views: 1698

Reboot cause: WEMOS D1 (clone) voltage regulator ??

I highly suspect the WEMOS D1 (clone) voltage regulator to be part of the reboot problem. This low-dropout or LDO regulator has SMD marking code 4A2D which leads to the Torex XC6204. From this LDO there are 150mA and 300 mA versions. The 300mA is the XC6204 E to H type. The SMD marking code 4A2D giv...
by Domosapiens
30 Mar 2019, 12:13
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 157
Views: 18858

Re: RPIEasy

is it simply switching on and off the display?
more precise ... it switches the back light.
by Domosapiens
29 Mar 2019, 23:16
Forum: ESP Easy: General Discussion
Topic: ESP With 2 Relay 1 Button Control?
Replies: 3
Views: 462

Re: ESP With 2 Relay 1 Button Control?

Learn by trying different options....

Double click seems to be detected as single click first.
That's why I wrote:
My experience is that long press is more robust.
by Domosapiens
29 Mar 2019, 13:07
Forum: ESP Easy: General Discussion
Topic: ESP With 2 Relay 1 Button Control?
Replies: 3
Views: 462

Re: ESP With 2 Relay 1 Button Control?

Did you study the docs?

You could use double click or long press
https://espeasy.readthedocs.io/en/lates ... ng%20press
and add a rule to it with Switch#State=3, 10 or 11

My experience is that long press is more robust.
by Domosapiens
26 Mar 2019, 23:21
Forum: ESP Easy: General Discussion
Topic: Wifi seems to be dead.. how to get the config (r120)
Replies: 6
Views: 658

Re: Wifi seems to be dead.. how to get the config (r120)

My guess:

.... the 49 day bug ???
In those days there was a counter that went wrong.
A re-boot within the 49 day time-frame was the solution (make a rule).
or ... as for now, power off & on is the only way to get the Wifi connection back.
by Domosapiens
13 Mar 2019, 22:18
Forum: ESP Easy: General Discussion
Topic: Display GPIO state with text
Replies: 9
Views: 831

Re: Display GPIO state with text

From my notes: Format Transformation: Feature to transform Values from numeric to strings or to format numeric values. Syntax: [task#value#transformation#justification] Where #transformation is: Format of PIN states of GPIO (0 or 1) #V: value unformatted #O: 1/0 -> ON/OFF #C: 1/0 -> OPEN/CLOSE #U: 1...
by Domosapiens
07 Feb 2019, 22:45
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 74
Views: 8890

Re: Reboot inside rules?

Does that make sense?
Yep,
Added around August 2017:
https://github.com/letscontrolit/ESPEasy/pull/485
by Domosapiens
07 Feb 2019, 22:31
Forum: ESP Easy: Software
Topic: Plugin_153 MAX44009, anyone got it working ?
Replies: 11
Views: 3551

Re: Plugin_153 MAX44009, anyone got it working ?

Is part of the playground https://github.com/letscontrolit/ESPEasyPluginPlayground So you have to add it to your own compilation. You could request to add it to the mega here: https://github.com/letscontrolit/ESPEasy/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aopen This will help: http://ko-fi.com/...
by Domosapiens
06 Feb 2019, 20:40
Forum: ESP Easy: General Discussion
Topic: Map switch binary to String
Replies: 5
Views: 877

Re: Map switch binary to String

Found in my notes: From here https://github.com/letscontrolit/ESPEasy/pull/1289#issuecomment-383228300 for the Wiki: Format Transformation: Feature to transform Values from numeric to strings or to format numeric values. Syntax: [task#value#transformation#justification] Where #transformation is: For...
by Domosapiens
06 Feb 2019, 00:10
Forum: Staff Announcements forum
Topic: BIG announcement, the future of ESP Easy. [READ THIS IF YOU LOVE OUR FW]
Replies: 93
Views: 37796

Re: BIG announcement, the future of ESP Easy. [READ THIS IF YOU LOVE OUR FW]

@TD-er and @grovkillen: Both of you, all the best with your new business. I'll hope you can find financial and intellectual satisfaction. Thanks for your endless support for EspEasy and the ideas to combine "open source" without "empty pocket". I'll hope we reach again soon a "stable ground" for you...
by Domosapiens
20 Jan 2019, 13:25
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 74
Views: 8890

Re: Reboot inside rules?

Just out of curiosity: why the 60000 limit? Arbitrary?
Nice and round:
60000 minutes is 41,6 days