raZberry Z-Wave object IDs

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

raZberry Z-Wave object IDs

Jon Whitear
Hi folks,

I’ve recently added a raZberry and a couple of Z-wave devices to my MH setup, but each device seems to present a number of “sub-devices”, and I’d like to know how to specify each of these. The devices are an Aeon labs smart switch (gen 6) and an Aeon labs door/window sensor (gen 6). They’re declared in my MHT file like so:-

#TYPE,                   Address,   Name,                GroupList,                                      Other

RAZBERRY_CONTROLLER,     192.168.1.12, razberry_controller, zwave
RAZBERRY_BINARY_SENSOR, 3,         front_door_sensor,   zwave|Lounge|HB__SWITCH,                        razberry_controller
RAZBERRY_SWITCH,       2,         lounge_lamps,         zwave|Lounge|HB__SWITCH,                        razberry_controller

and raZberry finds them too.

01/15/17 01:40:39 PM [raZberry] Polling initiated
01/15/17 01:40:39 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices
01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level off and updated 1484376618.
01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-37 with level on and updated 1484447523.
01/15/17 01:40:39 PM [raZberry_switch] Setting value to on. Level is 100
01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-0 with level 0.395 and updated 1484448001.
01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-2 with level 18.289 and updated 1484448001.
01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-4 with level 239.371008 and updated 1484448001.
01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-5 with level 0.132 and updated 1484448001.
01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-51-rgb with level on and updated 1484364974.
01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_3-0-48-1 with level on and updated 1484365357.
01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_3-0-113-6-Door-A with level off and updated 1484365385.

The smart switch presents objects for the switch function itself (2-0-37) and functions for voltage (2-0-50-4), cumulative power usage in kWh (2-0-50-0), current power usage in W (2-0-50-2), and current (2-0-50-5). You can set the colour of the LED ring using 2-0-51-rgb. The switch works fine, but are the other functions accessible to MH?

The door sensor also presents a number of devices. I haven’t worked out what they’re all for yet. Switch 3-0-0-B responds to open/close events, but MH has used object ID 3-0-48. Can I override this in my MHT file?

Cheers,

Jon

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|

Re: raZberry Z-Wave object IDs

H Plato
Kind of.  While I haven’t tried this yet, you should be able to specify the entire address in the MHT file

RAZBERRY_SWITCH, 2-0-48-1, door_sensor2, zwave, razberry_controller

The code only appends the subid if a subid hasn’t been specified

    $devid = $devid . "-0-37" unless ( $devid =~ m/-\d+-\d+$/ );

However the regex only looks for numbers, since that’s all I’ve seen with the devices I have.

I wonder if instead, it should check if the supplied device id is only a single number, then add the default devid, ie.

    $devid = $devid . "-0-37" if ( $devid =~ m/^\d+$/ );



> On Jan 14, 2017, at 10:02 PM, Jon Whitear <[hidden email]> wrote:
>
> Hi folks,
>
> I’ve recently added a raZberry and a couple of Z-wave devices to my MH setup, but each device seems to present a number of “sub-devices”, and I’d like to know how to specify each of these. The devices are an Aeon labs smart switch (gen 6) and an Aeon labs door/window sensor (gen 6). They’re declared in my MHT file like so:-
>
> #TYPE,                   Address,   Name,                GroupList,                                      Other
>
> RAZBERRY_CONTROLLER,     192.168.1.12, razberry_controller, zwave
> RAZBERRY_BINARY_SENSOR, 3,         front_door_sensor,   zwave|Lounge|HB__SWITCH,                        razberry_controller
> RAZBERRY_SWITCH,       2,         lounge_lamps,         zwave|Lounge|HB__SWITCH,                        razberry_controller
>
> and raZberry finds them too.
>
> 01/15/17 01:40:39 PM [raZberry] Polling initiated
> 01/15/17 01:40:39 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices
> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level off and updated 1484376618.
> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-37 with level on and updated 1484447523.
> 01/15/17 01:40:39 PM [raZberry_switch] Setting value to on. Level is 100
> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-0 with level 0.395 and updated 1484448001.
> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-2 with level 18.289 and updated 1484448001.
> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-4 with level 239.371008 and updated 1484448001.
> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-5 with level 0.132 and updated 1484448001.
> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-51-rgb with level on and updated 1484364974.
> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_3-0-48-1 with level on and updated 1484365357.
> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_3-0-113-6-Door-A with level off and updated 1484365385.
>
> The smart switch presents objects for the switch function itself (2-0-37) and functions for voltage (2-0-50-4), cumulative power usage in kWh (2-0-50-0), current power usage in W (2-0-50-2), and current (2-0-50-5). You can set the colour of the LED ring using 2-0-51-rgb. The switch works fine, but are the other functions accessible to MH?
>
> The door sensor also presents a number of devices. I haven’t worked out what they’re all for yet. Switch 3-0-0-B responds to open/close events, but MH has used object ID 3-0-48. Can I override this in my MHT file?
>
> Cheers,
>
> Jon
>
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ________________________________________________________
> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|

Re: raZberry Z-Wave object IDs

Jon Whitear
OK, I updated my mht file to this:-

RAZBERRY_CONTROLLER,    192.168.1.12, razberry_controller, zwave
RAZBERRY_BINARY_SENSOR, 3-0-0-B,         front_door_sensor,   zwave|Lounge|HB__SWITCH,                  razberry_controller
RAZBERRY_SWITCH,        2,         lounge_lamps,        zwave|Lounge|HB__SWITCH,                        razberry_controller
RAZBERRY_SWITCH,        4,         lounge_picture_light,        zwave|Lounge|HB__SWITCH,                        razberry_controller

which gave me this:

01/16/17 09:07:25 PM [raZberry] Controller initialized.
01/16/17 09:07:25 PM [raZberry] Registering Binary Sensor Device ID 3-0-0-B-0-48-1 to controller
01/16/17 09:07:25 PM [raZberry] Registering Switch Device ID 2-0-37 to controller
01/16/17 09:07:25 PM [raZberry] Registering Switch Device ID 4-0-37 to controller

so I’ve updated the line in package raZberry_binary_sensor from

    $devid = $devid . "-0-48-1”;

to:

    $devid = $devid . "-0-48-1" if ( $devid =~ m/^\d+$/ );

and now I get:-

01/16/17 09:18:41 PM [raZberry] Controller initialized.
01/16/17 09:18:41 PM [raZberry] Registering Binary Sensor Device ID 3-0-0-B to controller
01/16/17 09:18:41 PM [raZberry] Registering Switch Device ID 2-0-37 to controller
01/16/17 09:18:41 PM [raZberry] Registering Switch Device ID 4-0-37 to controller

So that’s good. However, when I open and close the door, I see this in print.log, but no change to the MH object state:

01/16/17 09:22:04 PM [raZberry] Polling initiated
01/16/17 09:22:04 PM [raZberry] cmd=?since=1484562119
01/16/17 09:22:04 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484562119
{"data":{"structureChanged":false,"updateTime":1484562124,"devices":[{"creationTime":1484363928,"deviceType":"switchControl","h":1320850420,"hasHistory":false,"id":"ZWayVDev_zway_Remote_3-0-0-B","location":2,"metrics":{"icon":"","title":"Aeotec (3.0.0) Button","level":"off","change":""},"permanently_hidden":false,"probeType":"","tags":[],"visibility":true,"updateTime":1484562123}]},"code":200,"message":"200 OK","error":null}
--------------------
Response code: 200
01/16/17 09:22:04 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level off and updated 1484562123.
id=Remote
01/16/17 09:22:10 PM [raZberry] Polling initiated
01/16/17 09:22:10 PM [raZberry] cmd=?since=1484562124
01/16/17 09:22:10 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484562124
{"data":{"structureChanged":false,"updateTime":1484562130,"devices":[]},"code":200,"message":"200 OK","error":null}

Should this be set up as a wave “remote” device?

Cheers,

Jon

> On 16 Jan 2017, at 9:03 am, H Plato <[hidden email]> wrote:
>
> Kind of.  While I haven’t tried this yet, you should be able to specify the entire address in the MHT file
>
> RAZBERRY_SWITCH, 2-0-48-1, door_sensor2, zwave, razberry_controller
>
> The code only appends the subid if a subid hasn’t been specified
>
>    $devid = $devid . "-0-37" unless ( $devid =~ m/-\d+-\d+$/ );
>
> However the regex only looks for numbers, since that’s all I’ve seen with the devices I have.
>
> I wonder if instead, it should check if the supplied device id is only a single number, then add the default devid, ie.
>
>    $devid = $devid . "-0-37" if ( $devid =~ m/^\d+$/ );
>
>
>
>> On Jan 14, 2017, at 10:02 PM, Jon Whitear <[hidden email]> wrote:
>>
>> Hi folks,
>>
>> I’ve recently added a raZberry and a couple of Z-wave devices to my MH setup, but each device seems to present a number of “sub-devices”, and I’d like to know how to specify each of these. The devices are an Aeon labs smart switch (gen 6) and an Aeon labs door/window sensor (gen 6). They’re declared in my MHT file like so:-
>>
>> #TYPE,                   Address,   Name,                GroupList,                                      Other
>>
>> RAZBERRY_CONTROLLER,     192.168.1.12, razberry_controller, zwave
>> RAZBERRY_BINARY_SENSOR, 3,         front_door_sensor,   zwave|Lounge|HB__SWITCH,                        razberry_controller
>> RAZBERRY_SWITCH,       2,         lounge_lamps,         zwave|Lounge|HB__SWITCH,                        razberry_controller
>>
>> and raZberry finds them too.
>>
>> 01/15/17 01:40:39 PM [raZberry] Polling initiated
>> 01/15/17 01:40:39 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices
>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level off and updated 1484376618.
>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-37 with level on and updated 1484447523.
>> 01/15/17 01:40:39 PM [raZberry_switch] Setting value to on. Level is 100
>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-0 with level 0.395 and updated 1484448001.
>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-2 with level 18.289 and updated 1484448001.
>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-4 with level 239.371008 and updated 1484448001.
>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-5 with level 0.132 and updated 1484448001.
>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-51-rgb with level on and updated 1484364974.
>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_3-0-48-1 with level on and updated 1484365357.
>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_3-0-113-6-Door-A with level off and updated 1484365385.
>>
>> The smart switch presents objects for the switch function itself (2-0-37) and functions for voltage (2-0-50-4), cumulative power usage in kWh (2-0-50-0), current power usage in W (2-0-50-2), and current (2-0-50-5). You can set the colour of the LED ring using 2-0-51-rgb. The switch works fine, but are the other functions accessible to MH?
>>
>> The door sensor also presents a number of devices. I haven’t worked out what they’re all for yet. Switch 3-0-0-B responds to open/close events, but MH has used object ID 3-0-48. Can I override this in my MHT file?
>>
>> Cheers,
>>
>> Jon
>>
>> ------------------------------------------------------------------------------
>> Developer Access Program for Intel Xeon Phi Processors
>> Access to Intel Xeon Phi processor-based developer platforms.
>> With one year of Intel Parallel Studio XE.
>> Training and support from Colfax.
>> Order your platform today. http://sdm.link/xeonphi
>> ________________________________________________________
>> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>>
>



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|

Re: raZberry Z-Wave object IDs

H Plato
It looks like the vdev has changed — added in the word Remote_ to the device id.

Try changing line 214 from this:

            my ($id) = ( split /_/, $item->{id} )[2];

to this:

            my ($id) = ( split /_/, $item->{id} )[-1]; #always just get the last element


> On Jan 16, 2017, at 3:28 AM, Jon Whitear <[hidden email]> wrote:
>
> OK, I updated my mht file to this:-
>
> RAZBERRY_CONTROLLER,    192.168.1.12, razberry_controller, zwave
> RAZBERRY_BINARY_SENSOR, 3-0-0-B,         front_door_sensor,   zwave|Lounge|HB__SWITCH,                  razberry_controller
> RAZBERRY_SWITCH,        2,         lounge_lamps,        zwave|Lounge|HB__SWITCH,                        razberry_controller
> RAZBERRY_SWITCH,        4,         lounge_picture_light,        zwave|Lounge|HB__SWITCH,                        razberry_controller
>
> which gave me this:
>
> 01/16/17 09:07:25 PM [raZberry] Controller initialized.
> 01/16/17 09:07:25 PM [raZberry] Registering Binary Sensor Device ID 3-0-0-B-0-48-1 to controller
> 01/16/17 09:07:25 PM [raZberry] Registering Switch Device ID 2-0-37 to controller
> 01/16/17 09:07:25 PM [raZberry] Registering Switch Device ID 4-0-37 to controller
>
> so I’ve updated the line in package raZberry_binary_sensor from
>
>    $devid = $devid . "-0-48-1”;
>
> to:
>
>    $devid = $devid . "-0-48-1" if ( $devid =~ m/^\d+$/ );
>
> and now I get:-
>
> 01/16/17 09:18:41 PM [raZberry] Controller initialized.
> 01/16/17 09:18:41 PM [raZberry] Registering Binary Sensor Device ID 3-0-0-B to controller
> 01/16/17 09:18:41 PM [raZberry] Registering Switch Device ID 2-0-37 to controller
> 01/16/17 09:18:41 PM [raZberry] Registering Switch Device ID 4-0-37 to controller
>
> So that’s good. However, when I open and close the door, I see this in print.log, but no change to the MH object state:
>
> 01/16/17 09:22:04 PM [raZberry] Polling initiated
> 01/16/17 09:22:04 PM [raZberry] cmd=?since=1484562119
> 01/16/17 09:22:04 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484562119
> {"data":{"structureChanged":false,"updateTime":1484562124,"devices":[{"creationTime":1484363928,"deviceType":"switchControl","h":1320850420,"hasHistory":false,"id":"ZWayVDev_zway_Remote_3-0-0-B","location":2,"metrics":{"icon":"","title":"Aeotec (3.0.0) Button","level":"off","change":""},"permanently_hidden":false,"probeType":"","tags":[],"visibility":true,"updateTime":1484562123}]},"code":200,"message":"200 OK","error":null}
> --------------------
> Response code: 200
> 01/16/17 09:22:04 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level off and updated 1484562123.
> id=Remote
> 01/16/17 09:22:10 PM [raZberry] Polling initiated
> 01/16/17 09:22:10 PM [raZberry] cmd=?since=1484562124
> 01/16/17 09:22:10 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484562124
> {"data":{"structureChanged":false,"updateTime":1484562130,"devices":[]},"code":200,"message":"200 OK","error":null}
>
> Should this be set up as a wave “remote” device?
>
> Cheers,
>
> Jon
>
>> On 16 Jan 2017, at 9:03 am, H Plato <[hidden email]> wrote:
>>
>> Kind of.  While I haven’t tried this yet, you should be able to specify the entire address in the MHT file
>>
>> RAZBERRY_SWITCH, 2-0-48-1, door_sensor2, zwave, razberry_controller
>>
>> The code only appends the subid if a subid hasn’t been specified
>>
>>   $devid = $devid . "-0-37" unless ( $devid =~ m/-\d+-\d+$/ );
>>
>> However the regex only looks for numbers, since that’s all I’ve seen with the devices I have.
>>
>> I wonder if instead, it should check if the supplied device id is only a single number, then add the default devid, ie.
>>
>>   $devid = $devid . "-0-37" if ( $devid =~ m/^\d+$/ );
>>
>>
>>
>>> On Jan 14, 2017, at 10:02 PM, Jon Whitear <[hidden email]> wrote:
>>>
>>> Hi folks,
>>>
>>> I’ve recently added a raZberry and a couple of Z-wave devices to my MH setup, but each device seems to present a number of “sub-devices”, and I’d like to know how to specify each of these. The devices are an Aeon labs smart switch (gen 6) and an Aeon labs door/window sensor (gen 6). They’re declared in my MHT file like so:-
>>>
>>> #TYPE,                   Address,   Name,                GroupList,                                      Other
>>>
>>> RAZBERRY_CONTROLLER,     192.168.1.12, razberry_controller, zwave
>>> RAZBERRY_BINARY_SENSOR, 3,         front_door_sensor,   zwave|Lounge|HB__SWITCH,                        razberry_controller
>>> RAZBERRY_SWITCH,       2,         lounge_lamps,         zwave|Lounge|HB__SWITCH,                        razberry_controller
>>>
>>> and raZberry finds them too.
>>>
>>> 01/15/17 01:40:39 PM [raZberry] Polling initiated
>>> 01/15/17 01:40:39 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices
>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level off and updated 1484376618.
>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-37 with level on and updated 1484447523.
>>> 01/15/17 01:40:39 PM [raZberry_switch] Setting value to on. Level is 100
>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-0 with level 0.395 and updated 1484448001.
>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-2 with level 18.289 and updated 1484448001.
>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-4 with level 239.371008 and updated 1484448001.
>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-5 with level 0.132 and updated 1484448001.
>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-51-rgb with level on and updated 1484364974.
>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_3-0-48-1 with level on and updated 1484365357.
>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_3-0-113-6-Door-A with level off and updated 1484365385.
>>>
>>> The smart switch presents objects for the switch function itself (2-0-37) and functions for voltage (2-0-50-4), cumulative power usage in kWh (2-0-50-0), current power usage in W (2-0-50-2), and current (2-0-50-5). You can set the colour of the LED ring using 2-0-51-rgb. The switch works fine, but are the other functions accessible to MH?
>>>
>>> The door sensor also presents a number of devices. I haven’t worked out what they’re all for yet. Switch 3-0-0-B responds to open/close events, but MH has used object ID 3-0-48. Can I override this in my MHT file?
>>>
>>> Cheers,
>>>
>>> Jon
>>>
>>> ------------------------------------------------------------------------------
>>> Developer Access Program for Intel Xeon Phi Processors
>>> Access to Intel Xeon Phi processor-based developer platforms.
>>> With one year of Intel Parallel Studio XE.
>>> Training and support from Colfax.
>>> Order your platform today. http://sdm.link/xeonphi
>>> ________________________________________________________
>>> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>>>
>>
>
>


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|

Re: raZberry Z-Wave object IDs

Jon Whitear
That did the job, thank you.

Now when I open the door, the MH object reflects the status. Time to start writing some user code to act on door open/close events!

Cheers,

Jon


> On 17 Jan 2017, at 1:00 am, H Plato <[hidden email]> wrote:
>
> It looks like the vdev has changed — added in the word Remote_ to the device id.
>
> Try changing line 214 from this:
>
>            my ($id) = ( split /_/, $item->{id} )[2];
>
> to this:
>
>            my ($id) = ( split /_/, $item->{id} )[-1]; #always just get the last element
>
>
>> On Jan 16, 2017, at 3:28 AM, Jon Whitear <[hidden email]> wrote:
>>
>> OK, I updated my mht file to this:-
>>
>> RAZBERRY_CONTROLLER,    192.168.1.12, razberry_controller, zwave
>> RAZBERRY_BINARY_SENSOR, 3-0-0-B,         front_door_sensor,   zwave|Lounge|HB__SWITCH,                  razberry_controller
>> RAZBERRY_SWITCH,        2,         lounge_lamps,        zwave|Lounge|HB__SWITCH,                        razberry_controller
>> RAZBERRY_SWITCH,        4,         lounge_picture_light,        zwave|Lounge|HB__SWITCH,                        razberry_controller
>>
>> which gave me this:
>>
>> 01/16/17 09:07:25 PM [raZberry] Controller initialized.
>> 01/16/17 09:07:25 PM [raZberry] Registering Binary Sensor Device ID 3-0-0-B-0-48-1 to controller
>> 01/16/17 09:07:25 PM [raZberry] Registering Switch Device ID 2-0-37 to controller
>> 01/16/17 09:07:25 PM [raZberry] Registering Switch Device ID 4-0-37 to controller
>>
>> so I’ve updated the line in package raZberry_binary_sensor from
>>
>>   $devid = $devid . "-0-48-1”;
>>
>> to:
>>
>>   $devid = $devid . "-0-48-1" if ( $devid =~ m/^\d+$/ );
>>
>> and now I get:-
>>
>> 01/16/17 09:18:41 PM [raZberry] Controller initialized.
>> 01/16/17 09:18:41 PM [raZberry] Registering Binary Sensor Device ID 3-0-0-B to controller
>> 01/16/17 09:18:41 PM [raZberry] Registering Switch Device ID 2-0-37 to controller
>> 01/16/17 09:18:41 PM [raZberry] Registering Switch Device ID 4-0-37 to controller
>>
>> So that’s good. However, when I open and close the door, I see this in print.log, but no change to the MH object state:
>>
>> 01/16/17 09:22:04 PM [raZberry] Polling initiated
>> 01/16/17 09:22:04 PM [raZberry] cmd=?since=1484562119
>> 01/16/17 09:22:04 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484562119
>> {"data":{"structureChanged":false,"updateTime":1484562124,"devices":[{"creationTime":1484363928,"deviceType":"switchControl","h":1320850420,"hasHistory":false,"id":"ZWayVDev_zway_Remote_3-0-0-B","location":2,"metrics":{"icon":"","title":"Aeotec (3.0.0) Button","level":"off","change":""},"permanently_hidden":false,"probeType":"","tags":[],"visibility":true,"updateTime":1484562123}]},"code":200,"message":"200 OK","error":null}
>> --------------------
>> Response code: 200
>> 01/16/17 09:22:04 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level off and updated 1484562123.
>> id=Remote
>> 01/16/17 09:22:10 PM [raZberry] Polling initiated
>> 01/16/17 09:22:10 PM [raZberry] cmd=?since=1484562124
>> 01/16/17 09:22:10 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484562124
>> {"data":{"structureChanged":false,"updateTime":1484562130,"devices":[]},"code":200,"message":"200 OK","error":null}
>>
>> Should this be set up as a wave “remote” device?
>>
>> Cheers,
>>
>> Jon
>>
>>> On 16 Jan 2017, at 9:03 am, H Plato <[hidden email]> wrote:
>>>
>>> Kind of.  While I haven’t tried this yet, you should be able to specify the entire address in the MHT file
>>>
>>> RAZBERRY_SWITCH, 2-0-48-1, door_sensor2, zwave, razberry_controller
>>>
>>> The code only appends the subid if a subid hasn’t been specified
>>>
>>>  $devid = $devid . "-0-37" unless ( $devid =~ m/-\d+-\d+$/ );
>>>
>>> However the regex only looks for numbers, since that’s all I’ve seen with the devices I have.
>>>
>>> I wonder if instead, it should check if the supplied device id is only a single number, then add the default devid, ie.
>>>
>>>  $devid = $devid . "-0-37" if ( $devid =~ m/^\d+$/ );
>>>
>>>
>>>
>>>> On Jan 14, 2017, at 10:02 PM, Jon Whitear <[hidden email]> wrote:
>>>>
>>>> Hi folks,
>>>>
>>>> I’ve recently added a raZberry and a couple of Z-wave devices to my MH setup, but each device seems to present a number of “sub-devices”, and I’d like to know how to specify each of these. The devices are an Aeon labs smart switch (gen 6) and an Aeon labs door/window sensor (gen 6). They’re declared in my MHT file like so:-
>>>>
>>>> #TYPE,                   Address,   Name,                GroupList,                                      Other
>>>>
>>>> RAZBERRY_CONTROLLER,     192.168.1.12, razberry_controller, zwave
>>>> RAZBERRY_BINARY_SENSOR, 3,         front_door_sensor,   zwave|Lounge|HB__SWITCH,                        razberry_controller
>>>> RAZBERRY_SWITCH,       2,         lounge_lamps,         zwave|Lounge|HB__SWITCH,                        razberry_controller
>>>>
>>>> and raZberry finds them too.
>>>>
>>>> 01/15/17 01:40:39 PM [raZberry] Polling initiated
>>>> 01/15/17 01:40:39 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices
>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level off and updated 1484376618.
>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-37 with level on and updated 1484447523.
>>>> 01/15/17 01:40:39 PM [raZberry_switch] Setting value to on. Level is 100
>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-0 with level 0.395 and updated 1484448001.
>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-2 with level 18.289 and updated 1484448001.
>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-4 with level 239.371008 and updated 1484448001.
>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-5 with level 0.132 and updated 1484448001.
>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-51-rgb with level on and updated 1484364974.
>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_3-0-48-1 with level on and updated 1484365357.
>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_3-0-113-6-Door-A with level off and updated 1484365385.
>>>>
>>>> The smart switch presents objects for the switch function itself (2-0-37) and functions for voltage (2-0-50-4), cumulative power usage in kWh (2-0-50-0), current power usage in W (2-0-50-2), and current (2-0-50-5). You can set the colour of the LED ring using 2-0-51-rgb. The switch works fine, but are the other functions accessible to MH?
>>>>
>>>> The door sensor also presents a number of devices. I haven’t worked out what they’re all for yet. Switch 3-0-0-B responds to open/close events, but MH has used object ID 3-0-48. Can I override this in my MHT file?
>>>>
>>>> Cheers,
>>>>
>>>> Jon
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Developer Access Program for Intel Xeon Phi Processors
>>>> Access to Intel Xeon Phi processor-based developer platforms.
>>>> With one year of Intel Parallel Studio XE.
>>>> Training and support from Colfax.
>>>> Order your platform today. http://sdm.link/xeonphi
>>>> ________________________________________________________
>>>> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>>>>
>>>
>>
>>
>



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|

Re: raZberry Z-Wave object IDs

H Plato
I added in the changes and uploaded a new version to master. If you have a chance can you try it out.

I’m also curious as to what you use for a poll time. Since the default is 10 seconds, I thought things like door sensors wouldn’t work well with razberry.pm. Setting the poll time to 1 second is possible, but I was concerned that this might overload the razberry controller.


> On Jan 16, 2017, at 3:04 PM, Jon Whitear <[hidden email]> wrote:
>
> That did the job, thank you.
>
> Now when I open the door, the MH object reflects the status. Time to start writing some user code to act on door open/close events!
>
> Cheers,
>
> Jon
>
>
>> On 17 Jan 2017, at 1:00 am, H Plato <[hidden email]> wrote:
>>
>> It looks like the vdev has changed — added in the word Remote_ to the device id.
>>
>> Try changing line 214 from this:
>>
>>           my ($id) = ( split /_/, $item->{id} )[2];
>>
>> to this:
>>
>>           my ($id) = ( split /_/, $item->{id} )[-1]; #always just get the last element
>>
>>
>>> On Jan 16, 2017, at 3:28 AM, Jon Whitear <[hidden email]> wrote:
>>>
>>> OK, I updated my mht file to this:-
>>>
>>> RAZBERRY_CONTROLLER,    192.168.1.12, razberry_controller, zwave
>>> RAZBERRY_BINARY_SENSOR, 3-0-0-B,         front_door_sensor,   zwave|Lounge|HB__SWITCH,                  razberry_controller
>>> RAZBERRY_SWITCH,        2,         lounge_lamps,        zwave|Lounge|HB__SWITCH,                        razberry_controller
>>> RAZBERRY_SWITCH,        4,         lounge_picture_light,        zwave|Lounge|HB__SWITCH,                        razberry_controller
>>>
>>> which gave me this:
>>>
>>> 01/16/17 09:07:25 PM [raZberry] Controller initialized.
>>> 01/16/17 09:07:25 PM [raZberry] Registering Binary Sensor Device ID 3-0-0-B-0-48-1 to controller
>>> 01/16/17 09:07:25 PM [raZberry] Registering Switch Device ID 2-0-37 to controller
>>> 01/16/17 09:07:25 PM [raZberry] Registering Switch Device ID 4-0-37 to controller
>>>
>>> so I’ve updated the line in package raZberry_binary_sensor from
>>>
>>>  $devid = $devid . "-0-48-1”;
>>>
>>> to:
>>>
>>>  $devid = $devid . "-0-48-1" if ( $devid =~ m/^\d+$/ );
>>>
>>> and now I get:-
>>>
>>> 01/16/17 09:18:41 PM [raZberry] Controller initialized.
>>> 01/16/17 09:18:41 PM [raZberry] Registering Binary Sensor Device ID 3-0-0-B to controller
>>> 01/16/17 09:18:41 PM [raZberry] Registering Switch Device ID 2-0-37 to controller
>>> 01/16/17 09:18:41 PM [raZberry] Registering Switch Device ID 4-0-37 to controller
>>>
>>> So that’s good. However, when I open and close the door, I see this in print.log, but no change to the MH object state:
>>>
>>> 01/16/17 09:22:04 PM [raZberry] Polling initiated
>>> 01/16/17 09:22:04 PM [raZberry] cmd=?since=1484562119
>>> 01/16/17 09:22:04 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484562119
>>> {"data":{"structureChanged":false,"updateTime":1484562124,"devices":[{"creationTime":1484363928,"deviceType":"switchControl","h":1320850420,"hasHistory":false,"id":"ZWayVDev_zway_Remote_3-0-0-B","location":2,"metrics":{"icon":"","title":"Aeotec (3.0.0) Button","level":"off","change":""},"permanently_hidden":false,"probeType":"","tags":[],"visibility":true,"updateTime":1484562123}]},"code":200,"message":"200 OK","error":null}
>>> --------------------
>>> Response code: 200
>>> 01/16/17 09:22:04 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level off and updated 1484562123.
>>> id=Remote
>>> 01/16/17 09:22:10 PM [raZberry] Polling initiated
>>> 01/16/17 09:22:10 PM [raZberry] cmd=?since=1484562124
>>> 01/16/17 09:22:10 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484562124
>>> {"data":{"structureChanged":false,"updateTime":1484562130,"devices":[]},"code":200,"message":"200 OK","error":null}
>>>
>>> Should this be set up as a wave “remote” device?
>>>
>>> Cheers,
>>>
>>> Jon
>>>
>>>> On 16 Jan 2017, at 9:03 am, H Plato <[hidden email]> wrote:
>>>>
>>>> Kind of.  While I haven’t tried this yet, you should be able to specify the entire address in the MHT file
>>>>
>>>> RAZBERRY_SWITCH, 2-0-48-1, door_sensor2, zwave, razberry_controller
>>>>
>>>> The code only appends the subid if a subid hasn’t been specified
>>>>
>>>> $devid = $devid . "-0-37" unless ( $devid =~ m/-\d+-\d+$/ );
>>>>
>>>> However the regex only looks for numbers, since that’s all I’ve seen with the devices I have.
>>>>
>>>> I wonder if instead, it should check if the supplied device id is only a single number, then add the default devid, ie.
>>>>
>>>> $devid = $devid . "-0-37" if ( $devid =~ m/^\d+$/ );
>>>>
>>>>
>>>>
>>>>> On Jan 14, 2017, at 10:02 PM, Jon Whitear <[hidden email]> wrote:
>>>>>
>>>>> Hi folks,
>>>>>
>>>>> I’ve recently added a raZberry and a couple of Z-wave devices to my MH setup, but each device seems to present a number of “sub-devices”, and I’d like to know how to specify each of these. The devices are an Aeon labs smart switch (gen 6) and an Aeon labs door/window sensor (gen 6). They’re declared in my MHT file like so:-
>>>>>
>>>>> #TYPE,                   Address,   Name,                GroupList,                                      Other
>>>>>
>>>>> RAZBERRY_CONTROLLER,     192.168.1.12, razberry_controller, zwave
>>>>> RAZBERRY_BINARY_SENSOR, 3,         front_door_sensor,   zwave|Lounge|HB__SWITCH,                        razberry_controller
>>>>> RAZBERRY_SWITCH,       2,         lounge_lamps,         zwave|Lounge|HB__SWITCH,                        razberry_controller
>>>>>
>>>>> and raZberry finds them too.
>>>>>
>>>>> 01/15/17 01:40:39 PM [raZberry] Polling initiated
>>>>> 01/15/17 01:40:39 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices
>>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level off and updated 1484376618.
>>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-37 with level on and updated 1484447523.
>>>>> 01/15/17 01:40:39 PM [raZberry_switch] Setting value to on. Level is 100
>>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-0 with level 0.395 and updated 1484448001.
>>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-2 with level 18.289 and updated 1484448001.
>>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-4 with level 239.371008 and updated 1484448001.
>>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-50-5 with level 0.132 and updated 1484448001.
>>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_2-0-51-rgb with level on and updated 1484364974.
>>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_3-0-48-1 with level on and updated 1484365357.
>>>>> 01/15/17 01:40:39 PM [raZberry] Found:ZWayVDev_zway_3-0-113-6-Door-A with level off and updated 1484365385.
>>>>>
>>>>> The smart switch presents objects for the switch function itself (2-0-37) and functions for voltage (2-0-50-4), cumulative power usage in kWh (2-0-50-0), current power usage in W (2-0-50-2), and current (2-0-50-5). You can set the colour of the LED ring using 2-0-51-rgb. The switch works fine, but are the other functions accessible to MH?
>>>>>
>>>>> The door sensor also presents a number of devices. I haven’t worked out what they’re all for yet. Switch 3-0-0-B responds to open/close events, but MH has used object ID 3-0-48. Can I override this in my MHT file?
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Jon
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Developer Access Program for Intel Xeon Phi Processors
>>>>> Access to Intel Xeon Phi processor-based developer platforms.
>>>>> With one year of Intel Parallel Studio XE.
>>>>> Training and support from Colfax.
>>>>> Order your platform today. http://sdm.link/xeonphi
>>>>> ________________________________________________________
>>>>> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>>>>>
>>>>
>>>
>>>
>>
>
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|

Re: raZberry Z-Wave object IDs

Jon Whitear
My poll time is default - that looks to be every five seconds. Here’s my mht file.

#TYPE,                  Address,   Name,                GroupList,                                      Other

RAZBERRY_CONTROLLER,    192.168.1.12, razberry_controller, zwave
RAZBERRY_BINARY_SENSOR, 3-0-0-B,         front_door_sensor,   zwave|Lounge|HB__SWITCH,                  razberry_controller
RAZBERRY_SWITCH,        2,         lounge_lamps,        zwave|Lounge|HB__SWITCH,                        razberry_controller
RAZBERRY_SWITCH,        4,         lounge_picture_light,        zwave|Lounge|HB__SWITCH,                        razberry_controller


I’m running mh, cgate (a java app to control my Clipsal CBus install), home bridge, and Z-way all on a Raspberry Pi B. Works OK so far.

Yes, the door sensors are a bit of a work in progress. If you open and close the door slowly, such that there’s a poll in between, it obviously picks up both status changes, i.e. identifies that it’s open, then that it’s closed. If you open and close the door quickly, such that there’s no poll in between, it detects that there’s been a status change, and that the door’s closed. I guess I can cobble up some code to work out that if the status has changed to closed when it was already closed, it must have been opened.

Here are the logs for a “quick” open and close.

01/17/17 04:58:40 PM [raZberry] Polling initiated
01/17/17 04:58:40 PM [raZberry] cmd=?since=1484632714
01/17/17 04:58:40 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484632714
01/17/17 04:58:40 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level off and updated 1484632717.
01/17/17 04:58:40 PM [raZberry] Child object detected: Controller Level:[off] Child Level:[]
01/17/17 04:58:40 PM Front Door sensor is off - door is closed
01/17/17 04:58:45 PM [raZberry] Polling initiated

Here are the logs for a “slow” open and close - it seems to pick it up twice.

01/17/17 04:58:45 PM [raZberry] cmd=?since=1484632720
01/17/17 04:58:45 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484632720
01/17/17 04:58:50 PM [raZberry] Polling initiated
01/17/17 04:58:50 PM [raZberry] cmd=?since=1484632725
01/17/17 04:58:50 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484632725
01/17/17 04:58:55 PM [raZberry] Polling initiated
01/17/17 04:58:55 PM [raZberry] cmd=?since=1484632730
01/17/17 04:58:55 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484632730
01/17/17 04:58:55 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level on and updated 1484632735.
01/17/17 04:58:55 PM [raZberry] Child object detected: Controller Level:[on] Child Level:[]
01/17/17 04:58:56 PM Front Door sensor is on - door is open
01/17/17 04:59:01 PM [raZberry] Polling initiated
01/17/17 04:59:01 PM [raZberry] cmd=?since=1484632735
01/17/17 04:59:01 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484632735
01/17/17 04:59:01 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level on and updated 1484632735.
01/17/17 04:59:01 PM [raZberry] Child object detected: Controller Level:[on] Child Level:[]
01/17/17 04:59:01 PM Front Door sensor is on - door is open
01/17/17 04:59:06 PM [raZberry] Polling initiated
01/17/17 04:59:06 PM [raZberry] cmd=?since=1484632741
01/17/17 04:59:06 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484632741
01/17/17 04:59:11 PM [raZberry] Polling initiated
01/17/17 04:59:11 PM [raZberry] cmd=?since=1484632746
01/17/17 04:59:11 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484632746
01/17/17 04:59:11 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level off and updated 1484632751.
01/17/17 04:59:11 PM [raZberry] Child object detected: Controller Level:[off] Child Level:[]
01/17/17 04:59:11 PM Front Door sensor is off - door is closed
01/17/17 04:59:16 PM [raZberry] Polling initiated
01/17/17 04:59:16 PM [raZberry] cmd=?since=1484632751
01/17/17 04:59:16 PM [raZberry] contacting http://192.168.1.12:8083/ZAutomation/api/v1/devices?since=1484632751
01/17/17 04:59:16 PM [raZberry] Found:ZWayVDev_zway_Remote_3-0-0-B with level off and updated 1484632751.
01/17/17 04:59:16 PM [raZberry] Child object detected: Controller Level:[off] Child Level:[]
01/17/17 04:59:17 PM Front Door sensor is off - door is closed

Cheers,

Jon


> On 17 Jan 2017, at 12:17 pm, H Plato <[hidden email]> wrote:
>
> I added in the changes and uploaded a new version to master. If you have a chance can you try it out.
>
> I’m also curious as to what you use for a poll time. Since the default is 10 seconds, I thought things like door sensors wouldn’t work well with razberry.pm. Setting the poll time to 1 second is possible, but I was concerned that this might overload the razberry controller.
>
>



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|

Re: raZberry Z-Wave object IDs

Jon Whitear
I’ve had this running with a 1 second poll for a while now without issue. My load average seems to have reduced, which I can’t explain. I have had problems with one of my switches dropping off the network, but that was happening before I changed the poll interval.

Is there anything in particular that you’re looking for?

> On 18 Jan 2017, at 6:59 am, H Plato <[hidden email]> wrote:
>
> Can you override the 5 second minimum and put it to 1 second? I'd be interested to know if that works for you without issue.
>
> Sent from my mobile device.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|

Re: raZberry Z-Wave object IDs

H Plato
So I’ve been thinking about this and might have a better solution than 1 second polling.

I picked up a razberry2 and a raspberry pi 3 so that I have a 2.3.0 setup to test with and to eventually migrate my working 2.0.0 setup to. After losing my insteon PLC, I realized its a good idea to have a spare for interface devices!

So for raZberry.pm v2.0, I’ve got authentication working, so raZberry.pm can now authenticate to an admin account and update devices. (removing the need to create anonymous access)

I also put together a ZWay HTTPGet app module. Whenever a razberry object changes state it now ‘pushes’ to raZberry.pm rather than having to poll.

I don’t have an zwave devices associated with the razberry2, but using a dummy object seems to work ok. Once I package up the HTTPGet module to github, it would be great to have a few testers that have active zwave devices.


> On Jan 22, 2017, at 4:47 AM, Jon Whitear <[hidden email]> wrote:
>
> I’ve had this running with a 1 second poll for a while now without issue. My load average seems to have reduced, which I can’t explain. I have had problems with one of my switches dropping off the network, but that was happening before I changed the poll interval.
>
> Is there anything in particular that you’re looking for?
>
>> On 18 Jan 2017, at 6:59 am, H Plato <[hidden email]> wrote:
>>
>> Can you override the 5 second minimum and put it to 1 second? I'd be interested to know if that works for you without issue.
>>
>> Sent from my mobile device.
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users