Mit EasyESP Geschwindigkeit eines Lüfters auslesen?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
ahlermi
Normal user
Posts: 21
Joined: 19 Jan 2018, 16:04

Re: Mit EasyESP Geschwindigkeit eines Lüfters auslesen?

#11 Post by ahlermi » 10 Feb 2018, 19:40

is it necessary to use Raw commands?

ahlermi
Normal user
Posts: 21
Joined: 19 Jan 2018, 16:04

Re: Mit EasyESP Geschwindigkeit eines Lüfters auslesen?

#12 Post by ahlermi » 15 Feb 2018, 11:20

Is there anybody with an idea to read Pulse from an Input Pin an use it in rules?

Arduino

Code: Select all

pulseIn(<tachoPin>, LOW);

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: Mit EasyESP Geschwindigkeit eines Lüfters auslesen?

#13 Post by toffel969 » 15 Feb 2018, 11:37

ahlermi wrote: 15 Feb 2018, 11:20 Is there anybody with an idea to read Pulse from an Input Pin an use it in rules?

Arduino

Code: Select all

pulseIn(<tachoPin>, LOW);
Hi

You can use the pulse device for that and use the count value.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

ahlermi
Normal user
Posts: 21
Joined: 19 Jan 2018, 16:04

Re: Mit EasyESP Geschwindigkeit eines Lüfters auslesen?

#14 Post by ahlermi » 19 Feb 2018, 14:39

I got no Reaktion
Attachments
Unbenannt1.png
Unbenannt1.png (65.1 KiB) Viewed 11046 times
Unbenannt.png
Unbenannt.png (53.7 KiB) Viewed 11046 times

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: Mit EasyESP Geschwindigkeit eines Lüfters auslesen?

#15 Post by toffel969 » 19 Feb 2018, 17:10

ahlermi wrote: 19 Feb 2018, 14:39 I got no Reaktion
Ich schreibe Dir mal kurz auf Deutsch zurück:

Einige Deiner Einstellungen können so nicht funktionieren. Die Debounce-Zeit ist viel zu lang. Bei 3000 touren pro Minute gibts doch schon 50 impulse pro Sekunde, d.h. Debounce-Zeit muss unter 20msec liegen (versuchs mal mit 15). Versuchs dann nochmal. Außerdem, spiel mal mit dem Typ Delta/Total´/counter, ich bin auch immer verwirrt welcher jetzt der richtige ist.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

ahlermi
Normal user
Posts: 21
Joined: 19 Jan 2018, 16:04

Re: Mit EasyESP Geschwindigkeit eines Lüfters auslesen?

#16 Post by ahlermi » 19 Feb 2018, 17:49

Leider keine Verbesserung, nicht auf LOW/CHANGING/RISING/FALLING TOTAL oder Total oder Count lassen sich nicht abspeichern.

Ich habe jetzt meinen Arduino dazwischen, der mir ein PWM Signal von 0-1000 liefert, der Lüfter ist nicht mehr direkt angeschlossen.

Trotzdem kommt nix an. :-/
Unter Hardware stehen die Pins auf "Input"

Danke für die Unterstützung.
Attachments
Unbenannt2.png
Unbenannt2.png (44.98 KiB) Viewed 11035 times
Unbenannt.png
Unbenannt.png (32.61 KiB) Viewed 11035 times

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: Mit EasyESP Geschwindigkeit eines Lüfters auslesen?

#17 Post by toffel969 » 19 Feb 2018, 18:10

Lass mal den arduino weg und stell den delay auf 1sec. Dann Poster mal ein Screenhsot des logs.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 128 guests