Search found 206 matches

by GravityRZ
15 May 2020, 17:32
Forum: ESP Easy: Software
Topic: pulsecounter acting strange after latest changes
Replies: 20
Views: 14209

Re: pulsecounter acting strange after latest changes

well i did a lot of testing but sofar after a week instantly 4 extra pulses after another week of testing 1 missing pulse i tested if the pulsecounter was triggered on values higher then 1 but this is not the case i also did set the pulsecounter to the total amount and that value always matched to t...
by GravityRZ
30 Apr 2020, 15:26
Forum: ESP Easy: Software
Topic: Are dummy device numbers still floating point
Replies: 1
Views: 4594

Are dummy device numbers still floating point

i am experiencing rounding issues in Domoticz

i send over a dummy device value without any decimals.
Does this mean is is converted to a rounded number(integer) or is it still a floating number without decimals?
if so can i change this by adding a formula?
by GravityRZ
29 Apr 2020, 15:55
Forum: ESP Easy: Software
Topic: pulsecounter acting strange after latest changes
Replies: 20
Views: 14209

Re: pulsecounter acting strange after latest changes

ah, finally clear to me i let it run for a couple of days to see if it stays stable with current build 20200410(it did for 3 weeks) after that i only update the firmware and let it run again for a couple of days. finally i will change the rules to see if that affects things and will start the debugg...
by GravityRZ
29 Apr 2020, 14:15
Forum: ESP Easy: Software
Topic: pulsecounter acting strange after latest changes
Replies: 20
Views: 14209

Re: pulsecounter acting strange after latest changes

ok, that i can do(the %eventvalue% was not clear) that would proof why pulses are missing but that will not proof where the extra pulse came from because that one is added directly to the total of the pulsecounter. in this thread we tried to solve a problem regarding the RTC values which turned out ...
by GravityRZ
29 Apr 2020, 13:00
Forum: ESP Easy: Software
Topic: pulsecounter acting strange after latest changes
Replies: 20
Views: 14209

Re: pulsecounter acting strange after latest changes

do you mean like a test to see if there are pulses with values higher then 1

can you explain how to do this with %eventvalue% because i do not understand
by GravityRZ
29 Apr 2020, 12:21
Forum: ESP Easy: Software
Topic: pulsecounter acting strange after latest changes
Replies: 20
Views: 14209

Re: pulsecounter acting strange after latest changes

OK, can you itemize what parts you think may have different behavior? Reading these changes in story-like format are a bit hard to interpret and itemizing may help to categorize what things have been checked and ruled out and what not. Just by reading your post (for a few times), it looks like: - t...
by GravityRZ
29 Apr 2020, 09:40
Forum: ESP Easy: Software
Topic: pulsecounter acting strange after latest changes
Replies: 20
Views: 14209

pulsecounter acting strange after latest changes

with build 20200410 i had a completely stable solution for at least 3 weeks no extra or missing pulses. now with build 20200426 i am experiencing strange things i changed my rules script so i could use the setpulsecountertotal command instead of a dummy -device first day i experienced that the pulse...
by GravityRZ
24 Apr 2020, 17:07
Forum: ESP Easy: Software
Topic: tips to create a really stable pulsecounter for watermeter
Replies: 9
Views: 13968

Re: tips to create a really stable pulsecounter for watermeter

it all depends on what functionality you want. i can understand that a default setup is much easier. I however wanted to do something nobody did before. real time watermeter usage realtime flow usage persistant watermeter value without the need to adjust the watermeter if something happens(power out...
by GravityRZ
21 Apr 2020, 09:35
Forum: ESP Easy: Software
Topic: tips to create a really stable pulsecounter for watermeter
Replies: 9
Views: 13968

Re: tips to create a really stable pulsecounter for watermeter

nice setup Arie. one last question? do you send over only the pulses(liters) or the total?) in the beginning i did send over the pulses only but since i was missing a pulse once in a while i wanted to rule out transmission problems. now i send over the total everytime and he total gets synced back f...
by GravityRZ
20 Apr 2020, 12:42
Forum: ESP Easy: Software
Topic: tips to create a really stable pulsecounter for watermeter
Replies: 9
Views: 13968

Re: tips to create a really stable pulsecounter for watermeter

the esp did not reboot so it showed it was online for many days. maybe it was my bad luck that i encountered multiple problems(maybe the 5V sensor is lesss sensitive then the 12v variant) indeed a diode as shifter will work to. one very nice feature i implemented last week and had 100% succes i am r...
by GravityRZ
17 Apr 2020, 16:36
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

thanks Bulthaup and TD-er.
totally clear now.

not a big deal for me to go to that point, clone/download the complete zip and compile it.
by GravityRZ
17 Apr 2020, 11:54
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

thanks,

confirmed working

question regarding downloading the latest source.
how do you get to that specific link in github

i see code, issues but somehow i do not see how to jump to were the code including the fix is
by GravityRZ
16 Apr 2020, 22:44
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

thanks. probably took a different version. can somebody perhaps share their build so i can test with that one.(i downloaded build dated 15-04 23:30 so maybe i am doing something wrong) You can clone or download zip from this repo https://github.com/letscontrolit/ESPEasy/tree/1cf4bb43dcccd183160172e6...
by GravityRZ
16 Apr 2020, 21:43
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

no problem.

if you can make the build i can test it if you want but if bulthaup tested it and it works than in is fune with me.
by GravityRZ
16 Apr 2020, 18:26
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

i tested it also but i still see the old behaviour without %value%/5 countertotal=11 reboot countertotal=11 with %value%/5 countertotal=11 reboot countertotal=2 can somebody perhaps share their build so i can test with that one.(i downloaded build dated 15-04 23:30 so maybe i am doing something wrong)
by GravityRZ
15 Apr 2020, 13:32
Forum: ESP Easy: General Discussion
Topic: is there an easy way of getting data from domoticz
Replies: 0
Views: 6546

is there an easy way of getting data from domoticz

on bootup of the esp i would like to receive a value from domoticz. at the moment i do this by letting the esp trigger a switch in domoticz,(sendtohttp) which triggers a dzvents script which sends out the value over MQTT which is received by the ESP using MQTT import. this works great but it has alo...
by GravityRZ
15 Apr 2020, 08:42
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

maybe a dumb question but formulas have been there for a while.

do other plugins which survives a warm reboot have the same problem?
by GravityRZ
14 Apr 2020, 17:29
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

if this was the problem then i am glad we solved it. are you saying that this formula is applied after you delete a device and add it again? but if you wipe out a module and reflash it then it is gone right? Hold your horses, I think I found the culprit! Haha, you will not believe this... I'm using ...
by GravityRZ
14 Apr 2020, 16:41
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

well not suprisingly but my outcome is exactly like expected did set the 4 counters with default sttings (interval 0 will turn to interval 60) waited 1 minute reboot all values still there after that i did set all the counters to different values 111,1 222,2 333,3 444,4 did an instant reboot and as ...
by GravityRZ
14 Apr 2020, 16:03
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

i can test that for you i will flash a 4mb empty imgage first and after that the latest build my interpretation(TD-er please correct if wrong) please note that when you specify an device interval of 30 seconds it takes max 30 seconds to flash the value to the RTC. i believe this interval starts when...
by GravityRZ
14 Apr 2020, 09:07
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

i also use a fresh D1 mini and also tested it on a nodemcu v1 all gpio pins set to default, ntp and 2 pulsecounter tasks, basically the same as your setup.(1 pull up 10k on D14 but none on D13 and that also works) the powersupply was a longshot, dirty powersupplies(spikes) could cause all kind of th...
by GravityRZ
13 Apr 2020, 22:36
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

FYI. i am testing this parallel and still do not see strange behaviour everything works like it should on my end setpulsecountertotal,999 counter task1 is set to 999 setpulsecountertotal,888,2 counter task2 is set to 888 setpulsecountertotal,345,3 unknown command (the same for any other task which d...
by GravityRZ
13 Apr 2020, 15:01
Forum: ESP Easy: Software
Topic: tips to create a really stable pulsecounter for watermeter
Replies: 9
Views: 13968

tips to create a really stable pulsecounter for watermeter

Hello, i use the M12 LJ12A3-4-Z Bx 5 V Inductive Proximity Sensor to count pulses on my watermeter. This has been done before and with good results. The things I (and many others) experience is that this is not a 100% reliable solution. sometimes you get multiple extra pulses and sometimes pulses ar...
by GravityRZ
12 Apr 2020, 19:19
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

thanks. any chance if the initpulsecounter command also will be implemented. might come in handy i tested it and it seems to work like expected but i am not a coder and do not know how to do this stuff in github here is the code case PLUGIN_WRITE: { String command = parseString(string, 1); String pa...
by GravityRZ
12 Apr 2020, 16:49
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 29
Views: 24006

Re: "Voting" for the most Easy controller!

to bad it is not available for apple. For me the easiest and simplest controller is an app called MQTT Dash https://play.google.com/store/apps/details?id=net.routix.mqttdash&hl=en_US based on MQTT protocol. It can do basic home automation very easily without any local server.This app lacks prope...
by GravityRZ
12 Apr 2020, 13:39
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

i use a manual pulse switch and sometimes just 2 wires connecting together i have D5 connected with a 10k pullup resistor and D6 without a pullup resistor i would advice always to use a pullup resistor what powersupply are you using? whatever i do i can not replicate it. What pulse meter do you use?...
by GravityRZ
12 Apr 2020, 11:48
Forum: ESP Easy: Software
Topic: OTA update succesfull but kills esp when using arduino build
Replies: 2
Views: 4406

Re: OTA update succesfull but kills esp when using arduino build

discovered why ota was not working

i did set the flash size to 4MB but the FS was set to 2MB
changed it to 1MB, did an ota with the custom firmware and the unit came back online after the upgrade
esp-ota.JPG
esp-ota.JPG (24.06 KiB) Viewed 4371 times
by GravityRZ
12 Apr 2020, 11:04
Forum: ESP Easy: Software
Topic: need some help with atom
Replies: 9
Views: 8666

Re: need some help with atom

finally got it working but it was no breeze. maybe when atom was running ok i tested it on an old build which i used for arduino (src directory renamed to ESPEasy) tested it again on latest build and pointen it to the source directory. not sure if this was the only problem but at least it is working...
by GravityRZ
11 Apr 2020, 21:53
Forum: ESP Easy: Software
Topic: need some help with atom
Replies: 9
Views: 8666

Re: need some help with atom

ok. i will try again.
by GravityRZ
11 Apr 2020, 19:44
Forum: ESP Easy: Software
Topic: need some help with atom
Replies: 9
Views: 8666

Re: need some help with atom

well tried platformio again but still errors installed atom 1.45.0 installed platformio-ide 2.6.0 installed git 2.25.0 (because latest version 2.26 gives error) also very annoying, i can hardly find a git windows executable lower than 2.26 why make it not possible to download previous versions in wi...
by GravityRZ
11 Apr 2020, 16:45
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 29
Views: 24006

Re: "Voting" for the most Easy controller!

i played around with openhab for some time to use it as bridge to google i found out that you can get almost anything running in openhab when you use mqtt things however need to be done on the server site, not on the client site like in the tutorial here are 2 documents i made to keep myself from no...
by GravityRZ
11 Apr 2020, 15:10
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

whatever i do i can not replicate it. what i however found was that when i was playing with adding/deleting devices i noticed sometimes that when deleting a device and adding it again i got back some of the old data for count, total and time. maybe you can try to wipe the esp completely by flashing ...
by GravityRZ
11 Apr 2020, 14:32
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 29
Views: 24006

Re: "Voting" for the most Easy controller!

Hi Martinus, it is not complex as long as you use 1 application as you main application. i noticed there is no application which can do everything, some shine in the backend, some in the frontend and some with google connectivity. with domoticz i can do everything(but i need to use a vpn to do it re...
by GravityRZ
11 Apr 2020, 10:45
Forum: ESP Easy: Software
Topic: OTA update succesfull but kills esp when using arduino build
Replies: 2
Views: 4406

OTA update succesfull but kills esp when using arduino build

i finally got arduino back working so i am able to build binaries myself when i create a binary from a regular Mega release and flash that new arduino build to the esp using OTA (from within the ESP) it states that the update is succcesfull but when rebooting the unit does not come online. the only ...
by GravityRZ
11 Apr 2020, 09:21
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

ok, clear.
will do some testing to se if i can somehow trigger it.
if we know what triggers it then TD-er probably knows where to look

will flash the original build to test
by GravityRZ
10 Apr 2020, 17:57
Forum: ESP Easy: General Discussion
Topic: Pulse Counter problem with ESPEasy
Replies: 3
Views: 5530

Re: Pulse Counter problem with ESPEasy

if i google gpio-0 gpio-2 i find instantly that this has something to do with boot flash and program some pins can not be used for everything unless you take special care why not use save options like gpio-12, 13 or 14 inside the esp you see a triangle behind the gpio pin if it can not be uses savel...
by GravityRZ
10 Apr 2020, 13:28
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 29
Views: 24006

Re: "Voting" for the most Easy controller!

it depends on what you are looking for. basically you have 2 areas Frontend and backend. i use domoticz which is very good at the backend but the frontend is not that good. I liked the Openhab frontend app very much because it was customizable but connection with google is not that good. for now i u...
by GravityRZ
10 Apr 2020, 12:11
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

i made the changes TD-er did to avoid wiping out the values on a reset. i also added the initpulsecounter command. maybe not smart to do several changes but i tried it myself and it seems to work. in case you get strange results i would ask TD-er to make a build for you since i make mine with Arduin...
by GravityRZ
10 Apr 2020, 09:09
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

I think not updating on every pulse, or at least frequently is cause for confusion. Just did some tests with your change in the rule but after a reset, only the Total counts of task 1 is restored. Task 2 stays 0 again. Is there a way of debugging this? hmm, i just tested this but after a reboot bot...
by GravityRZ
10 Apr 2020, 08:50
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

@bulthaup. are you interested in testing a version which can initialize the pulsecounter. tested it and it seems to work initpulsecounter,2,55555 will initialize counter of pulsecounter 2 (pulsecounter 1 also works) i just copied some code from the resetpulsecounter and modified it. please note i am...
by GravityRZ
09 Apr 2020, 16:26
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

why not do.

Code: Select all

On Clock#Time=All,23:59 do
resetpulsecounter,1
resetpulsecounter,2
Endon
the esp is not the fastest device so the more clockcycles you can save might be helpfull

this is the way i do it.and yes it is not on the second
by GravityRZ
08 Apr 2020, 17:34
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 85
Views: 42817

Re: Change Total value of a pulse counter with command

i tested this but i can not replicate it.

i do not have rules enabled

i tried Taskrun,1 Taskrun,2 reboot
all the counters still there

tried it multiple times, also when generating new pulses, doing a Taskrun,1 Taskrun,2 and immediate reboot
by GravityRZ
08 Apr 2020, 14:55
Forum: ESP Easy: Software
Topic: need some help with atom
Replies: 9
Views: 8666

Re: need some help with atom

ok, will test when i have some spare time. for now i am using arduino again arduino was working perfectly, then it stopped(could not get it to work again) now i did a fresh reinstall and it worked instantly upgraded to arduino 1.8.12 and still working. i build with arduino but flash with espflasher ...
by GravityRZ
08 Apr 2020, 14:39
Forum: ESP Easy: General Discussion
Topic: how to work clould control?
Replies: 3
Views: 4963

Re: how to work clould control?

if there is no native cloud support one can always look if IFTTT is supported.

i have a cloud based doorbell without api support but since it has IFTTT i can contol it with google assistant, domoticz, node-red etc.
by GravityRZ
07 Apr 2020, 19:41
Forum: ESP Easy: General Discussion
Topic: What are the timings to collect dat aand send MQTT update ?
Replies: 4
Views: 7561

Re: What are the timings to collect dat aand send MQTT update ?

not an expert but recently figured this out what is the 'time' value ? what does it represent ? that is a nice one, it is the time between pulses. i use this to send real time flow information The count represent the delta pulse (if delta is configured) in the period of time configured in 'interval...
by GravityRZ
06 Apr 2020, 21:47
Forum: ESP Easy: Projects / Applications
Topic: Help on _P222 Debounced counter
Replies: 2
Views: 9199

Re: Help on _P222 Debounced counter

i inspected the code and indeed the code to display delta total and time needs to be changed. i changed it but i am not impressed with this debounced counter. if i select a debounce time of 800ms and make 2 fast contacts it still reads more than 2 counts so it does not supress the extra bounces. als...
by GravityRZ
06 Apr 2020, 15:18
Forum: ESP Easy: Software
Topic: need some help with atom
Replies: 9
Views: 8666

Re: need some help with atom

ok. managed to build it with the p222 debounced counter. seems not the same as generic counter. debouncetime max 800ms output only 2 (delta/total) so i am missing time so for my usage (watermeter counter) totally useless. well at least ik know how to create a modiied build. strange thing is the orig...