AlexanderBabel / homebridge-broadlink-rm

[This fork supports TV accessories] Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
46 stars 11 forks source link

PickUp temperature on other device #42

Closed g0tama closed 4 years ago

g0tama commented 4 years ago

Hi

I'm trying to configure this plugin for the air conditionner with RM mini. The ambient temperature is always the same (14°C) iand n the log I found: [10/23/2019, 9:38:15 PM] [Remote Salon] Climatisation addTemperatureCallbackToQueue (requested temperature from device, waiting)

[10/23/2019, 9:38:15 PM] [Remote Salon] Climatisation onTemperature (14)

The question is how and where the plugin take the temperature? I found in the doc the variable temperatureFilePathbut if I can and how use it. Do you know any possibility to pick up the ambiant temperature for the air conditionner directly by another device in homekit or homebridge (Broadlink A1 by exemple)?

Thanks

kiwi-cam commented 4 years ago

This makes sense. If you don't specify w1device, temperatureFilePath, or mqttURL and mqttTopic then it will attempt to get the temperature from your Broadlink device... the RM Mini doesn't include a thermometer.

Where would you like to read the temperature from? You can read from a text file, connect a w1device (like this), or an external MQTT device.

g0tama commented 4 years ago

That I think. there are any possibilities to directly read the temperature from another Broadlink device like the A1. I will test with MQTT. Do you know if this plugin launch a local MQTT broker?

Thanks for your help

kiwi-cam commented 4 years ago

No - from what I've seen in the code it's just a client.