Search found 90 matches

by hestia
03 Dec 2021, 00:12
Forum: ESP Easy: Projects / Applications
Topic: Watering and tank level control
Replies: 4
Views: 13209

Re: Watering and tank level control

All of this with the help of TD-er, grovkillen, Ath, Thomas
Many thanks to you :D
by hestia
02 Dec 2021, 22:14
Forum: ESP Easy: Projects / Applications
Topic: Watering and tank level control
Replies: 4
Views: 13209

Re: Watering and tank level control

I've completed my project There was some changes but the objective was the same, local use with the switches and remote / automatic use with dz Arrosage_20211202.jpg I have 2 esp: Sonoff 4CHR3 for the On/Off Wemos R1D2 for the meters Aqua_HW.png With messages between, the Sonoff, the Wemos and dz Aq...
by hestia
14 Nov 2021, 10:24
Forum: ESP Easy: Software
Topic: Inputswitch state is deprecated
Replies: 22
Views: 9784

Re: Inputswitch state is deprecated

done! Screenshot 2021-11-14 100740.png I've put 9999x on all 8 first devices, possible w/o checking the checkbox. 9999x doesn't exist on dz, numbers big enough to stay like this :D No longer "Inputswitch state is deprecated", so no unwanted watering :) Nothing on dz side neither. For that ...
by hestia
13 Nov 2021, 21:21
Forum: ESP Easy: Software
Topic: Inputswitch state is deprecated
Replies: 22
Views: 9784

Re: Inputswitch state is deprecated

follow up...
I'm not sure what do you mean by IDX...
Screenshot 2021-11-13 211914.png
Screenshot 2021-11-13 211914.png (43.99 KiB) Viewed 9216 times
If it is this, I could put anything else as IDX just to avoid to have 0...?
by hestia
13 Nov 2021, 20:34
Forum: ESP Easy: Software
Topic: Inputswitch state is deprecated
Replies: 22
Views: 9784

Re: Inputswitch state is deprecated

Thanks for your re reply I better understand it. I had a lot of doubts on it because I didn't install mqtt anywhere except on dz and the esps for the watering! But on the PI that trigger the issue, which is connected to my heater, I have vitalk, and I don't know exactly what is it :-( And I've found...
by hestia
13 Nov 2021, 19:36
Forum: ESP Easy: Software
Topic: Inputswitch state is deprecated
Replies: 22
Views: 9784

Re: Inputswitch state is deprecated

I've added a "security" to avoid all relays to open (to close them if opened in less than x seconds infact), but I'd like to understand what happened really and get a real fix. I don't understand how the "inputswitchstate" could be "deprecated" as it is not connected to...
by hestia
10 Nov 2021, 08:04
Forum: ESP Easy: Software
Topic: Inputswitch state is deprecated
Replies: 22
Views: 9784

Re: Inputswitch state is deprecated

Thanks Thomas for the review of the code. Fixed, there was also a "then" at the end of an "if"! No change for the problem :-( 33337: WD : Uptime 1 ConnectFailures 0 FreeMem 23088 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init 33580: EVENT: AquaIndicators#TankLevelLow=0 ...
by hestia
07 Nov 2021, 18:18
Forum: ESP Easy: Software
Topic: Inputswitch state is deprecated
Replies: 22
Views: 9784

Re: Inputswitch state is deprecated

Some screenshots Screenshot 2021-11-07 180357.png Screenshot 2021-11-07 180459.png Screenshot 2021-11-07 180614.png All Buttons are the same Screenshot 2021-11-07 180707.png All Relays are the same Screenshot 2021-11-07 180806.png Screenshot 2021-11-07 180829.png Screenshot 2021-11-07 180856.png
by hestia
07 Nov 2021, 18:14
Forum: ESP Easy: Software
Topic: Inputswitch state is deprecated
Replies: 22
Views: 9784

Re: Inputswitch state is deprecated

Hi, I've got the same message inputswitchstate is deprecatedinputSwitchState and I'm not sure I understood if there was a resolution there This is very serious because when it happened all the valves and the pump for the garden watering are switched on :-( Strangely it happens when I change the heat...
by hestia
21 Oct 2021, 20:41
Forum: ESP Easy: Software
Topic: delay gpio to Switch
Replies: 9
Views: 5591

Re: delay gpio to Switch

Thanks for the advice. All was done like you said. Usually the button / relay works fine. There was just a side effect on the testing of the relay state. I did it simple not to change everything on HandleButton do // relay, gpio, idx // the water valves //LogEntry,'lock%eventvalue1%: [INT#%eventvalu...
by hestia
18 Oct 2021, 13:26
Forum: ESP Easy: Software
Topic: delay gpio to Switch
Replies: 9
Views: 5591

Re: delay gpio to Switch

First a small optimization, to make the event handler a bit smaller. You check for the value of your 'locking variable' to be zero, what only happens at boot. So why not set it to "1" at boot? I do the test with the locking variable like that, because at the boot all the buttons (4) are t...
by hestia
18 Oct 2021, 00:09
Forum: ESP Easy: Software
Topic: delay gpio to Switch
Replies: 9
Views: 5591

Re: delay gpio to Switch

Ath wrote: 17 Oct 2021, 22:19 Upgrading to a more current ESPEasy will most likely fix your issue.
OTA seems not possible
Screenshot 2021-10-18 000841.png
Screenshot 2021-10-18 000841.png (18.74 KiB) Viewed 5574 times
by hestia
18 Oct 2021, 00:04
Forum: ESP Easy: Software
Topic: delay gpio to Switch
Replies: 9
Views: 5591

Re: delay gpio to Switch

code tags instead of quote tags
sorry!
My question is about the lines before the AsyncEvent
Just between those two lines

Code: Select all

gpio,%eventvalue2%,=![Relay%eventvalue1%#State]
		if [Relay%eventvalue1%#State]=1 // !!!!!!!!
"Relay" is the switch of the "gpio"
by hestia
17 Oct 2021, 22:05
Forum: ESP Easy: Software
Topic: delay gpio to Switch
Replies: 9
Views: 5591

delay gpio to Switch

Hi, I've a question / issue regarding the delay between a gpio update et the state on the switch The devices Screenshot 2021-10-17 215705.png The code (extract) on Button2#State do Event,HandleButton=2,5,14 endon on HandleButton do // relay, gpio, idx // the water valves LogEntry,'lock%eventvalue1%:...
by hestia
03 Oct 2021, 23:00
Forum: ESP Easy: Software
Topic: pulse interval in rules
Replies: 7
Views: 4975

Re: pulse interval in rules

Thanks!
by hestia
03 Oct 2021, 10:02
Forum: ESP Easy: Software
Topic: pulse interval in rules
Replies: 7
Views: 4975

Re: pulse interval in rules

In the task configuration, you can check: "Single event with all values:" What I understand is that if I check this, for all the task concerned, I'll have a single event with all the values. With witch interval? I've read this could a good for performance issue, but I don't understand how...
by hestia
03 Oct 2021, 00:22
Forum: ESP Easy: Software
Topic: Calculate: Unknown token input: %eventvalue5%
Replies: 4
Views: 4369

Re: Calculate: Unknown token input: %eventvalue5%

allow more event values
it would be convenient
Meanwhile, I'll split my event in 2, but could have some issues with the AsyncEvent...
by hestia
02 Oct 2021, 21:45
Forum: ESP Easy: Software
Topic: Calculate: Unknown token input: %eventvalue5%
Replies: 4
Views: 4369

Calculate: Unknown token input: %eventvalue5%

Calculate: Unknown token input: %eventvalue5% = 0
It seems that we could have only 4 parameters on an AsyncEvent
It that right or I miss something?
by hestia
02 Oct 2021, 10:24
Forum: ESP Easy: Software
Topic: pulse interval in rules
Replies: 7
Views: 4975

Re: pulse interval in rules

Thanks for your reply
...compute the difference...
seems a bit complicated for what I need: just to avoid hard coding
combined event
seems better but I don't understand how to let "the task send a combined event"
Could you give me some hint please?
by hestia
01 Oct 2021, 15:58
Forum: ESP Easy: Software
Topic: pulse interval in rules
Replies: 7
Views: 4975

pulse interval in rules

Hi,
is it possible too get the Interval of a pulse counter a the rules?
by hestia
27 Sep 2021, 22:05
Forum: ESP Easy: Software
Topic: Pulse counter Time what is it?
Replies: 4
Views: 4307

Re: Pulse counter Time what is it?

I'd like to measure the nb of pulses / sec As in the beginning the pulses do not start at T0 in the interval and in the last interval do not stop just at the end, the intervals are not "full" Screenshot 2021-09-27 220429.png So,if I had the duration between the first pulse and the last pul...
by hestia
27 Sep 2021, 13:31
Forum: ESP Easy: Software
Topic: Pulse counter Time what is it?
Replies: 4
Views: 4307

Re: Pulse counter Time what is it?

Thanks for your reply, what I wanted to do is knowing how much time there was pulses during the "interval" (10 sec for me). Perhaps the Time wasn't the good thing to use. Perhaps the is another way to do it... I could reduce the interval to reduce the error and consider that there was puls...
by hestia
26 Sep 2021, 23:39
Forum: ESP Easy: Software
Topic: Pulse counter Time what is it?
Replies: 4
Views: 4307

Pulse counter Time what is it?

Hello in the docs https://espeasy.readthedocs.io/en/latest/Plugin/P003.html the time for a Generic - Pulse counter is Time between current and most recent pulse in milliseconds What does that mean? When I look to my counters I could not figure out anything... Screenshot 2021-09-26 233801.png What is...
by hestia
22 Sep 2021, 22:59
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

More testing:
sensor powered by 5v (5v1 in fact)
10k from the output Y (5v) to GND (no more) => 0v4 to 3v45 => good pulses
I think I'll go with this
by hestia
20 Sep 2021, 21:24
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

[...] About using a magnet... I wonder if the flow sensor can be put in some "inbetween" state, where the hall-effect sensor is not fully triggered. By placing a magnet on the sensor, you can force it (reproducible) in a specific state without having to turn the wheel inside the sensor to...
by hestia
16 Sep 2021, 20:55
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

Can you check the "send with max TX power" (tools->advanced, bottom page)
Empty!
Is empty a good value or should I put something else?

another reboot reason => Const Interval: TIMER_100MSEC
by hestia
16 Sep 2021, 08:23
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

Can you check the "send with max TX power" (tools->advanced, bottom page)
Empty!

I didn't succeed with %bootcause% :-(

Code: Select all

LogEntry, [%bootcause%]
=> [%bootcause%]

Code: Select all

LogEntry, %bootcause%
=> %bootcause%

How to use it (stupid question on variables probably!)
by hestia
15 Sep 2021, 21:33
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

Can you see what are the reboot reasons? For example Watchdog timer? Exception? I've just discovered that I could see the reboot reasons So the last one Boot: Manual reboot (65) Reset Reason: Exception Last Action before Reboot: Const Interval: TIMER_MQTT What was sure, it was NOT a "Manual re...
by hestia
15 Sep 2021, 15:34
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

I've got a reboot around every day.
Could it be due to the power, not enough voltage?
Perhaps due to there WiFi, but I think there is a good WiFi in this area.
Other causes?
For me it is not a problem if there a reboot from time to time, but perhaps there is some bad root causes...
by hestia
15 Sep 2021, 09:01
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

Hmm a Wemos module powered with > 5V? https://wiki.geekworm.com/WEMOS_ESP8266_D1_R2_V2.1 Micro USB connection Power jack, 9-24V power input Whether or not you need filtering depends on the length of the cable and the amount of false pulses you count (especially when there are no pulses to count) Te...
by hestia
14 Sep 2021, 23:37
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

I have another answer from the manufacturer: "There is no need extra resistor" So for them nothing is needed to wire this sensor. On the other hand I read from you here Pulse Counter P003 enhancement. How to give back? that "100 nF + 10k resistor already filter out pulses smaller than...
by hestia
13 Sep 2021, 23:37
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

I've got some information from the manufacturer 1/ I've a confirmation that there could be 300 pulse/sec as the sensor is from 1 L/min to 30 L/min and the formula is F = 10 Q. I wanted to be sure to what to be expected. So 1 L => from 516 to 600 pulses (calibration to do) 2/ I could power the sensor...
by hestia
12 Sep 2021, 19:48
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

I still don't understand the magnet thing :-(
And what about something like a 3.3V 5V TTL Bi-directional Logic Level Converter for Arduino?
https://www.banggood.com/fr/10-Pcs-3_3V ... mds=search
by hestia
10 Sep 2021, 00:56
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

I'm not sure to understand... A magnet?
What do you think about the difference of voltage if the device is a switch or a pulse counter?
Would it be the same with a direct code INO instead of ESP Easy?
by hestia
08 Sep 2021, 20:16
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

Thanks TD-er for your reply 10 pulses/sec => 10 liter/min, then your flow sensor reports 60 pulses per liter. So each pulse is 1/60 liter. For this sensor the Formula is “F=10Q”, so 1 pulse/sec = 10 l/min and not “10 pulses/sec => 10 liter/min”. Am I right? So, 1 pulse = 1/6 liter => 1 liter = 6 pu...
by hestia
08 Sep 2021, 19:23
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

I did a Switch input - Switch and a Generic - Dummy Device Screenshot 2021-09-08 192023.png and this rule on water2#State=1 do TaskValueSet 4,1,[WaterMeterDmy2#Count]+1 endon The WaterMeterDmy2 is updated "like" a pulse counter and the voltage is from 0 to 3v3 The switch seems to react dif...
by hestia
07 Sep 2021, 19:16
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

If I declare the GPIO as a switch, I could have 0 to 3v3 and changes of the state
Screenshot 2021-09-07 191325.png
Screenshot 2021-09-07 191325.png (684.49 KiB) Viewed 28359 times
Screenshot 2021-09-07 191427.png
Screenshot 2021-09-07 191427.png (600.63 KiB) Viewed 28359 times
Screenshot 2021-09-07 191527.png
Screenshot 2021-09-07 191527.png (737.41 KiB) Viewed 28359 times
by hestia
07 Sep 2021, 17:10
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

Can you disconnect the wire to GPIO-4 and see if it then pulls down the voltage to 0 when the sensor pulls "y" down? Yes, 0v if Y is disconnected, and if I put water it changes until 3v3 Do you have some pull-up resistor defined in ESPEasy? I'm not sure where it is... Screenshot 2021-09-0...
by hestia
07 Sep 2021, 15:46
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

Can you double check the resistor values? Sure! They are 330k en 150k in fact (on the order) The measures Screenshot 2021-09-07 151618.png Screenshot 2021-09-07 151529.png Maybe my meter is not very good for big resistor values? So different from what discussed 140k -> 150k / 280k -> 330k I also ch...
by hestia
07 Sep 2021, 11:11
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

And what if you remove the pull-up resistor? It's the same: min 2v6 When the sensor is on 0v (between Y and B), it is 2v6 not 0! I don't know what specific hall-effect sensor is in there and how it is wired. I've just receive this link from the vendor http://ultisensor.com/tech/32.html?spm=a2g0s.im...
by hestia
07 Sep 2021, 09:53
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

It seems that it doesn't work :-(
Between GND and GPIO the voltage (U) goes from 2v6 to 3v3 w/o going to 0
(between Y and GND it was 0 to 5v)
The same if I remove the capacitor
Did I miss something?
Screenshot 2021-09-07 095230.png
Screenshot 2021-09-07 095230.png (1.11 MiB) Viewed 28424 times
by hestia
06 Sep 2021, 22:43
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

Well 100 nF is exactly what was mentioned in the schematic, of which I mentioned it would be too large I also have 22 pF, perhaps too small? Screenshot 2021-09-06 221708.png Let's go back to where we started: I understood you described this diagram (I have a 280k not a 240k for the testing) Screens...
by hestia
06 Sep 2021, 20:13
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

100nF
Screenshot 2021-09-06 201147.png
Screenshot 2021-09-06 201147.png (25 KiB) Viewed 28481 times
Is it a good one?
by hestia
06 Sep 2021, 19:47
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

I did this one
https://components101.com/sites/default ... Sensor.png
with the sensor on 3v3 instead of 5v
The sensor still pulses... a lot
The voltage on the GPIO is from 0 to 3v3.
I'll try debounce
by hestia
06 Sep 2021, 19:17
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

I did it with 140k and 280k ; I had 2 of them for testing (big size xW)
Nothing on the device.
The voltage seems to move from 2,65 to 3,35V between GND and GPIO
I try others circuit diagram???
by hestia
06 Sep 2021, 17:24
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

Thanks!
I'll do a test asap
I don't have 220k, not 120k (220 Ohm only)
I have 10k
Can I put a 10k and 2 x 10k instead?
Screenshot 2021-09-06 172125.png
Screenshot 2021-09-06 172125.png (216.19 KiB) Viewed 28501 times
by hestia
06 Sep 2021, 15:38
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

Sensor out ---- 120k ----- gpio ---- 220k ---- GND.
With a capacitor over the GPIO pin and the GND, you can probably ignore the debounce time.
Thank!
Just to be sure
do you mean this
120k to 5V
120k to 5V
Screenshot 2021-09-06 153237.png (64.17 KiB) Viewed 28512 times
or this
120k to GPIO
120k to GPIO
Screenshot 2021-09-06 153411.png (291.77 KiB) Viewed 28512 times
or ???
by hestia
06 Sep 2021, 11:48
Forum: ESP Easy: Projects / Applications
Topic: Flow water sensor tuning
Replies: 46
Views: 28609

Re: Flow water sensor tuning

Thanks TD-er for your reply What is your intention with the flow sensor? To actually measure the flow, or to count water consumption? The objective is to measure how much water I put in my garden, so it is more consumption than flow, event though, I need the flow to define the duration of the next w...
by hestia
05 Sep 2021, 19:42
Forum: ESP Easy: General Discussion
Topic: Analog Input
Replies: 7
Views: 6715

Re: Analog Input

Thanks for your reply.
I think, in the end, I did it like you said