Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value for RSSI_DEVICE > (max) 127 #346

Closed
nobl opened this issue Jun 21, 2021 · 13 comments
Closed

Value for RSSI_DEVICE > (max) 127 #346

nobl opened this issue Jun 21, 2021 · 13 comments

Comments

@nobl
Copy link

nobl commented Jun 21, 2021

Describe the bug
hm-rpc.1 State value to set for "hm-rpc.1.x.0.RSSI_DEVICE" has value "128" greater than max "127"

Versions:

  • hm-rpc version: 1.14.41
  • hm-rega version: 3.0.26
  • JS-Controller version: 5.1.3
  • Node version: 12.21.0
  • Operating system:
  • CCU model: raspberrymatic
  • CCU firmware: 3.57.5.2021052

Additional context
HM-IP Devices showing this issue: HmIP-DBB, HmIP-BSL (there might be more - but those two I can confirm)

Had the devices recreated in ioBroker - same problem.

@foxriver76
Copy link
Collaborator

Are there also values greater than 128? And could you please show the raw of the object.

@nobl
Copy link
Author

nobl commented Jun 22, 2021

I haven't seen values > 128 so far.
But quite possible it is the same issue for all RSSI states and the min is on -128 already.

{
  "type": `"state",`
  "common": {
    "def": 0,
    "type": "number",
    "read": true,
    "write": false,
    "min": -128,
    "max": 127,
    "unit": "dBm",
    "role": "value.rssi",
    "name": "x:y.RSSI_DEVICE"
  },
  "native": {
    "MIN": -128,
    "OPERATIONS": 5,
    "MAX": 127,
    "FLAGS": 1,
    "ID": "RSSI_DEVICE",
    "TYPE": "INTEGER",
    "DEFAULT": 0
  },
  "from": "system.adapter.hm-rega.0",
  "user": "system.user.admin",
  "ts": 1624288036371,
  "_id": "hm-rpc.1.x.0.RSSI_DEVICE",
  "acl": {
    "object": 1636,
    "state": 1636,
    "owner": "system.user.admin",
    "ownerGroup": "system.group.administrator"
  }
}

@KoMa1978
Copy link

KoMa1978 commented Aug 3, 2021

Same happened today for a "HmIP-ASIR".

@Herbert-Testmann
Copy link

hm-rpc.1 2021-08-09 19:32:03.802 warn State value to set for "hm-rpc.1.0007D5699E96BA.0.RSSI_DEVICE" has value "128" greater than max "127"
hm-rpc.1 2021-08-09 19:07:14.349 warn State value to set for "hm-rpc.1.0010DD8989804A.0.RSSI_DEVICE" has value "128" greater than max "127"
hm-rpc.1 2021-08-09 19:04:23.297 warn State value to set for "hm-rpc.1.00255BE98A84E1.0.RSSI_DEVICE" has value "128" greater than max "127"
hm-rpc.1 2021-08-09 19:04:19.472 warn State value to set for "hm-rpc.1.00255BE98A84E1.0.RSSI_DEVICE" has value "128" greater than max "127"
hm-rpc.1 2021-08-09 19:04:17.316 warn State value to set for "hm-rpc.1.00255BE98A84E1.0.RSSI_DEVICE" has value "128" greater than max "127"
hm-rpc.1 2021-08-09 19:04:09.560 warn State value to set for "hm-rpc.1.00255BE98A84E1.0.RSSI_DEVICE" has value "128" greater than max "127"
hm-rpc.1 2021-08-09 19:04:06.436 warn State value to set for "hm-rpc.1.00255BE98A84E1.0.RSSI_DEVICE" has value "128" greater than max "127"
hm-rpc.1 2021-08-09 19:04:05.951 warn State value to set for "hm-rpc.1.00255BE98A84E1.0.RSSI_DEVICE" has value "128" greater than max "127"
hm-rpc.1 2021-08-09 19:04:02.756 warn State value to set for "hm-rpc.1.00255BE98A84E1.0.RSSI_DEVICE" has value "128" greater than max "127"
hm-rpc.1 2021-08-09 19:03:31.475 warn State value to set for "hm-rpc.1.000A9A499F57DF.0.RSSI_DEVICE" has value "128" greater than max "127"

@ahnungsbefreit
Copy link

I have the same issue for various devices...

@foxriver76
Copy link
Collaborator

Probably the best way to get this fixed from my experience is if eq3 is contacted directly https://www.eq-3.de/service.html because GitHub issues seem to be mainly ignored.

@Berchemer
Copy link

Berchemer commented Nov 26, 2021

Same here:

Only HMIP devices seem to be affected,

hm.rega is "v3.0.33"
hm.rpc is "v1.14.50"

I didn't see such warning messages, before I added an HMIP-AccesPoint into the Network.
Could this be the cause of the problem?

@baerenwaldfreund
Copy link

baerenwaldfreund commented Nov 28, 2021

Also ich bekomme die Meldungen auch noch immer, obwohl kein Gerät eine RSSI von >127 hat. Alle liegen dauerhaft deutlich unter 100. Ich meine, dass die Meldungen erst mit dem admin-adapter 5 aufgetreten sind.

EDIT:
Manchmal verbinden sich einzelne Geräte kurzzeitig mit einem HMIP-HAP. Dann wird ein RSSI von 128 angezeigt. Kurze Zeit später verbinden sich diese wieder mit der Zentrale und die RSSI ist wieder deutlich unter 100. Trotzdem ist die Warnung nervig und unnötig. Bei einer Warnung, sollte man ja was unternehmen, um diese weg zu bekommen. Aber was soll in dem Fall unternommen werden?

@JayVee2
Copy link

JayVee2 commented Dec 28, 2021

Ich kann bestätigen, dass das Problem erst mit Ergänzen eines HmiP-HAP auftritt.

@foxriver76
Copy link
Collaborator

Das sollte man mal dringend an eq3 weitergeben, im Adapter kann ich das nicht handhaben außer dirty 128 abzulehnen o.ä. da dies aber wohl eindeutig nur mit einem HMIP HAP passiert, ist da sicher ein Fehler Seitens eq3

@helje5
Copy link

helje5 commented Dec 28, 2021

I think the RSSI values are reported as UInt8, i.e. w/ the high bit set for negative values. E.g. 211 is actually -45 (dBm).

And there seem to be two special values:

  • 0: UNREACH=false, but CONFIG_PENDING=true
  • 1: Seems to mean "no value", e.g. if UNREACH=true or if the device has no sender

@Berchemer
Copy link

Same here:

Only HMIP devices seem to be affected,

hm.rega is "v3.0.33" hm.rpc is "v1.14.50"

I didn't see such warning messages, before I added an HMIP-AccesPoint into the Network. Could this be the cause of the problem?

Supplement:
RaspberryMatic v3.61.5.20211113 is on my CCU3.
HMIP-Hap has v2.4.12.

@baerenwaldfreund
Copy link

baerenwaldfreund commented Jan 27, 2022

Die Ausgabe der Warnung könnte man doch ganz einfach programmtechnisch begegnen:

if (RSSI==128) keine Warnung ausgeben;

bzw.

if ((RSSI>127) && (RSSI!=128)) Warnung ausgeben;

bzw.

if (RSSI>128) Warnung ausgeben;

Die Warnungen müllen immer fleißig den Log zu... :-/

Spricht was dagegen?

EDIT: Der RSSI von 128 soll nur anzeigen, dass das Gerät über einen HAP verbunden ist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants