Since M7 I have a strange behaviour, which did not occur in M6.
I’m reading the thing configuration via REST API and parse the JSON file for some values.
There I get this data:
2022-06-21 21:30:15.892 [ERROR] [odel.script.system.fnThingInfoWakeUp] - {"channels":[{"linkedItems":[],"uid":"zwave:device:gehirn:node36:sensor_binary","id":"sensor_binary","channelTypeUID":"zwave:sensor_binary","itemType":"Switch","kind":"STATE","label":"Binary Sensor","description":"Indicates if a sensor has triggered","defaultTags":[],"properties":{"binding:*:OnOffType":"COMMAND_CLASS_SENSOR_BINARY"},"configuration":null},{"linkedItems":["num_Bath_Luminance"],"uid":"zwave:device:gehirn:node36:sensor_luminance","id":"sensor_luminance","channelTypeUID":"zwave:sensor_luminance","itemType":"Number","kind":"STATE","label":"Sensor (luminance)","description":"Indicates the current light reading","defaultTags":[],"properties":{"binding:*:DecimalType":"COMMAND_CLASS_SENSOR_MULTILEVEL;type\u003dLUMINANCE"},"configuration":null},{"linkedItems":["num_Bath_Humidity"],"uid":"zwave:device:gehirn:node36:sensor_relhumidity","id":"sensor_relhumidity","channelTypeUID":"zwave:sensor_relhumidity","itemType":"Number","kind":"STATE","label":"Sensor (relative humidity)","description":"Indicates the current relative humidity","defaultTags":[],"properties":{"binding:*:DecimalType":"COMMAND_CLASS_SENSOR_MULTILEVEL;type\u003dRELATIVE_HUMIDITY"},"configuration":{}},{"linkedItems":["num_Bath_Temp"],"uid":"zwave:device:gehirn:node36:sensor_temperature","id":"sensor_temperature","channelTypeUID":"zwave:sensor_temperature","itemType":"Number:Temperature","kind":"STATE","label":"Sensor (temperature)","description":"Indicates the current temperature","defaultTags":[],"properties":{"binding:*:QuantityType":"COMMAND_CLASS_SENSOR_MULTILEVEL;type\u003dTEMPERATURE"},"configuration":{}},{"linkedItems":[],"uid":"zwave:device:gehirn:node36:alarm_motion","id":"alarm_motion","channelTypeUID":"zwave:alarm_motion","itemType":"Switch","kind":"STATE","label":"Motion Alarm","description":"Indicates if a motion alarm is triggered","defaultTags":[],"properties":{"binding:*:OnOffType":"COMMAND_CLASS_ALARM"},"configuration":{}},{"linkedItems":["num_Bath_Sensor_Battery"],"uid":"zwave:device:gehirn:node36:battery-level","id":"battery-level","channelTypeUID":"system:battery-level","itemType":"Number","kind":"STATE","label":"Batterieladung","defaultTags":["Measurement","Energy"],"properties":{"binding:*:PercentType":"COMMAND_CLASS_BATTERY"},"configuration":{}}],"statusInfo":{"status":"ONLINE","statusDetail":"NONE"},"editable":true,"label":"Sensor Badezimmer","bridgeUID":"zwave:serial_zstick:gehirn","configuration":{"config_10_1":10.0,"wakeup_interval":3600.0,"group_1":["controller"],"group_2":[],"config_111_2":5.0,"config_112_1":2.0,"config_100_1":1.0,"config_110_1":1.0,"config_101_4":0.0,"config_102_4":0.0,"config_113_2":150000.0,"config_114_1":1.0,"config_12_1":0.0,"config_103_4":86400.0,"config_13_2":30.0,"config_14_1":0.0,"config_104_4":0.0,"config_15_1":0.0,"node_id":36},"properties":{"zwave_class_basic":"BASIC_TYPE_ROUTING_SLAVE","zwave_class_generic":"GENERIC_TYPE_SENSOR_NOTIFICATION","zwave_lastwakeup":"2022-06-21T19:30:06Z","zwave_neighbours":"4,5,7,17,18,29,47","modelId":"SHBW10000","zwave_plus_devicetype":"NODE_TYPE_ZWAVEPLUS_NODE","zwave_version":"2.2","defaultAssociations":"1","vendor":"ABUS Security-Center GmbH \u0026 Co. KG","zwave_routing":"true","zwave_beaming":"true","zwave_secure":"false","zwave_class_specific":"SPECIFIC_TYPE_NOTIFICATION_SENSOR","zwave_devicetype":"2","zwave_frequent":"false","zwave_listening":"false","manufacturerId":"0403","manufacturerRef":"0002:0001","dbReference":"1103","zwave_deviceid":"1","zwave_nodeid":"36","zwave_lastheal":"2022-06-19T12:30:10Z","zwave_plus_roletype":"ROLE_TYPE_SLAVE_SLEEPING_REPORTING","zwave_manufacturer":"1027"},"UID":"zwave:device:gehirn:node36","thingTypeUID":"zwave:abus_shbw10000_00_000"}
Looking at the same data via the API explorer I receive this:
{
"channels": [
{
"linkedItems": [],
"uid": "zwave:device:gehirn:node36:sensor_binary",
"id": "sensor_binary",
"channelTypeUID": "zwave:sensor_binary",
"itemType": "Switch",
"kind": "STATE",
"label": "Binary Sensor",
"description": "Indicates if a sensor has triggered",
"defaultTags": [],
"properties": {
"binding:*:OnOffType": "COMMAND_CLASS_SENSOR_BINARY"
},
"configuration": {}
},
{
"linkedItems": [
"num_Bath_Luminance"
],
"uid": "zwave:device:gehirn:node36:sensor_luminance",
"id": "sensor_luminance",
"channelTypeUID": "zwave:sensor_luminance",
"itemType": "Number",
"kind": "STATE",
"label": "Sensor (luminance)",
"description": "Indicates the current light reading",
"defaultTags": [],
"properties": {
"binding:*:DecimalType": "COMMAND_CLASS_SENSOR_MULTILEVEL;type=LUMINANCE"
},
"configuration": {}
},
{
"linkedItems": [
"num_Bath_Humidity"
],
"uid": "zwave:device:gehirn:node36:sensor_relhumidity",
"id": "sensor_relhumidity",
"channelTypeUID": "zwave:sensor_relhumidity",
"itemType": "Number",
"kind": "STATE",
"label": "Sensor (relative humidity)",
"description": "Indicates the current relative humidity",
"defaultTags": [],
"properties": {
"binding:*:DecimalType": "COMMAND_CLASS_SENSOR_MULTILEVEL;type=RELATIVE_HUMIDITY"
},
"configuration": {}
},
{
"linkedItems": [
"num_Bath_Temp"
],
"uid": "zwave:device:gehirn:node36:sensor_temperature",
"id": "sensor_temperature",
"channelTypeUID": "zwave:sensor_temperature",
"itemType": "Number:Temperature",
"kind": "STATE",
"label": "Sensor (temperature)",
"description": "Indicates the current temperature",
"defaultTags": [],
"properties": {
"binding:*:QuantityType": "COMMAND_CLASS_SENSOR_MULTILEVEL;type=TEMPERATURE"
},
"configuration": {}
},
{
"linkedItems": [],
"uid": "zwave:device:gehirn:node36:alarm_motion",
"id": "alarm_motion",
"channelTypeUID": "zwave:alarm_motion",
"itemType": "Switch",
"kind": "STATE",
"label": "Motion Alarm",
"description": "Indicates if a motion alarm is triggered",
"defaultTags": [],
"properties": {
"binding:*:OnOffType": "COMMAND_CLASS_ALARM"
},
"configuration": {}
},
{
"linkedItems": [
"num_Bath_Sensor_Battery"
],
"uid": "zwave:device:gehirn:node36:battery-level",
"id": "battery-level",
"channelTypeUID": "system:battery-level",
"itemType": "Number",
"kind": "STATE",
"label": "Batterieladung",
"defaultTags": [
"Measurement",
"Energy"
],
"properties": {
"binding:*:PercentType": "COMMAND_CLASS_BATTERY"
},
"configuration": {}
}
],
"statusInfo": {
"status": "ONLINE",
"statusDetail": "NONE"
},
"editable": true,
"label": "Sensor Badezimmer",
"bridgeUID": "zwave:serial_zstick:gehirn",
"configuration": {
"config_10_1": 10,
"wakeup_interval": 3600,
"group_1": [
"controller"
],
"group_2": [],
"config_111_2": 5,
"config_112_1": 2,
"config_100_1": 1,
"config_110_1": 1,
"config_101_4": 0,
"config_102_4": 0,
"config_113_2": 150000,
"config_114_1": 1,
"config_12_1": 0,
"config_103_4": 86400,
"config_13_2": 30,
"config_14_1": 0,
"config_104_4": 0,
"config_15_1": 0,
"node_id": 36
},
"properties": {
"zwave_class_basic": "BASIC_TYPE_ROUTING_SLAVE",
"zwave_class_generic": "GENERIC_TYPE_SENSOR_NOTIFICATION",
"zwave_lastwakeup": "2022-06-21T19:30:06Z",
"zwave_neighbours": "4,5,7,17,18,29,47",
"modelId": "SHBW10000",
"zwave_plus_devicetype": "NODE_TYPE_ZWAVEPLUS_NODE",
"zwave_version": "2.2",
"defaultAssociations": "1",
"vendor": "ABUS Security-Center GmbH & Co. KG",
"zwave_routing": "true",
"zwave_beaming": "true",
"zwave_secure": "false",
"zwave_class_specific": "SPECIFIC_TYPE_NOTIFICATION_SENSOR",
"zwave_devicetype": "2",
"zwave_frequent": "false",
"zwave_listening": "false",
"manufacturerId": "0403",
"manufacturerRef": "0002:0001",
"dbReference": "1103",
"zwave_deviceid": "1",
"zwave_nodeid": "36",
"zwave_lastheal": "2022-06-19T12:30:10Z",
"zwave_plus_roletype": "ROLE_TYPE_SLAVE_SLEEPING_REPORTING",
"zwave_manufacturer": "1027"
},
"UID": "zwave:device:gehirn:node36",
"thingTypeUID": "zwave:abus_shbw10000_00_000"
}
This is pretty much the same, but with one difference: The decimal values are floats, not integers as before. This breaks one of my rules.