govee2mqtt: Problem install !
Hello,
I enter my email, password and API key in the configuration. and here is the result that I run the add-on:
Caused by:
0: parsing https://app2.govee.com/device/rest/devices/v1/list response
1: devices[3].deviceExt.deviceSettings: missing field wifiMac at line 1 column 476. Input: {“devices”:
click for more details
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_EMAIL=REDACTED GOVEE_PASSWORD=REDACTED GOVEE_MQTT_PASSWORD=REDACTED GOVEE_MQTT_USER=addons GOVEE_MQTT_PORT=1883 ++ cd /app ++ exec /app/govee serve [2024-01-06T16:05:03 INFO govee::commands::serve] Starting service. version 2024.01.05-d995de93 [2024-01-06T16:05:03 INFO govee::commands::serve] Querying platform API for device list [2024-01-06T16:05:03 INFO govee::commands::serve] Querying undocumented API for device + room list Error: request https://app2.govee.com/device/rest/devices/v1/list status 200: OK
Caused by:
0: parsing https://app2.govee.com/device/rest/devices/v1/list response
1: devices[3].deviceExt.deviceSettings: missing field wifiMac at line 1 column 476. Input: {“devices”:[{“groupId”:0,“device”:“09:51:D4:AD:FC:BF:07:4D”,“sku”:“H618A”,“spec”:“”,“versionHard”:“2.01.02”,“versionSoft”:“2.06.15”,“deviceName”:“Led Bar”,“deviceExt”:{“deviceSettings”:“{"wifiName":"TP-Link_IoT_2G","address":"D4:AD:FC:BF:07:4D","bleName":"GBK_H618A_074D","topic":"GD/82ab3a89eb277c5e568d792df3791bd9","wifiMac":"D4:AD:FC:B2:DB:B8","pactType":2,"pactCode":1,"wifiSoftVersion":"2.05.08","wifiHardVersion":"1.02.00","ic":15,"secretCode":"TQe//K3UYYo=","boilWaterCompletedNotiOnOff":1,"completionNotiOnOff":1,"autoShutDownOnOff":1,"sku":"H618A","device":"09:51:D4:AD:FC:BF:07:4D","deviceName":"Led Bar","versionHard":"2.01.02","versionSoft":"2.06.15","playState":false}”,“lastDeviceData”:“{"online":false}”,“extResources”:“{"skuUrl":"https://d1f2504ijhdyjw.cloudfront.net/sku-img/1888088d25fbf1fedd34316acccf9ee3-add_list_type_device_618ac.png.png\“,\“headOnImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/eed1b442fc5d3aaa28563ded4284e057-new_light_title_6160_on.png\”,\“headOnImgNew\”:\”\“,\“headOffImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/cb48afdb8618c2ddfd8fe16673336af0-new_light_title_6160_off.png\”,\“headOffImgNew\”:\”\“,\“ext\”:\”\“,\“ic\”:15}”},“pactType”:2,“pactCode”:1,“share”:0,“deviceId”:12154591,“goodsType”:74,“attributesId”:17,“supportScene”:1},{“groupId”:0,“device”:“18:7D:D5:39:32:37:4C:67”,“sku”:“H6199”,“spec”:”“,“versionHard”:“3.02.01”,“versionSoft”:“1.10.04”,“deviceName”:“DreamView T1”,“deviceExt”:{“deviceSettings”:”{"wifiName":"TP-Link_IoT_2G","address":"D5:39:32:37:4C:67","bleName":"Govee_H6199_4C67","topic":"GD/9816f4efd740b038adddecffd4b655ea","wifiMac":"D4:AD:FC:2C:34:4B","pactType":2,"pactCode":1,"wifiSoftVersion":"1.00.33","wifiHardVersion":"1.03.00","ic":50,"boilWaterCompletedNotiOnOff":1,"completionNotiOnOff":1,"autoShutDownOnOff":1,"sku":"H6199","device":"18:7D:D5:39:32:37:4C:67","deviceName":"DreamView T1","versionHard":"3.02.01","versionSoft":"1.10.04","playState":false}“,“lastDeviceData”:”{"online":false}“,“extResources”:”{"skuUrl":"https://d1f2504ijhdyjw.cloudfront.net/sku-img/77af67823455a4cd4a65c9d490a8fec9-add_list_type_device_6199.png\“,\“headOnImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/f888cb880ed3646868ebfb52db643569-new_light_title_6104_alexa_on.png\”,\“headOnImgNew\”:\”\“,\“headOffImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/c163d1b2aa45e3278b4ff7a25b69e8c8-new_light_title_6104_alexa_off.png\”,\“headOffImgNew\”:\”\“,\“ext\”:\”\“,\“ic\”:50}”},“pactType”:2,“pactCode”:1,“share”:0,“deviceId”:10874276,“goodsType”:24,“attributesId”:1,“supportScene”:1},{“groupId”:0,“device”:“B1:38:D4:AD:FC:3A:B4:D0”,“sku”:“H618C”,“spec”:“”,“versionHard”:“2.01.02”,“versionSoft”:“2.06.15”,“deviceName”:“Led Escalier Bas Govee”,“deviceExt”:{“deviceSettings”:“{"wifiName":"TP-Link_IoT_2G","address":"D4:AD:FC:3A:B4:D0","bleName":"GBK_H618C_B4D0","topic":"GD/80fc757093a44996e5e0df430972bd99","wifiMac":"D4:AD:FC:3D:BA:9E","pactType":2,"pactCode":1,"wifiSoftVersion":"2.05.08","wifiHardVersion":"1.02.00","ic":30,"secretCode":"0LQ6/K3UYYw=","boilWaterCompletedNotiOnOff":1,"completionNotiOnOff":1,"autoShutDownOnOff":1,"sku":"H618C","device":"B1:38:D4:AD:FC:3A:B4:D0","deviceName":"Led Escalier Bas Govee","versionHard":"2.01.02","versionSoft":"2.06.15","playState":false}”,“lastDeviceData”:“{"online":false}”,“extResources”:“{"skuUrl":"https://d1f2504ijhdyjw.cloudfront.net/sku-img/1888088d25fbf1fedd34316acccf9ee3-add_list_type_device_618ac.png.png\“,\“headOnImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/eed1b442fc5d3aaa28563ded4284e057-new_light_title_6160_on.png\”,\“headOnImgNew\”:\”\“,\“headOffImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/cb48afdb8618c2ddfd8fe16673336af0-new_light_title_6160_off.png\”,\“headOffImgNew\”:\”\“,\“ext\”:\”\“,\“ic\”:30}”},“pactType”:2,“pactCode”:1,“share”:0,“deviceId”:7450178,“goodsType”:71,“attributesId”:1,“supportScene”:1},{“groupId”:0,“device”:“36:0E:D4:AD:FC:1B:96:A0”,“sku”:“H618A”,“spec”:”“,“versionHard”:“2.01.02”,“versionSoft”:“2.06.15”,“deviceName”:“Led Enfants Govee”,“deviceExt”:{“deviceSettings”:”{"wifiName":"TP-Link_IoT_2G","address":"D4:AD:FC:1B:96:A0","bleName":"GBK_H618A_96A0","topic":"GD/31e4e53408cbc4c73a9e6a9bf258e441","pactType":2,"pactCode":1,"wifiSoftVersion":"2.05.08","wifiHardVersion":"1.02.00","ic":15,"secretCode":"oJYb/K3UYYo=","boilWaterCompletedNotiOnOff":1,"completionNotiOnOff":1,"autoShutDownOnOff":1,"sku":"H618A","device":"36:0E:D4:AD:FC:1B:96:A0","deviceName":"Led Enfants Govee","versionHard":"2.01.02","versionSoft":"2.06.15","playState":false}“,“lastDeviceData”:”{"online":false}“,“extResources”:”{"skuUrl":"https://d1f2504ijhdyjw.cloudfront.net/sku-img/1888088d25fbf1fedd34316acccf9ee3-add_list_type_device_618ac.png.png\“,\“headOnImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/eed1b442fc5d3aaa28563ded4284e057-new_light_title_6160_on.png\”,\“headOnImgNew\”:\”\“,\“headOffImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/cb48afdb8618c2ddfd8fe16673336af0-new_light_title_6160_off.png\”,\“headOffImgNew\”:\”\“,\“ext\”:\”\“,\“ic\”:15}”},“pactType”:2,“pactCode”:1,“share”:0,“deviceId”:7450936,“goodsType”:74,“attributesId”:17,“supportScene”:1},{“groupId”:0,“device”:“09:0A:D4:AD:FC:3B:32:27”,“sku”:“H618C”,“spec”:“”,“versionHard”:“2.01.02”,“versionSoft”:“2.06.15”,“deviceName”:“Led Escalier Haut Gove”,“deviceExt”:{“deviceSettings”:“{"wifiName":"TP-Link_IoT_2G","address":"D4:AD:FC:3B:32:27","bleName":"GBK_H618C_3227","topic":"GD/f188559b9ccffccd0bcb1748d58d7266","wifiMac":"D4:AD:FC:3B:D0:B0","pactType":2,"pactCode":1,"wifiSoftVersion":"2.05.08","wifiHardVersion":"1.02.00","ic":30,"secretCode":"JzI7/K3UYYw=","boilWaterCompletedNotiOnOff":1,"completionNotiOnOff":1,"autoShutDownOnOff":1,"sku":"H618C","device":"09:0A:D4:AD:FC:3B:32:27","deviceName":"Led Escalier Haut Gove","versionHard":"2.01.02","versionSoft":"2.06.15","playState":false}”,“lastDeviceData”:“{"online":false}”,“extResources”:“{"skuUrl":"https://d1f2504ijhdyjw.cloudfront.net/sku-img/1888088d25fbf1fedd34316acccf9ee3-add_list_type_device_618ac.png.png\“,\“headOnImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/eed1b442fc5d3aaa28563ded4284e057-new_light_title_6160_on.png\”,\“headOnImgNew\”:\”\“,\“headOffImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/cb48afdb8618c2ddfd8fe16673336af0-new_light_title_6160_off.png\”,\“headOffImgNew\”:\”\“,\“ext\”:\”\“,\“ic\”:30}”},“pactType”:2,“pactCode”:1,“share”:0,“deviceId”:7450755,“goodsType”:71,“attributesId”:1,“supportScene”:1},{“groupId”:0,“device”:“D7:54:A4:C1:38:FF:AD:23”,“sku”:“H6159”,“spec”:”“,“versionHard”:“1.00.02”,“versionSoft”:“1.07.02”,“deviceName”:“Govee Bureau Schumi”,“deviceExt”:{“deviceSettings”:”{"wifiName":"TP-Link_IoT_2G","bleName":"ihoment_H6159_AD23","topic":"GD/3a2e6a8df375ee9531b18dd85eecf8fd","wifiSoftVersion":"1.03.05","wifiHardVersion":"1.00.01","ic":0,"boilWaterCompletedNotiOnOff":1,"completionNotiOnOff":1,"autoShutDownOnOff":1,"sku":"H6159","device":"D7:54:A4:C1:38:FF:AD:23","deviceName":"Govee Bureau Schumi","versionHard":"1.00.02","versionSoft":"1.07.02","playState":false}“,“lastDeviceData”:”{"online":false}“,“extResources”:”{"skuUrl":"https://d1f2504ijhdyjw.cloudfront.net/sku-img/78e03221416cd93f51a3da091b720a1c-add_list_type_device_6159.png\“,\“headOnImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/eed1b442fc5d3aaa28563ded4284e057-new_light_title_6160_on.png\”,\“headOnImgNew\”:\”\“,\“headOffImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/cb48afdb8618c2ddfd8fe16673336af0-new_light_title_6160_off.png\”,\“headOffImgNew\”:\”\“,\“ext\”:\”\“,\“ic\”:0}”},“share”:0,“deviceId”:6678775,“goodsType”:0,“attributesId”:2,“supportScene”:1},{“groupId”:0,“device”:“C7:31:7C:A6:B0:5C:8E:63”,“sku”:“H618A”,“spec”:“”,“versionHard”:“2.01.02”,“versionSoft”:“2.06.15”,“deviceName”:“Govee Bureau”,“deviceExt”:{“deviceSettings”:“{"wifiName":"TP-Link_IoT_2G","address":"7C:A6:B0:5C:8E:63","bleName":"GBK_H618A_8E63","topic":"GD/a948c8f824d616483d12a371583ae201","wifiMac":"9C:04:A0:A6:4A:6B","pactType":2,"pactCode":1,"wifiSoftVersion":"2.05.08","wifiHardVersion":"1.02.00","ic":15,"secretCode":"Y45csKZ8YYo=","boilWaterCompletedNotiOnOff":1,"completionNotiOnOff":1,"autoShutDownOnOff":1,"sku":"H618A","device":"C7:31:7C:A6:B0:5C:8E:63","deviceName":"Govee Bureau","versionHard":"2.01.02","versionSoft":"2.06.15","playState":false}”,“lastDeviceData”:“{"online":false}”,“extResources”:“{"skuUrl":"https://d1f2504ijhdyjw.cloudfront.net/sku-img/1888088d25fbf1fedd34316acccf9ee3-add_list_type_device_618ac.png.png\“,\“headOnImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/eed1b442fc5d3aaa28563ded4284e057-new_light_title_6160_on.png\”,\“headOnImgNew\”:\”\“,\“headOffImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/cb48afdb8618c2ddfd8fe16673336af0-new_light_title_6160_off.png\”,\“headOffImgNew\”:\”\“,\“ext\”:\”\“,\“ic\”:15}”},“pactType”:2,“pactCode”:1,“share”:0,“deviceId”:6885213,“goodsType”:74,“attributesId”:17,“supportScene”:1},{“groupId”:0,“device”:“AF:D5:A4:C1:38:06:24:5F”,“sku”:“H6159”,“spec”:”“,“versionHard”:“1.00.02”,“versionSoft”:“1.07.02”,“deviceName”:“Govee Bureau Cocotte”,“deviceExt”:{“deviceSettings”:”{"wifiName":"TP-Link_IoT_2G","bleName":"ihoment_H6159_245F","topic":"GD/eee64f5a4fae26b5eedc0ce68a8b5c2b","wifiSoftVersion":"1.03.05","wifiHardVersion":"1.00.01","ic":0,"boilWaterCompletedNotiOnOff":1,"completionNotiOnOff":1,"autoShutDownOnOff":1,"sku":"H6159","device":"AF:D5:A4:C1:38:06:24:5F","deviceName":"Govee Bureau Cocotte","versionHard":"1.00.02","versionSoft":"1.07.02","playState":false}“,“lastDeviceData”:”{"online":false}“,“extResources”:”{"skuUrl":"https://d1f2504ijhdyjw.cloudfront.net/sku-img/78e03221416cd93f51a3da091b720a1c-add_list_type_device_6159.png\“,\“headOnImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/eed1b442fc5d3aaa28563ded4284e057-new_light_title_6160_on.png\”,\“headOnImgNew\”:\”\“,\“headOffImg\”:\“https://d1f2504ijhdyjw.cloudfront.net/sku-img/cb48afdb8618c2ddfd8fe16673336af0-new_light_title_6160_off.png\”,\“headOffImgNew\”:\”\“,\“ext\”:\”\“,\“ic\”:0}”},“share”:0,“deviceId”:6810875,“goodsType”:0,“attributesId”:2,“supportScene”:1}],“groups”:[{“groupId”:4932730,“groupName”:“Chambre”},{“groupId”:4932731,“groupName”:“Salon”}],“sort”:[],“sortTime”:0,“message”:“”,“status”:200}
Stack backtrace: 0: std::backtrace_rs::backtrace::libunwind::trace at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/…/…/backtrace/src/backtrace/libunwind.rs:104:5 1: std::backtrace_rs::backtrace::trace_unsynchronized at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/…/…/backtrace/src/backtrace/mod.rs:66:5 2: std::backtrace::Backtrace::create at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/backtrace.rs:331:13 3: anyhow::error::<impl anyhow::Error>::msg 4: govee::platform_api::from_json 5: govee::undoc_api::GoveeUndocumentedApi::get_device_list::{{closure}} 6: govee::commands::serve::ServeCommand::run::{{closure}} 7: govee::Args::run::{{closure}} 8: tokio::runtime::park::CachedParkThread::block_on 9: tokio::runtime::runtime::Runtime::block_on 10: govee::main 11: std::sys_common::backtrace::__rust_begin_short_backtrace 12: std::rt::lang_start::{{closure}} 13: core::ops::function::impls::<impl core::ops::function::FnOnce for &F>::call_once at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:284:13 14: std::panicking::try::do_call at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 15: std::panicking::try at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 16: std::panic::catch_unwind at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 17: std::rt::lang_start_internal::{{closure}} at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148:48 18: std::panicking::try::do_call at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 19: std::panicking::try at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 20: std::panic::catch_unwind at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 21: std::rt::lang_start_internal at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148:20 22: std::rt::lang_start 23: main 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
what to do, what is the problem?
Thanks.
About this issue
- Original URL
- State: closed
- Created 6 months ago
- Comments: 71 (24 by maintainers)
Commits related to this issue
- relax schema for device list refs: https://github.com/wez/govee2mqtt/issues/14 — committed to wez/govee2mqtt by wez 6 months ago
- invalid cached credentials when we get a 401 refs: https://github.com/wez/govee2mqtt/issues/14 — committed to wez/govee2mqtt by wez 6 months ago
- adjustments in caching and handling of ble devices refs: https://github.com/wez/govee2mqtt/issues/14 — committed to wez/govee2mqtt by wez 6 months ago
- Improve error message around port 4002 bind error refs: https://github.com/wez/govee2mqtt/issues/14#issuecomment-1879753791 — committed to wez/govee2mqtt by wez 6 months ago
- allow topic to be optional in the device list refs: https://github.com/wez/govee2mqtt/issues/14#issuecomment-1879755521 — committed to wez/govee2mqtt by wez 6 months ago
- make more fields optional refs: https://github.com/wez/govee2mqtt/issues/14#issuecomment-1879759175 — committed to wez/govee2mqtt by wez 6 months ago
- try harder to derive sku from iot update refs: https://github.com/wez/govee2mqtt/issues/14#issuecomment-1879762186 — committed to wez/govee2mqtt by wez 6 months ago
- avoid trying to create entities for devices we can't control We don't support BLE-only devices, for example refs: https://github.com/wez/govee2mqtt/issues/14#issuecomment-1879762953 — committed to wez/govee2mqtt by wez 6 months ago
- try harder to get device id from iot notification refs: https://github.com/wez/govee2mqtt/issues/14#issuecomment-1879773924 — committed to wez/govee2mqtt by wez 6 months ago
- iot: adjust notification schema refs: https://github.com/wez/govee2mqtt/issues/14#issuecomment-1880050271 — committed to wez/govee2mqtt by wez 6 months ago
- add quirk for H6159 refs: https://github.com/wez/govee2mqtt/issues/14#issuecomment-1880050091 — committed to wez/govee2mqtt by wez 6 months ago
Thanks!
Just sponsored you on patreon with what I can. thanks again for your support.
@pgsylvestre I’ll skip trying to make hass entities for BLE-only devices for now.
Thank you so much for your work and your responsiveness to all our problems !
@pgsylvestre
boilWaterCompletedNotiOnOffshould now be resolvedThank you so much for your hard work and quick responses!
that’s wonderful
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_EMAIL=REDACTED GOVEE_PASSWORD=REDACTED GOVEE_MQTT_PASSWORD=REDACTED GOVEE_MQTT_USER=addons GOVEE_MQTT_PORT=1883 ++ cd /app ++ exec /app/govee serve [2024-01-06T18:22:16 INFO govee::commands::serve] Starting service. version 2024.01.06-0e7bd37e [2024-01-06T18:22:16 INFO govee::commands::serve] Querying platform API for device list [2024-01-06T18:22:17 INFO govee::commands::serve] Querying undocumented API for device + room list [2024-01-06T18:22:18 INFO govee::service::iot] Connected to IoT: CONNACK code 0: Connection Accepted. [2024-01-06T18:22:18 INFO govee::commands::serve] Starting LAN discovery [2024-01-06T18:22:18 INFO govee::service::iot] IoT (re)connected with status CONNACK code 0: Connection Accepted. [2024-01-06T18:22:18 INFO govee::service::http] http server addr is 0.0.0.0:8056