Hallo Zusammen,
nachdem ich jetzt mehrere Wochen dieses Forum durchgelesen habe, habe ich beschlossen es auch zu versuchen. Leider ist es mein erstes Projekt was Raspberry Pi angeht daher ist es eventuell zu groß als Startprojekt.
aber ich möchte es versuchen:
Daher meine erste Frage hier:
Ich habe eine BWM am PIN 29 angeschlossen der das Display aufwecken soll. Das funktioniert auch.
Jetzt habe ich ein Relais am PIN 11 angeschlossen. Leider ist das Relais immer auf High wenn der DoorPi startet und läuft. Sobald ich den PIN 11 unter [onboardpins_OutputPins] einfüge ist es ständig an.
Jetzt habe ich versucht polarity=0 auf 1 zu setzten. Dann ist das Relais aus aber der BWM geht jetzt nicht mehr.
Könnte mir jemand dazu helfen?
Danke im Voraus.
Gruß
Thomas
[DoorPi]
base_path = /usr/local/etc/DoorPi
eventlog = !BASEPATH!/conf/eventlog.db
is_alive_led = Blink_LED
snapshot_path = !BASEPATH!/../DoorPiWeb/snapshots
number_of_snapshots = 5
snapshot_size = 1280x720
[DoorPiWeb]
indexfile = index.html
loginfile = login.html
ip =
port = 9001
online_fallback = http://motom001.github.io/DoorPiWeb
public = AREA_public
www = !BASEPATH!/../DoorPiWeb
[AREA_public]
#Webserver ohne Logindaten erreichbar
.*
[AdminNumbers]
* = active
[User]
pi=door
[Group]
Administrators= pi
[WritePermission]
administrators = installer, dashboard, config
[ReadPermission]
guests = dashboard
administrators = dashboard,status,config
#======== Config for GPIO Keyboard =========
[keyboards]
onboardpins = gpio
nextion = nextion
[webservice_keyboard]
base_path_input = /var/DoorPI/keyboard/inputs/
base_path_output = /var/DoorPI/keyboard/outputs/
[webservice_InputPins]
klingel = os_execute:/usr/local/etc/DoorPi/scripts/DoorbellPushMessage.sh
anwesend =os_execute:echo **777 > !BASEPATH!/callTarget.txt
abwesend =os_execute:echo 01511234567> !BASEPATH!/callTarget.txt
makecall = file_call_value:!BASEPATH!/callTarget.txt
urlcall= url_call:http://....
#======= GPIo Keyboard ======
[onboardpins_InputPins]
7=Klingel
29=BWM
31=Alarm
[onboardpins_OutputPins]
11=Relais_IR-LED
38=Blink_LED
40=Amp
[onboardpins_keyboard]
bouncetime=1000
polarity=0
pressed_on_keydown=True
mode=BOARD
pull_up_down=PUD_OFF
[EVENT_OnKeyPressed_onboardpins.29]
10 = out:sleep=0,1
20 = out:Relais_IR-LED=1,0