[ANSWERED]: Parameters out of order on some devices

Posted on
Mon May 04, 2015 4:38 pm
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

[ANSWERED]: Parameters out of order on some devices

Hi,

I got few Fibaro Motion Sensors (FGMS001). When I use the "Write To Log" in Edit Device settings the log shows the device parameters in the wrong order for some devices. This device list all parameters in numeric ascending order as expected:

Code: Select all
  Z-Wave                          Indigo Device "Motion Sensor Entrance Hall" Z-Wave Properties:
Indigo Z-Wave Version: 1.0.350
Node ID: 7
Model: Motion Sensor (FGMS001)
Model ID: 08001001
Manufacturer: Fibaro System
Manufacturer ID: 010F
Protocol Version: 3.67
Application Version: 2.06
Model Definition Version: 1
Library Type: 3
Class Name: Binary Sensor (routing)
Class Hierarchy: 04 : 20 : 01
Command Class Base: 30
Command Versions: 20v1 80v1 84v1 85v1 86v1 70v1 8Ev1 8Fv1 30v1 31v5 72v1 56v1 9Cv1
Multi-Endpoint Types: - none -
Multi-Endpoint Classes: - none -
Multi-Instance Counts: - none -
Features: routing, battery, beaming, waking
Neighbors: 1, 6
Associations: 1:[1] 2:[1] 3:[1]
Config Values: 1:10 6:30 8:0 9:200 12:0 20:15 24:0 40:200 42:0 60:10 62:900 64:0 66:0 80:10 81:50 82:100 83:1000 86:18 87:28 89:1


But this one is mostly in order with some parameters out of order:

Code: Select all
  Z-Wave                          Indigo Device "Motion Sensor Studio" Z-Wave Properties:
Indigo Z-Wave Version: 1.0.350
Node ID: 3
Model: Motion Sensor (FGMS001)
Model ID: 08001001
Manufacturer: Fibaro System
Manufacturer ID: 010F
Protocol Version: 3.67
Application Version: 2.06
Model Definition Version: 1
Library Type: 3
Class Name: Binary Sensor (routing)
Class Hierarchy: 04 : 20 : 01
Command Class Base: 30
Command Versions: 20v1 80v1 84v1 85v1 86v1 70v1 8Ev1 8Fv1 30v1 31v5 72v1 56v1 9Cv1
Multi-Endpoint Types: - none -
Multi-Endpoint Classes: - none -
Multi-Instance Counts: - none -
Features: routing, battery, beaming, waking
Neighbors: 4, 5, 6
Associations: 1:[1] 2:[1] 3:[1]
Config Values: 64:0 1:8 66:0 6:30 8:0 9:200 12:0 80:10 81:100 82:100 83:1000 20:15 86:20 87:26 24:0 89:1 40:200 42:0 60:10 62:900


Is this normal? Shouldn't all the parameters be listed in numeric ascending order? This makes it difficult to compare parameters to see any differences. Thanks!

Posted on
Mon May 04, 2015 11:28 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Parameters out of order on some devices

As this data is stored in a dictionary it is not stored in any alphabetically order in python.
... and a simple "print" will just show them in any order. BUT Matt/Jay could add a json.dumps with sort to it.

Karl

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 12 guests

cron