GithubHelp home page GithubHelp logo

hitachi_smart_app's Introduction

hacs_badge GitHub release (latest SemVer) GitHub license

Hitachi Smart App

smart-app-icon

Home Assistant integration for Hitachi Smart App.

This integration allows you to control your Hitachi appliances.

Installation

Manually

Copy custom_components/Hitachi_smart_app into your custom_components/.

Configuration

  1. Search Hitachi Smart App in integration list
  2. Follow steps on UI to finish configuration

Note

Tested Devices

Following devices were tested.

Feel free to report working device by opening an issue

Device Type Module Type
RAS-22NK RC-W02XE
RAS-28NK RC-W02XE
RAS-36NK RC-W02XE
RAS-40NK RC-W02XE
RAS-50NK RC-W02XE
RAS-63NK RC-W02XE
RAS-71NK RC-W02XE
RAS-81NK RC-W02XE
RAS-90NK RC-W02XE
RD-160HH built-in
RD-200HH built-in
RD-240HH built-in
RD-280HH built-in
RD-320HH built-in
RD-360HH built-in

Available Entities

Device Type Entity Type Note
AC climate
Dehumidifier humidifier

For missing entities, open an issue or submit a PR 💪

Enable Logs

Add following configs to configuration.yaml:

logger:
  default: warning
  logs:
    custom_components.Hitachi_smart_app: debug

License

This project is licensed under MIT license. See LICENSE file for details.

hitachi_smart_app's People

Contributors

n71154plus avatar olliwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hitachi_smart_app's Issues

Unexpected error fetching Hitachi Smart Application data: 'DataContainer'

你好,目前安裝並登入後,出現錯誤

Logger: custom_components.Hitachi_smart_app
Source: custom_components/Hitachi_smart_app/smarthome/__init__.py:109
Integration: Hitachi Smart App (documentation, issues)
First occurred: 17:03:54 (2 occurrences)
Last logged: 17:04:15

Unexpected error fetching Hitachi Smart Application data: 'DataContainer'
Traceback (most recent call last):
  File "/config/custom_components/Hitachi_smart_app/smarthome/__init__.py", line 30, in wrapper_call
    return await func(*args, **kwargs)
  File "/config/custom_components/Hitachi_smart_app/smarthome/__init__.py", line 109, in get_devices
    ContDID[device["Peripherals"][0]["DataContainer"][0]["ContDetails"][0]["ContDType"]]=device["Peripherals"][0]["DataContainer"][0]["ContDetails"][0]["ContDID"]
KeyError: 'DataContainer'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
    return await self.update_method()
  File "/config/custom_components/Hitachi_smart_app/smarthome/__init__.py", line 36, in wrapper_call
    return await func(*args, **kwargs)
  File "/config/custom_components/Hitachi_smart_app/smarthome/__init__.py", line 109, in get_devices
    ContDID[device["Peripherals"][0]["DataContainer"][0]["ContDetails"][0]["ContDType"]]=device["Peripherals"][0]["DataContainer"][0]["ContDetails"][0]["ContDID"]
KeyError: 'DataContainer'

Unable to add integration

When adding the Hitachi smart app in integrations, the error message below shows up.
錯誤
設定流程無法載入: {"message":"Invalid handler specified"}

HA Info:
Core
2023.11.3
Supervisor
2023.11.3
Operating System
11.1
前端
20231030.2

Could not setup from Integration UI

無法從整合加入設定

Logger: homeassistant.config_entries
Source: config_entries.py:720
First occurred: 23:23:43 (2 occurrences)
Last logged: 23:25:30

Error occurred loading configuration flow for integration Hitachi_smart_app: cannot import name 'HTTP_OK' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)

Can't find any devices after logged in

After solved the issue:
Error occurred loading configuration flow for integration Hitachi_smart_app: cannot import name 'HTTP_OK' from 'homeassistant.const'
I was able to login successfully, but it can't find any devices ?

RAC-28NK1

機型:RAC-28NK1

錯誤:

  1. 水平擺動方向控制不可用
  2. 主要UI不可用

image

HA Error

Show the error , Please help
"此整合目前不支援透過 UI 進行設定。假如您是透過 Home Assistant 網站點選此連結、請確定您已經執行最新版本的 Home Assistant。"

certificate.crt No such file or directory

您好,首先感謝您的開發,讓我們可以有更好的智慧居家可以使用,
我在安裝您開發的自訂整合時,發生以下錯誤,看 log 可能是 certificate.crt 路徑參照有跑掉,再麻煩您協助排除。

System Health

configuration.yaml Path: /home/homeassistant/.homeassistant

version core-2021.8.3
installation_type Home Assistant Core
dev false
hassio false
docker false
user homeassistant
virtualenv true
python_version 3.8.5
os_name Linux
os_version 5.4.0-1028-raspi
arch aarch64
timezone Asia/Taipei
錯誤訊息 Logger: aiohttp.server Source: custom_components/Hitachi_smart_app/smarthome/__init__.py:52 Integration: Hitachi Smart App (documentation, issues) First occurred: 18:07:44 (4 occurrences) Last logged: 18:07:55

Error handling request
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/srv/homeassistant/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/srv/homeassistant/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/forwarded.py", line 77, in forwarded_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/request_context.py", line 24, in request_context_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/ban.py", line 78, in ban_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/auth.py", line 144, in auth_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/view.py", line 135, in handle
result = await result
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/config/config_entries.py", line 155, in post
return await super().post(request, flow_id)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/data_validator.py", line 63, in wrapper
result = await method(view, request, *args, **kwargs)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/data_entry_flow.py", line 109, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/data_entry_flow.py", line 202, in async_configure
result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/data_entry_flow.py", line 260, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/home/homeassistant/.homeassistant/custom_components/Hitachi_smart_app/config_flow.py", line 39, in async_step_user
client = smarthome(
File "/home/homeassistant/.homeassistant/custom_components/Hitachi_smart_app/smarthome/init.py", line 52, in init
self.sslcontext = ssl.create_default_context(cafile="/config/custom_components/Hitachi_smart_app/smarthome/certificate.crt")
File "/usr/lib/python3.8/ssl.py", line 745, in create_default_context
context.load_verify_locations(cafile, capath, cadata)
FileNotFoundError: [Errno 2] No such file or directory

Cannot import name 'HTTP_OK'

2022-02-26 20:07:18 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration Hitachi_smart_app: cannot import name 'HTTP_OK' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.