Hi @chris
I have the following ZigBee device controlling my immersion heater. Its specifically designed for the job from a reputable heating company.
Salus SR600
My Zigbee controller is a SiLabs Ember based NCP.
The device SR600 is detected and is configured as a Zigbee switch with a single channel. The ON OFF Zigbee switch works just fine, however the physical switch is default disabled. The instructions suggest that it is possible to set the switch action.
I would like to be able to use the Zigbee manufacturer-specific attributes for setting the switch action so that the physical switch works.
I have used the openHAB console Zigbee commands in an attempt to set the appropriate attribute but have not yet succeeded.
>>zigbee nodes
Total known nodes in network: 11
Network Addr IEEE Address Logical Type State EP Profile Device Type Manufacturer Model
...
26985 6969 001E5E0909089424 ROUTER ONLINE 9 ZIGBEE_HOME_AUTOMATION SMART_PLUG Computime SR600
...
>>zigbee fingerprint 0x6969
|>| Node Descriptor
| |> Logical Type ROUTER
| |> MAC Capabilities [FULL_FUNCTION_DEVICE, MAINS_POWER, RECEIVER_ON_WHEN_IDLE]
| |> Stack Compliance 21
| |> Server Capabilities []
| |> Buffer Size 82
| |> Incoming Transfer Size 82
| |> Outgoing Transfer Size 82
|
|>| Power Descriptor
| |> Available Power Sources [MAINS]
| |> Current Power Source MAINS
| |> Current Power Mode RECEIVER_ON_IDLE
| |> Power Level FULL
|
|>| ZDO
| |> ManagementBindRequest SUCCESS
| |> IeeeAddressRequest SUCCESS
| |> ManagementLqiRequest SUCCESS
| |> ManagementRoutingRequest SUCCESS
|
|>| Basic Information
| |> Generic Device Class
| |> Generic Device Type
| |> Manufacturer Name Computime
| |> Model Identifier SR600
| |> Product Code
| |> Product URL
| |> Date Code 20190415
| |> Application Version 1
| |> Software Build ID
| |> Hardware Version 1
| |> Zcl Version 2
| |> Stack Version 2
| |
| |>| Endpoint 9
| | |> Profile 0104 ZIGBEE_HOME_AUTOMATION
| | |> Device Type 0051 SMART_PLUG
| | |> Device Version 0
| | |
| | |>| Input Clusters
| | | |
| | | |>| Cluster 000
| | | | |> Type Server [Input]
| | | | |> Manufacturer Spec. No
| | | | |
| | | | |>| Commands Generated
| | | | |
| | | | |>| Commands Received
| | | | | |> 0000 ResetToFactoryDefaultsCommand
| | | | |
| | | | |>| Attributes Supported
| | | | | |> 0000 ZCL Version >> UNSIGNED_8_BIT_INTEGER 2
| | | | | |> 0001 Application Version >> UNSIGNED_8_BIT_INTEGER 1
| | | | | |> 0002 Stack Version >> UNSIGNED_8_BIT_INTEGER 2
| | | | | |> 0003 HW Version >> UNSIGNED_8_BIT_INTEGER 1
| | | | | |> 0004 Manufacturer Name >> CHARACTER_STRING Computime
| | | | | |> 0005 Model Identifier >> CHARACTER_STRING SR600
| | | | | |> 0006 Date Code >> CHARACTER_STRING 20190415
| | | | | |> 0007 Power Source >> ENUMERATION_8_BIT 1
| | | | | |> 0012 Device Enabled >> BOOLEAN true
| | | | | |> FFFD Cluster Revision >> UNSIGNED_16_BIT_INTEGER 1
| | | |
| | | |>| Cluster 0003 Identify
| | | | |> Type Server [Input]
| | | | |> Manufacturer Spec. No
| | | | |> Unsupported locally
| | | |
| | | |>| Cluster 0006 On/Off
| | | | |> Type Server [Input]
| | | | |> Manufacturer Spec. No
| | | | |
| | | | |>| Commands Generated
| | | | |
| | | | |>| Commands Received
| | | | | |> 0000 OffCommand
| | | | | |> 0001 OnCommand
| | | | | |> 0002 ToggleCommand
| | | | |
| | | | |>| Attributes Supported
| | | | | |> 0000 On Off >> BOOLEAN false
| | | | | |> FFFD Cluster Revision >> UNSIGNED_16_BIT_INTEGER 1
| | | |
| | | |>| Cluster 0B05 Diagnostics
| | | | |> Type Server [Input]
| | | | |> Manufacturer Spec. No
| | | | |> Unsupported locally
| | | |
| | | |>| Cluster FC08
| | | | |> Type Server [Input]
| | | | |> Manufacturer Spec. No
| | | | |> Unsupported locally
| | |
| | |>| Output Clusters
| | | |
| | | |>| Cluster 0003 Identify
| | | | |> Type Client [Output]
| | | | |> Manufacturer Spec. No
| | | | |> Unsupported locally
| | | |
| | | |>| Cluster 0019 Ota Upgrade
| | | | |> Type Client [Output]
| | | | |> Manufacturer Spec. No
| | | | |
| | | | |>| Commands Generated
| | | | | |> 0001 QueryNextImageCommand
| | | | | |> 0003 ImageBlockCommand
| | | | | |> 0004 ImagePageCommand
| | | | | |> 0006 UpgradeEndCommand
| | | | | |> 0008 QuerySpecificFileCommand
| | | | |
| | | | |>| Commands Received
| | | | | |> 0000 Unknown
| | | | | |> 0002 Unknown
| | | | | |> 0005 Unknown
| | | | | |> 0007 Unknown
| | | | | |> 0009 Unknown
| | | | |
| | | | |>| Attributes Supported
| | | | | |> 0000 Upgrade Server ID >> IEEE_ADDRESS E0798DFFFEA831F1
| | | | | |> 0001 File Offset >> UNSIGNED_32_BIT_INTEGER -1
| | | | | |> 0002 Current File Version >> UNSIGNED_32_BIT_INTEGER 538510357
| | | | | |> 0003 Current ZigBee Stack Version >> UNSIGNED_16_BIT_INTEGER 2
| | | | | |> 0004 Downloaded File Version >> UNSIGNED_32_BIT_INTEGER -1
| | | | | |> 0005 Downloaded ZigBee Stack Version >> UNSIGNED_16_BIT_INTEGER 65535
| | | | | |> 0006 Image Upgrade Status >> ENUMERATION_8_BIT 0
| | | | | |> 0007 Manufacturer ID >> UNSIGNED_16_BIT_INTEGER 4216
| | | | | |> 0008 Image Type ID >> UNSIGNED_16_BIT_INTEGER 61
This confirms that there is manufacturer-specific cluster: 0xFC08
I did some digging on the internet and found this thread
deconz-rest-plugin
that confirms there are two attributes in cluster 0xFC08
Cluster
0xfc08
on endpoint9
has two attributes.
0x0001
(8-Bit Unsigned Integer)
This one controls what “Input Function” should be active and can be set to the following values.
0x00
: Input is disabled (Triggering S1/S2 (connecting the terminals to each other) does nothing)0x01
: Output follows input (COM/NO relay is on when S1/S2 is triggered)0x02
: Input toggles output (COM/NO relay toggles between on and off each time S1/S2 is triggered)0x03
: Input state can be read via attribute (Output is independent of input)0x0002
(8-Bit Unsigned Integer)
When attribute0x0001
is set to0x03
, the state of the input (S1/S2) can be read and reported via this attribute. It will use these two values
0x00
Input off (S1/S2 not triggered)0x01
Input on (S1/S2 triggered)
I wish to set attribute 0x0001 to 0x02 and have tried:
>>zigbee read 26985/9 0xfc08 1
Reading endpoint 6969/9, cluster server cluster (FC08), attributes Attribute 1
Response for cluster 0xfc08
Attribute 1 Error UNSUPPORTED_ATTRIBUTE
>> zigbee attsupported 26985/9 0xfc08
Supported attributes for server cluster (FC08)
AttrId Data Type Name
>>zigbee read 26985/9 0xfc08 0x0001
Reading endpoint 6969/9, cluster server cluster (FC08), attributes Attribute 1
Response for cluster 0xfc08
Attribute 1 Error UNSUPPORTED_ATTRIBUTE
>>zigbee write 26985/9 0xfc08 0x0001 2 UNSIGNED_8_BIT_INTEGER
Attribute value write error: UNSUPPORTED_ATTRIBUTE
I’m not absolutely sure of the syntax of the zigbee commands; I used this to help as there are some errors in the online documentation.
Perhaps it’s the issue mentioned below is there anyway to do this from the openHAB console?
Any help to either set the attribute or get this device more fully supported through the binding would be appreciated.