homebridge-tahoma icon indicating copy to clipboard operation
homebridge-tahoma copied to clipboard

[Local API] Error 400 Unknown object. (UNSPECIFIED_ERROR)

Open dubocr opened this issue 2 years ago • 14 comments

Using the local API, I get Error 400 Unknown object. (UNSPECIFIED_ERROR)

dubocr avatar Sep 19 '22 11:09 dubocr

@qelanhari you said the error disappeared suddenly ?

dubocr avatar Sep 19 '22 11:09 dubocr

Nope, it was just that i reduced back the refreshperiod. Still got it when it does refresh.

qelanhari avatar Sep 19 '22 11:09 qelanhari

@IngmarStein @qelanhari

Full device refresh is not yet available on Local API : https://github.com/Somfy-Developer/Somfy-TaHoma-Developer-Mode/issues/26.

Until supported, the error could be ignored.

dubocr avatar Sep 19 '22 11:09 dubocr

Can we use the setup endpoint instead ? :-p

qelanhari avatar Sep 19 '22 11:09 qelanhari

What's the consequence of this API not being available, i.e. what feature requires full device refresh?

IngmarStein avatar Sep 19 '22 15:09 IngmarStein

This endpoint request all devices to refresh their states.

This is used for devices that were operated locally (manually or by remote control) but don't report their states to the controller (bridge).

With io-homecontrol, devices could be actuators or sensors (or both). actuators receive radio orders but don't notify their states. sensors notify their states.

In the case a device (eg. a garage door) is actuator only, if it is operated locally (eg. with radio remote control) the OpenClosed state of the device is updated internally but not reported (notified) to the controller (the bridge).

So we have to periodically refresh the device states to make sure bridge (and so homebridge) is up to date.

Because of this limitation on actuators, manufacturers generally implements new devices as actuator + sensor to let them notify their states. But it is not the case for all devices, particularly old one.

Setup endpoint just retrieve the full configuration from the bridge. But as explained above, even the bridge is not up to date in this case. (getting the fresh data from the bridge is done with the fetch request made every 10 seconds).

dubocr avatar Sep 19 '22 20:09 dubocr

There hasn't been any activity on this issue recently. Please make sure to update to the latest Homebridge TaHoma version to see if that solves the issue. This issue will be closed in case of inactivity.

github-actions[bot] avatar Oct 20 '22 03:10 github-actions[bot]

Have the same issue:

image

PrzemyslawKlys avatar Nov 14 '22 11:11 PrzemyslawKlys

@IngmarStein @qelanhari

Full device refresh is not yet available on Local API : Somfy-Developer/Somfy-TaHoma-Developer-Mode#26.

Until supported, the error could be ignored.

@dubocr I have the same „issue“ or better annoyance. I understand the limitations of the local API here but would it be possible to hide that message in the homebridge logs for local API configuration?

MirkoKas avatar Dec 20 '22 17:12 MirkoKas

Because it might take a while before this is supported by the local API, maybe catch and report accordingly in the console until then? Include URL to this issue.

piejanssens avatar Jan 09 '23 12:01 piejanssens

Same issue here. Would be nice to hide this from the Logs until supported.

FortuneV13 avatar Jan 09 '23 13:01 FortuneV13

Bonjour Romain, c’est vrai que ce serait bien de pouvoir masquer ce message qui pollue les logs

Tontonpat avatar Jan 21 '23 12:01 Tontonpat

Bonjour @dubocr est ce possible du supprimer ce message qui pollue les logs?

Tontonpat avatar Nov 10 '23 12:11 Tontonpat