Gratis domotica › Forums › Protocol-specific › Z-Wave (plus) › Configuring ZXT-120
Tags: ZXT-120 readonly
- Dit onderwerp bevat 4 reacties, 3 deelnemers, en is laatst bijgewerkt op 5 jaren, 5 maanden geleden door
Mika.
-
AuteurBerichten
-
oktober 3, 2015 om 12:32 am #1337
fred78350
BijdragerHi
I successfully included my ZXT-120 devices to PulseStation, however no matter how much I try, I cannot change any configuration parameter => It’s like my device is read-only. The device is however not dead (ControllerState_NodeOK).
My ZWave antenna is an Aeotec Z-Stick Gen 5
Is there anything I did wrong?
Thanks in advance for your help!
Fredoktober 3, 2015 om 5:08 pm #1339fred78350
BijdragerI have investigated the logs, and discovered that parameters are sent using 4 bytes although the ZXT-120 expects 2 bytes only, at least for parameter 27 which mentions the code to be used to command the AC.
Some extracts:2015-10-03 16:54:03.790 Info, Node008, Sending (Send) message (Callback ID=0x25, Expected Reply=0x04) – ConfigurationCmd_Get (Node=8): 0x01, 0x0a, 0x00, 0x13, 0x08, 0x03, 0x70, 0x05, 0x1b, 0x25, 0x25, 0x83
2015-10-03 16:54:03.799 Detail, Node008, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2015-10-03 16:54:03.799 Detail, Node008, ZW_SEND_DATA delivered to Z-Wave stack
2015-10-03 16:54:04.521 Info, mgr, Manager::WriteConfig completed for driver with home ID of 0xe7e3549c
2015-10-03 16:54:07.384 Info, Node008, Value::Set – COMMAND_CLASS_CONFIGURATION – IR code number for built-in code library – 27 – 1 – 0
2015-10-03 16:54:07.384 Info, Node008, Configuration::Set – Parameter=27, Value=0 Size=4
2015-10-03 16:54:07.384 Detail, Node008, Queuing (Send) ConfigurationCmd_Set (Node=8): 0x01, 0x0f, 0x00, 0x13, 0x08, 0x08, 0x70, 0x04, 0x1b, 0x04, 0x00, 0x00, 0x00, 0x00, 0x25, 0x26, 0x8b
2015-10-03 16:54:07.384 Detail, Node008, Queuing (Send) ConfigurationCmd_Get (Node=8): 0x01, 0x0a, 0x00, 0x13, 0x08, 0x03, 0x70, 0x05, 0x1b, 0x25, 0x27, 0x81
2015-10-03 16:54:07.888 Detail, Node008, Received: 0x01, 0x07, 0x00, 0x13, 0x25, 0x01, 0x01, 0x99, 0x57
2015-10-03 16:54:07.889 Detail, Node008, ZW_SEND_DATA Request with callback ID 0x25 received (expected 0x25)
2015-10-03 16:54:07.889 Info, Node008, WARNING: ZW_SEND_DATA failed. No ACK received – device may be asleep.
2015-10-03 16:54:07.889 Warning, Node008, WARNING: Device is not a sleeping node.
2015-10-03 16:54:16.878 Info, Node008, Value::Set – COMMAND_CLASS_CONFIGURATION – IR code number for built-in code library – 27 – 1 – 4
2015-10-03 16:54:16.878 Info, Node008, Configuration::Set – Parameter=27, Value=4 Size=4
2015-10-03 16:54:16.878 Detail, Node008, Queuing (Send) ConfigurationCmd_Set (Node=8): 0x01, 0x0f, 0x00, 0x13, 0x08, 0x08, 0x70, 0x04, 0x1b, 0x04, 0x00, 0x00, 0x00, 0x04, 0x25, 0x28, 0x81
2015-10-03 16:54:16.878 Detail, Node008, Queuing (Send) ConfigurationCmd_Get (Node=8): 0x01, 0x0a, 0x00, 0x13, 0x08, 0x03, 0x70, 0x05, 0x1b, 0x25, 0x29, 0x8fOther info:
015-10-03 16:55:24.188 Detail, Node008, Refreshed Value: old value=0, new value=0, type=int32
2015-10-03 16:55:24.189 Detail, Node008, Changes to this value are not verifiedHere, I guess this is why the ZWave controller sends 4 bytes instead of 2.
Above in the logs, we can even read:
2015-10-03 16:53:31.426 Info, Node008, Opening config param file /volume1/web/PulseStation/services/core/../zwave/config/remotec/zxt-120.xml
2015-10-03 16:53:31.427 Info, Value list size is not set, assuming 4 bytes for node 8, class 0x40, instance 1, index 0Which file should I fix to specify that 2 bytes are required to set parameter 27?
Thanks for your help!oktober 3, 2015 om 8:35 pm #1342K.Rens
SleutelbeheerderHi,
Thank you very much for this detailed information.
This will probably help Mika a lot in fixing the issue.We haven’t had a user yet using it, so will be good to investigate.
Could you please also share the zwave.json file with us?
It is located in the /volume1/web/PulseStation/data folder.Many thanks.
Kind regards,
K.Rensoktober 3, 2015 om 11:55 pm #1346fred78350
BijdragerSure, I’d love to. But file looks pretty big (~8K), and I don’t see any way to attach it here.
And BTW, I got some positive results from my ZXT-120 devices while tweaking the /volume1/web/PulseStation/services/zwave/config/remotec/zxt-120.xml file: apparently, the file designed originally by the open-zwave team does not strictly comply with Remotec specs. The best matches I was able to find are from the openHAB project => see https://github.com/openhab/openhab/blob/master/bundles/binding/org.openhab.binding.zwave/database/remotec/zxt120.xml.Long story short, I replaced the “int” by “short”, which is 2 bytes long, and was successfully able to update the “27” parameter – although you need to be patient.
HTH,
Fredoktober 5, 2015 om 6:54 am #1361Mika
SleutelbeheerderI think you found by yourself the solution.
The config file for each devices are generated by openzwave.Maybe when there is a new release of the zwave service, dont forget to replace it again…
-
AuteurBerichten
- Je moet ingelogd zijn om een reactie op dit onderwerp te kunnen geven.