Linear GD00Z-X Garage Door Opener
Re: Linear GD00Z-X Garage Door Opener
Once again: the file in Pepper1 db is broken and violates xml schema. It won't be indexed until it is fixed!
-
- Posts: 100
- Joined: 31 Jan 2015 21:09
Re: Linear GD00Z-X Garage Door Opener
I would love to fix it but i don't know what is wrong, the error from zway is too general. is there a way to get better diagnostics?
I did look for tabs... other then no certid i got nothing.
I did look for tabs... other then no certid i got nothing.
-
- Posts: 4
- Joined: 03 Mar 2015 06:07
Re: Linear GD00Z-X Garage Door Opener
Updated to 2.0.1rc21 and it won't complete the security interview any more, even after exclusion and inclusion.
I'm new to this whole thing, but the "expert" UI is really frustrating. I click on most buttons and they give me no feedback. I can tell that angular is sending a pseudo-REST call, e.g. for a security interview, but the rest call usually returns the string "null" and the UI doesn't even update. What was supposed to happen? Impossible to tell. What actually happened? Also impossible to tell.
Am I looking in the wrong place? Where should I be looking to see why this is failing?
I'm new to this whole thing, but the "expert" UI is really frustrating. I click on most buttons and they give me no feedback. I can tell that angular is sending a pseudo-REST call, e.g. for a security interview, but the rest call usually returns the string "null" and the UI doesn't even update. What was supposed to happen? Impossible to tell. What actually happened? Also impossible to tell.
Am I looking in the wrong place? Where should I be looking to see why this is failing?
Re: Linear GD00Z-X Garage Door Opener
Actually Security was not modified for a long time, so I doubt it doesn't complete interview because of update to rc21. Please show the log fragment right after inclusion started.mikebridge wrote:Updated to 2.0.1rc21 and it won't complete the security interview any more, even after exclusion and inclusion.
Re: Linear GD00Z-X Garage Door Opener
I'll explain this in more detail for those of you still trying to understand some of this stuff. I think pofs has some important things to work onpofs wrote:It won't appear there unless it is fixed in Pepper1 database, or you fix it on your side and rebuild index.
1. Remote / login to your pi.
2. Change your directory to the ZDDX foler:
/opt/z-way-server/ZDDX/
3. Open the XML file for the Linear GD00Z-x:
file: 584-01-4f-4744-30-32-03-03-67-00-15.xml
4. Edit the text. The text below in green is added into Device Data:
...<deviceData>
<manufacturerId value="014f"/>
<productType value="4744"/>
<productId value="3032"/>
<libType value="03"/>
<protoVersion value="03"/>
<protoSubVersion value="67"/>
<appVersion value="00"/>
<appSubVersion value="15"/>
<basicClass value="04"/>
<genericClass value="40"/>
<specificClass value="07"/>
<optional value="true"/>
<listening value="true"/>
<routing value="false"/>
<beamSensor>0</beamSensor>
<rfFrequency>US</rfFrequency>
</deviceData>...
Or if you want the whole file:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<ZWaveDevice xmlns="http://www.pepper1.net/zwavedb/xml-schemata/z-wave" schemaVersion="2">
<descriptorVersion>1</descriptorVersion>
<deviceData>
<manufacturerId value="014f"/>
<productType value="4744"/>
<productId value="3032"/>
<libType value="03"/>
<protoVersion value="03"/>
<protoSubVersion value="67"/>
<appVersion value="00"/>
<appSubVersion value="15"/>
<basicClass value="04"/>
<genericClass value="40"/>
<specificClass value="07"/>
<optional value="true"/>
<listening value="true"/>
<routing value="false"/>
<beamSensor>0</beamSensor>
<rfFrequency>US</rfFrequency>
</deviceData>
<deviceDescription>
<description>
<lang xml:lang="en">Z-Wave Secure Garage Door Opener Accessory (Motorized Barrier Command Class)</lang>
</description>
<wakeupNote>
<lang xml:lang="en"></lang>
</wakeupNote>
<inclusionNote>
<lang xml:lang="en">Press the link button on
the GD00Z-X.</lang>
</inclusionNote>
<productName>GD00Z-X</productName>
<brandName>Linear</brandName>
<productLine>Linear Home Security</productLine>
<productCode>GD00Z-X</productCode>
<productVersion>V1.1</productVersion>
</deviceDescription>
<commandClasses>
<commandClass id="0072"/>
<commandClass id="0098"/>
<commandClass id="005a"/>
<commandClass id="0086" version="2" secure="true" nonSecure="false"/>
<commandClass id="0066" secure="true" nonSecure="false"/>
<commandClass id="0022" secure="true" nonSecure="false"/>
<commandClass id="0071" version="4" secure="true" nonSecure="false"/>
<commandClass id="0085" secure="true" nonSecure="false"/>
<commandClass id="0020"/>
</commandClasses>
<assocGroups>
<assocGroup number="1" maxNodes="1">
<description>
<lang xml:lang="en"></lang>
</description>
</assocGroup>
</assocGroups>
<resourceLinks>
<deviceImage url="http://www.pepper1.net/zwavedb/uploads/resources/e1948e100191cb6a8b8f99e4a6586c377f84c488.jpg" />
</resourceLinks>
</ZWaveDevice>
Now we need to Update the xml index file.
6. Open terminal if you aren't already using it [ LXTerminal if you are in the GUI ]
7. change your directory to the ZDDX folder
Code: Select all
pi@raspberrypi ~ $ cd/opt/z-way-server/ZDDX/
Code: Select all
pi@raspberrypi ~ $ python MakeIndex.py
10. Repeat these steps everytime you do an upgrade, ex. v2.0.1-rc16 to v.2.0.1-rc18. During the upgrade it will overwrite your modified XML file. This is why you make a backup on step 5
11. Crap. I broke something or it didn't work. 1st, you have just learned why you make backups and 2nd no big deal you can manually run the update to copy the database from pepper1. Lastly, stop messing with things -just kidding its how you learn .
Manually Update Device Description Database
A. Open up terminal or LXTerminal.
B. Change directory to the ZDDX directory:
Code: Select all
pi@raspberrypi ~ $ cd/opt/z-way-server/ZDDX/
Code: Select all
pi@raspberrypi ~ $ ./UpdateXMLs.sh
-
- Posts: 100
- Joined: 31 Jan 2015 21:09
Re: Linear GD00Z-X Garage Door Opener
Thank you rsebie
How can I issue expert commands to close the door?
I would like to be able to add to my bed time scene to close the door.
How can I issue expert commands to close the door?
I would like to be able to add to my bed time scene to close the door.
Re: Linear GD00Z-X Garage Door Opener
Please note, my above post really doesn't gain you much unless you like to see the device image or like to have that fuzzy feeling that you were able to select the device description record. You can still send Open, close, alarm, and retrieve status by the Z-way API after inclusion.
Now with that said...
Now with that said...
I don't know if you can use expert commands, only use the Z-way API (through the URL) that has already been discussed earlier in this thread.RottenMutt wrote:Thank you rsebie
How can I issue expert commands to close the door?
I would like to be able to add to my bed time scene to close the door.
Re: Linear GD00Z-X Garage Door Opener
EDIT: Sorry about my ramblings about DoorLock, that was intended for another audienceRottenMutt wrote:Thank you rsebie
How can I issue expert commands to close the door?
I would like to be able to add to my bed time scene to close the door.
I don't know of any way to control it from the Expert UI.
What I did to control the garage door was to create a Code Device in the ZWay HA and set it as a binary switch.
For On/Off commands I used:
Code: Select all
zway.devices[13].BarrierOperator.Set(<255 for on and 0 for off>);
Code: Select all
zway.devices[13].BarrierOperator.data.state.value > 0 ? "on":"off";
-
- Posts: 100
- Joined: 31 Jan 2015 21:09
Re: Linear GD00Z-X Garage Door Opener
This works, now i can open and close my garage door from my phone and close the garage door with my Bed Time Scene. under modules, Devices, Code Devices:
In the on and off I put:
zway.devices[26].BarrierOperator.Set(255)
and
zway.devices[26].BarrierOperator.Set(0)
and in the code to get value:
zway.devices[26].BarrierOperator.data.state.value > 0 ? "on":"off"
replace 26 with your device id
In the on and off I put:
zway.devices[26].BarrierOperator.Set(255)
and
zway.devices[26].BarrierOperator.Set(0)
and in the code to get value:
zway.devices[26].BarrierOperator.data.state.value > 0 ? "on":"off"
replace 26 with your device id
Re: Linear GD00Z-X Garage Door Opener
Awesome. Glad you got it working!