Skip to content

Instantly share code, notes, and snippets.

@francisbesset
Forked from hugokernel/openalarm.yaml
Created September 30, 2015 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save francisbesset/3b9bdfb3dee343a2a2f1 to your computer and use it in GitHub Desktop.
Save francisbesset/3b9bdfb3dee343a2a2f1 to your computer and use it in GitHub Desktop.
Fichier de configuration d'un OpenAlarm Node
devices:
/dev/toto:
config: default
/dev/tty.usbmodemfd131:
config: default
configs:
default:
group: 210
band: 433
ack: yes
power: 0
period: 3
timeout: 60
feedback: yes
autostart: yes
eintwait: 3
profiles:
test:
type: 2
description: Petit test !
declare:
ds18b20: [ 129, 4 ]
external_interrupts:
io0: falling
io1: change
int4: falling
int1: rising
ios:
io0: [ input, pullup ]
io1: [ output, high ]
io2: [ output, nopullup, high ]
frame:
- analog0
- [ input0, input1, input2 ]
- analog1
- ds18b20
pir:
type: 2
description: Moule avec capteur infrarouge
external_interrupts:
io0: rising
ios:
io0: [ input, nopullup ]
frame:
- [ input0, input1, input2 ]
- voltage
- temperature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment