qqaatw / JciHitachiHA

A home assistant integration for controlling Jci-Hitachi devices, using LibJciHitachi backend. 台灣日立雲端模組
Apache License 2.0
114 stars 31 forks source link

360HH1 無法控制air speed #62

Closed mustang-hsu closed 7 months ago

mustang-hsu commented 7 months ago

🐛 Describe the bug

360HH1 控制裏面沒有air speed這個選項,是否還沒有支援 IMG_1117 IMG_1118

240HH有這個選項

Environment Information

IMG_1126

JciHitachiHA version最新

除濕機 Rd-360HH1

qqaatw commented 7 months ago

Please enable debug logging and then attach your full log here, thanks.

logger:
  default: info
  logs:
    custom_components.jcihitachi_tw: debug
mustang-hsu commented 7 months ago

感謝回覆,附上full log跟configuration.yaml,謝謝您 [image: 文字檔] home-assistant_2023-12-25T22-… https://drive.google.com/file/d/13TY3KBtraiLnAw6J74hrjDnoDlbJIQ09/view?usp=drivesdk

Li-Huai (Allan) Lin @.***>於 2023年12月25日 週一,上午9:33寫道:

Please enable debug logging and then attach your full log here, thanks.

logger: default: info logs: custom_components.jcihitachi_tw: debug

— Reply to this email directly, view it on GitHub https://github.com/qqaatw/JciHitachiHA/issues/62#issuecomment-1868648709, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT5BWYXBHL3H32PMII2VOR3YLDJWJAVCNFSM6AAAAABBBIOSPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGY2DQNZQHE . You are receiving this because you authored the thread.Message ID: @.***>

qqaatw commented 7 months ago

I don't have the access of your Google Drive, please upload the file and attach it on GitHub directly.

mustang-hsu commented 7 months ago

我再試傳一次,這樣可以嗎?

Li-Huai (Allan) Lin @.***> 於 2023年12月26日 週二 上午7:03寫道:

I don't have the access of your Google Drive, please upload the file and attach it on GitHub directly.

— Reply to this email directly, view it on GitHub https://github.com/qqaatw/JciHitachiHA/issues/62#issuecomment-1869145234, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT5BWYTXHOYSDP5POPYTAQDYLIA4XAVCNFSM6AAAAABBBIOSPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGE2DKMRTGQ . You are receiving this because you authored the thread.Message ID: @.***>

qqaatw commented 7 months ago

Do use GitHub UI to upload your file here, and do not reply to the email sent by GitHub on your mail client, which doesn't provide the interface that allows you to upload the file.

mustang-hsu commented 7 months ago

抱歉!附上完整日誌跟configuration截圖,希望有上傳成功 home-assistant_2023-12-25T22-20-29.394Z.log configuration

qqaatw commented 7 months ago

According to the provided log, the air speed of RD360HH1 should be supported. The problem is likely towards your Home Assistant itself instead of the integration.

mustang-hsu commented 7 months ago

可能是我home assistant本身有某種問題,每次更新core就要等4小時之後再重開機,附加元件才會正常,或許我應該要整個Home Aaaistant重新安裝

qqaatw commented 7 months ago

I just saw an error traceback:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/jcihitachi_tw/fan.py", line 46, in async_setup_entry
    await _async_setup(hass, async_add_devices)
  File "/config/custom_components/jcihitachi_tw/fan.py", line 35, in _async_setup
    async_add([JciHitachiDehumidifierFanEntity(thing, coordinator)], update_before_add=True)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/jcihitachi_tw/fan.py", line 52, in __init__
    self._supported_features = self.calculate_supported_features()
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/jcihitachi_tw/fan.py", line 112, in calculate_supported_features
    if self._thing.support_code.FanSpeed & 1 == 1:  # auto mode is at the first bit.
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
TypeError: unsupported operand type(s) for &: 'str' and 'int'

This is dubious. However, without access to your Hitachi account I cannot do further analysis, as the rest of things look correct to me.

stale[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.