Homey Community Forum

[HELP REQUEST] Create App with COMMAND_CLASS_SCHEDULE SIR321 Secure/Horstman Relay

#1

Hi
I just bought a Secure SIR321 Intelligent Relay - Its 3kw switch controller with scheduler. The existing Horstman/Secure App in the store by @Priknr1 doesnt support this device and I haven’t been able to reach the developer.

The device currently works as a binary switch however I don’t get updates or the scheduling features which is the power-feature of the device

I have created a version of the existing app that allows for including the app with the correct ID.

Association V1
Basic V1
Binary Switch V1
Configuration V1
Manufacturer Specific V1
Multilevel Sensor V1
Schedule V1
Version V1
 
 
Controlled Command Classes
 
Basic V1
Binary Switch V1

Can someone guide me on how to add this device to get the full usage out of it?
Does anyone know of a device already supported that uses the COMMAND_CLASS_SCHEDULE? Then maybe I can copy this.

Info from the manual: http://zwave.ie/wp-content/uploads/2016/01/Z-Wave-Secure-Wall-Switch-Manual.pdf


This is the Zwave log for one 30 Min On - Button Press and followed by Off Button Press

|2019-03-12T20:41:08.430Z|Node[153]: Received application command for COMMAND_CLASS_SCHEDULE, data: 0x050100ff3000001f3f001e0001032501ff|
| --- | --- |
|2019-03-12T20:41:08.432Z|Node[153]: [COMMAND_CLASS_SCHEDULE] {"Schedule ID (Raw)":{"type":"Buffer","data":[1]},"Schedule ID":1,"User Identifier (Raw)":{"type":"Buffer","data":[0]},"User Identifier":0,"Start Year (Raw)":{"type":"Buffer","data":[255]},"Start Year":255,"Properties1 (Raw)":{"type":"Buffer","data":[48]},"Properties1":{"Start Month":0,"Active_ID":3},"Properties2 (Raw)":{"type":"Buffer","data":[0]},"Properties2":{"Start Day of Month":0},"Properties3 (Raw)":{"type":"Buffer","data":[0]},"Properties3":{"Start Weekday":0,"Res.":false},"Properties4 (Raw)":{"type":"Buffer","data":[31]},"Properties4":{"Start Hour":31,"Duration Type":0},"Properties5 (Raw)":{"type":"Buffer","data":[63]},"Properties5":{"Start Minute":63},"Duration Byte (Raw)":{"type":"Buffer","data":[0,30]},"Duration Byte":30,"Reports to Follow (Raw)":{"type":"Buffer","data":[0]},"Reports to Follow":0,"Number of Cmd to Follow (Raw)":{"type":"Buffer","data":[1]},"Number of Cmd to Follow":1,"Variant Group":[{"Cmd Length (Raw)":{"type":"Buffer","data":[3]},"Cmd Length":3,"Cmd Byte":{"type":"Buffer","data":[37,1,255]}}]}|
|2019-03-12T20:41:13.679Z|Node[153]: Received application command for COMMAND_CLASS_SCHEDULE, data: 0x05010000000000000000000000|
|2019-03-12T20:41:13.681Z|Node[153]: [COMMAND_CLASS_SCHEDULE] {"Schedule ID (Raw)":{"type":"Buffer","data":[1]},"Schedule ID":1,"User Identifier (Raw)":{"type":"Buffer","data":[0]},"User Identifier":0,"Start Year (Raw)":{"type":"Buffer","data":[0]},"Start Year":0,"Properties1 (Raw)":{"type":"Buffer","data":[0]},"Properties1":{"Start Month":0,"Active_ID":0},"Properties2 (Raw)":{"type":"Buffer","data":[0]},"Properties2":{"Start Day of Month":0},"Properties3 (Raw)":{"type":"Buffer","data":[0]},"Properties3":{"Start Weekday":0,"Res.":false},"Properties4 (Raw)":{"type":"Buffer","data":[0]},"Properties4":{"Start Hour":0,"Duration Type":0},"Properties5 (Raw)":{"type":"Buffer","data":[0]},"Properties5":{"Start Minute":0},"Duration Byte (Raw)":{"type":"Buffer","data":[0,0]},"Duration Byte":0,"Reports to Follow (Raw)":{"type":"Buffer","data":[0]},"Reports to Follow":0,"Number of Cmd to Follow (Raw)":{"type":"Buffer","data":[0]},"Number of Cmd to Follow":0,"Variant Group":[{}]}|
#2

The only app I know use SCHEDULE is Benext.
But it uses COMMAND_CLASS_CLIMATE_CONTROL_SCHEDULE… might work the same though.

2 Likes
#3

C thank you
I’ll check that out

#4

This is based on sdkv1 with the old zwave driver though, keep that in mind.

#5

hmmm

Another road block