Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H5100 / H5151: no temperature / humidity values #308

Closed
Tuxdiver opened this issue Nov 17, 2024 · 1 comment
Closed

H5100 / H5151: no temperature / humidity values #308

Tuxdiver opened this issue Nov 17, 2024 · 1 comment

Comments

@Tuxdiver
Copy link

Govee Device SKU

H5100

Govee2MQTT Version

2024.07.21-c9d27764

Describe the issue

Since nov 14. the temperature and humidity values are not delivered any more. Before that date, the three devices connected to a H5151 worked without problem.

HASS shows the device as "available", but no sensor values.

The Govee-App shows the right values of the three sensors.

govee2mqtt webpage shows the last update timestamp, when triggered by hass over mqtt.

Any clues how to fix this problem? Did govee change their API?

Startup Diagnostics

[2024-11-17T13:08:18 INFO govee::commands::serve] Starting service. version 2024.07.21-c9d27764
[2024-11-17T13:08:18 INFO govee::commands::serve] Querying platform API for device list
[2024-11-17T13:08:18 TRACE govee::cache] cache hit for device-list
[2024-11-17T13:08:18 INFO govee::commands::serve] Querying undocumented API for device + room list
[2024-11-17T13:08:18 TRACE govee::cache] cache hit for account-info
[2024-11-17T13:08:19 TRACE govee::service::iot] LoginAccountResponse {
a: REDACTED,
b: REDACTED,
account_id: REDACTED,
client: REDACTED,
is_savvy_user: true,
refresh_token: Some(
REDACTED,
),
client_name: Some(
"",
),
push_token: Some(
REDACTED,
),
version_code: Some(
"",
),
version_name: Some(
"",
),
sys_version: Some(
"",
),
token: REDACTED,
token_expire_cycle: 57600,
topic: REDACTED,
}
[2024-11-17T13:08:19 TRACE govee::cache] cache hit for iot-key
[2024-11-17T13:08:19 TRACE govee::service::iot] IotKey {
endpoint: "aqm3wd1qlc3dy-ats.iot.us-east-1.amazonaws.com",
log: "pro0",
p12: REDACTED,
p12_pass: REDACTED,
}
[2024-11-17T13:08:19 TRACE govee::service::iot] parsing IoT PFX key
[2024-11-17T13:08:19 TRACE govee::service::iot] Connecting to IoT aqm3wd1qlc3dy-ats.iot.us-east-1.amazonaws.com port 8883
[2024-11-17T13:08:19 INFO govee::service::iot] Connected to IoT: CONNACK code 0: Connection Accepted.
[2024-11-17T13:08:19 INFO govee::commands::serve] Starting LAN discovery
[2024-11-17T13:08:19 INFO govee::commands::serve] Waiting 10 seconds for LAN API discovery
[2024-11-17T13:08:19 INFO govee::service::iot] IoT (re)connected with status CONNACK code 0: Connection Accepted.
[2024-11-17T13:08:19 TRACE govee::lan_api] Send disco packet to 239.255.255.250
[2024-11-17T13:08:21 TRACE govee::lan_api] Send disco packet to 239.255.255.250
[2024-11-17T13:08:25 TRACE govee::lan_api] Send disco packet to 239.255.255.250
[2024-11-17T13:08:29 INFO govee::commands::serve] Devices returned from Govee's APIs
[2024-11-17T13:08:29 INFO govee::commands::serve] 2 Partykeller (40:75:34:30:38:C3:BE:CD H5100)
[2024-11-17T13:08:29 INFO govee::commands::serve] Platform API: devices.types.thermometer. supports_rgb=false supports_brightness=false
[2024-11-17T13:08:29 INFO govee::commands::serve] color_temp=None segment_rgb=None
[2024-11-17T13:08:29 TRACE govee::commands::serve] HttpDeviceInfo {
sku: "H5100",
device: "40:75:34:30:38:C3:BE:CD",
device_name: "2 Partykeller",
device_type: Thermometer,
capabilities: [
DeviceCapability {
kind: Property,
instance: "sensorTemperature",
parameters: None,
alarm_type: None,
event_state: None,
},
DeviceCapability {
kind: Property,
instance: "sensorHumidity",
parameters: None,
alarm_type: None,
event_state: None,
},
],
}
[2024-11-17T13:08:29 INFO govee::commands::serve] Undoc: room=Some("Haltern") supports_iot=false ble_only=true
[2024-11-17T13:08:29 TRACE govee::commands::serve] UndocDeviceInfo {
room_name: Some(
"Haltern",
),
entry: DeviceEntry {
attributes_id: 0,
device_id: Some(
23570677,
),
device: "40:75:34:30:38:C3:BE:CD",
device_ext: DeviceEntryExt {
device_settings: DeviceSettings {
wifi_name: None,
address: Some(
"C3:38:30:34:75:40",
),
ble_name: Some(
"GVH5100_7540",
),
topic: None,
wifi_mac: None,
pact_type: None,
pact_code: None,
dsp_version_soft: None,
wifi_soft_version: None,
wifi_hard_version: None,
ic: None,
ic_sub_1: None,
ic_sub_2: None,
secret_code: None,
boil_water_completed_noti_on_off: false,
boil_water_exception_noti_on_off: false,
completion_noti_on_off: false,
auto_shut_down_on_off: false,
water_shortage_on_off: false,
air_quality_on_off: false,
mcu_soft_version: None,
mcu_hard_version: None,
sku: Some(
"H5100",
),
device: Some(
"40:75:34:30:38:C3:BE:CD",
),
device_name: Some(
"2 Partykeller",
),
version_hard: Some(
"3.01.01",
),
version_soft: Some(
"1.00.15",
),
play_state: None,
tem_min: Some(
-2000,
),
tem_max: Some(
6000,
),
tem_warning: Some(
false,
),
fah_open: Some(
false,
),
tem_cali: Some(
0,
),
hum_min: Some(
0,
),
hum_max: Some(
10000,
),
hum_warning: Some(
false,
),
hum_cali: Some(
0,
),
net_waring: Some(
true,
),
upload_rate: Some(
10,
),
battery: Some(
86,
),
time: None,
wifi_level: Some(
0,
),
pm25_min: None,
pm25_max: None,
pm25_warning: None,
sub_devices: None,
bd_type: Some(
1,
),
filter_expire_on_off: false,
shapes: None,
support_ble_broad_v3: None,
},
ext_resources: ExtResources {
sku_url: Some(
"https://d1f2504ijhdyjw.cloudfront.net/sku-img/093658cd203f2b31b7ebbe860b14bf4b-add_list_type_device_5100.png",
),
head_on_img_new: Some(
"",
),
head_on_img: Some(
"",
),
head_off_img: Some(
"",
),
head_off_img_new: Some(
"",
),
ext: Some(
"",
),
ic: Some(
0,
),
},
last_device_data: LastDeviceData {
online: Some(
false,
),
bind: None,
tem: Some(
2010,
),
hum: Some(
5280,
),
last_time: Some(
1731569398000,
),
avg_day_tem: Some(
2010,
),
avg_day_hum: Some(
5280,
),
},
},
device_name: "2 Partykeller",
goods_type: 66,
group_id: 21657127,
pact_code: None,
pact_type: None,
share: Some(
0,
),
sku: "H5100",
spec: "",
support_scene: false,
version_hard: "3.01.01",
version_soft: "1.00.15",
gid_confirmed: Some(
false,
),
},
}
[2024-11-17T13:08:29 INFO govee::commands::serve] Quirk { sku: "H5100", icon: "mdi:thermometer", supports_rgb: false, supports_brightness: false, color_temp_range: None, avoid_platform_api: false, ble_only: false, lan_api_capable: false, device_type: Thermometer, platform_temperature_sensor_units: Some(Farenheit), platform_humidity_sensor_units: Some(RelativePercent), iot_api_supported: false, show_as_preset_buttons: None }
[2024-11-17T13:08:29 INFO govee::commands::serve]

[2024-11-17T13:08:49 INFO govee::service::state] requesting update via Platform API 2 Partykeller (40:75:34:30:38:C3:BE:CD H5100) None
[2024-11-17T13:08:49 TRACE govee::lan_api] Send disco packet to 239.255.255.250
[2024-11-17T13:08:49 TRACE govee::cache] cache hit for community-login
[2024-11-17T13:08:49 TRACE govee::cache] cache hit for one-click-shortcuts
[2024-11-17T13:08:49 TRACE govee::cache] cache hit for scenes-H5100

[2024-11-17T13:08:53 TRACE govee::service::state] updated state for 2 Partykeller (40:75:34:30:38:C3:BE:CD H5100)
[2024-11-17T13:08:53 TRACE govee::cache] cache hit for scenes-H5100
[2024-11-17T13:08:53 TRACE govee::service::hass] gv2mqtt/sensor/sensor-4075343038C3BECD-gv2mqtt-status/state -> Available
[2024-11-17T13:08:53 TRACE govee::service::hass] gv2mqtt/sensor/sensor-4075343038C3BECD-gv2mqtt-status/attributes -> {"http":{"brightness":0,"color":{"b":0,"g":0,"r":0},"kelvin":0,"light_on":null,"on":false,"online":true,"scene":null,"source":"PLATFORM API","updated":"2024-11-17T12:08:53.037166046Z"},"iot":null,"lan":null,"overall":{"brightness":0,"color":{"b":0,"g":0,"r":0},"kelvin":0,"light_on":null,"on":false,"online":true,"scene":null,"source":"PLATFORM API","updated":"2024-11-17T12:08:53.037166046Z"},"platform_metadata":{"capabilities":[{"alarmType":null,"eventState":null,"instance":"sensorTemperature","parameters":null,"type":"devices.capabilities.property"},{"alarmType":null,"eventState":null,"instance":"sensorHumidity","parameters":null,"type":"devices.capabilities.property"}],"device":"40:75:34:30:38:C3:BE:CD","deviceName":"2 Partykeller","sku":"H5100","type":"devices.types.thermometer"},"platform_state":{"capabilities":[{"instance":"online","state":{"value":true},"type":"devices.capabilities.online"},{"instance":"sensorTemperature","state":{"value":""},"type":"devices.capabilities.property"},{"instance":"sensorHumidity","state":{"value":""},"type":"devices.capabilities.property"}],"device":"40:75:34:30:38:C3:BE:CD","sku":"H5100"}}
[2024-11-17T13:08:53 TRACE govee::service::hass] gv2mqtt/sensor/sensor-4075343038C3BECD-sensortemperature/state ->
[2024-11-17T13:08:53 TRACE govee::service::hass] gv2mqtt/sensor/sensor-4075343038C3BECD-sensorhumidity/state ->
[2024-11-17T13:08:54 TRACE govee::cache] cache hit for scenes-H5100
[2024-11-17T13:08:54 TRACE govee::cache] cache hit for scenes-H5100
[2024-11-17T13:08:54 TRACE govee::service::hass] register_with_hass: register entities
[2024-11-17T13:08:54 TRACE govee::service::hass] homeassistant/sensor/global-version/config -> {"availability_topic":"gv2mqtt/availability","name":"Version","origin":{"name":"gv2mqtt","sw_version":"2024.07.21-c9d27764","url":"https://github.com/wez/govee2mqtt"},"device":{"name":"Govee to MQTT","manufacturer":"Wez Furlong","model":"govee2mqtt","sw_version":"2024.07.21-c9d27764","identifiers":["gv2mqtt"]},"unique_id":"global-version","entity_category":"diagnostic","state_topic":"gv2mqtt/sensor/global-version/state"}
[2024-11-17T13:08:54 TRACE govee::service::hass] homeassistant/button/global-purge_caches/config -> {"availability_topic":"gv2mqtt/availability","name":"Purge Caches","origin":{"name":"gv2mqtt","sw_version":"2024.07.21-c9d27764","url":"https://github.com/wez/govee2mqtt"},"device":{"name":"Govee to MQTT","manufacturer":"Wez Furlong","model":"govee2mqtt","sw_version":"2024.07.21-c9d27764","identifiers":["gv2mqtt"]},"unique_id":"global-purge_caches","command_topic":"gv2mqtt/purge-caches"}
[2024-11-17T13:08:54 TRACE govee::service::hass] homeassistant/scene/gv2mqtt-one-click-079e461f32335d7796bb1b274f21b905/config -> {"availability_topic":"gv2mqtt/availability","name":"One-Click: Default: Aus","origin":{"name":"gv2mqtt","sw_version":"2024.07.21-c9d27764","url":"https://github.com/wez/govee2mqtt"},"device":{"name":"Govee to MQTT","manufacturer":"Wez Furlong","model":"govee2mqtt","sw_version":"2024.07.21-c9d27764","identifiers":["gv2mqtt"]},"unique_id":"gv2mqtt-one-click-079e461f32335d7796bb1b274f21b905","command_topic":"gv2mqtt/oneclick","payload_on":"One-Click: Default: Aus"}
[2024-11-17T13:08:54 TRACE govee::service::hass] homeassistant/sensor/sensor-4075343038C3BECD-gv2mqtt-status/config -> {"availability_topic":"gv2mqtt/availability","name":"Status","origin":{"name":"gv2mqtt","sw_version":"2024.07.21-c9d27764","url":"https://github.com/wez/govee2mqtt"},"device":{"name":"2 Partykeller","manufacturer":"Govee","model":"H5100","suggested_area":"Haltern","via_device":"gv2mqtt","identifiers":["gv2mqtt-4075343038C3BECD"]},"unique_id":"sensor-4075343038C3BECD-gv2mqtt-status","entity_category":"diagnostic","state_topic":"gv2mqtt/sensor/sensor-4075343038C3BECD-gv2mqtt-status/state","json_attributes_topic":"gv2mqtt/sensor/sensor-4075343038C3BECD-gv2mqtt-status/attributes"}
[2024-11-17T13:08:54 TRACE govee::service::hass] homeassistant/button/gv2mqtt-4075343038C3BECD-request-platform-data/config -> {"availability_topic":"gv2mqtt/availability","name":"Request Platform API State","origin":{"name":"gv2mqtt","sw_version":"2024.07.21-c9d27764","url":"https://github.com/wez/govee2mqtt"},"device":{"name":"2 Partykeller","manufacturer":"Govee","model":"H5100","suggested_area":"Haltern","via_device":"gv2mqtt","identifiers":["gv2mqtt-4075343038C3BECD"]},"unique_id":"gv2mqtt-4075343038C3BECD-request-platform-data","entity_category":"diagnostic","command_topic":"gv2mqtt/4075343038C3BECD/request-platform-data"}
[2024-11-17T13:08:54 TRACE govee::hass_mqtt::light] LightConfig::notify_state: state is DeviceState { on: true, light_on: Some(true), online: Some(true), kelvin: 0, color: DeviceColor { r: 255, g: 0, b: 0 }, brightness: 66, scene: None, source: "PLATFORM API", updated: 2024-11-17T12:08:53.557674619Z }
[2024-11-17T13:08:54 TRACE govee::hass_mqtt::switch] CapabilitySwitch::notify_state ignore useless empty string state for DeviceCapabilityState { kind: Toggle, instance: "gradientToggle", state: Object {"value": String("")} }
[2024-11-17T13:08:54 INFO govee::service::state] requesting update via Platform API 3 Gerümpelkeller (98:42:34:30:38:C8:5C:D2 H5100) None
[2024-11-17T13:08:54 TRACE govee::service::hass] homeassistant/sensor/sensor-4075343038C3BECD-sensortemperature/config -> {"availability_topic":"gv2mqtt/availability","name":"Temperature","device_class":"temperature","origin":{"name":"gv2mqtt","sw_version":"2024.07.21-c9d27764","url":"https://github.com/wez/govee2mqtt"},"device":{"name":"2 Partykeller","manufacturer":"Govee","model":"H5100","suggested_area":"Haltern","via_device":"gv2mqtt","identifiers":["gv2mqtt-4075343038C3BECD"]},"unique_id":"sensor-4075343038C3BECD-sensortemperature","entity_category":"diagnostic","state_topic":"gv2mqtt/sensor/sensor-4075343038C3BECD-sensortemperature/state","state_class":"measurement","unit_of_measurement":"°C"}
[2024-11-17T13:08:54 TRACE govee::service::hass] homeassistant/sensor/sensor-4075343038C3BECD-sensorhumidity/config -> {"availability_topic":"gv2mqtt/availability","name":"Humidity","device_class":"humidity","origin":{"name":"gv2mqtt","sw_version":"2024.07.21-c9d27764","url":"https://github.com/wez/govee2mqtt"},"device":{"name":"2 Partykeller","manufacturer":"Govee","model":"H5100","suggested_area":"Haltern","via_device":"gv2mqtt","identifiers":["gv2mqtt-4075343038C3BECD"]},"unique_id":"sensor-4075343038C3BECD-sensorhumidity","entity_category":"diagnostic","state_topic":"gv2mqtt/sensor/sensor-4075343038C3BECD-sensorhumidity/state","state_class":"measurement","unit_of_measurement":"%"}

[2024-11-17T13:08:57 INFO govee::service::hass] Wait 340ms for hass to settle on 34 entity configs
[2024-11-17T13:08:58 TRACE govee::service::hass] register_with_hass: mark as online
[2024-11-17T13:08:58 TRACE govee::service::hass] gv2mqtt/availability -> online
[2024-11-17T13:08:58 TRACE govee::service::hass] register_with_hass: reporting state
[2024-11-17T13:08:58 TRACE govee::service::hass] gv2mqtt/sensor/global-version/state -> 2024.07.21-c9d27764
[2024-11-17T13:08:58 TRACE govee::service::hass] gv2mqtt/sensor/sensor-4075343038C3BECD-gv2mqtt-status/state -> Available
[2024-11-17T13:08:58 TRACE govee::service::hass] gv2mqtt/sensor/sensor-4075343038C3BECD-gv2mqtt-status/attributes -> {"http":{"brightness":0,"color":{"b":0,"g":0,"r":0},"kelvin":0,"light_on":null,"on":false,"online":true,"scene":null,"source":"PLATFORM API","updated":"2024-11-17T12:08:53.037166046Z"},"iot":null,"lan":null,"overall":{"brightness":0,"color":{"b":0,"g":0,"r":0},"kelvin":0,"light_on":null,"on":false,"online":true,"scene":null,"source":"PLATFORM API","updated":"2024-11-17T12:08:53.037166046Z"},"platform_metadata":{"capabilities":[{"alarmType":null,"eventState":null,"instance":"sensorTemperature","parameters":null,"type":"devices.capabilities.property"},{"alarmType":null,"eventState":null,"instance":"sensorHumidity","parameters":null,"type":"devices.capabilities.property"}],"device":"40:75:34:30:38:C3:BE:CD","deviceName":"2 Partykeller","sku":"H5100","type":"devices.types.thermometer"},"platform_state":{"capabilities":[{"instance":"online","state":{"value":true},"type":"devices.capabilities.online"},{"instance":"sensorTemperature","state":{"value":""},"type":"devices.capabilities.property"},{"instance":"sensorHumidity","state":{"value":""},"type":"devices.capabilities.property"}],"device":"40:75:34:30:38:C3:BE:CD","sku":"H5100"}}
[2024-11-17T13:08:58 TRACE govee::service::hass] gv2mqtt/sensor/sensor-4075343038C3BECD-sensortemperature/state ->
[2024-11-17T13:08:58 TRACE govee::service::hass] gv2mqtt/sensor/sensor-4075343038C3BECD-sensorhumidity/state ->
[2024-11-17T13:08:58 TRACE govee::hass_mqtt::switch] CapabilitySwitch::notify_state ignore useless empty string state for DeviceCapabilityState { kind: Toggle, instance: "gradientToggle", state: Object {"value": String("")} }

Additional Logs

Trigger "Request Platform API State" via HASS frontend:

[2024-11-17T13:16:35 INFO govee::service::hass] Request Platform API State for 1 Kinderzimmer (5D:02:34:30:38:C3:1E:DA H5100)
[2024-11-17T13:16:35 INFO govee::service::state] requesting update via Platform API 1 Kinderzimmer (5D:02:34:30:38:C3:1E:DA H5100) 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-11-17T12:09:39.263589461Z })
[2024-11-17T13:16:36 TRACE govee::service::state] updated state for 1 Kinderzimmer (5D:02:34:30:38:C3:1E:DA H5100)
[2024-11-17T13:16:36 TRACE govee::cache] cache hit for scenes-H5100
[2024-11-17T13:16:36 TRACE govee::service::hass] gv2mqtt/sensor/sensor-5D02343038C31EDA-gv2mqtt-status/state -> Available
[2024-11-17T13:16:36 TRACE govee::service::hass] gv2mqtt/sensor/sensor-5D02343038C31EDA-gv2mqtt-status/attributes -> {"http":{"brightness":0,"color":{"b":0,"g":0,"r":0},"kelvin":0,"light_on":null,"on":false,"online":true,"scene":null,"source":"PLATFORM API","updated":"2024-11-17T12:16:36.472990727Z"},"iot":null,"lan":null,"overall":{"brightness":0,"color":{"b":0,"g":0,"r":0},"kelvin":0,"light_on":null,"on":false,"online":true,"scene":null,"source":"PLATFORM API","updated":"2024-11-17T12:16:36.472990727Z"},"platform_metadata":{"capabilities":[{"alarmType":null,"eventState":null,"instance":"sensorTemperature","parameters":null,"type":"devices.capabilities.property"},{"alarmType":null,"eventState":null,"instance":"sensorHumidity","parameters":null,"type":"devices.capabilities.property"}],"device":"5D:02:34:30:38:C3:1E:DA","deviceName":"1 Kinderzimmer","sku":"H5100","type":"devices.types.thermometer"},"platform_state":{"capabilities":[{"instance":"online","state":{"value":true},"type":"devices.capabilities.online"},{"instance":"sensorTemperature","state":{"value":""},"type":"devices.capabilities.property"},{"instance":"sensorHumidity","state":{"value":""},"type":"devices.capabilities.property"}],"device":"5D:02:34:30:38:C3:1E:DA","sku":"H5100"}}
[2024-11-17T13:16:36 TRACE govee::service::hass] gv2mqtt/sensor/sensor-5D02343038C31EDA-sensortemperature/state ->
[2024-11-17T13:16:36 TRACE govee::service::hass] gv2mqtt/sensor/sensor-5D02343038C31EDA-sensorhumidity/state ->

Home Assistant Logs

No response

Anything else?

No response

@Tuxdiver
Copy link
Author

Doing the API Call directly via "curl" also gives no value for temperature and humidity - the problem is not in govee2mqtt!
So Govee has to fix this problem - but how to tell them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant