Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Interrupt DoorSwitch (Alarm System) --> Fire a LoRa Package immediatly #4

Open
CK1-CK opened this issue Mar 25, 2022 · 0 comments

Comments

@CK1-CK
Copy link

CK1-CK commented Mar 25, 2022

Servus,

Ich möchte deinen Code benutzen um eine Tür Alarmanlage zu bauen. Der Türschalter soll an Pin 3 (Interrupt Pin) ausgelesen werden. Ich bin mir allerdings unsicher, wie ich das planen der Lora Pakete machen soll bzw. den PowerDown umgehe. Stromverbrauch ist bei mir nicht wichtig, da ich an einem 5V Netzeil hänge.

  • Ich möchte alle 5 min einen Watchdog senden.
  • Sobald der Türschalter auslöst, soll sofort ein TTN Lora Paket verschickt werden.

Wie kann man das am Besten umsetzen.

Vielen Dank schon im Voraus.
CK1


Hi,

I would like to use your code to build a door alarm system. The door switch is to be read out at pin 3 (interrupt pin). However, I am unsure how to plan the Lora packages and how to avoid the PowerDown. Power consumption is not important for me, as I am connected to a 5V power supply.

  • I would like to send a watchdog every 5 minutes.
  • As soon as the door switch is triggered, a TTN Lora packet should be sent immediately.

What is the best way to implement this?

Many thanks in advance.
CK1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant