Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
water metering
#4
Thanks Adzik, your answer is much appreciated!
It works now.
Now I am thinking of sending an alert e-mail, when the water is running. I can put an event on the impd4 to do that when it becames low, but it will send e-mails endless after each state change and I have to avoid that. As I can't see any possibilities to limit the number of e-mails, I was thinking to do it indirectly:

impd4="low" triggers PWM
PWM out is connected to analogue input inp2
I put an e-mail event on input inp2

Once the tap is open, reed relay force to low impd4 and it keeps the PWM constantly in event, so the e-mail is sent only once, at the beginning.

What do you think? Is there any easier solution?

peter
<t></t>
Odpowiedz


Wiadomości w tym wątku

Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości