<
From version < 4.1 >
edited by Richard Johnson
on 2020/01/04 00:07
To version < 2.1 >
edited by Richard Johnson
on 2018/07/31 17:44
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,14 +1,14 @@
1 1  
2 2  
3 -This wiki is intended to document my creation of my own automated home.  It all took place over many, many, years, starting as far back as 1994.  (Yes, I was doing Internet of Things long before most people had thought about it.  It's true.)
3 +This wiki is intended to document my creation of my own automated home.  It all took place over many, many, years, starting as far back as 20 years ago.  (Yes, I was doing Internet of Things long before most people had thought about it.  It's true.)
4 4  \\I'll approach this from a hierarchical viewpoint.
5 5  \\At the top level, I have my "xten.html" web page.  This invokes the "xt" script.  This script standardizes the names of all items in the house and allows a simple "on" and "off" command line interface, regardless of whether you're controlling an X10 device, a Wink device, or even a Nest Thermostat.  This allows one main web page to control everything in the house, regardless of what type of device it happens to be.  Also, having one primary script which controls everything, allows for a simple, standard, interface which other scripts can utilize in order to accomplish those basic operations.
6 6  \\The whole system is built upon a series of simple building blocks.  (You don't have to build, or even design, the whole system from the outset.  This system was built over, literally, decades.  Just make sure that each part of the system does one basic operation in a standardized way, and does it in such a way that it can easily be utilized as a primitive operation in higher level functional units.  This is the basis of the design of Unix, and allows for incremental improvements and additions over time.  Just think, "building block", and don't get carried away with greater functionality.  Then, be willing to rewrite as you go.)
7 7  \\The "xt" script controls the following types of devices:
8 8  
9 -* X10 devices - via writing X10 commands to "ti103_fifo" (a unix named pipe interface to the "[[ti103>>ti103]]" program.
10 -* Wink devices - via invoking the "[[wink.pl>>wink.pl]]" PERL script, which talks REST to Wink's server.
11 -* Nest devices - via invoking the "[[nest_set.py>>nest_set.py]]" script, which talks REST to Nest's server.
9 +* X10 devices - via writing X10 commands to "ti103_fifo" (a unix named pipe interface to the "[[ti103>>url:https://mischievous.us/wiki/pages/h1t4x82/ti103.html]]" program.
10 +* Wink devices - via invoking the "[[wink.pl>>url:https://mischievous.us/wiki/pages/w347G1f4/winkpl.html]]" PERL script, which talks REST to Wink's server.
11 +* Nest devices - via invoking the "[[nest_set.python>>url:https://mischievous.us/wiki/pages/j19806/nest_setpython.html]]" script, which talks REST to Nest's server.
12 12  (I admit that currently this simple program only turns my thermostat on or off.)
13 13  
14 14  (I originally wrote the "nest" script in PERL also, but then wanted to learn Python, so I re-wrote it in Python. Together, the "wink" and "nest" scripts serve as examples of how to do REST in both languages.)
... ... @@ -17,31 +17,10 @@
17 17  
18 18  I have a Davis Weather Station on my roof. [[Here's the program>>url:https://github.com/rajid/davis_weather]] which reads from the console and stores the information into various files.
19 19  
20 -If you have an iPhone, you can control all of this using the "homebridge" program.  Just install "[[node>>https://nodejs.org/en/download/]]", then install "homebridge".  I also installed the following other packages:
20 +Please feel free to contact me with questions about any fo this.
21 21  
22 -
23 -Commands used:
24 -
25 -**sudo npm install homebridge**
26 -**sudo npm install **[[**homebridge-gsh**>>https://www.npmjs.com/package/homebridge-gsh||style="background-color: rgb(34, 34, 34);"]]
27 - for integration with Google Home
28 -**sudo npm install homebridge-config-ui-x **
29 - for configuring homebridge-gsh
30 -**sudo npm install homebridge-wink3 **
31 - for integration with the Wink Hub 2
32 -**sudo npm install homebridge-cmdswitch2**
33 - along with "homebridge-readablehttp" for controlling arbitrary devices via a URL
34 -**sudo npm install homebridge-readablehttp**
35 - along with "homebridge-cmdswitch2" above
36 -
37 -
38 -Once you have homebridge working, then installing homebridge-gsh allows control of all homebridge devices via Google Home.
39 -
40 -
41 -Please feel free to contact me with questions about any of this.
42 -
43 43  (I'll be adding more and more to this description in the future.  Sorry, but this documentation effort is just starting.)
44 44  
45 45  /raj
46 46  
47 -[[List of Fitbit software projects>>Fitbit Software]]
26 +[[List of Fitbit software projects>>url:https://mischievous.us/wiki/pages/g7W5c3P297/List_of_Fitbit_software_projects.html]]

Need help?

If you need help with XWiki you can contact: