Open RP70DP opened 2 years ago
Hello,
Is a solution available for this problem ?
@sbormann I also see this issue. looks like it is related to undefined behaviour, if the original DataPoint does not provide common.min etc., so the alias manager chooses the wrong defaults here for numbers on creating the alias. "" instead of 0
I also seem to have the same problem - here on an alias for an HM-IP device - the warnings are generated for too many data points:
2023-10-29 11:10:37.465 - warn: admin.0 (2600737) This object will not be created in future versions. Please report this to the developer. `
From HM-IP-Device
{ "type": "state", "common": { "name": "AZ_Wandtaster_Schrank1:0.DUTY_CYCLE", "role": "value", "def": false, "type": "boolean", "read": true, "write": false }, "native": { "MIN": false, "OPERATIONS": 5, "MAX": true, "FLAGS": 1, "ID": "DUTY_CYCLE", "TYPE": "BOOL", "DEFAULT": false }, "from": "system.adapter.hm-rega.1", "user": "system.user.admin", "ts": 1697651943757, "_id": "hm-rpc.5.000193C99D51C1.0.DUTY_CYCLE", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }
Alias-Device:
{ "common": { "alias": { "id": "hm-rpc.5.000193C99D51C1.0.DUTY_CYCLE", "read": "", "write": "" }, "name": "DUTY_CYCLE", "role": "value", "type": "boolean", "unit": "", "min": "", "max": "", "read": true, "write": false }, "native": {}, "type": "state", "from": "system.adapter.admin.0", "user": "system.user.admin", "ts": 1698574237465, "_id": "alias.0.AZ_Wandtaster_Schrank1.DUTY_CYCLE", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }
Version 1.2.6 of Alias-Manager
Alias:
Data: