BOOMER74 / node-red-contrib-mihome

Add nodes to get data from devices connected to Mi Home
MIT License
2 stars 0 forks source link

Some TH Monitors stopped reporting data "cannot find last data for temperature or humidity" #9

Closed mcbyte-it closed 2 years ago

mcbyte-it commented 2 years ago

Common Info

Describe the bug

I configured my 5 sensors to report to Google Assistant Sensor element, and at first they worked all fine, few days later I found that not all TH Monitors are giving out data anymore. They give an error message: Mi Home: TH Monitor: cannot find last data for temperature or humidity

image

I tried deleting then re-pairing the sensor, nothing. I even replaced the battery on one sensor to try, also nothing

The Devices node report all 5 sensors and the base Mi Gateway as online, and it is collecting and showing data on my phone.

To Reproduce

Steps/conditions to reproduce: connect a TH Monitor with correct "did", nothing comes out

Expected behavior

TH Monitor extracts data for all connected sensors

Additional context

Worked for few days, then stopped

BOOMER74 commented 2 years ago

Hello. I have checked all my devices and they are working properly. As I know TH Monitor 2 sending data only if they changed but don't believe they hasn't changing in more than 2 days (this interval is required to find the latest data). You can edit monitor logic to check the problem by changing this line https://github.com/BOOMER74/node-red-contrib-mihome/blob/master/nodes/mihome-th-monitor.js#L4 (by default this file is stored in user's home directory, e.g. ~/.node-red/node_modules/node-red-contrib-mihome/nodes/mihome-th-monitor.js), change the "2" to higher value (e.g. 7) and restart Node-RED.

stale[bot] commented 2 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.