Search found 39 matches

by Metatron
16 Feb 2023, 18:30
Forum: ESP Easy: Projects / Applications
Topic: Gas meter with Hall Sensor, counting via ADC (A0)
Replies: 16
Views: 3936

Re: Gas meter with Hall Sensor, counting via ADC (A0)

I think the answer sketches the idea, it is ok.
I have not had the time, yet, to implement it.
As soon as I have, I will post the result.
by Metatron
07 Dec 2022, 08:50
Forum: ESP Easy: Projects / Applications
Topic: Gas meter with Hall Sensor, counting via ADC (A0)
Replies: 16
Views: 3936

Re: Gas meter with Hall Sensor, counting via ADC (A0)

Hello,

yes, in theory, this would be the most comfortable solution to transfer any cyclic analog signal to cylce counts.
However, with the suggestions here, I believe I can make it work with rules!
Thank you!
by Metatron
06 Dec 2022, 11:09
Forum: ESP Easy: Projects / Applications
Topic: Gas meter with Hall Sensor, counting via ADC (A0)
Replies: 16
Views: 3936

Re: Gas meter with Hall Sensor, counting via ADC (A0)

PS: Everyone using the standard reed solution could also easily switch to the hall version, as it produces the same output, just better without bouncing.
by Metatron
06 Dec 2022, 11:06
Forum: ESP Easy: Projects / Applications
Topic: Gas meter with Hall Sensor, counting via ADC (A0)
Replies: 16
Views: 3936

Re: Gas meter with Hall Sensor, counting via ADC (A0)

Thank you all for the valuable input. I will see, how I can use this. Please don't forget, the pulse counter produces not only the sum, but 3 values. And furthermore, there are codes and automations for all kind of smart home software systems, do deal with the output of the espeasy pulse counter. So...
by Metatron
06 Dec 2022, 09:00
Forum: ESP Easy: Projects / Applications
Topic: Gas meter with Hall Sensor, counting via ADC (A0)
Replies: 16
Views: 3936

Re: Gas meter with Hall Sensor, counting via ADC (A0)

I would like to use the pulse counter. Count I trigger the pulse counter by a rule command without hardware? Or do I need to trigger it with a gpio connected to another one? I don't like the idea to send the pulses directly to my smart home software. If this is unavailable, e.g. for maintenance, I l...
by Metatron
06 Dec 2022, 08:48
Forum: ESP Easy: Projects / Applications
Topic: Gas meter with Hall Sensor, counting via ADC (A0)
Replies: 16
Views: 3936

Re: Gas meter with Hall Sensor, counting via ADC (A0)

Thank you!

That looks promising, I will read it through!

Regards, Metatron
by Metatron
05 Dec 2022, 17:59
Forum: ESP Easy: Projects / Applications
Topic: Gas meter with Hall Sensor, counting via ADC (A0)
Replies: 16
Views: 3936

Re: Gas meter with Hall Sensor, counting via ADC (A0)

One pulse is one liter of gas.
This is the signal:
unnamed (1).png
unnamed (1).png (39.42 KiB) Viewed 3928 times
Sampling 1s to HA with esphome.

However, I want to prevent the traffic and solve it on esp side. I have some experience with espeasy.
I won't get much faster, but slower down to standstill at any position - if no gas is used.
by Metatron
05 Dec 2022, 16:58
Forum: ESP Easy: Projects / Applications
Topic: Gas meter with Hall Sensor, counting via ADC (A0)
Replies: 16
Views: 3936

Gas meter with Hall Sensor, counting via ADC (A0)

Hello, after experimenting with reed contacts, I found out, that I get a far more reliable measurement from a hall sensor (Type 49E) for the rotating magnet of some gas meters. With reed contacts, I always got some bouncing, and other effects. I now get a nice kind of sine wave, only the negative pa...
by Metatron
22 Jan 2022, 18:20
Forum: ESP Easy: Projects / Applications
Topic: Generic Pulse Counter with LED indication?
Replies: 2
Views: 7701

Re: Generic Pulse Counter with LED indication?

Hello,

thank you, that works for me! (Using switch)

Regards, Metatron
by Metatron
19 Jan 2022, 07:57
Forum: ESP Easy: Projects / Applications
Topic: Generic Pulse Counter with LED indication?
Replies: 2
Views: 7701

Generic Pulse Counter with LED indication?

Hello,

I am currently developping hardware for pulse counting with espeasy.
It would be very handy, if the onboard LED of my D1 mini would indicate a closed contact.
Can anyone please give me a hint, how to implement this?

Regards, Metatron
by Metatron
09 Jul 2021, 17:04
Forum: ESP Easy: Projects / Applications
Topic: Ghost ringing
Replies: 12
Views: 11972

Re: Ghost ringing

Hello, I was still suffering from occational freezing of the ESP. Removing thermometer, Buzzer etc did not help. Then I saved the settings and rules and moved from a Wemos D1 to a nodemcu, downgraded to the February release and reloaded the settings and rules. It is running now without freezes, but ...
by Metatron
28 Jun 2021, 08:00
Forum: ESP Easy: Projects / Applications
Topic: Ghost ringing
Replies: 12
Views: 11972

Re: Ghost ringing

Hello, thanks for the quick reply. I found the reason this morning! I still had ticked "Use Safe Button (slower):" for the door bell button. I tried this to see if it can fix my problem, before. "slower" can be taken literally, it slows the whole system down. What does it to? Reg...
by Metatron
27 Jun 2021, 22:42
Forum: ESP Easy: Projects / Applications
Topic: Ghost ringing
Replies: 12
Views: 11972

Re: Ghost ringing

Unfortunately, my esp has become now really slow, and even hung up one time. I added a d18b20 to GPIO 14 and moved the buzzer zu GPIO 0.
Is that a problem?
I am running mega-20210503
by Metatron
27 Jun 2021, 21:43
Forum: ESP Easy: Projects / Applications
Topic: Ghost ringing
Replies: 12
Views: 11972

Re: Ghost ringing

Added 4.7k Pull-Up, quiet so far!
by Metatron
27 Jun 2021, 08:23
Forum: ESP Easy: Projects / Applications
Topic: Ghost ringing
Replies: 12
Views: 11972

Re: Ghost ringing

Hello, thanks a lot for the hints! Over night, I detached the mass connection of the button - still false alarms. This means to me, that the internal pull-up does not work. Do I have a faulty Wemos? I had set external pull-up-resistors if there had not been internal ones. I will give it a try. Thank...
by Metatron
26 Jun 2021, 21:51
Forum: ESP Easy: Projects / Applications
Topic: Ghost ringing
Replies: 12
Views: 11972

Ghost ringing

Hello, I used to control my door with a raspi, now I switched to ESPEasy, and I encounter "ghost ringing", meaning the doorbell rings, but nobody pressed the button. I have the following setup with a Wemos Mini: GPIO 4+5 drive Relays for the door bell and the door opener. GPIO 14 is output...
by Metatron
11 Apr 2021, 22:16
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 27112

Re: sunrise/sunset to be used in rule

Hello,

so far, it is working fine with 7:30. Thanks!
Now I start to make it more complicated, again.
by Metatron
09 Apr 2021, 14:08
Forum: ESP Easy: Projects / Applications
Topic: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266
Replies: 22
Views: 14547

Re: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266

You could try esplink, instead.
Same Hardware setting, a bit tedious to flash.

Or change wiring, use SMLReader. I have the confirmation of someone with the same meter, that it works without issues.
by Metatron
07 Apr 2021, 14:30
Forum: ESP Easy: Projects / Applications
Topic: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266
Replies: 22
Views: 14547

Re: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266

Hello,

just to let you know, it seems, that he has solved his issue.
With the right config and wiring, all seems to work.
I see no difference to what I advised above.
I know from the iobroker forum.

Regards, Metatron
by Metatron
06 Apr 2021, 13:22
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 27112

Re: sunrise/sunset to be used in rule

Hello, thanks, I will try with 06:30, or later, we have vacation. ;) I also had problems, where clashing was impossible, only one opening scenario active. as I said, using MQTT, triggering the shutters works fine, in all the cases. I use ESP_Easy_mega_20210223_normal_ESP8266_4M1M.bin I use a NodeMCU...
by Metatron
06 Apr 2021, 12:13
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 27112

Re: sunrise/sunset to be used in rule

Very strange, since I don't have a "On Clock#Time=All,06:30:00 do" type of entry, no confusing opening of the shutters anymore. (For some days now) Has anyone an idea, why? I believe to have proven, that it is not a hardware issue. I have set ntp, timezone, coordinates, DST correctly, clos...
by Metatron
03 Apr 2021, 11:52
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 27112

Re: sunrise/sunset to be used in rule

This night, all the shutters went up again. I think a will take out all "On"-Events, to make sure, it is not a hardware issue.
by Metatron
02 Apr 2021, 23:08
Forum: ESP Easy: Projects / Applications
Topic: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266
Replies: 22
Views: 14547

Re: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266

You have tried both? Connecting tx or rx to rx of the esp?
I will check mine within the next days.
Does your meter send signals? Have you checked with a digital camera?
by Metatron
02 Apr 2021, 21:32
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 27112

Re: sunrise/sunset to be used in rule

Sure, I took a copy, before simplifying it, I hope it is not a stupid mistake! But because there are only a few events ... On testpins do GPIO,13,1 Delay 1000 GPIO,13,0 Delay 2000 GPIO,12,1 Delay 1000 GPIO,12,0 Delay 2000 GPIO,4,1 Delay 1000 GPIO,4,0 Delay 2000 GPIO,5,1 Delay 1000 GPIO,5,0 endon On ...
by Metatron
02 Apr 2021, 20:23
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 27112

Re: sunrise/sunset to be used in rule

Hello, my ESPEasy started to behave odd. Closing shutters at 6:21pm, far to early, like 30min before sunset, opening shutters at midnight. I checked cr/lf, all fine. No reboots of the esp either (online since 11 days). Is there any other thing/character, which could confuse my esp? Should I use a di...
by Metatron
02 Apr 2021, 20:17
Forum: ESP Easy: Projects / Applications
Topic: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266
Replies: 22
Views: 14547

Re: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266

Hello,

checking the information you posted above, you need to set the stop bit to "1".
Does this help?
by Metatron
28 Mar 2021, 19:57
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 27112

Re: sunrise/sunset to be used in rule

No, sorry, because I don't understand the task 12 device. Could you please send me a screenshot of the definition of that task?
by Metatron
28 Mar 2021, 19:40
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 27112

Re: sunrise/sunset to be used in rule

Hallo,

something I just realized in the system variables, that %sunrise% and %sunset% don't have seconds, only hours and minutes.
Could the problem be that

Code: Select all

 If   %sunrise-15m%<06:00:00
does not work, but should be:

Code: Select all

 If   %sunrise-15m%<06:00
??

Regards, Metatron
by Metatron
27 Mar 2021, 17:40
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 27112

Re: sunrise/sunset to be used in rule

First of all, thank you for you reply. I will need some time to think it through. I think you have some logical error, the event on Clock#Time=All,%sunrise-15m% do is fired exactly 1 time, every day. What if sunrise-15m is after 06:00? Well, I wrote: On Clock#Time=All,%sunrise-15m% do if %systime%>0...
by Metatron
27 Mar 2021, 16:49
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 27112

Re: sunrise/sunset to be used in rule

Hello, sorry to bother you again, but I am still struggling with my rules for sunrise, currently, nothing happens. Coordinates timezone etc. are fine. I also checked system variables - fine. Wiring is fine, manually all works. These are the rules: On Clock#Time=All,%sunrise-15m% do If %systime%>06:0...
by Metatron
27 Mar 2021, 16:42
Forum: ESP Easy: Projects / Applications
Topic: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266
Replies: 22
Views: 14547

Re: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266

The configuration in ESPEasy looks like this: https://familie-emmrich.de/espeasy/espeasy1.png In Detail: https://familie-emmrich.de/espeasy/espeasy2.png In ioBroker, you use the smartmeter adapter and configure it like this: https://familie-emmrich.de/espeasy/iobroker.JPG The parameters might vary s...
by Metatron
27 Mar 2021, 14:38
Forum: ESP Easy: Projects / Applications
Topic: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266
Replies: 22
Views: 14547

Re: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266

First of all, the wiring: For ESPEasy/ser2net, you need to connect to the Tx/Rx Pins, GND to GND and the supply to either 3.3V or 5V. All these Pins exist for the ESP, look carefully, you should see them. They are marked. This is it. If you don't get a signal, cross over Rx and Tx. Because you will ...
by Metatron
27 Mar 2021, 10:47
Forum: ESP Easy: Projects / Applications
Topic: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266
Replies: 22
Views: 14547

Re: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266

Hello, ok, I know this meter. It works with push SML messages, that's fine. With iobroker, you could easily use ser2net within ESPEasy, and pipe the serial messages into iobroker. This is no MQTT, but works without problems. It you want to use MQTT, you could use SMLReader from github. But this is n...
by Metatron
24 Mar 2021, 19:17
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 27112

Re: sunrise/sunset to be used in rule

Hello, thank you so much for your feedback and support! This morning, nothing happened - and then I got an idea: My timezone was wrong! It did not play a role, while only dealing with sunrise/sunset, but for 6:00 it does! Sorry, my very own fault! I removed the variables, again. Now let's wait for t...
by Metatron
23 Mar 2021, 19:38
Forum: ESP Easy: Projects / Applications
Topic: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266
Replies: 22
Views: 14547

Re: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266

Hallo,

an die Serielle Schnittstelle des ESP8266 anschließen geht.
Noch Interesse? dann gehe ich ins Detail.
by Metatron
23 Mar 2021, 17:57
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 27112

Re: sunrise/sunset to be used in rule

Thank you!
Does this expanding problem also apply to

Code: Select all

if %sysweekday%=1 or %sysweekday%=7
i.e. in general per line/expression?
by Metatron
23 Mar 2021, 07:33
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 27112

Re: sunrise/sunset to be used in rule

Hello, I try to define a rule to open my shutters according to sunrise, but no earlier then 6am. Later during weekends. However, it doeas not work. Can somebody see my mistake, please? On Clock#Time=All,%sunrise-15m% do If %systime% > 06:00:00 if %sysweekday%=1 or %sysweekday%=7 timerSet,1,3600 else...
by Metatron
20 Mar 2021, 10:10
Forum: ESP Easy: Software
Topic: Rules with sunset sunrise
Replies: 8
Views: 6275

Re: Rules with sunset sunrise

Wow, cool, thanks!
by Metatron
20 Mar 2021, 09:42
Forum: ESP Easy: Software
Topic: Rules with sunset sunrise
Replies: 8
Views: 6275

Re: Rules with sunset sunrise

Hello,

so far, well understood, thank you.
But what do I do, if I want something to happen, half an hour before sunrise?
Any hint, for a newbie, please?

Propably the easiest way is, to move my coordinates further to the east, right?

Regards, Metatron