Search found 119 matches
- 26 Feb 2023, 13:44
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
I will stop the test, shut off the load, voltage battery step up from 11.23V to 11.6V . Almost 24h, 48Ah capacity . Afraid to ruin the battery by deep discharge [ https://sunonbattery.com/agm-battery-voltage-capacity/] Screenshot 2023-02-26 at 14-48-08 AGM Battery Voltage and SOC_Capacity - Sunon Ba...
- 26 Feb 2023, 12:35
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
10 minutes pause, the voltage rise from 11.34 to 11.85V
- 26 Feb 2023, 12:29
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
A car battery on benchmark, since yesterday 17.00 hour with a 25W bulb
- 25 Feb 2023, 22:41
- Forum: ESP Easy: Projects / Applications
- Topic: Zero Solar Power Export with ESPEasy
- Replies: 17
- Views: 6310
Re: Zero Solar Power Export with ESPEasy
For 2025/2026 this is 64%, then each year it will be 9%-point less. From 2031 on, it will be 0% Long story short, 7 years from now the only benefit of a roof with solar panels is to consume for yourself WHEN is sun, no point to inject in the grid anymore. Like our friend from germany said, 600W max...
- 25 Feb 2023, 22:11
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
cable is short, 15cm, just a mini switch between gpio4 and gnd- 25 Feb 2023, 20:39
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
A small problem, however gpio 4 is the button on/off, pushswitch gpio 5 is the relay switch The relay gets on after boot, even I have these rules: On System#Boot Do GPIO,5,0 Let,1,0 TaskValueSet 9,1,0 TaskValueSet 10,1,0 endon .... On button#state=0 do GPIOtoggle,5 Endon On button#state=10 Do GPIO,5...
- 25 Feb 2023, 20:04
- Forum: ESP Easy: Projects / Applications
- Topic: Zero Solar Power Export with ESPEasy
- Replies: 17
- Views: 6310
Re: Zero Solar Power Export with ESPEasy
"...This fraction will be lowered each next year until it reaches 0 in 7 or 8 years." That means you are allowed to inject few years, then goodbye? You can consume your own electricity or buy from us... Seems stupid, but is not unintended. The power companies are afraid to lose their busin...
- 25 Feb 2023, 13:00
- Forum: ESP Easy: Software
- Topic: ESP Easy Bible
- Replies: 1
- Views: 881
ESP Easy Bible
ESP Easy Bible I found on my ESP folder this pdf file. I don't remember where I downloaded from... Rules_in_ESPEasy.rar A few small examples... It would be nice to have a topic where we could gather more examples like those, for the begginners...maybe starting from here: https://espeasy.readthedocs...
- 25 Feb 2023, 11:06
- Forum: ESP Easy: Projects / Applications
- Topic: Zero Solar Power Export with ESPEasy
- Replies: 17
- Views: 6310
Re: Zero Solar Power Export with ESPEasy
Deutschland uber alles :shock: The regulation concerning a "Balkonkraftwerk" say: 600W max (!), 4 panels max., no export, if export you will not get paid for (but you are forced to install and pay a two-way-counter(!)). I'm surprised to hear that, now in a major energy crisis, when germany...
- 25 Feb 2023, 00:07
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
Very happy Because THEY told us not to discharge a solar battery under 50% SoC, to have as much cycles battery can provide AGM.png battery-condition.jpg battery-cycles.jpg But, as we see, only 2 amps load drops the voltage of a fully charged battery from the beggining to 12.2V Panasonic 17Ah.jpg
- 24 Feb 2023, 23:57
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
That is the battery under test, Panasonic, 17Ah
Also the cut-off voltage was ~11.1V, the datashhet specifies 10.8V at 2.29A/ 6hours discharge
The real capacity depends on the discharge current
We use 2.2Amps , that means real 13AhAlso the cut-off voltage was ~11.1V, the datashhet specifies 10.8V at 2.29A/ 6hours discharge
- 24 Feb 2023, 23:38
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
BINGO TD-er , YOU ARE... A M A Z I N G On Clock#Time=All,**:** Do If [releu#out0] =1 Let,1,[ina#current]+%v1% TaskValueSet,Ah,ampmin,%v1% // Use taskname,valuename for portability and readability TaskValueSet,Real,Capacity,[Ah#ampmin]/60 Endif Endon On ina#All Do if %eventvalue1% < 11.2 GPIO,5,0 no...
- 24 Feb 2023, 23:19
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
First TEST Screenshot 2023-02-24 at 23-45-03 ESP_Easy 35.png Screenshot 2023-02-25 at 00-17-59 ESP_Easy 35.png The gpio5 does not off at the 11.2v , as we set in rule On Clock#Time=All,**:** Do If [releu#out0] =1 Let,1,[ina#current]+%v1% TaskValueSet,Ah,ampmin,%v1% // Use taskname,valuename for port...
- 24 Feb 2023, 19:55
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
Maybe this is acceptable? On button#state do If button#state=0 GPIOtoggle,5 Endif if button#state=10 GPIO,5,0 notify,1 Let,1,0 TaskValueSet,Ah,ampmin,0 TaskValueSet,Real,Capacity,0 Endif Endon or maybe this On button#state do If [button#state]=0 GPIOtoggle,5 Endif if [button#state]=10 GPIO,5,0 notif...
- 24 Feb 2023, 00:03
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
On the ground again. I mount a pushbutton to toggle on/off the relay. On longpress I wanted to clear the variable/task reset to zero 2 rules On System#Boot Do GPIO,5,0 Let,1,0 TaskValueSet 9,1,0 TaskValueSet 10,1,0 TaskValueSet 8,1,[releu#out0] TaskValueSet 8,2,[ina#Voltage] TaskValueSet 8,3,[ina#Cu...
- 23 Feb 2023, 22:32
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
Thanks for support, TD-er Everything within [...] or %...% will first be replaced before the rule is parsed. Remarcable to waste your time with bad students. And do it pro bono ... 30 years ago, as a student in electronics, I failed my Pascal test. Passed on autumn at last. 3D matrix, have to order ...
- 23 Feb 2023, 21:58
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
I'll do it my own way Create another task oled and disable first oled with V,A,W and enable the second with one line with [real#capacity].[Real#Capacity] it's in Ah, should be in a car battery or solar one in 5-200AHh range Simple is better. Or maybe KISS [ https://en.wikipedia.org/wiki/KISS_princip...
- 23 Feb 2023, 21:27
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
Thanks Ath , I'm working on ;) the book is in my hand... Currently the Oled displays the voltage, current, power. It is possible to send a command after the test is completed , with resulting capacity, and to freeze / disable all other lines? Until a reboot is done. The oled is framed with one line,...
- 23 Feb 2023, 20:50
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
Schematic
- 23 Feb 2023, 20:11
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
Thank you, Ath Really difficult for me to understand Button#State=1 and [Button#State]=0... Button#State is the event button with value state. Button#State is triggered when you push the button or periodically if interval is different from 0. Every 10s for example. The [Button#State] is the value, 0...
- 23 Feb 2023, 18:37
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
Final rule to be tested. Email when voltage gets low level,send final capacity on email, reset to zero counters. Final capacity, task 10 will be reset on reboot or via pushbutton... On Clock#Time=All,**:** Do If [releu#out0] =1 Let,1,[ina#current]+[var#1] TaskValueSet 9,1,[var#1] TaskValueSet 10,1,[...
- 23 Feb 2023, 18:06
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
Now we have to do some corrections. Screenshot 2023-02-23 at 19-02-03 ESP_Easy 35.png Ina reports current in amperes: 2.2Ah . After a minute 4.4Ah ... and so on We have to increment the real capacity, divided by 60 Made a new dummy device and inserted a line in rule: On Clock#Time=All,**:** Do If [r...
- 23 Feb 2023, 17:41
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
First attempt: On Clock#Time=All,**:** Do If [releu#out0] =1 Let, 1,[ina#current] + %v1% TaskValueSet 9,1,[var#1] Endif Endon Task 9 is a dummy device where capacity is incremented every minute but is not incrementing, only 2.19 or 2.20, synthax beats me, (Please Ath when you have time...) 6839: EVE...
- 23 Feb 2023, 17:20
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
So, we got the voltage, the current and instant pwer, thanks to INA. Screenshot 2023-02-23 at 18-14-19 ESP_Easy 35.png We got a power output, bulb 25W on it. Fully charge the battery, then connect the module. Power the light bulb , and start discharge the battery. Voltage start to decrease. At a cer...
- 23 Feb 2023, 16:59
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
Yes, some who got fried with internal ADC of ESP8266 got the conclusion that the real resolution is maybe 8bit , because of noisy/ random readings. I allready have some ACS711 modules, in 15Amps and 30Amps , they are very simple, 3.3V supply, gnd and Vout. Vout stays at Vcc/2 when is no current. At ...
- 23 Feb 2023, 15:30
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
Big disappointment: Internal ADC of ESPEasy is useless . 10 bit resolution means discrete values from 0 to 1024. Maximum input voltage is 1V, that means 1mV steps. Well, a steady voltage of 535mV from an ACS711/30A current sensor via a voltage divider 10k&22k resistors , injected to ADC pin, get...
- 20 Feb 2023, 13:25
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
Thank's TD-er. Yes, I know there are a plenty of Battery meters for accumulators, based on some calculations,estimation of Ah... You put the labeled capacity of battery, in Ah, then the meter apply a huge load, obtaining CCA , then see the voltage drop after few seconds, resulting the "real&quo...
- 20 Feb 2023, 11:56
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy Battery Tester
- Replies: 50
- Views: 16170
Re: ESPEasy Battery Tester
Hi there, Is there a solution to measure a real Ah capacity of a battery with ESpeasy?...using a current sensor (ex. INA219) or using PCF8591/ADS1115 connected to ACS711/712 or something. The idea is to fully charge the battery (let's assume a car battery), then start the discharge until the voltage...
- 16 Feb 2023, 16:26
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
Tried already, no chance Screenshot 2023-02-16 at 17-25-20 ESP_Easy pocio.png it's ok On Clock#Time=All,**:** Do //If [var#3]=1 // Start timer to switch on load TimerSet,3,2 //Endif Endon On Rules#Timer=3 Do //If [Bat#voltage]>=12.0 longpulse,15,1,1 //Endif Endon longpulse,15,1,1 was the fault
- 16 Feb 2023, 15:37
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
Why this simple rule not working?
Code: Select all
On Clock#Time = All , **:** do
//If [var#3]=1 // Start timer to switch on load
TimerSet,3,2
//Endif
Endon
On Rules#Timer=3 Do
//If [Bat#voltage]>=12.0
pulse,GPIO,15,1,1
//Endif
Endon
- 14 Feb 2023, 23:22
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
Not start the timer On Bat#voltage do If %eventvalue1%<11.5 // %eventvalue1% is the first argument provided with the event -> the value of [Bat#Voltage] at the moment the event was generated GPIO,5,0 // Turn off load Let,4,0 Endif If %eventvalue1%>=12.5 Let,4,1 Endif Endon On [var#4]=1 do // Start t...
- 14 Feb 2023, 21:54
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
Die hard 9250751: ADC : Analog value: 883 = 12.77 9250764: EVENT: bat#voltage=12.77 9250782: ACT : TimerSet,1,120 9252242: WD : Uptime 154 ConnectFailures 0 FreeMem 17232 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init 9260725: ADC : Analog value: 882 = 12.76 9260739: EVENT: ba...
- 14 Feb 2023, 20:43
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
I think even your scripts does not work ⚙Config 💬Controllers 📌Hardware 🔌Devices ⧴Rules ✉Notifications 🔧Tools Log Logging: Debug (3) 4820748: timeStringToSeconds: '12' --> invalid 4820749: timeStringToSeconds: '12' --> invalid 4820750: conditionMatch: '12.76>12.5' --> '12.76' > '12.5' --> true (12.76...
- 14 Feb 2023, 20:14
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
Thanks, Ath... great teacher At the moment I'm in trial&error phase. I have two tasks on analog input, Baterie#custom1 , with 300s interval, also send value to mqtt server and another one, same ADC, with 5-10s interval, for experiments, for testing, Bat#voltage . Screenshot 2023-02-14 at 21-21-3...
- 14 Feb 2023, 18:43
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
Analog input is monitoring solar battery. When voltage drop under certain level, disconnect load. When voltage rise above high level, connect load. But after some time, checking the voltage is not below high level, clouds etc. Rule: On Bat#voltage do If [Bat#voltage]<11.5 GPIO,5,0 Endif If [Bat#volt...
- 13 Feb 2023, 17:39
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
It seems your rules are not executed, are there any other rules for system#boot or rules#timer=1 ? If so, then combine them into a single rule, because since summer 2022 the rules engine has gotten some optimizations, with a major improvement that once an event is handled, the rules file is not par...
- 13 Feb 2023, 16:04
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
Everything OK, back to latest firmware, cleaned the rules GOOD TO KNOW DO NOT have same instructions on different rules: on system#boot do On Rules#Timer=1 do on switch#state=11 do etc Not very happy with that, might be a reason, anyway... I think that should be advertise before updating certain fir...
- 13 Feb 2023, 13:55
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
Also thanks TD-er, magnificent job I parse here all the rules from device, just in case... ruleset1 on system#boot do let,2,0 TaskEnable,5 endon //on Virtualfosa#custom1=1 do TaskDisable,5 TaskDisable,8 timerSet,2,0 TaskEnable,9 lcdcmd,on LCD,1,1,"ATENTIE" LCD,2,1,"Pompa ON %systime%&...
- 13 Feb 2023, 13:35
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
Actually I have some rule in ruleset2, the dummy task was in ruleset3, but was disabled... //on Clock#Time=All,**:** do //lcdcmd,on //timerSet,1,5 endon //on Rules#Timer=1 do //lcdcmd,off endon Maybe the new builds didn't like it this way :D this module share the same lcd with environemental sensor,...
- 13 Feb 2023, 10:34
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
rolled back firmware ,to Build: ESP_Easy_mega_20211224_normal_ESP8266_4M1M Dec 24 2021... works again
- 13 Feb 2023, 10:13
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
yes, all works fine, just firmware update 35116932: Scheduler stats: (called/tasks/max_length/idle%) 188562/1906/14/80.51 35120197: DS: SP: 97,0,55,5,7f,a5,81,66,a3,OK,1,32,142 35120199: DS : Temperature: 9.4 (28-1f-28-07-d6-01-3c-30 [DS18B20]) 35120211: EVENT: ds#temp=9.4 35120216: EVENT: ds#temp=9...
- 13 Feb 2023, 08:23
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
I just upgraded firmware to Build: ESP_Easy_mega_20221224_normal_ESP8266_4M1M Dec 24 2022. I have a dummy device which collect data from sensors and send to mqtt controller every 5 minutes. Dummy doesn't work anymore. All values are 0.0. Something like that: On System#Boot do TaskValueSet 12,1,[bmp#...
- 11 Feb 2023, 21:35
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
I read the book, fast forward actually
I want to propose some feature (Tasmota has):
Possibility to enable /disable rules independently
rule1,0 or rule1,1
rule2,0 or rule2,1
rule3,0 or rule3,1
rule4,0 or rule4,1
Commands also available via http, mqtt
In case of remote device would be very helpful
I want to propose some feature (Tasmota has):
Possibility to enable /disable rules independently
rule1,0 or rule1,1
rule2,0 or rule2,1
rule3,0 or rule3,1
rule4,0 or rule4,1
Commands also available via http, mqtt
In case of remote device would be very helpful
- 11 Feb 2023, 21:14
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
Thank you , Ath
Works fine
Missing elementary school
Works fine
Missing elementary school
- 11 Feb 2023, 20:46
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
Solved Created a new task Bat on analog input On [Baterie#custom1]<11.5 do GPIO,5,0 Endon On [Baterie#custom1]>12.5 Do GPIO,5,1 Endon On [Bat#custom2]<11.0 do GPIO,15,0 Endon On [Bat#custom2]>12.6 Do GPIO,15,1 Endon Somehow not very intuitive, needs a new task, I have the feeling could be better sol...
- 11 Feb 2023, 20:36
- Forum: ESP Easy: General Discussion
- Topic: rules isue
- Replies: 37
- Views: 3362
Re: rules isue
Hello again, Me too same kind of problem. ADC is monitoring my solar battery. I want to on/off some relays according to the voltage. Rule is: On [Baterie#custom1]<11.5 do GPIO,5,0 Endon On [Baterie#custom1]>12.5 Do GPIO,5,1 Endon On [Baterie#custom1]<11.0 do GPIO,15,0 Endon On [Baterie#custom1]>12.6...
- 03 Nov 2021, 14:45
- Forum: ESP Easy: Projects / Applications
- Topic: (Solved) IRTX plugin help
- Replies: 25
- Views: 32755
- 03 Nov 2021, 14:18
- Forum: ESP Easy: Projects / Applications
- Topic: (Solved) IRTX plugin help
- Replies: 25
- Views: 32755
Re: (Solved) IRTX plugin help
Hello. Cannot find "Infrared Transmit" on my device dropdown box. (Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "Infrared Transmit" from the dropdown box ) Device is running: ESP_Easy_mega_20210505_normal_ESP8...
- 04 Jun 2021, 12:42
- Forum: ESP Easy: Hardware
- Topic: Using INA219 with an ESP8266 to self-report
- Replies: 6
- Views: 10211
Re: Using INA219 with an ESP8266 to self-report
Ina schematic
The +voltage(max 26v) goes to ina V+, shunt to V- then goes to load. Ina measure V+ and current through shunt (V+,V-).
- 22 May 2021, 00:08
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35252
Re: LCD2004
Code for turn on/off backlight of lcd, 3sec period: on System#Boot do loopTimerSet,1,3 endon On Rules#Timer=1 Do let,1,=!%v1% if %v1%=1 lcdcmd,on else lcdcmd,off endif endon Simple bistable of a gpio, every 3sec on System#Boot do loopTimerSet,2,3 endon On Rules#Timer=2 Do gpiotoggle,5 endon