시하스 Wi-Fi 장치 to HA 연동을 위한 컴포넌트입니다.
HomeAssistant 설치 방법의 HACS를 사용하여 설치 항목을 참조해주세요.
NOTE
문제가 있을 경우 같은 링크의 직접 다운로드하여 설치를 사용해주세요.
해당 방법은 버전 컴포넌트 버전v1.3.3
까지 지원합니다.
HA custom component for SiHAS Wi-Fi devices.
License: BSD 3-Clause "New" or "Revised" License
시하스 Wi-Fi 장치 to HA 연동을 위한 컴포넌트입니다.
HomeAssistant 설치 방법의 HACS를 사용하여 설치 항목을 참조해주세요.
NOTE
문제가 있을 경우 같은 링크의 직접 다운로드하여 설치를 사용해주세요.
해당 방법은 버전 컴포넌트 버전v1.3.3
까지 지원합니다.
Home Assistant 를 2023.2.0으로 업데이트하면 아래와 같은 메시지가 출력됩니다.
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: 08:15:46 (2 occurrences)
Last logged: 08:15:51
Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for sihas_canary using this method at custom_components/sihas_canary/init.py, line 26: hass.config_entries.async_setup_platforms(entry, PLATFORMS)
현재 환경은 아래와 같습니다.
Home Assistant 2023.2.0
Supervisor 2023.01.1
Operating System 9.5
Frontend 버전: 20230201.0 - latest
스마트 전력미터 PMM-300-W/Z 단상형을 사용하고 있습니다.
그리고 업데이트 해주실 때 HA의 통합구성요소에 기기로 등록되도록 업데이트 해주시면 좋겠습니다.
https://cafe.naver.com/koreassistant/10588
이런 식으로 지금은 사용자들이 수정해서 사용중인데.. 정식으로 지원되면 좋겠습니다.
변경 사항이 있을 때 쉽게 업데이트하고 관리할 수 있도록 시하스 컴포넌트를 HACS에서 설치하고 통합구성요소에서 기기록 등록해서 관리할 수 있었으면 좋겠습니다.
개인 개발자들도 지원할 수 있는 부분이기 때문에 시하스도 가능하다고 생각합니다.
Hello,
I had updated a custom component of sihas to v1.6.2b1 and met a below error message.
But, After rollbacked to V1.6.1. the problem had disappeared.
HA's version is 2024.1.3.
Thanks
SungOk
2024-01-14 15:31:12.550 ERROR (MainThread) [homeassistant.helpers.entity] Update for climate.home_heater fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 898, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1218, in async_device_update
await hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/sihas/climate.py", line 457, in update
self._attr_hvac_action = self._resolve_hvac_action(regs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/sihas/climate.py", line 490, in _resolve_hvac_action
return HVACAction.HEAT
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 784, in __getattr__
raise AttributeError(name) from None
AttributeError: HEAT
'
Hi,
Today, I had updated a HASS to 2024.2.4 and found a below warning message related to BCM300.
Sihas' version is 1.6.2.
2024-02-28 11:08:48.876 WARNING (MainThread) [py.warnings] /config/custom_components/sihas/climate.py:496: SyntaxWarning: invalid escape sequence '\_'
"""보일러 운전모드 파싱
2024-02-28 11:08:49.669 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.sihas.climate.Bcm300'>) implements HVACMode(s): off, heat, fan_only, auto and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/cmsong-shina/sihas-canary/issues
Thanks
SungOk
HA Core 2025.01에 예정된 변경사항에 대한 경고메시지에 대해 업데이트 해주시면 감사하겠습니다.
Logger: homeassistant.components.climate.const
Source: helpers/deprecation.py:204
Integration: 공조기기 (documentation, issues)
First occurred: 08:11:06 (11 occurrences)
Last logged: 08:11:06
HVAC_MODE_COOL was used from sihas, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please create a bug report at https://github.com/cmsong-shina/sihas-canary/issues
HVAC_MODE_DRY was used from sihas, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please create a bug report at https://github.com/cmsong-shina/sihas-canary/issues
HVAC_MODE_FAN_ONLY was used from sihas, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please create a bug report at https://github.com/cmsong-shina/sihas-canary/issues
HVAC_MODE_HEAT was used from sihas, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please create a bug report at https://github.com/cmsong-shina/sihas-canary/issues
HVAC_MODE_OFF was used from sihas, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please create a bug report at https://github.com/cmsong-shina/sihas-canary/issues
Logger: homeassistant.components.cover
Source: helpers/deprecation.py:204
Integration: 여닫이 (documentation, issues)
First occurred: 08:11:06 (8 occurrences)
Last logged: 08:11:06
SUPPORT_CLOSE was used from sihas, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.CLOSE instead, please create a bug report at https://github.com/cmsong-shina/sihas-canary/issues
SUPPORT_OPEN was used from sihas, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.OPEN instead, please create a bug report at https://github.com/cmsong-shina/sihas-canary/issues
SUPPORT_SET_POSITION was used from sihas, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_POSITION instead, please create a bug report at https://github.com/cmsong-shina/sihas-canary/issues
SUPPORT_STOP was used from sihas, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.STOP instead, please create a bug report at https://github.com/cmsong-shina/sihas-canary/issues
Logger: homeassistant.components.sensor
Source: helpers/deprecation.py:204
Integration: 센서 (documentation, issues)
First occurred: 08:10:44 (10 occurrences)
Last logged: 08:11:06
STATE_CLASS_MEASUREMENT was used from sihas, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please create a bug report at https://github.com/cmsong-shina/sihas-canary/issues
STATE_CLASS_TOTAL was used from sihas, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL instead, please create a bug report at https://github.com/cmsong-shina/sihas-canary/issues
STATE_CLASS_TOTAL_INCREASING was used from sihas, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please create a bug report at https://github.com/cmsong-shina/sihas-canary/issues
안녕하세요, ACM 등록후 다음의 오류가 나며 상태가 제대로 올라오지 않습니다.
IndexError: list index out of range
2023-07-09 07:20:50.393 INFO (SyncWorker_4) [custom_components.xiaomi_miot.core.miio2miot] zhimi.fan.v3: Got miio props for miot: {'power': 'off', 'speed_level': 74, 'angle_enable': 'off', 'angle': 60, 'natural_level': 1, 'child_lock': 'off', 'battery': 100, 'bat_charge': 'complete'}
2023-07-09 07:20:54.514 ERROR (MainThread) [homeassistant.helpers.entity] Update for climate.acma8_2b_d6_36_c2_62 fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 695, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 942, in async_device_update
await hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/sihas/climate.py", line 358, in update
self._attr_fan_mode = Acm300.FAN_TABLE[regs[Acm300.REG_FAN]]
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
현재 센서 데이터 값을 보면 소수점 셋째자리까지 표시됩니다
너무 뎁스가 깊어서 이것을 소수점 둘째자리까지 표현하기 위해
PMM_KEY_POWER: PmmConfig(
nuom=POWER_WATT,
value_handler=lambda r: round(r[2], 2),
device_class=SensorDeviceClass.POWER,
state_class=STATE_CLASS_MEASUREMENT,
sub_id=PMM_KEY_POWER,
와 같이 수정했지만 소수점 둘째자리까지 표현되지 않습니다.
다음 버전 업데이트를 할때에는 표시되기 원하는 소수점 자리를 선택할 수 있으면 좋을 것 같습니다.
안녕하세요.
이번에 HACS에 등록해 주셔서 새로 설치해서 잘 사용하고 있습니다.
언제나 빠르게 대응해 주시는 시하스 개발자분들과 관계자분들께 감사한 마음입니다.
그런데, 제가 이번에 업데이트 된 시하스 컴포넌트를 HACS에 설치해보니
PMM의 경우에
누적전력량
당일 사용량
당월 사용량
실시간 전력
이렇게 4개의 센서만 올라오는데요..
혹시 전월 사용량과 전압, 전류, 역률, 전력, 현재 주파수 등 다른 값도 센서로 추가해주실 수 있으실까요?
Hi,
I had updated a sihas-canary to 1.1.2 but can't setup it with a below error message.
I think this problem is caused by changing setup_platform to async_setup_entry.
Would you mind check this case?
Thanks
SO
Apr 26 16:20:40 raspberrypi hass[15843]: 2022-04-26 16:20:40 ERROR (MainThread) [homeassistant.components.sensor] The sihas_canary platform for the sensor integration does not support platform setup. Please remove it from your config.
Apr 26 16:20:40 raspberrypi hass[15843]: 2022-04-26 16:20:40 ERROR (MainThread) [homeassistant.components.sensor] The sihas_canary platform for the sensor integration does not support platform setup. Please remove it from your config.
Line 154 in 7188211
Hi,
Today, I had updated a Home Assistant to 2023.1.0 and restarted to apply.
But, I had gotten a warning message as a below.
I think that "custom_components.sihas_canary.sensor.AqmVirtualSensor" will be updated a "native_unit_of_measurement".
2023-01-05 09:58:03.292 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration sihas_canary which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-01-05 09:58:17.313 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.home_tvoc (<class 'custom_components.sihas_canary.sensor.AqmVirtualSensor'>) is using native unit of measurement 'ppb' which is not a valid unit for the device class ('volatile_organic_compounds') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Thanks
SungOk
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.