-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
executable file
·121 lines (108 loc) · 3.34 KB
/
config.example.yaml
File metadata and controls
executable file
·121 lines (108 loc) · 3.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# The log file to write.
log_file: isyhelper.log
# log level can be debug or info
# debug will produce a lot of output so watch or disk space!
log_level: info
# Default host is the default ip address of the currnet host
# If you have multiple interfaces you can set which one
# Otherwise don't define it.
host:
# Default port is 8080 for the local REST interface
port:
# To run the webserver with SSL, add your info.
# But, to use with Maker, this can not be a self-signed certificate :-(
#ssl:
# certificate: /home/pi/ssl/myserver.crt
# private_key: /home/pi/ssl/myserver_nopass.key
# TODO: Make it all under isy:
# Your isy configuration
isy:
host: 192.168.1.64
port: 80
user: someuser
password: somepassword
# TODO: Add configurable prefix
# All variables in the ISY will be prefixed with this.
# variable_prefix: s.IH.
#ifttt:
# # From: https://ifttt.com/maker
# # Your secret key is:
# maker_secret_key: ThisShouldBeYourMakerSecretkey
# Helpers
helpers:
- name: DateAndTime
type: DateAndTime
# second,minute,hour,day
level: minute
# The name and type must currently be Maker!
# In IFTT, set
# url: http://your_host_ip:your_outside_port/maker
# Method: POST
# Content Type: application/json
# Body: { "token" : "my_secret_token", "type" : "variable", "name" : "your_variable_name", "value" : "the_value" }
- name: Maker
type: Maker
# Anything you chose.
token: my_secret_token
- name: Test
ip: 192.168.1.60
type: Test
port: not_defined
model: not_defined
user: not_defined
password: not_defined
- name: MyCamera
ip: 192.168.1.110
port: 80
type: Foscam1
model: foscam
user: someuser
password: somepassword
- name: PyHue
type: PyHue
# If this is true it will register all devices with a spoken property
use_spoken: true
# Default host is current, only set if you need a different ip
host:
# 8081 is the default, change if you have something else running on that port
http_port: 8081
# The Belkin WeMo emulator
- name: FauxMo
type: FauxMo
# If this is true it will register all devices with a spoken property
# It is better to use the PyHue helper for this instead.
use_spoken: false
devices:
- name: Kitchen Lights
address: A1 B1 C1 1
type: ISY
- name: Family Room Table
address: A2 B2 C2 1
type: ISY
- name: TV
type: Maker
on_event: family_room_watch_tv
off_event: family_room_av_off
- name: Chromecast
type: Maker
on_event: family_room_watch_chromecast
off_event: family_room_av_off
# A Harmony Hub
# This will track the current activity in the ISY state variable
# s.IH.MyHarmony.CurrentActivity
# You must make sure the variable exists as a state variable!
# name should be a what makes sense to you, like the location of the hub, FamilyRoomHarmony
- name: MyHarmony
type: PyHarmony
# Harmony Hub IP address
host: 192.168.1.75
port: 5222
# Harmony Hub login email
email: you@somwhere.com
# Harmony Hub login password
password: your_harmony_password
# Setting this to a string indicating the spoken prefix will
# start a FauxMo helper for all Activities on this harmony
# and prefix this to the activity name to create the full
# spoken name.
spoken_prefix: