Explorar el Código

add clock radio synapse example

nico hace 8 años
padre
commit
402f1bbc37
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12 0
      brain_examples/fr/fr_clock_radio.yml

+ 12 - 0
brain_examples/fr/fr_clock_radio.yml

@@ -0,0 +1,12 @@
+---
+  - name: "wake up"
+    neurons:
+      - say:
+          message:
+            - "Bonjour monsieur"
+      - systemdate:
+          say_template:
+            - "Il est {{ hours }} heures et {{ minutes }} minutes"
+      - command: "mplayer http://192.99.17.12:6410/"  # Launch Asterisk radio
+    signals:
+      - event: "30 7 * * 1,2,3,4,5" # each morning of working day at 7:30