Skip to content

Commit e754fdc

Browse files
author
bibi21000
committed
Update uninstall.sh
1 parent d485fcd commit e754fdc

17 files changed

Lines changed: 122 additions & 478 deletions

‎docs/_build/html/genindex.html‎

Lines changed: 4 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,12 +1051,12 @@ <h2 id="O">O</h2>
10511051
<dt><a href="object.html#module-openzwave.object">openzwave.object (module)</a>, <a href="object.html#module-openzwave.object">[1]</a>
10521052
</dt>
10531053

1054+
</dl></td>
1055+
<td style="width: 33%" valign="top"><dl>
10541056

10551057
<dt><a href="option.html#module-openzwave.option">openzwave.option (module)</a>, <a href="option.html#module-openzwave.option">[1]</a>
10561058
</dt>
10571059

1058-
</dl></td>
1059-
<td style="width: 33%" valign="top"><dl>
10601060

10611061
<dt><a href="scene.html#module-openzwave.scene">openzwave.scene (module)</a>, <a href="scene.html#module-openzwave.scene">[1]</a>
10621062
</dt>
@@ -1066,14 +1066,6 @@ <h2 id="O">O</h2>
10661066
</dt>
10671067

10681068

1069-
<dt><a href="wrapper.html#module-openzwave.wrapper">openzwave.wrapper (module)</a>, <a href="wrapper.html#module-openzwave.wrapper">[1]</a>
1070-
</dt>
1071-
1072-
1073-
<dt><a href="wrapper.html#module-openzwave.wrapper_singleton">openzwave.wrapper_singleton (module)</a>, <a href="wrapper.html#module-openzwave.wrapper_singleton">[1]</a>
1074-
</dt>
1075-
1076-
10771069
<dt><a href="controller.html#openzwave.controller.ZWaveController.options">options (openzwave.controller.ZWaveController attribute)</a>
10781070
</dt>
10791071

@@ -1537,12 +1529,6 @@ <h2 id="U">U</h2>
15371529
<dt><a href="object.html#openzwave.object.ZWaveObject.update">update() (openzwave.object.ZWaveObject method)</a>
15381530
</dt>
15391531

1540-
<dd><dl>
1541-
1542-
<dt><a href="wrapper.html#openzwave.wrapper.ZWaveValueNode.update">(openzwave.wrapper.ZWaveValueNode method)</a>
1543-
</dt>
1544-
1545-
</dl></dd>
15461532
</dl></td>
15471533
<td style="width: 33%" valign="top"><dl>
15481534

@@ -1619,12 +1605,6 @@ <h2 id="Z">Z</h2>
16191605
<dt><a href="node.html#openzwave.node.ZWaveNode">ZWaveNode (class in openzwave.node)</a>
16201606
</dt>
16211607

1622-
<dd><dl>
1623-
1624-
<dt><a href="wrapper.html#openzwave.wrapper.ZWaveNode">(class in openzwave.wrapper)</a>
1625-
</dt>
1626-
1627-
</dl></dd>
16281608

16291609
<dt><a href="command.html#openzwave.command.ZWaveNodeBasic">ZWaveNodeBasic (class in openzwave.command)</a>
16301610
</dt>
@@ -1633,12 +1613,12 @@ <h2 id="Z">Z</h2>
16331613
<dt><a href="object.html#openzwave.object.ZWaveNodeInterface">ZWaveNodeInterface (class in openzwave.object)</a>
16341614
</dt>
16351615

1616+
</dl></td>
1617+
<td style="width: 33%" valign="top"><dl>
16361618

16371619
<dt><a href="command.html#openzwave.command.ZWaveNodeSensor">ZWaveNodeSensor (class in openzwave.command)</a>
16381620
</dt>
16391621

1640-
</dl></td>
1641-
<td style="width: 33%" valign="top"><dl>
16421622

16431623
<dt><a href="command.html#openzwave.command.ZWaveNodeSwitch">ZWaveNodeSwitch (class in openzwave.command)</a>
16441624
</dt>
@@ -1664,18 +1644,6 @@ <h2 id="Z">Z</h2>
16641644
</dt>
16651645

16661646

1667-
<dt><a href="wrapper.html#openzwave.wrapper.ZWaveValueNode">ZWaveValueNode (class in openzwave.wrapper)</a>
1668-
</dt>
1669-
1670-
1671-
<dt><a href="wrapper.html#openzwave.wrapper.ZWaveWrapper">ZWaveWrapper (class in openzwave.wrapper)</a>
1672-
</dt>
1673-
1674-
1675-
<dt><a href="wrapper.html#openzwave.wrapper.ZWaveWrapperException">ZWaveWrapperException</a>
1676-
</dt>
1677-
1678-
16791647
<dt><a href="controller.html#openzwave.controller.ZWaveController.zwcallback">zwcallback() (openzwave.controller.ZWaveController method)</a>
16801648
</dt>
16811649

‎docs/_build/html/objects.inv‎

-93 Bytes
Binary file not shown.

‎docs/_build/html/py-modindex.html‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,6 @@ <h1>Python Module Index</h1>
120120
<td>&nbsp;&nbsp;&nbsp;
121121
<a href="value.html#module-openzwave.value"><tt class="xref">openzwave.value</tt></a></td><td>
122122
<em></em></td></tr>
123-
<tr class="cg-1">
124-
<td></td>
125-
<td>&nbsp;&nbsp;&nbsp;
126-
<a href="wrapper.html#module-openzwave.wrapper"><tt class="xref">openzwave.wrapper</tt></a></td><td>
127-
<em></em></td></tr>
128-
<tr class="cg-1">
129-
<td></td>
130-
<td>&nbsp;&nbsp;&nbsp;
131-
<a href="wrapper.html#module-openzwave.wrapper_singleton"><tt class="xref">openzwave.wrapper_singleton</tt></a></td><td>
132-
<em></em></td></tr>
133123
</table>
134124

135125

‎docs/_build/html/searchindex.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/_build/html/wrapper.html‎

Lines changed: 0 additions & 179 deletions
Original file line numberDiff line numberDiff line change
@@ -59,185 +59,6 @@ <h1>Wrapper Documentation<a class="headerlink" href="#wrapper-documentation" tit
5959
<ul class="simple">
6060
</ul>
6161
</div>
62-
<span class="target" id="module-openzwave.wrapper"></span><span class="target" id="module-openzwave.wrapper"></span><dl class="docutils">
63-
<dt>This file is part of <strong>py-openzwave</strong> project <a class="reference external" href="https://github.com/maartendamen/py-openzwave">https://github.com/maartendamen/py-openzwave</a>.</dt>
64-
<dd><table class="first last docutils field-list" frame="void" rules="none">
65-
<col class="field-name" />
66-
<col class="field-body" />
67-
<tbody valign="top">
68-
<tr class="field-odd field"><th class="field-name">platform:</th><td class="field-body">Unix, Windows</td>
69-
</tr>
70-
<tr class="field-even field"><th class="field-name">sinopsis:</th><td class="field-body">openzwave wrapper</td>
71-
</tr>
72-
</tbody>
73-
</table>
74-
</dd>
75-
</dl>
76-
<p>License : GPL(v3)</p>
77-
<p><strong>py-openzwave</strong> is free software: you can redistribute it and/or modify
78-
it under the terms of the GNU General Public License as published by
79-
the Free Software Foundation, either version 3 of the License, or
80-
(at your option) any later version.</p>
81-
<p><strong>py-openzwave</strong> is distributed in the hope that it will be useful,
82-
but WITHOUT ANY WARRANTY; without even the implied warranty of
83-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
84-
GNU General Public License for more details.
85-
You should have received a copy of the GNU General Public License
86-
along with py-openzwave. If not, see <a class="reference external" href="http://www.gnu.org/licenses">http://www.gnu.org/licenses</a>.</p>
87-
<dl class="exception">
88-
<dt id="openzwave.wrapper.ZWaveWrapperException">
89-
<em class="property">exception </em><tt class="descclassname">openzwave.wrapper.</tt><tt class="descname">ZWaveWrapperException</tt><big>(</big><em>value</em><big>)</big><a class="headerlink" href="#openzwave.wrapper.ZWaveWrapperException" title="Permalink to this definition"></a></dt>
90-
<dd><p>Exception class for ZWave Wrapper</p>
91-
</dd></dl>
92-
93-
<dl class="class">
94-
<dt id="openzwave.wrapper.ZWaveValueNode">
95-
<em class="property">class </em><tt class="descclassname">openzwave.wrapper.</tt><tt class="descname">ZWaveValueNode</tt><big>(</big><em>home_id</em>, <em>node_id</em>, <em>value_data</em><big>)</big><a class="headerlink" href="#openzwave.wrapper.ZWaveValueNode" title="Permalink to this definition"></a></dt>
96-
<dd><p>Represents a single value for an OZW node element</p>
97-
<dl class="method">
98-
<dt id="openzwave.wrapper.ZWaveValueNode.update">
99-
<tt class="descname">update</tt><big>(</big><em>args</em><big>)</big><a class="headerlink" href="#openzwave.wrapper.ZWaveValueNode.update" title="Permalink to this definition"></a></dt>
100-
<dd><p>Update node value from callback arguments</p>
101-
</dd></dl>
102-
103-
</dd></dl>
104-
105-
<dl class="class">
106-
<dt id="openzwave.wrapper.ZWaveNode">
107-
<em class="property">class </em><tt class="descclassname">openzwave.wrapper.</tt><tt class="descname">ZWaveNode</tt><big>(</big><em>home_id</em>, <em>node_id</em><big>)</big><a class="headerlink" href="#openzwave.wrapper.ZWaveNode" title="Permalink to this definition"></a></dt>
108-
<dd><p>Represents a single device within the Z-Wave Network</p>
109-
</dd></dl>
110-
111-
<dl class="class">
112-
<dt id="openzwave.wrapper.ZWaveWrapper">
113-
<em class="property">class </em><tt class="descclassname">openzwave.wrapper.</tt><tt class="descname">ZWaveWrapper</tt><big>(</big><em>device</em>, <em>config</em>, <em>log=None</em><big>)</big><a class="headerlink" href="#openzwave.wrapper.ZWaveWrapper" title="Permalink to this definition"></a></dt>
114-
<dd><p>The purpose of this wrapper is to eliminate some of the tedium of working with
115-
the underlying API, which is extremely fine-grained.</p>
116-
<p>Wrapper provides a single, cohesive set of python objects representing the
117-
current state of the underlying ZWave network. It is kept in sync with OZW and
118-
the network via callback hooks.</p>
119-
<p>Note: This version only handles a single Driver/Controller. Modifications will
120-
be required in order to support more complex ZWave deployments.</p>
121-
</dd></dl>
122-
123-
<span class="target" id="module-openzwave.wrapper_singleton"></span><span class="target" id="module-openzwave.wrapper_singleton"></span><dl class="docutils">
124-
<dt>This file is part of <strong>py-openzwave</strong> project <a class="reference external" href="https://github.com/maartendamen/py-openzwave">https://github.com/maartendamen/py-openzwave</a>.</dt>
125-
<dd><table class="first last docutils field-list" frame="void" rules="none">
126-
<col class="field-name" />
127-
<col class="field-body" />
128-
<tbody valign="top">
129-
<tr class="field-odd field"><th class="field-name">platform:</th><td class="field-body">Unix, Windows</td>
130-
</tr>
131-
<tr class="field-even field"><th class="field-name">sinopsis:</th><td class="field-body">openzwave wrapper</td>
132-
</tr>
133-
</tbody>
134-
</table>
135-
</dd>
136-
</dl>
137-
<p>License : GPL(v3)</p>
138-
<p><strong>py-openzwave</strong> is free software: you can redistribute it and/or modify
139-
it under the terms of the GNU General Public License as published by
140-
the Free Software Foundation, either version 3 of the License, or
141-
(at your option) any later version.</p>
142-
<p><strong>py-openzwave</strong> is distributed in the hope that it will be useful,
143-
but WITHOUT ANY WARRANTY; without even the implied warranty of
144-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
145-
GNU General Public License for more details.
146-
You should have received a copy of the GNU General Public License
147-
along with py-openzwave. If not, see <a class="reference external" href="http://www.gnu.org/licenses">http://www.gnu.org/licenses</a>.</p>
148-
<p>A Python Singleton mixin class that makes use of some of the ideas
149-
found at <a class="reference external" href="http://c2.com/cgi/wiki?PythonSingleton">http://c2.com/cgi/wiki?PythonSingleton</a>. Just inherit
150-
from it and you have a singleton. No code is required in
151-
subclasses to create singleton behavior &#8211; inheritance from
152-
Singleton is all that is needed.</p>
153-
<p>Singleton creation is threadsafe.</p>
154-
<p>USAGE:</p>
155-
<p>Just inherit from Singleton. If you need a constructor, include
156-
an __init__() method in your class as you usually would. However,
157-
if your class is S, you instantiate the singleton using S.getInstance()
158-
instead of S(). Repeated calls to S.getInstance() return the
159-
originally-created instance.</p>
160-
<p>For example:</p>
161-
<p>class S(Singleton):</p>
162-
<blockquote>
163-
<div><dl class="docutils">
164-
<dt>def __init__(self, a, b=1):</dt>
165-
<dd>pass</dd>
166-
</dl>
167-
</div></blockquote>
168-
<p>S1 = S.getInstance(1, b=3)</p>
169-
<p>Most of the time, that&#8217;s all you need to know. However, there are some
170-
other useful behaviors. Read on for a full description:</p>
171-
<ol class="arabic">
172-
<li><p class="first">Getting the singleton:</p>
173-
<blockquote>
174-
<div><p>S.getInstance()</p>
175-
</div></blockquote>
176-
</li>
177-
</ol>
178-
<p>returns the instance of S. If none exists, it is created.</p>
179-
<ol class="arabic" start="2">
180-
<li><p class="first">The usual idiom to construct an instance by calling the class, i.e.</p>
181-
<blockquote>
182-
<div><p>S()</p>
183-
</div></blockquote>
184-
</li>
185-
</ol>
186-
<p>is disabled for the sake of clarity.</p>
187-
<p>For one thing, the S() syntax means instantiation, but getInstance()
188-
usually does not cause instantiation. So the S() syntax would
189-
be misleading.</p>
190-
<p>Because of that, if S() were allowed, a programmer who didn&#8217;t
191-
happen to notice the inheritance from Singleton (or who
192-
wasn&#8217;t fully aware of what a Singleton pattern
193-
does) might think he was creating a new instance,
194-
which could lead to very unexpected behavior.</p>
195-
<p>So, overall, it is felt that it is better to make things clearer
196-
by requiring the call of a class method that is defined in
197-
Singleton. An attempt to instantiate via S() will result
198-
in a SingletonException being raised.</p>
199-
<p>3) Use __S.__init__() for instantiation processing,
200-
since S.getInstance() runs S.__init__(), passing it the args it has received.</p>
201-
<p>If no data needs to be passed in at instantiation time, you don&#8217;t need S.__init__().</p>
202-
<p>4) If S.__init__(.) requires parameters, include them ONLY in the
203-
first call to S.getInstance(). If subsequent calls have arguments,
204-
a SingletonException is raised by default.</p>
205-
<p>If you find it more convenient for subsequent calls to be allowed to
206-
have arguments, but for those argumentsto be ignored, just include
207-
&#8216;ignoreSubsequent = True&#8217; in your class definition, i.e.:</p>
208-
<blockquote>
209-
<div><p>class S(Singleton):</p>
210-
<blockquote>
211-
<div><p>ignoreSubsequent = True</p>
212-
<dl class="docutils">
213-
<dt>def __init__(self, a, b=1):</dt>
214-
<dd>pass</dd>
215-
</dl>
216-
</div></blockquote>
217-
</div></blockquote>
218-
<p>5) For testing, it is sometimes convenient for all existing singleton
219-
instances to be forgotten, so that new instantiations can occur. For that
220-
reason, a forgetAllSingletons() function is included. Just call</p>
221-
<blockquote>
222-
<div>forgetAllSingletons()</div></blockquote>
223-
<p>and it is as if no earlier instantiations have occurred.</p>
224-
<p>6) As an implementation detail, classes that inherit
225-
from Singleton may not have their own __new__
226-
methods. To make sure this requirement is followed,
227-
an exception is raised if a Singleton subclass includ
228-
es __new__. This happens at subclass instantiation
229-
time (by means of the MetaSingleton metaclass.</p>
230-
<p>By Gary Robinson, <a class="reference external" href="mailto:grobinson&#37;&#52;&#48;flyfi&#46;com">grobinson<span>&#64;</span>flyfi<span>&#46;</span>com</a>. No rights reserved &#8211;
231-
placed in the public domain &#8211; which is only reasonable considering
232-
how much it owes to other people&#8217;s code and ideas which are in the
233-
public domain. The idea of using a metaclass came from
234-
a comment on Gary&#8217;s blog (see
235-
<a class="reference external" href="http://www.garyrobinson.net/2004/03/python_singleto.html#comments">http://www.garyrobinson.net/2004/03/python_singleto.html#comments</a>).
236-
Other improvements came from comments and email from other
237-
people who saw it online. (See the blog post and comments
238-
for further credits.)</p>
239-
<p>Not guaranteed to be fit for any particular purpose. Use at your
240-
own risk.</p>
24162
</div>
24263

24364

‎docs/_build/joomla/objects.inv‎

-71 Bytes
Binary file not shown.

‎docs/_build/joomla/py-modindex.html‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,6 @@ <h1>Python Module Index</h1>
7272
<td>&nbsp;&nbsp;&nbsp;
7373
<a href="value.html#module-openzwave.value"><tt class="xref">openzwave.value</tt></a></td><td>
7474
<em></em></td></tr>
75-
<tr class="cg-1">
76-
<td></td>
77-
<td>&nbsp;&nbsp;&nbsp;
78-
<a href="wrapper.html#module-openzwave.wrapper"><tt class="xref">openzwave.wrapper</tt></a></td><td>
79-
<em></em></td></tr>
80-
<tr class="cg-1">
81-
<td></td>
82-
<td>&nbsp;&nbsp;&nbsp;
83-
<a href="wrapper.html#module-openzwave.wrapper_singleton"><tt class="xref">openzwave.wrapper_singleton</tt></a></td><td>
84-
<em></em></td></tr>
8575
</table>
8676

8777

‎docs/_build/joomla/searchindex.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)