blob: 3b8fdb18dde2ee5e91bcbec1a51834e53abcd0de (
plain)
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
|
Here are some perl scripts I'm using to play with my smart home
devices.
hue
===
Query and control philips hue lights. Just "hue" will print all your
lights. If unconfigured it'll ask for the bridge hostname or ipaddr
first. If needed it'll ask you to press the link button on the
bridge. Config is stored in $HOME/.huerc
Try "hue help" for a list of commands. For the "hue raw*" commands it
is very helpful to be familiar with the developer api.
hue partly supports multiple bridges. The HUE environment variable
sets the name of the bridge configuration, if unset "default" is used.
Some commands happily handle multiple bridges in case more then one is
present in the config file. Most print commands and "hue light" are
in this group. Most configuration commands talk only to the bridge
specified via HUE environment variable though.
fritz
=====
query and control smart home devices hooked up to the fritzbox via
dect: switches and thermostats. Check "fritz help" for more info.
Config is stored in $HOME/.fritz.rc
|