Search found 159 matches

by bonti69
05 Dec 2024, 23:26
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

Right again. Two mqtt controllers are not allowed simultaneously
by bonti69
05 Dec 2024, 22:46
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

TD-er wrote: 05 Dec 2024, 22:37 Also as far as I can see, even Home Assistant doesn't allow for >1 MQTT broker to be configured.
In HA: Settings->Devices and integrations -> MQTT
This only allows for 1 item, which looks to me like it cannot have >1 MQTT configuration
You are right
by bonti69
05 Dec 2024, 22:43
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

Well, my knowledge on mqtt is limited, but I wonder why can be enabled to send a certain task to BOTH controllers, as long you can't enable both of them... Screenshot 2024-12-05 at 23-28-20 X19.png Also Home Assistant cannot import data from another mqtt server, have to do some mqtt bridge , configu...
by bonti69
05 Dec 2024, 20:23
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

Affinite wrote: 05 Dec 2024, 20:14 @bonti69
do you live in Siberia ?
-47 Degrees ?
senzor failure, temperature measurement is down, humidity works
or maybe plugin viewtopic.php?t=9312
ESPEasy bug, flashed an older firmware and works again...
Screenshot 2024-12-05 at 21-54-57 X19.png
Screenshot 2024-12-05 at 21-54-57 X19.png (79.23 KiB) Viewed 185 times
by bonti69
05 Dec 2024, 18:49
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

I noticed that, if the device has two mqtt controllers defined, the device connects to both of them, but publish sensor data only to one. Meantime , accept commands from the disabled mqtt. Interesting... maybe some rule to enable /disable mqtt1 and mqtt2 alternatively , in order to send data to both...
by bonti69
05 Dec 2024, 18:30
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

According with the instructions https://www.home-assistant.io/integrations/sensor.mqtt/#get-sensor-value-from-a-device-with-espeasy I have managed to read in HA the sensor from ESPEasy device . Have to manually create/edit the yaml configuration, then create a card in dashboard mqtt: sensor: - name:...
by bonti69
05 Dec 2024, 15:45
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

What you're looking for is not yet implemented in ESPEasy and it's called "MQTT Auto Discovery" Ton is looking into it as it really makes things a lot easier to add things to HA. I know there are users who managed to publish the right topics to the MQTT broker to make HA work with ESPEasy...
by bonti69
05 Dec 2024, 10:25
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

Thank's giorgino, I saw you use NodeRed , it's complicated to read the values from ESPEasy ? A little bit offtopic, hope TD-Er and Ath will have some time to take a look... Few days ago I have installed Home Assistant on a minipc, with ESPHome add-on. Good news HA has native integration for Tasmota ...
by bonti69
29 Nov 2024, 21:02
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

giorgino wrote: 28 Nov 2024, 23:15 ops sorry, mistake
What software do you use for drawing schematics ?
by bonti69
28 Nov 2024, 12:25
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

I buyed small and cheap ADUM1201 isolators and convertor https://www.analog.com/en/products/adum1201.html#part-details ADuM1201-fbl.gif The ADuM1201 is a dual-channel, digital isolator with 1/1 channel directionality based on the Analog Devices, Inc., iCoupler® technology. Combining high speed CMOS ...
by bonti69
26 Nov 2024, 13:41
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

HW serial 2 can be defined on any GPIO available? see post #121 - this setup works for me :D Short answer is yes , HW serial2 is user defined I figured must have some rules and a dummy device with values extracted from victron. On the dashboard what the values V,I,P means? My device is not connecte...
by bonti69
26 Nov 2024, 12:28
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

GPIO1/txd and GPIO3/rxd HW serial 0 = native serial of ESP32
GPIO17/TX2 and GPIO16/RX2 HW serial 1
HW serial 2 can be defined on any GPIO available?
doc-esp32-pinout-reference-wroom-devkit_png_80.jpg
doc-esp32-pinout-reference-wroom-devkit_png_80.jpg (108.72 KiB) Viewed 1532 times
Surprise : gpio pins are not 5V tolerant !
by bonti69
26 Nov 2024, 12:05
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

Thanks,
Only 4 values ?
Screenshot 2024-11-26 at 13-04-10 ESP32.png
Screenshot 2024-11-26 at 13-04-10 ESP32.png (40.63 KiB) Viewed 1547 times
Voltage, current, power of battery or panel?
by bonti69
26 Nov 2024, 11:19
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

I've added a setting to the plugin to only generate events and send data to Controllers when new data has been received since the last Interval/TaskRun. Binaries available from this GH Actions run . (An independent extension to the "[Victron#updated]" value that can be polled from rules.)...
by bonti69
16 Nov 2024, 08:39
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

I'm new on ESP32.
ESP32 has more hardware UART. The Victron plugin will run on multiple victron devices, on the same ESP32 board? Or will flood the CPU?
by bonti69
26 Oct 2024, 23:06
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

Hoping for a build for 4M esp8266...
Esp32, having more uarts, is perfect for multiple victron devices, but for a single device, an esp8266 should be enough . The original Esphome build use a wemos d1 mini with 1M memory...
by bonti69
22 Oct 2024, 14:55
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

I tried to modify the yaml file and sensor.py but no luck...I.m doing something wrong, but I expect to be that string, panel current
Screenshot 2024-10-22 at 15-55-22 VictronMPPT.png
Screenshot 2024-10-22 at 15-55-22 VictronMPPT.png (155.28 KiB) Viewed 4026 times
by bonti69
22 Oct 2024, 14:51
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

I'm playing with something like this from may times, but in a easier way: on "VICTRON-SIDE" i have an ESP32 reading with this: on !Serial* do // Include * to process string values -- if there is trafic on serial Publish,'VICTRON-ve','{substring:8:15:%eventvalue%}' // public MQTT on topic ...
by bonti69
20 Oct 2024, 20:08
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

Screenshot 2024-10-20 at 21-05-38 VictronMPPT.png
Screenshot 2024-10-20 at 21-05-38 VictronMPPT.png (870.2 KiB) Viewed 4463 times
by bonti69
20 Oct 2024, 20:01
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

Solved with ESPHome. Victron sends burst of data every second. My victron 100/20 has 5V on VE.direct. I used an 10k/22k divider from mppt tx to Rx of an ESP12S board.
Screenshot 2024-10-20 at 20-55-47 Dashboard - ESPHome.png
Screenshot 2024-10-20 at 20-55-47 Dashboard - ESPHome.png (80.55 KiB) Viewed 4465 times
by bonti69
19 Oct 2024, 06:48
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

Thank's Td-er
I remember at last, only first will be executed, since a year or two...
Maybe some alert could be implemented during scripting rules, or maybe espeasy could be tolerant again on this issue... less intuitive right now, less human thinking.
by bonti69
18 Oct 2024, 17:14
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

Had to put it under the first On Baterie#Volti Do

Code: Select all

On Baterie#Volti Do
  If %eventvalue%> 28
  GPIO,14,1
  Endif
  
  If %eventvalue% < 27
 GPIO,5,0
 GPIO,14,0
Endif
Endon

 On Timer#state=1 Do
 timerSet,2,600
Endon

On Rules#Timer=2 Do
  GPIO,5,1
Endon
by bonti69
18 Oct 2024, 17:02
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

Code: Select all

On Baterie#Volti Do
If %eventvalue% < 27
GPIO,5,0
GPIO,14,0
Let,1,0
Endif
Endon
The switch does not off, even the voltage is 25V now
by bonti69
18 Oct 2024, 15:14
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

The charging of battery has three phases , bulk - absorbtion 120min - float Screenshot 2024-10-18 at 16-03-16 MQTT ATS.png My goal is to delay some minutes the load applied to the battery, in order to achieve at least some time for absorbtion ( that 2 hours stage at 29V ). After 2 hours, battery goe...
by bonti69
18 Oct 2024, 13:43
Forum: ESP Easy: Software
Topic: Victron to ESP using SerialProxy plugin
Replies: 181
Views: 14350

Re: Victron to ESP using SerialProxy plugin

I'm also interested to add one small espeasy board to VE.direct of a Victron mppt controller
Seems like the data is read-only
https://github.com/KinDR007/VictronMPPT-ESPHOME
https://github.com/rin67630/Victron_VE_on_Steroids
https://www.youtube.com/watch?v=D08sjKWBW7o&t=0s
by bonti69
18 Oct 2024, 12:15
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

Hi everybody Ath, if you read this, please help I have a small project, ESP with two ACS758 sensors monitoring a small off-grid solar system. Screenshot 2024-10-18 at 13-06-23 ESPEasy SOLAR_34.png ADS 1115 is monitoring battery voltage and input current from PV and output current to loads. Gpio 5 is...
by bonti69
29 Sep 2024, 20:44
Forum: ESP Easy: Hardware
Topic: Panasonic WH-SXF12D9E8 Heat Pump & ESP easy
Replies: 6
Views: 4092

Re: Panasonic WH-SXF12D9E8 Heat Pump & ESP easy

Did a serial flash with 4M2M build, loaded the config.dat file and everything is back. Of course the rule which I have it on plain text, saved before. And the password on the mqtt controller...
Screenshot 2024-09-29 at 21-43-01 WemosD1R1-IR.png
Screenshot 2024-09-29 at 21-43-01 WemosD1R1-IR.png (532.09 KiB) Viewed 1386 times
Thank's again, Ath
by bonti69
29 Sep 2024, 19:06
Forum: ESP Easy: Hardware
Topic: Panasonic WH-SXF12D9E8 Heat Pump & ESP easy
Replies: 6
Views: 4092

Re: Panasonic WH-SXF12D9E8 Heat Pump & ESP easy

I had a Wemos D1 R1 with some DS18B2o sensors, a relay on/off and a IR LED for controlling a heating device. Was some 2021 ESPEasy build, I did not remember which one. I had a firmware update to some 2024 build, the device reset to default, luckily I had a config.dat but I'm not find a build which s...
by bonti69
19 Jul 2024, 18:27
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

I saw the dot myself, later, maybe that was the fault, but solved with another variable... Thanks again for your time and support... This code is copy-paste from the docs: On Temp#Value Do Let,2,[VAR#1] Let,1,%eventvalue1% TaskValueSet,12,1,(3*[VAR#1]+[VAR#2])/4 EndOn I don't see the = in front of f...
by bonti69
19 Jul 2024, 15:42
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

https://espeasy.readthedocs.io/en/latest/Rules/Rules.html#averaging-filters On Temp#Value Do Let,2,[VAR#1] Let,1,%eventvalue1% TaskValueSet,12,1,(3*[VAR#1]+[VAR#2])/4 EndOn Should work in TaskValueSet,n,value but maybe not in Let,n,value Anyway, maybe was mistyping something, will try another time.....
by bonti69
19 Jul 2024, 13:26
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

You have my email, please send your ID

Let,2,([End_test#TimeSec]-[Start_test#TimeSec])/60 will work?

or maybe link to formula manual/example/tutorial...
by bonti69
19 Jul 2024, 10:45
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

Ath, I don't have paypal, but I send you a beer via Revolut :P Screenshot 2024-07-19 at 11-43-29 Battery test capacity[...].png %lcltime% can be stored as it is, like plain text, in order to be used later in notification email ? Let,2,([End_test#TimeSec]-[Start_test#TimeSec])/60 can be used directly...
by bonti69
19 Jul 2024, 10:17
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

Thanks, Ath, if you told me yesterday ;) I used two variables with current second of the day %syssec_d% Let,2.[End_test#TimeSec]-[Start_test#TimeSec] Let,3,%v2%/60 TaskValueSet 11,1,%syssec_d% v3 has a lot of decimals using email %v3%, can be truncated? Durata test: 0.266667 minute I made another ta...
by bonti69
19 Jul 2024, 09:01
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

It's better with two emails , notify 1 and notify 2 Battery test capacity end Start test: [Start_test#TimeSec] Capacitate baterie testata : [Real#Capacity] Ah Curent descarcare: [ina#Current] Tensiune finala: [ina#Voltage] Terminat la ora %systime% End test : %syssec_d% Battery test capacity start T...
by bonti69
19 Jul 2024, 08:30
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

Devices looks like this
Screenshot 2024-07-19 at 09-25-05 Battery tester-Capaci[...].png
Screenshot 2024-07-19 at 09-25-05 Battery tester-Capaci[...].png (364.38 KiB) Viewed 5420 times
Maybe I could make another notification, one when the test starts, and one when the test is finished, using the %systime% on each email...
by bonti69
18 Jul 2024, 16:58
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

Maybe is related to this: https://espeasy.readthedocs.io/en/latest/Rules/Rules.html#timetomin-timetosec Tried to create a dummy device , to display sistem time, interval every minute... TaskValueSet 11,1,%systime% but display zero , only Or maybe this reading : https://espeasy.readthedocs.io/en/late...
by bonti69
18 Jul 2024, 16:09
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

with rule On button#state=0 do GPIOtoggle,5 Let,2, %systime% Endon and email Start test: %v2% Capacitate baterie testata : [Real#Capacity] Ah Curent descarcare: [ina#Current] Tensiune finala: [ina#Voltage] Terminat la ora %systime% i have this result Start test: 0 Capacitate baterie testata : 0.00 A...
by bonti69
18 Jul 2024, 15:44
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

Hi, everybody I have the above project, a battery capacity tester, in short, an ESPEasy module with INA219 curent/voltage/power sensor, and a relay connecting load, a small 25W light bulb. Whem I push a button/switch, non retaining, load starts to consume energy, INA measure power, every minute incr...
by bonti69
26 Feb 2023, 13:44
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

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...
by bonti69
26 Feb 2023, 12:35
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

10 minutes pause, the voltage rise from 11.34 to 11.85V
graph2_crr.jpg
graph2_crr.jpg (27.95 KiB) Viewed 18492 times
graph2_cr.jpg
graph2_cr.jpg (33.59 KiB) Viewed 18492 times
by bonti69
26 Feb 2023, 12:29
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

A car battery on benchmark, since yesterday 17.00 hour with a 25W bulb
by bonti69
25 Feb 2023, 22:41
Forum: ESP Easy: Projects / Applications
Topic: Zero Solar Power Export with ESPEasy
Replies: 17
Views: 9360

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...
by bonti69
25 Feb 2023, 22:11
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

Re: ESPEasy Battery Tester

Screenshot 2023-02-25 at 23-09-30 ESP_Easy 35.png
Screenshot 2023-02-25 at 23-09-30 ESP_Easy 35.png (66.57 KiB) Viewed 18548 times
cable is short, 15cm, just a mini switch between gpio4 and gnd
Screenshot 2023-02-25 at 23-14-29 ESP8266 Pinout Reference Which GPIO pins should you use Random Nerd Tutorials.png
Screenshot 2023-02-25 at 23-14-29 ESP8266 Pinout Reference Which GPIO pins should you use Random Nerd Tutorials.png (33.81 KiB) Viewed 18547 times
https://rabbithole.wwwdotorg.org/2017/0 ... -gpio.html
by bonti69
25 Feb 2023, 20:39
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

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...
by bonti69
25 Feb 2023, 20:04
Forum: ESP Easy: Projects / Applications
Topic: Zero Solar Power Export with ESPEasy
Replies: 17
Views: 9360

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...
by bonti69
25 Feb 2023, 13:00
Forum: ESP Easy: Software
Topic: ESP Easy Bible
Replies: 1
Views: 1191

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...
by bonti69
25 Feb 2023, 11:06
Forum: ESP Easy: Projects / Applications
Topic: Zero Solar Power Export with ESPEasy
Replies: 17
Views: 9360

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...
by bonti69
25 Feb 2023, 00:07
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Battery Tester
Replies: 72
Views: 31315

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