iklein99 / homebridge-smartthings

This is a plugin to Homebridge to connect your Smartthings network into Apple Home Kit.
Apache License 2.0
150 stars 52 forks source link

Plugin seems confused b/w F and C #247

Closed danberger closed 5 months ago

danberger commented 5 months ago

Describe The Bug: I am using this plugin to connect two ACs to Homekit. Whenever I load the plugin, I get an error and the dial’s digits seem to be converting F to C.

I have tried switching F and C on both the AC unit and in the AC widget in HomeKit.

Logs:

1/15/2024, 1:02:40 PM SmartThings Ik BridgeERROR[SmartThings Ik Bridge 5B3C@Air Conditioner@@Target Temperature] characteristic was supplied illegal value: number 61 exceeded maximum of 38
1/15/2024, 1:02:40 PM SmartThings Ik BridgeERROR[SmartThings Ik Bridge 5B3C@Air Conditioner@@Target Temperature] characteristic was supplied illegal value: number 61 exceeded maximum of 38

Plugin Config:

{
    "platform": "HomeBridgeSmartThings",
    "name": "Smartthings Plug (IK)",
    "BaseURL": "https://api.smartthings.com/v1/",
    "GarageDoorMaxPoll": 40,
    "AccessToken": "a373cfb4-4566-4ee4-aa1d-ae1f73042f9b"
}

Screenshots: IMG_9494

Environment:

josephmarino1 commented 5 months ago

Experiencing the same bug here.

iklein99 commented 5 months ago

Just published 1.5.21 to fix this. I really can't test as I don't have an AC. Please give it a shot and let me know if it solved the issue.

danberger commented 5 months ago

Just published 1.5.21 to fix this. I really can't test as I don't have an AC. Please give it a shot and let me know if it solved the issue.

NICE! It works man. Thank you!!!!