wez / govee2mqtt

Govee2MQTT: Connect Govee lights and devices to Home Assistant
MIT License
402 stars 23 forks source link

H7105 Fan #237

Open tammyandlee opened 1 month ago

tammyandlee commented 1 month ago

Govee Device SKU

H7105

Govee2MQTT Version

2024.04.29-30cf7732

Describe the issue

Not seeing any controls for the fan just status.

Startup Diagnostics

6-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_MQTT_HOST=core-mosquitto ++ cd /app GOVEE_TEMPERATURE_SCALE=F GOVEE_EMAIL=REDACTED GOVEE_PASSWORD=REDACTED GOVEE_MQTT_PASSWORD=REDACTED GOVEE_MQTT_USER=addons GOVEE_MQTT_PORT=1883 ++ exec /app/govee serve [2024-07-09T15:34:37 INFO govee::commands::serve] Starting service. version 2024.04.29-30cf7732 [2024-07-09T15:34:37 INFO govee::commands::serve] Querying platform API for device list [2024-07-09T15:34:38 INFO govee::commands::serve] Querying undocumented API for device + room list [2024-07-09T15:34:39 INFO govee::service::iot] Connected to IoT: CONNACK code 0: Connection Accepted. [2024-07-09T15:34:39 INFO govee::commands::serve] Starting LAN discovery [2024-07-09T15:34:39 INFO govee::commands::serve] Waiting 10 seconds for LAN API discovery [2024-07-09T15:34:39 INFO govee::service::iot] IoT (re)connected with status CONNACK code 0: Connection Accepted. [2024-07-09T15:34:49 INFO govee::commands::serve] Devices returned from Govee's APIs [2024-07-09T15:34:49 INFO govee::commands::serve] Electric Kettle (40:AC:60:74:F4:5C:1D:0E H7173) [2024-07-09T15:34:49 INFO govee::commands::serve] Platform API: devices.types.kettle. supports_rgb=false supports_brightness=false [2024-07-09T15:34:49 INFO govee::commands::serve] color_temp=None segment_rgb=None [2024-07-09T15:34:49 INFO govee::commands::serve] Undoc: room=None supports_iot=true ble_only=false [2024-07-09T15:34:49 INFO govee::commands::serve] Quirk { sku: "H7173", icon: "mdi:kettle", supports_rgb: false, supports_brightness: false, color_temp_range: None, avoid_platform_api: false, ble_only: false, lan_api_capable: false, device_type: Kettle, platform_temperature_sensor_units: Some(Farenheit), platform_humidity_sensor_units: None, iot_api_supported: false, show_as_preset_buttons: Some(["Tea", "Coffee", "DIY"]) } [2024-07-09T15:34:49 INFO govee::commands::serve] [2024-07-09T15:34:49 INFO govee::commands::serve] H7105_4D3A (45:18:D0:C9:07:1D:4D:3A H7105) [2024-07-09T15:34:49 INFO govee::commands::serve] Undoc: room=None supports_iot=true ble_only=false [2024-07-09T15:34:49 WARN govee::commands::serve] Unknown device type. Cannot map to Home Assistant. [2024-07-09T15:34:49 INFO govee::commands::serve] [2024-07-09T15:34:49 INFO govee::service::http] http server addr is 0.0.0.0:8056 [2024-07-09T15:34:54 INFO govee::service::hass] Wait 700ms for hass to settle on 14 entity configs [2024-07-09T15:34:55 INFO govee::service::hass] MQTT connected with status=CONNACK code 0: Connection Accepted. [2024-07-09T15:35:09 INFO govee::service::state] requesting update via Platform API Electric Kettle (40:AC:60:74:F4:5C:1D:0E H7173) None [2024-07-09T15:35:09 INFO govee::service::state] requesting update via Platform API H7105_4D3A (45:18:D0:C9:07:1D:4D:3A H7105) None [2024-07-09T15:35:12 INFO govee::service::hass] Home Assistant status changed: offline [2024-07-09T15:35:12 INFO govee::service::hass] Wait 700ms for hass to settle on 14 entity configs [2024-07-09T15:35:26 INFO govee::service::hass] Home Assistant status changed: online [2024-07-09T15:35:26 INFO govee::service::hass] Wait 700ms for hass to settle on 14 entity configs [2024-07-09T15:36:09 INFO govee::service::state] requesting update via Platform API H7105_4D3A (45:18:D0:C9:07:1D:4D:3A H7105) None [2024-07-09T15:36:56 INFO govee::service::hass] Request Platform API State for H7105_4D3A (45:18:D0:C9:07:1D:4D:3A H7105) [2024-07-09T15:36:56 INFO govee::service::state] requesting update via Platform API H7105_4D3A (45:18:D0:C9:07:1D:4D:3A H7105) Some(DeviceState { on: false, light_on: Some(false), online: None, kelvin: 0, color: DeviceColor { r: 0, g: 0, b: 0 }, brightness: 0, scene: None, source: "AWS IoT API", updated: 2024-07-09T20:36:19.458689223Z }) [2024-07-09T15:36:56 WARN govee::service::hass] Unable to poll platform API for H7105_4D3A (45:18:D0:C9:07:1D:4D:3A H7105) [2024-07-09T15:50:47 WARN govee::service::iot] IoT disconnected with reason REASON code 7: Unknown reason [2024-07-09T15:50:48 INFO govee::service::iot] IoT (re)connected with status CONNACK code 0: Connection Accepted. [2024-07-09T16:06:43 WARN govee::service::hass] MQTT disconnected with reason=REASON code 7: Unknown reason [2024-07-09T16:06:48 INFO govee::service::hass] MQTT connected with status=CONNACK code 0: Connection Accepted. [2024-07-09T16:06:48 INFO govee::service::hass] Wait 700ms for hass to settle on 14 entity configs 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_MQTT_HOST=core-mosquitto GOVEE_TEMPERATURE_SCALE=F GOVEE_EMAIL=REDACTED GOVEE_PASSWORD=REDACTED GOVEE_MQTT_PASSWORD=REDACTED GOVEE_MQTT_USER=addons GOVEE_MQTT_PORT=1883 ++ cd /app ++ exec /app/govee serve [2024-07-09T16:07:00 INFO govee::commands::serve] Starting service. version 2024.04.29-30cf7732 [2024-07-09T16:07:00 INFO govee::commands::serve] Querying platform API for device list [2024-07-09T16:07:02 INFO govee::commands::serve] Querying undocumented API for device + room list [2024-07-09T16:07:02 INFO govee::service::iot] Connected to IoT: CONNACK code 0: Connection Accepted. [2024-07-09T16:07:02 INFO govee::commands::serve] Starting LAN discovery [2024-07-09T16:07:02 INFO govee::service::iot] IoT (re)connected with status CONNACK code 0: Connection Accepted. [2024-07-09T16:07:02 INFO govee::commands::serve] Waiting 10 seconds for LAN API discovery [2024-07-09T16:07:12 INFO govee::commands::serve] Devices returned from Govee's APIs [2024-07-09T16:07:12 INFO govee::commands::serve] H7105_4D3A (45:18:D0:C9:07:1D:4D:3A H7105) [2024-07-09T16:07:12 INFO govee::commands::serve] Undoc: room=None supports_iot=true ble_only=false [2024-07-09T16:07:12 WARN govee::commands::serve] Unknown device type. Cannot map to Home Assistant. [2024-07-09T16:07:12 INFO govee::commands::serve] [2024-07-09T16:07:12 INFO govee::commands::serve] Electric Kettle (40:AC:60:74:F4:5C:1D:0E H7173) [2024-07-09T16:07:12 INFO govee::commands::serve] Platform API: devices.types.kettle. supports_rgb=false supports_brightness=false [2024-07-09T16:07:12 INFO govee::commands::serve] color_temp=None segment_rgb=None [2024-07-09T16:07:12 INFO govee::commands::serve] Undoc: room=None supports_iot=true ble_only=false [2024-07-09T16:07:12 INFO govee::commands::serve] Quirk { sku: "H7173", icon: "mdi:kettle", supports_rgb: false, supports_brightness: false, color_temp_range: None, avoid_platform_api: false, ble_only: false, lan_api_capable: false, device_type: Kettle, platform_temperature_sensor_units: Some(Farenheit), platform_humidity_sensor_units: None, iot_api_supported: false, show_as_preset_buttons: Some(["Tea", "Coffee", "DIY"]) } [2024-07-09T16:07:12 INFO govee::commands::serve] [2024-07-09T16:07:12 INFO govee::service::http] http server addr is 0.0.0.0:8056 [2024-07-09T16:07:17 INFO govee::service::hass] Wait 700ms for hass to settle on 14 entity configs [2024-07-09T16:07:18 INFO govee::service::hass] MQTT connected with status=CONNACK code 0: Connection Accepted. [2024-07-09T16:07:32 INFO govee::service::state] requesting update via Platform API H7105_4D3A (45:18:D0:C9:07:1D:4D:3A H7105) None [2024-07-09T16:07:32 INFO govee::service::state] requesting update via Platform API Electric Kettle (40:AC:60:74:F4:5C:1D:0E H7173) None [2024-07-09T16:08:33 INFO govee::service::state] requesting update via Platform API H7105_4D3A (45:18:D0:C9:07:1D:4D:3A H7105) None [2024-07-09T16:09:33 INFO govee::service::state] requesting update via Platform API H7105_4D3A (45:18:D0:C9:07:1D:4D:3A H7105) None

availability_topic: gv2mqtt/availability origin: sw_version: 2024.04.29-30cf7732 support_url: https://github.com/wez/govee2mqtt name: gv2mqtt device: manufacturer: Govee model: H7105 via_device: gv2mqtt identifiers:

Additional Logs

No response

Home Assistant Logs

No response

Anything else?

No response

bojj27 commented 1 month ago

I'm having the same issue. The warning about the "Unknown device type. Cannot map to Home Assistant", makes me think the problem is that this fan isn't supported yet. That and the fact that it's not on the list of supported fans. Hopefully it can be added at some point in the future.

Heaters, Fans, Purifiers | Not supported by these devices | Tested with H7101, H7102, H7111, H7121, H7130, H7131, H713A, H7135

image

[2024-07-21T10:32:56 INFO govee::commands::serve] Starting service. version 2024.07.21-c9d27764 [2024-07-21T10:32:56 INFO govee::commands::serve] Querying platform API for device list [2024-07-21T10:32:57 INFO govee::commands::serve] Querying undocumented API for device + room list [2024-07-21T10:32:57 INFO govee::service::iot] Connected to IoT: CONNACK code 0: Connection Accepted. [2024-07-21T10:32:57 INFO govee::commands::serve] Starting LAN discovery [2024-07-21T10:32:57 INFO govee::commands::serve] Waiting 10 seconds for LAN API discovery [2024-07-21T10:32:57 INFO govee::service::iot] IoT (re)connected with status CONNACK code 0: Connection Accepted. [2024-07-21T10:33:07 INFO govee::commands::serve] Devices returned from Govee's APIs [2024-07-21T10:33:07 INFO govee::commands::serve] H7105_EA56 (2C:2F:D0:C9:07:1A:EA:56 H7105) [2024-07-21T10:33:07 INFO govee::commands::serve] Undoc: room=None supports_iot=true ble_only=false [2024-07-21T10:33:07 WARN govee::commands::serve] Unknown device type. Cannot map to Home Assistant. [2024-07-21T10:33:07 INFO govee::commands::serve] [2024-07-21T10:33:07 INFO govee::service::http] http server addr is 0.0.0.0:8056 [2024-07-21T10:33:27 INFO govee::service::state] requesting update via Platform API H7105_EA56 (2C:2F:D0:C9:07:1A:EA:56 H7105) None [2024-07-21T10:33:28 INFO govee::service::hass] Wait 40ms for hass to settle on 4 entity configs [2024-07-21T10:33:28 INFO govee::service::hass] MQTT connected with status=CONNACK code 0: Connection Accepted. [2024-07-21T10:33:28 INFO govee::service::hass] Home Assistant status changed: online, waiting 15s before re-registering entities