ioBroker.hm-rpc icon indicating copy to clipboard operation
ioBroker.hm-rpc copied to clipboard

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

Open mbhomie007 opened this issue 1 year ago • 17 comments

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 avatar Jan 17 '23 15:01 mbhomie007

{ "_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" } }

mbhomie007 avatar Jan 18 '23 15:01 mbhomie007

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.

foxriver76 avatar Jan 18 '23 16:01 foxriver76

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

image

image

image

image

mbhomie007 avatar Jan 18 '23 16:01 mbhomie007

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

  • HmIP-BROLL
  • HmIP-MP3P
  • HmIPW-DRBL4

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

JoeAtGitHub avatar Apr 18 '23 14:04 JoeAtGitHub

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

pafade89 avatar Apr 25 '23 21:04 pafade89

{ "_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

foxriver76 avatar May 05 '23 09:05 foxriver76

@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" } }

mbhomie007 avatar May 05 '23 20:05 mbhomie007

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

foxriver76 avatar May 05 '23 20:05 foxriver76

And the warning is logged by hm-rpc itself?

foxriver76 avatar May 05 '23 20:05 foxriver76

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

Screenshot_20230505_222616_Chrome.jpg

Set State 0

mbhomie007 avatar May 05 '23 20:05 mbhomie007

And the warning is logged by hm-rpc itself?

Many warnings in Log.

Screenshot_20230505_222515_Chrome.jpg

mbhomie007 avatar May 05 '23 20:05 mbhomie007

@foxriver76

Any other informations required?

mbhomie007 avatar May 06 '23 13:05 mbhomie007

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

foxriver76 avatar May 07 '23 10:05 foxriver76

It is always writing string.

Thank you for your great support. 😊

mbhomie007 avatar May 07 '23 11:05 mbhomie007

@foxriver76

I hope you can fix the issue without much trouble.

mbhomie007 avatar May 10 '23 12:05 mbhomie007

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

Cheers P

pafade89 avatar Jun 22 '23 19:06 pafade89

Hello @foxriver76

still the same issue in log with new version 1.15.19

Can you fix this topic?

mbhomie007 avatar Aug 09 '23 21:08 mbhomie007