ioBroker / ioBroker.hm-rpc

Connects HomeMatic Interface-Processes to ioBroker
www.iobroker.org
MIT License
60 stars 25 forks source link

hm-rpc.0.CUX2801500.1.SET_STATE" has to be type "number" but received type "string" #803

Open mbhomie007 opened 1 year ago

mbhomie007 commented 1 year ago

State value to set for "hm-rpc.0.CUX2801500.1.SET_STATE" has to be type "number" but received type "string"

CUXD device: Philips hue RGBW-Control

hm-rpc v1.15.16 hm-rega v3.0.40

mbhomie007 commented 1 year ago

{ "_id": "hm-rpc.0.CUX2801500.1", "type": "channel", "common": { "name": "Schlafzimmer Bettbeleuchtung" }, "native": { "ADDRESS": "CUX2801500:1", "AES_ACTIVE": 0, "FLAGS": 1, "VERSION": 1, "TYPE": "VIR-LG-RGBW-DIM-CH", "PARENT": "CUX2801500", "PARENT_TYPE": "VIR-LG-RGBW-DIM", "DIRECTION": 0, "INDEX": 1, "LINK_SOURCE_ROLES": "", "LINK_TARGET_ROLES": "", "PARAMSETS": [ "MASTER", "VALUES" ] }, "from": "system.adapter.hm-rega.0", "user": "system.user.admin", "ts": 1613771636252, "acl": { "object": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }

foxriver76 commented 1 year ago

I am not that familiar with CUXD but aren't you able to define the datatype when creating devices there? The object hm-rpc.0.CUX2801500.1.SET_STATE probably has NATIVE.TYPE defined as a number like.

mbhomie007 commented 1 year ago

Sorry, found no setting to define the datatype. Any other idea?

image

image

image

image

JoeAtGitHub commented 1 year ago

Hi folks, this message is not limited to CuXD. I also get it for

So maybe it IS a bug in the adapter? // Joe

pafade89 commented 1 year ago

Hello everyone, I have had the error since the last ccu update to 3.69.7.105. The error is independent of CuXD.

State value to set for "hm-rpc.0.001A5A4998C17A.11.SECTION" has to be type "number" but received type "string"

Installed adapter version: RPC 1.15.16

foxriver76 commented 1 year ago

{ "_id": "hm-rpc.0.CUX2801500.1", "type": "channel", "common": { "name": "Schlafzimmer Bettbeleuchtung" }, "native": { "ADDRESS": "CUX2801500:1", "AES_ACTIVE": 0, "FLAGS": 1, "VERSION": 1, "TYPE": "VIR-LG-RGBW-DIM-CH", "PARENT": "CUX2801500", "PARENT_TYPE": "VIR-LG-RGBW-DIM", "DIRECTION": 0, "INDEX": 1, "LINK_SOURCE_ROLES": "", "LINK_TARGET_ROLES": "", "PARAMSETS": [ "MASTER", "VALUES" ] }, "from": "system.adapter.hm-rega.0", "user": "system.user.admin", "ts": 1613771636252, "acl": { "object": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }

show this but for hm-rpc.0.CUX2801500.1.SET_STATE instead of the channel please

mbhomie007 commented 1 year ago

@foxriver76

{ "type": "state", "common": { "name": "Schlafzimmer Bettbeleuchtung RGBW:1.SET_STATE", "def": 0, "type": "number", "read": false, "write": true, "min": 0, "max": 1 }, "native": { "ID": "SET_STATE", "UNIT": "", "TAB_ORDER": 23, "OPERATIONS": 2, "FLAGS": 2, "TYPE": "FLOAT", "MIN": 0, "MAX": 1, "DEFAULT": 0 }, "from": "system.adapter.hm-rega.0", "user": "system.user.admin", "ts": 1674857636880, "_id": "hm-rpc.0.CUX2801500.1.SET_STATE", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }

foxriver76 commented 1 year ago

And what is written to the State when the Adapter Logs the Warning?

foxriver76 commented 1 year ago

And the warning is logged by hm-rpc itself?

mbhomie007 commented 1 year ago

And what is written to the State when the Adapter Logs the Warning?

Screenshot_20230505_222616_Chrome.jpg

Set State 0

mbhomie007 commented 1 year ago

And the warning is logged by hm-rpc itself?

Many warnings in Log.

Screenshot_20230505_222515_Chrome.jpg

mbhomie007 commented 1 year ago

@foxriver76

Any other informations required?

foxriver76 commented 1 year ago

is it always writing a string or also sometimes a number, if always string, I could fix it easily

mbhomie007 commented 1 year ago

It is always writing string.

Thank you for your great support. 😊

mbhomie007 commented 1 year ago

@foxriver76

I hope you can fix the issue without much trouble.

pafade89 commented 1 year ago

@foxriver76 Since the update to 1.15.18 is my log clean again. Thank you.

Cheers P

mbhomie007 commented 1 year ago

Hello @foxriver76

still the same issue in log with new version 1.15.19

Can you fix this topic?

mbhomie007 commented 1 month ago

Hallo @foxriver76

Leider ist der Log immer noch voll mit den Meldungen.

Version 2.0.0

Kannst du das bitte fixen?