Apollon77 / ioBroker.tuya

ioBroker adapter to connect to several small and cheap Wifi devices that care connected to the Tuya Cloud and mostly use the Smartlife App/Alexa-Skill
MIT License
89 stars 23 forks source link

Bluetooth device does not deliver updates - only if app is connected or a datapoint is controlled (solution of #488 does not fix it) #572

Closed c1328 closed 3 months ago

c1328 commented 8 months ago

Describe the bug
A bluetooth device does only deliver updates if tuya app is opened or any datapoint is controlled e.g. by a script. This seems very similar as #488 but the described method does not help. IoT sync is also configured but it does not change anything.

The bluetooth device is connected via a BT gateway.

Expected behavior
Get updated values (e.g. current temperature) from device within defined poll interval.

Screenshots & Logfiles
I try to deliver a log file soon.

Versions:

Additional context
The workaround is to control a datapoint with the existing value every 5 minutes to get all other values updated.

Apollon77 commented 8 months ago

Did you tried https://github.com/Apollon77/ioBroker.tuya?tab=readme-ov-file#devices-that-do-not-deliver-up-to-date-data ?

c1328 commented 8 months ago

Yes I noticed that in #488 but as far as I could see it has no effect for me.

Apollon77 commented 8 months ago

Then please provide a full debug log, but I would assume that the BLE Hub do not expose the sub device data ... is the cloud having then and getting them via MQTT?

c1328 commented 3 months ago

Hi Apollon77, since some time I use the workaround to "write/control" some irrelevant datapoint every 5 min to receive updated temperature values. That works so I would not spend more effort here.

Yes, I use both, Tuya Cloud and MQTT sync.

Gracias!