Page 6 of 8

Re: Linear GD00Z-X Garage Door Opener

Posted: 05 Mar 2015 07:45
by evergreen
mikebridge wrote:I am able to query the GD00Z-4 using 2.0.1r16 but I'm not able to open or close it. This is only the second thing I've connected to it, so I'm not sure if I'm doing something wrong. (My lock works!)

http://localhost:8083/ZWaveAPI/Run/devi ... erOperator

gives me:

Code: Select all

{
    "name": "BarrierOperator",
    "data": {
        "1": {
            "invalidateTime": 1425359746,
            "updateTime": 1425359747,
            "type": "empty",
            "value": null,
            "signalTypeString": {
                "invalidateTime": 1425359746,
                "updateTime": 1425359747,
                "type": "string",
                "value": "Audible notification"
            },
            "state": {
                "invalidateTime": 1425359746,
                "updateTime": 1425359747,
                "type": "int",
                "value": 0
            }
        },
        "2": {
            "invalidateTime": 1425359746,
            "updateTime": 1425359747,
            "type": "empty",
            "value": null,
            "signalTypeString": {
                "invalidateTime": 1425359746,
                "updateTime": 1425359747,
                "type": "string",
                "value": "Visual notification"
            },
            "state": {
                "invalidateTime": 1425359746,
                "updateTime": 1425359747,
                "type": "int",
                "value": 0
            }
        },
        "invalidateTime": 1425354840,
        "updateTime": 1425354841,
        "type": "empty",
        "value": null,
        "supported": {
            "invalidateTime": 1425354840,
            "updateTime": 1425354841,
            "type": "bool",
            "value": true
        },
        "version": {
            "invalidateTime": 1425357148,
            "updateTime": 1425359749,
            "type": "int",
            "value": 1
        },
        "security": {
            "invalidateTime": 1425354840,
            "updateTime": 1425354841,
            "type": "bool",
            "value": true
        },
        "interviewDone": {
            "invalidateTime": 1425354840,
            "updateTime": 1425359747,
            "type": "bool",
            "value": true
        },
        "interviewCounter": {
            "invalidateTime": 1425354840,
            "updateTime": 1425359747,
            "type": "int",
            "value": 9
        },
        "state": {
            "invalidateTime": 1425359747,
            "updateTime": 1425413333,
            "type": "int",
            "value": 0
        },
        "signalMask": {
            "invalidateTime": 1425359747,
            "updateTime": 1425357015,
            "type": "binary",
            "value": [
                3
            ]
        }
    },
    "id": 102
}
But POSTing to these URLs doesn't seem to do anything:

http://localhost:8083/ZWaveAPI/Run/devi ... r.Set(255)
http://localhost:8083/ZWaveAPI/Run/devi ... tor.Set(0)
I think you need not post but do a simple GET instead.

Re: Linear GD00Z-X Garage Door Opener

Posted: 05 Mar 2015 07:46
by evergreen
evergreen wrote: Thank you! I'll test this as soon as available and report any feedback.
So far, for me, it is working perfectly (RC-15 and RC-16).

Thank you for the quick turnaround.

Re: Linear GD00Z-X Garage Door Opener

Posted: 06 Mar 2015 07:40
by RottenMutt
v2.0.1-rc18 My interview now fully completes.

Re: Linear GD00Z-X Garage Door Opener

Posted: 09 Mar 2015 06:39
by mikebridge
I tried using GET, and checking the position of the battery of the door sensor but no luck. I do see that it changed to state 252, which should be "opening", but it remains closed.

I'll try upgrading to rc18 and see if that helps.

Thanks!

Re: Linear GD00Z-X Garage Door Opener

Posted: 09 Mar 2015 06:44
by mikebridge
I did a quick test and it looks like any HTTP verb will do the same thing, even "OPTIONS".
evergreen wrote: I think you need not post but do a simple GET instead.

Re: Linear GD00Z-X Garage Door Opener

Posted: 14 Mar 2015 04:21
by jensmoes
pofs wrote:Well, it should work right after inclusion.
You may use expert commands to send requests to the device, or just do it from JS:

Code: Select all

open: http://ip:8083/ZWaveAPI/Run/devices[x].BarrierOperator.Set(255)
close: http://ip:8083/ZWaveAPI/Run/devices[x].BarrierOperator.Set(0)
It also seems to have audible notification, so you can also turn it on/off:

Code: Select all

on: http://ip:8083/ZWaveAPI/Run/devices[x].BarrierOperator.SignalSet(1, 255)
off: http://ip:8083/ZWaveAPI/Run/devices[x].BarrierOperator.SignalSet(1, 0)
I am on rc19 and I dont see anything under BarrierOperator in the Expert UI, just the blue button saying BarrierOperator. Is there supposed to be a Get/Set button there?

Re: Linear GD00Z-X Garage Door Opener

Posted: 14 Mar 2015 10:13
by jensmoes
rsebes wrote:How can you even set the device description for this device? I see that it exists in the Z-Wave Device library: http://www.pepper1.net/zwavedb/device/584 I tried to copy the xml to the ZDDX directory and still a no go.

pofs, thanks for that info. I've been waiting to see rc13 show up but still not available. I'm running rc14 now though :).

I have tried to re-interview the device and now it's failing the security interview, but I'm trying that remotely. I may have to re-include or physically hit the button on the device for the security interview?
rsebes how did you manage to set that device description? I have not been able to figure it out either.

Re: Linear GD00Z-X Garage Door Opener

Posted: 15 Mar 2015 04:54
by RottenMutt
I ran the update xml script, /opt/z-way-server/ZDDX/ and run python ./UpdateXML.sh, it loaded 584-014f-4744-3032-03-03-67-00-15.xml which is the GD00Z-X device description file but it isn't in the "select device description" list in Expert UI. The file doesn't appear in ZDDX.indx or ZDDX.indxml

help please.

i don't know what this means, but it may be the problem...
Error loading Z-Wave Device Description XML 584-014f-4744-3032-03-03-67-00-15.xml: list index out of range

Re: Linear GD00Z-X Garage Door Opener

Posted: 15 Mar 2015 13:16
by pofs
It won't appear there unless it is fixed in Pepper1 database, or you fix it on your side and rebuild index.

Re: Linear GD00Z-X Garage Door Opener

Posted: 15 Mar 2015 15:49
by RottenMutt
It is in pepper database, http://www.pepper1.net/zwavedb/device/584, and is in my ZDDX database but dosen't appear in the index files.

Need help

still this error while running ./UpdateXML.sh means something:
Error loading Z-Wave Device Description XML 584-014f-4744-3032-03-03-67-00-15.xml: list index out of range