I have a problem with the Runner Skript Environment in BitCloud Profile Suite 1.8. I wrote an application for a thermostat device and want to test it with runner scripts. My scripts can create a connection, send clusterspezific commands from the thermostat Cluster and the Basic Cluster. With ZclAttributeReq i can read the values of different attributes. Now i want to change the value of the attribute MinHeatSetpointLimit. My first idea was to add the Thermostat Cluster as Server Cluster in the runner script. But if i do this the script with the attribute request doesn't work and there is the error you can see below. That is strange because the script, which does the Binding and creat the network, doesn't show any errors.
I had the idea to register more than one endpoint with the runner script but i don't know how.
An other idea i had is to use the ZclAttributeReq to write the attribute value, but there is no effect if if i send it to my thermostat. Even though it shows no errors. I dont know if i have to write any callback or response function on the side of the thermostat.
Could any one help me please, i would be very thankful.
Using COM:COM6 for port Stable Library ========================================= Native lib Version = RXTX-2.1-7 Java lib Version = RXTX-2.1-7 Send command ZdpNwkAddrReq length 0x000C id 0x00C0 IeeeAddr 00-00-00-00-00-00-00-06 reqType 0x00 (Single device response) startIndex 0x00 16:13:13.632 RECV Serial:COM6: 0x2A 0x0F 0x00 0xC1 0x00 0x00 0x06 0x00 0x00 0x0 0 0x00 0x00 0x00 0x00 0xE2 0x89 16:13:13.648 RECV Serial:COM6: 0x00 0x00 Receive command ZdpNwkAddrResp length 0x000F id 0x00C1 status 0x00 (Success) ieeeAddrRemoteDev 00-00-00-00-00-00-00-06 nwkAddrRemoteDev 0x89E2 numAssocDev 0x00 startIndex 0x00 Send command ZclAttributeReq length 0x0019 id 0x0042 dstAddrMode 0x03 (Extended address) dstShortAddress 0x89E2 dstExtAddress 00-00-00-00-00-00-00-06 profileId 0x0104 endpoint 0x0B dstEndpoint 0x15 clusterId 0x0201 defaultResponse 0x00 (Enabled) commandOptions.direction 0x00 (FROM_CLIENT_TO_SERVER) commandOptions.generalCommand 0x01 (GENERAL_COMMAND) commandOptions.reserved 0x00 commandId 0x00 (READ_ATTRIBUTES) recordsCount 0x01 attribute 0x0000 16:13:13.749 RECV Serial:COM6: 0x2A 0x03 0x00 0x94 0x00 0x01 Receive command ZclDefaultResponse length 0x0003 id 0x0094 status 0x01 (0x01) Check failed C:\Users\adminhtw\Desktop\Muehlig\BitCloud_PS_MEGARF_1_8_0\BitCloud _PS_MEGARF_1_8_0\Evaluation Tools\Runner\scripts\HAscripts\.\localtemperature.py , 93: check(data['status'] == 'Success')