RaresAil / homebridge-gree-ac

Apache License 2.0
3 stars 2 forks source link

Wrong temperature reading #3

Closed kmedakovic closed 3 years ago

kmedakovic commented 3 years ago

My AC shows current temperature as 45C. Actual temperature is 22C. What can be the issue?

chunheisiu commented 3 years ago

Did you set the URL for dhtService? I don't have a Raspberry Pi so I am getting 45C as well.

kmedakovic commented 3 years ago

I don’t know how to set the URL for dhtService

chunheisiu commented 3 years ago

I don’t know how to set the URL for dhtService

I believe there is a sample in the README:

{
  "platforms": [
    {
     "platform": "GreeACImplementationPlugin",
      ...,
      "dhtService": "http://localhost:55555"
    }
  ]
}
chunheisiu commented 3 years ago

@kmedakovic I have moved on to using this plugin. Hope it works for you as well. https://github.com/kongkx/homebridge-gree-air-conditioner

kmedakovic commented 3 years ago

@chunheisiu I have moved on as well and the temperature reading is correct now!

RaresAil commented 3 years ago

For the dhtService to work, you need to connect a DHT sensor to the PI and run a service which reads that value and stream it over http.

RaresAil commented 3 years ago

There is a script on how to setup the dht service for that: https://github.com/RaresAil/homebridge-gree-ac#dht-service