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

Lost the ability to read temperature

Open jul9000 opened this issue 8 years ago • 12 comments

Hi,

I was successfully using HomeBridge with both yeelight and aqara plugins. I had no issues at all until today, when I've decided to change the location of my Xiaomi Temperature and Humidity Sensor. I also wanted to clear the temperature history within the Xiaomi Home app, so I decided to remove the device there. After doing this, I have paired it again. Unfortunately in the iOS Home app the sensor doesn't show the temperature anymore! The weird thing is that the humidity is still there, but the temperature "box" says "No answer".

I have already recreated the whole homebridge setup:

  1. removed all the files in /accessories
  2. removed all the files in /persist
  3. changed the name of the bridge in config.json The sensor showed up, shows humidity without problems, but not the temperature.

Another weird thing, is that the Xiaomi Home app shows both the humidity and temperature just fine (so the sensor itself isn't damaged).

What's wrong? Can you help me?

jul9000 avatar Jan 05 '17 20:01 jul9000

You can remove homebridge from iOS Home app, and add it again.

On 2017年1月6日 +0800 04:35, jul9000 [email protected], wrote:

Hi,

I was successfully using HomeBridge with both yeelight and aqara plugins. I had no issues at all until today, when I've decided to change the location of my Xiaomi Temperature and Humidity Sensor. I also wanted to clear the temperature history within the Xiaomi Home app, so I decided to remove the device there. After doing this, I have paired it again. Unfortunately in the iOS Home app the sensor doesn't show the temperature anymore! The weird thing is that the humidity is still there, but the temperature "box" says "No connection".

I have already recreated the whole homebridge setup:

  1. removed all the files in /accessories
  2. removed all the files in /persist
  3. changed the name of the bridge in config.json The sensor showed up, shows humidity without problems, but not the temperature.

Another weird thing, is that the Xiaomi Home app shows both the humidity and temperature just fine (so the sensor itself isn't damaged).

What's wrong? Can you help me?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/snOOrz/homebridge-aqara/issues/27, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATm2Ya7JZ-5d40Rzv8rHfmESqSXp1NfKks5rPVQPgaJpZM4LcGYg.

snOOrz avatar Jan 06 '17 07:01 snOOrz

I've already tried that multiple times, unfortunately without success:

  • tried to remove only the gateway,
  • tried to remove the entire home,
  • tried to reboot the computer hosting homebridge
  • tired to reboot my iphone

What else can I try? Is there a way to access some kind of logs? I've tried to run "homebridge -D", but nothing really happens...

jul9000 avatar Jan 06 '17 09:01 jul9000

I got two Temperature and Humidity Sensor. Always got issue with one temperature information. And the other one works well.

tru2dagame avatar Jan 06 '17 10:01 tru2dagame

Worst thing is that I had it working just fine, but suddenly it stopped working.

I've also tried to unpair and pair again the sensor with the gateway, using the Xiaomi Home app. The readings shows up just fine there, only the Apple Home app can't get the temperature. I have to say, it's frustrating ;)

It looks like homebridge is able to connect, but doesn't get the correct reading:

  • when homebridge is running the sensor status says: "no response"
  • but when homebridge isn't running the sensor status says: "unavailable"

jul9000 avatar Jan 06 '17 10:01 jul9000

I have no idea. As long as the device works in Mijia app, it should work in homebridge too.

On 2017年1月6日 +0800 18:27, jul9000 [email protected], wrote:

Worst thing is that I had it working just fine, but suddenly it stopped working.

I've also tried to unpair and pair again the sensor with the gateway, using the Xiaomi Home app. The readings shows up just fine there, only the Apple Home app can't get the temperature. I have to say, it's frustrating ;)

It looks like homebridge is able to connect, but doesn't get the correct reading:

  • when homebridge is running the sensor status says: "no answer"
  • but when homebridge isn't running the sensor status says: "unavailable"

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/snOOrz/homebridge-aqara/issues/27#issuecomment-270875208, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATm2YdH2ngjuXnEL5voJ-9jU2z3TG74Oks5rPhbdgaJpZM4LcGYg.

snOOrz avatar Jan 06 '17 13:01 snOOrz

Is it possible that negative readings causes this issue? It's quite cold right now in Poland (-12C). I've seen some reports of similar problems in other homebridge plugins.

EDIT: nope, moved the sensor inside, still the same :(

jul9000 avatar Jan 06 '17 18:01 jul9000

You are not alone, also my temperature sensor doesn't working... just the humidity.

marcotini avatar Jan 08 '17 14:01 marcotini

Yep, you can't rely on them too much. Mine was suddenly showing readings yesterday for a couple of hours, then disappeared and reappeared today... I'm wondering what's causing this? Isn't there any way to debug?

Thankfully, communication between the gateway and the Xiaomi app works fine, so all the automation can be handled there :)

jul9000 avatar Jan 08 '17 14:01 jul9000

After missing for one day. It's now back to be normal for two days. I didn't do any changes.

Best Regards, Tru

在 2017年1月6日,下午6:26,jul9000 [email protected] 写道:

Worst thing is that I had it working just fine, but suddenly it stopped working.

I've also tried to unpair and pair again the sensor with the gateway, using the Xiaomi Home app. The readings shows up just fine there, only the Apple Home app can't get the temperature. I have to say, it's frustrating ;)

It looks like homebridge is able to connect, but doesn't get the correct reading:

when homebridge is running the sensor status says: "no answer" but when homebridge isn't running the sensor status says: "unavailable" — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

tru2dagame avatar Jan 08 '17 19:01 tru2dagame

Even to me now it's magically work (the only thing I did is unplug and replug the gateway).

marcotini avatar Jan 09 '17 18:01 marcotini

I found the solution: you need to deselect the option of status (so you don't see the temperature in homepage but just in the right room where the sensor is place).

marcotini avatar Jan 16 '17 08:01 marcotini

Unfortunately, I cannot confirm this solution.

jul9000 avatar Jan 18 '17 17:01 jul9000