Closed Phillycityboy closed 4 months ago
Greetings. Still no solve for this. But I did some digging and found that it seems to be getting the value which is in Fahrenheit and using the Celsius to Fahrenheit calculation and then it comes up with this rather large value. I'm just not sure where to look to try to correct this. Anyone have any feedback?
The temperature is being read as 68C instead of 68F and then converted to F resulting in the 154 number/higher number.
Information picked from MQTT correctly.
This has been corrected with the latest update.
Govee Device SKU
H5051
Govee2MQTT Version
2024.04.29-30cf7732
Describe the issue
Addon states device is showing 173° when the actual temperature in the Govee app is 77.5°
Startup Diagnostics
[2024-05-08T17:27:25 INFO govee::service::state] requesting update via Platform API Living Room TV Lights (B3:49:C2:33:34:38:39:65 H605B) Some(DeviceState { on: false, light_on: Some(false), online: Some(true), kelvin: 0, color: DeviceColor { r: 0, g: 255, b: 0 }, brightness: 100, scene: None, source: "PLATFORM API", updated: 2024-05-08T21:12:18.757980938Z }) [2024-05-08T17:33:25 INFO govee::service::state] requesting update via Platform API Bedroom Oil Diffuser (13:5E:60:74:F4:7F:B3:97 H7162) Some(DeviceState { on: false, light_on: None, online: Some(true), kelvin: 0, color: DeviceColor { r: 0, g: 0, b: 0 }, brightness: 0, scene: None, source: "PLATFORM API", updated: 2024-05-08T21:18:19.513681807Z }) [2024-05-08T17:42:25 INFO govee::service::state] requesting update via Platform API Dining Room Sensor (66:CC:E3:60:59:21:20:EA H5051) Some(DeviceState { on: false, light_on: None, online: Some(true), kelvin: 0, color: DeviceColor { r: 0, g: 0, b: 0 }, brightness: 0, scene: None, source: "PLATFORM API", updated: 2024-05-08T21:27:23.689094170Z }) [2024-05-08T17:42:26 INFO govee::service::state] requesting update via Platform API Bedroom TV Lights (99:EC:78:9C:E7:09:55:58 H6104) Some(DeviceState { on: false, light_on: Some(false), online: Some(true), kelvin: 0, color: DeviceColor { r: 0, g: 0, b: 0 }, brightness: 136, scene: None, source: "PLATFORM API", updated: 2024-05-08T21:27:24.160224569Z }) [2024-05-08T17:42:26 WARN govee::cache] request https://openapi.api.govee.com/router/api/v1/device/scenes status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/scenes response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/scenes failed with code 400 Bad Request devices not support this instance. Full response: {"requestId":"uuid","msg":"devices not support this instance","code":400,"payload":{"sku":"H6104","device":"99:EC:78:9C:E7:09:55:58"}}, will use prior results [2024-05-08T17:42:27 ERROR govee::hass_mqtt::light] Unable to list scenes for Bedroom TV Lights (99:EC:78:9C:E7:09:55:58 H6104): list_scene_names: get_scene_caps: request https://openapi.api.govee.com/router/api/v1/device/scenes status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/scenes response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/scenes failed with code 400 Bad Request devices not support this instance. Full response: {"requestId":"uuid","msg":"devices not support this instance","code":400,"payload":{"sku":"H6104","device":"99:EC:78:9C:E7:09:55:58"}} [2024-05-08T17:48:27 INFO govee::service::state] requesting update via Platform API Livingroom Lamp 1 (1A:84:D4:AD:FC:78:E2:88 H6008) Some(DeviceState { on: false, light_on: Some(false), online: None, kelvin: 4000, color: DeviceColor { r: 255, g: 205, b: 166 }, brightness: 100, scene: None, source: "AWS IoT API", updated: 2024-05-08T21:33:10.287874407Z }) [2024-05-08T17:48:27 INFO govee::service::state] requesting update via Platform API Bedroom Lamp 2 (99:88:D4:AD:FC:93:81:CE H6008) Some(DeviceState { on: true, light_on: Some(true), online: None, kelvin: 2700, color: DeviceColor { r: 255, g: 166, b: 87 }, brightness: 48, scene: None, source: "AWS IoT API", updated: 2024-05-08T21:33:18.348273071Z }) [2024-05-08T17:48:28 INFO govee::service::state] requesting update via Platform API Bedroom Lamp 1 (2C:9E:D4:AD:FC:93:25:1E H6008) Some(DeviceState { on: true, light_on: Some(true), online: None, kelvin: 2700, color: DeviceColor { r: 255, g: 166, b: 87 }, brightness: 48, scene: None, source: "AWS IoT API", updated: 2024-05-08T21:33:17.759442976Z }) [2024-05-08T17:48:30 INFO govee::service::state] requesting update via Platform API Living Room TV Lights (B3:49:C2:33:34:38:39:65 H605B) Some(DeviceState { on: false, light_on: Some(false), online: None, kelvin: 0, color: DeviceColor { r: 0, g: 255, b: 0 }, brightness: 100, scene: None, source: "AWS IoT API", updated: 2024-05-08T21:32:47.181602991Z }) [2024-05-08T17:48:33 INFO govee::service::state] requesting update via Platform API Bedroom Oil Diffuser (13:5E:60:74:F4:7F:B3:97 H7162) Some(DeviceState { on: false, light_on: None, online: Some(true), kelvin: 0, color: DeviceColor { r: 0, g: 0, b: 0 }, brightness: 0, scene: None, source: "PLATFORM API", updated: 2024-05-08T21:33:25.869605843Z }) [2024-05-08T17:48:34 INFO govee::service::state] requesting update via Platform API Livingroom Lamp 2 (C0:B8:D4:AD:FC:B0:D5:DB H6008) Some(DeviceState { on: false, light_on: Some(false), online: None, kelvin: 4000, color: DeviceColor { r: 255, g: 205, b: 166 }, brightness: 100, scene: None, source: "AWS IoT API", updated: 2024-05-08T21:33:10.268338552Z }) [2024-05-08T17:57:35 INFO govee::service::state] requesting update via Platform API Dining Room Sensor (66:CC:E3:60:59:21:20:EA H5051) Some(DeviceState { on: false, light_on: None, online: Some(true), kelvin: 0, color: DeviceColor { r: 0, g: 0, b: 0 }, brightness: 0, scene: None, source: "PLATFORM API", updated: 2024-05-08T21:42:26.106039469Z }) [2024-05-08T17:57:35 INFO govee::service::state] requesting update via Platform API Bedroom TV Lights (99:EC:78:9C:E7:09:55:58 H6104) Some(DeviceState { on: false, light_on: Some(false), online: Some(true), kelvin: 0, color: DeviceColor { r: 0, g: 0, b: 0 }, brightness: 136, scene: None, source: "PLATFORM API", updated: 2024-05-08T21:42:26.219177872Z }) [2024-05-08T17:57:35 WARN govee::cache] request https://openapi.api.govee.com/router/api/v1/device/scenes status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/scenes response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/scenes failed with code 400 Bad Request devices not support this instance. Full response: {"requestId":"uuid","msg":"devices not support this instance","code":400,"payload":{"sku":"H6104","device":"99:EC:78:9C:E7:09:55:58"}}, will use prior results [2024-05-08T17:57:35 ERROR govee::hass_mqtt::light] Unable to list scenes for Bedroom TV Lights (99:EC:78:9C:E7:09:55:58 H6104): list_scene_names: get_scene_caps: request https://openapi.api.govee.com/router/api/v1/device/scenes status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/scenes response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/scenes failed with code 400 Bad Request devices not support this instance. Full response: {"requestId":"uuid","msg":"devices not support this instance","code":400,"payload":{"sku":"H6104","device":"99:EC:78:9C:E7:09:55:58"}} s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started GOVEE_API_KEY=REDACTED GOVEE_LAN_BROADCAST_GLOBAL=true GOVEE_MQTT_HOST=core-mosquitto GOVEE_TEMPERATURE_SCALE=F GOVEE_EMAIL=REDACTED GOVEE_PASSWORD=REDACTED GOVEE_MQTT_PASSWORD=REDACTED GOVEE_LAN_BROADCAST_ALL=true GOVEE_MQTT_USER=addons GOVEE_MQTT_PORT=1883 ++ cd /app ++ exec /app/govee serve [2024-05-08T18:07:55 INFO govee::commands::serve] Starting service. version 2024.04.29-30cf7732 [2024-05-08T18:07:55 INFO govee::commands::serve] Querying platform API for device list [2024-05-08T18:07:55 INFO govee::commands::serve] Querying undocumented API for device + room list [2024-05-08T18:07:56 INFO govee::service::iot] Connected to IoT: CONNACK code 0: Connection Accepted. [2024-05-08T18:07:56 INFO govee::commands::serve] Starting LAN discovery [2024-05-08T18:07:56 INFO govee::service::iot] IoT (re)connected with status CONNACK code 0: Connection Accepted. [2024-05-08T18:07:56 INFO govee::commands::serve] Waiting 10 seconds for LAN API discovery [2024-05-08T18:08:06 INFO govee::commands::serve] Devices returned from Govee's APIs [2024-05-08T18:08:06 INFO govee::commands::serve] Bedroom Lamp 1 (2C:9E:D4:AD:FC:93:25:1E H6008) [2024-05-08T18:08:06 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true [2024-05-08T18:08:06 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=None [2024-05-08T18:08:06 INFO govee::commands::serve] Undoc: room=Some("Bedroom") supports_iot=true ble_only=false [2024-05-08T18:08:06 INFO govee::commands::serve] [2024-05-08T18:08:06 INFO govee::commands::serve] Living Room TV Lights (B3:49:C2:33:34:38:39:65 H605B) [2024-05-08T18:08:06 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true [2024-05-08T18:08:06 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=Some(0..24) [2024-05-08T18:08:06 INFO govee::commands::serve] Undoc: room=Some("Living Room") supports_iot=true ble_only=false [2024-05-08T18:08:06 INFO govee::commands::serve] [2024-05-08T18:08:06 INFO govee::commands::serve] Dining Room Sensor (66:CC:E3:60:59:21:20:EA H5051) [2024-05-08T18:08:06 INFO govee::commands::serve] Platform API: devices.types.thermometer. supports_rgb=false supports_brightness=false [2024-05-08T18:08:06 INFO govee::commands::serve] color_temp=None segment_rgb=None [2024-05-08T18:08:06 INFO govee::commands::serve] Undoc: room=None supports_iot=false ble_only=true [2024-05-08T18:08:06 INFO govee::commands::serve] [2024-05-08T18:08:06 INFO govee::commands::serve] H5075_BD99 (E8:30:A4:C1:38:D8:BD:99 H5075) [2024-05-08T18:08:06 INFO govee::commands::serve] Undoc: room=None supports_iot=false ble_only=true [2024-05-08T18:08:06 WARN govee::commands::serve] Unknown device type. Cannot map to Home Assistant. [2024-05-08T18:08:06 INFO govee::commands::serve] [2024-05-08T18:08:06 INFO govee::commands::serve] Bedroom Oil Diffuser (13:5E:60:74:F4:7F:B3:97 H7162) [2024-05-08T18:08:06 INFO govee::commands::serve] Platform API: devices.types.aroma_diffuser. supports_rgb=false supports_brightness=false [2024-05-08T18:08:06 INFO govee::commands::serve] color_temp=None segment_rgb=None [2024-05-08T18:08:06 INFO govee::commands::serve] Undoc: room=None supports_iot=true ble_only=false [2024-05-08T18:08:06 INFO govee::commands::serve] [2024-05-08T18:08:06 INFO govee::commands::serve] Livingroom Lamp 1 (1A:84:D4:AD:FC:78:E2:88 H6008) [2024-05-08T18:08:06 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true [2024-05-08T18:08:06 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=None [2024-05-08T18:08:06 INFO govee::commands::serve] Undoc: room=Some("Living Room") supports_iot=true ble_only=false [2024-05-08T18:08:06 INFO govee::commands::serve] [2024-05-08T18:08:06 INFO govee::commands::serve] Bedroom TV Lights (99:EC:78:9C:E7:09:55:58 H6104) [2024-05-08T18:08:06 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true [2024-05-08T18:08:06 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=None [2024-05-08T18:08:06 INFO govee::commands::serve] Undoc: room=Some("Bedroom") supports_iot=true ble_only=false [2024-05-08T18:08:06 INFO govee::commands::serve] [2024-05-08T18:08:06 INFO govee::commands::serve] Bedroom Lamp 2 (99:88:D4:AD:FC:93:81:CE H6008) [2024-05-08T18:08:06 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true [2024-05-08T18:08:06 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=None [2024-05-08T18:08:06 INFO govee::commands::serve] Undoc: room=Some("Bedroom") supports_iot=true ble_only=false [2024-05-08T18:08:06 INFO govee::commands::serve] [2024-05-08T18:08:06 INFO govee::commands::serve] Livingroom Lamp 2 (C0:B8:D4:AD:FC:B0:D5:DB H6008) [2024-05-08T18:08:06 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true [2024-05-08T18:08:06 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=None [2024-05-08T18:08:06 INFO govee::commands::serve] Undoc: room=Some("Living Room") supports_iot=true ble_only=false [2024-05-08T18:08:06 INFO govee::commands::serve] [2024-05-08T18:08:06 INFO govee::service::http] http server addr is 0.0.0.0:8056 [2024-05-08T18:08:13 WARN govee::cache] request https://openapi.api.govee.com/router/api/v1/device/scenes status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/scenes response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/scenes failed with code 400 Bad Request devices not support this instance. Full response: {"requestId":"uuid","msg":"devices not support this instance","code":400,"payload":{"sku":"H6104","device":"99:EC:78:9C:E7:09:55:58"}}, will use prior results [2024-05-08T18:08:13 ERROR govee::hass_mqtt::light] Unable to list scenes for Bedroom TV Lights (99:EC:78:9C:E7:09:55:58 H6104): list_scene_names: get_scene_caps: request https://openapi.api.govee.com/router/api/v1/device/scenes status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/scenes response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/scenes failed with code 400 Bad Request devices not support this instance. Full response: {"requestId":"uuid","msg":"devices not support this instance","code":400,"payload":{"sku":"H6104","device":"99:EC:78:9C:E7:09:55:58"}} [2024-05-08T18:08:14 INFO govee::service::hass] Wait 3s for hass to settle on 60 entity configs [2024-05-08T18:08:17 INFO govee::service::hass] MQTT connected with status=CONNACK code 0: Connection Accepted.
Additional Logs
No response
Home Assistant Logs
No response
Anything else?
No response