Git Product home page Git Product logo

Comments (10)

Polymerkid0 avatar Polymerkid0 commented on September 22, 2024

All the temperature entities of Trench devices are not found in the latest update.

from homeassistant-terncy-component.

rxwen avatar rxwen commented on September 22, 2024

Thanks for reporting. Will check it later.

from homeassistant-terncy-component.

rxwen avatar rxwen commented on September 22, 2024

What's the version of your HA? I'm using 2022.3.1, the temperature sensors are all available.

image

from homeassistant-terncy-component.

Polymerkid0 avatar Polymerkid0 commented on September 22, 2024

I am running 2022.4.6 now. All the temperature sensors do not work.

Screenshot 2022-04-22 at 11 57 03 PM

The Terncy logs are shown below for your reference.

2022-04-22 23:26:57 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of terncy==0.3.5
2022-04-22 23:28:06 INFO (MainThread) [homeassistant.setup] Setting up terncy
2022-04-22 23:28:06 INFO (MainThread) [homeassistant.setup] Setup of domain terncy took 0.0 seconds
2022-04-22 23:28:06 INFO (MainThread) [custom_components.terncy] terncy domain async_setup_entry box-1c-82-59-90-05-ab
2022-04-22 23:28:06 INFO (MainThread) [homeassistant.components.light] Setting up light.terncy
2022-04-22 23:28:06 INFO (MainThread) [homeassistant.components.cover] Setting up cover.terncy
2022-04-22 23:28:06 INFO (MainThread) [homeassistant.components.switch] Setting up switch.terncy
2022-04-22 23:28:06 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.terncy
2022-04-22 23:28:06 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.terncy
2022-04-22 23:28:06 INFO (MainThread) [custom_components.terncy.light] setup terncy light platform
2022-04-22 23:28:06 INFO (MainThread) [custom_components.terncy.cover] setup terncy curtain platform
2022-04-22 23:28:06 INFO (MainThread) [custom_components.terncy.switch] setup terncy smart plug platform
2022-04-22 23:28:06 INFO (MainThread) [custom_components.terncy.binary_sensor] setup terncy curtain platform
2022-04-22 23:28:06 INFO (MainThread) [custom_components.terncy.sensor] setup terncy curtain platform
2022-04-22 23:28:06 INFO (MainThread) [custom_components.terncy] found terncy service: box-1c-42-59-90-05-ab {'dev_id': 'box-1c-82-59-90-05-ab', 'ip': '192.168.31.202', 'port': 443, 'sv': 'v3.0.98', 'hw': 'v2', 'dn': '小燕家庭中心1c82599005ab', 'lan': '3', 'oa': '0', 'vg': 'NULL', 'vm': '0', 'gn': 'NULL', 'pro': '0'}
2022-04-22 23:28:06 INFO (MainThread) [custom_components.terncy] start connection to box-1c-42-59-90-05-ab 192.168.31.202
2022-04-22 23:28:06 INFO (MainThread) [terncy.terncy] Terncy v0.3.5 starting connection to:
2022-04-22 23:28:06 INFO (MainThread) [terncy.terncy] box-1c-42-59-90-05-ab 192.168.31.202:443
2022-04-22 23:28:07 INFO (MainThread) [terncy.terncy] connected to box-1c-82-59-90-05-ab
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] got connected event box-1c-82-59-90-05-ab
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] refresh devices now
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] {'hwVersion': 1, 'id': '000d6f00145259f3-00', 'model': 'TERNCY-PP01', 'online': True, 'ota': -1, 'services': [{'attributes': [{'attr': 'battery', 'value': 66}, {'attr': 'luminance', 'value': 18}, {'attr': 'motion', 'value': 0}, {'attr': 'motionL', 'value': 0}, {'attr': 'motionR', 'value': 0}, {'attr': 'temperature', 'value': 258}], 'id': '000d6f00145259f3-01', 'name': '感應開關01', 'profile': 0}], 'type': 'device', 'version': 142}
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] 258
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] create temperature sensor
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy.sensor] update state event to [{'attr': 'battery', 'value': 66}, {'attr': 'luminance', 'value': 18}, {'attr': 'motion', 'value': 0}, {'attr': 'motionL', 'value': 0}, {'attr': 'motionR', 'value': 0}, {'attr': 'temperature', 'value': 258}]
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy.binary_sensor] update state event to [{'attr': 'battery', 'value': 66}, {'attr': 'luminance', 'value': 18}, {'attr': 'motion', 'value': 0}, {'attr': 'motionL', 'value': 0}, {'attr': 'motionR', 'value': 0}, {'attr': 'temperature', 'value': 258}]
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] {'hwVersion': 1, 'id': '000d6f00146fad38-00', 'model': 'TERNCY-WS01-S1', 'online': True, 'ota': -1, 'services': [{'attributes': [{'attr': 'disableRelay', 'value': 1}, {'attr': 'pureInput', 'value': 1}, {'attr': 'disabledRelayStatus', 'value': 1}, {'attr': 'on', 'value': 0}], 'id': '000d6f00146fad38-01', 'name': '', 'profile': 2}, {'attributes': [{'attr': 'disableRelay', 'value': 0}, {'attr': 'pureInput', 'value': 1}, {'attr': 'disabledRelayStatus', 'value': 0}], 'id': '000d6f00146fad38-02', 'name': '', 'profile': 6}, {'attributes': [{'attr': 'disableRelay', 'value': 0}, {'attr': 'pureInput', 'value': 1}, {'attr': 'disabledRelayStatus', 'value': 0}], 'id': '000d6f00146fad38-03', 'name': '', 'profile': 6}, {'attributes': [{'attr': 'disableRelay', 'value': 0}, {'attr': 'pureInput', 'value': 1}, {'attr': 'disabledRelayStatus', 'value': 0}], 'id': '000d6f00146fad38-04', 'name': '', 'profile': 6}], 'type': 'device', 'version': 95}
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] 000d6f00146fad38-01 is disabled, skip it
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] unsupported profile 6
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] unsupported profile 6
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] unsupported profile 6
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] {'hwVersion': 3, 'id': '000d6f00166865c7-00', 'model': 'TERNCY-PP01', 'online': True, 'ota': -1, 'services': [{'attributes': [{'attr': 'battery', 'value': 62}, {'attr': 'luminance', 'value': 184}, {'attr': 'motion', 'value': 0}, {'attr': 'motionL', 'value': 0}, {'attr': 'motionR', 'value': 0}, {'attr': 'temperature', 'value': 254}], 'id': '000d6f00166865c7-01', 'name': '感應開關02', 'profile': 0}], 'type': 'device', 'version': 10}
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] 254
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] create temperature sensor
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy.sensor] update state event to [{'attr': 'battery', 'value': 62}, {'attr': 'luminance', 'value': 184}, {'attr': 'motion', 'value': 0}, {'attr': 'motionL', 'value': 0}, {'attr': 'motionR', 'value': 0}, {'attr': 'temperature', 'value': 254}]
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy.binary_sensor] update state event to [{'attr': 'battery', 'value': 62}, {'attr': 'luminance', 'value': 184}, {'attr': 'motion', 'value': 0}, {'attr': 'motionL', 'value': 0}, {'attr': 'motionR', 'value': 0}, {'attr': 'temperature', 'value': 254}]
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] {'hwVersion': 1, 'id': '000d6f00174a1e93-00', 'model': 'TERNCY-DC01', 'online': True, 'ota': -1, 'services': [{'attributes': [{'attr': 'battery', 'value': 52}, {'attr': 'contact', 'value': 0}, {'attr': 'temperature', 'value': 258}], 'id': '000d6f00174a1e93-01', 'name': '雪櫃下格', 'profile': 3}], 'type': 'device', 'version': 154}
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] 258
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] create temperature sensor
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy.sensor] update state event to [{'attr': 'battery', 'value': 52}, {'attr': 'contact', 'value': 0}, {'attr': 'temperature', 'value': 258}]
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy.binary_sensor] update state event to [{'attr': 'battery', 'value': 52}, {'attr': 'contact', 'value': 0}, {'attr': 'temperature', 'value': 258}]
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] {'hwVersion': 1, 'id': '000d6f00174a3307-00', 'model': 'TERNCY-DC01', 'online': True, 'ota': -1, 'services': [{'attributes': [{'attr': 'battery', 'value': 50}, {'attr': 'contact', 'value': 0}, {'attr': 'temperature', 'value': 264}], 'id': '000d6f00174a3307-01', 'name': '雪櫃上格', 'profile': 3}], 'type': 'device', 'version': 154}
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] 264
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] create temperature sensor
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy.sensor] update state event to [{'attr': 'battery', 'value': 50}, {'attr': 'contact', 'value': 0}, {'attr': 'temperature', 'value': 264}]
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy.binary_sensor] update state event to [{'attr': 'battery', 'value': 50}, {'attr': 'contact', 'value': 0}, {'attr': 'temperature', 'value': 264}]
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] {'hwVersion': 3, 'id': '8cf681fffe4d0d60-00', 'model': 'TERNCY-WS04-S1', 'online': True, 'ota': -1, 'services': [{'attributes': [{'attr': 'disableRelay', 'value': 0}, {'attr': 'pureInput', 'value': 0}, {'attr': 'disabledRelayStatus', 'value': 0}, {'attr': 'on', 'value': 0}], 'id': '8cf681fffe4d0d60-01', 'name': '房間燈', 'profile': 2}], 'type': 'device', 'version': 2}
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] None
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy.switch] update state event to [{'attr': 'disableRelay', 'value': 0}, {'attr': 'pureInput', 'value': 0}, {'attr': 'disabledRelayStatus', 'value': 0}, {'attr': 'on', 'value': 0}]
2022-04-22 23:28:07 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.terncy entity: switch.fang_jian_deng
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] {'hwVersion': 3, 'id': 'bc33acfffe830a8b-00', 'model': 'TERNCY-WS04-S2', 'online': True, 'ota': -1, 'services': [{'attributes': [{'attr': 'disableRelay', 'value': 0}, {'attr': 'pureInput', 'value': 0}, {'attr': 'disabledRelayStatus', 'value': 0}, {'attr': 'on', 'value': 1}], 'id': 'bc33acfffe830a8b-01', 'name': '飯廳射燈', 'profile': 2}, {'attributes': [{'attr': 'disableRelay', 'value': 0}, {'attr': 'pureInput', 'value': 0}, {'attr': 'disabledRelayStatus', 'value': 0}, {'attr': 'on', 'value': 1}], 'id': 'bc33acfffe830a8b-02', 'name': '客廳射燈', 'profile': 2}], 'type': 'device', 'version': 2}
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] None
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy.switch] update state event to [{'attr': 'disableRelay', 'value': 0}, {'attr': 'pureInput', 'value': 0}, {'attr': 'disabledRelayStatus', 'value': 0}, {'attr': 'on', 'value': 1}]
2022-04-22 23:28:07 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.terncy entity: switch.fan_ting_she_deng
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy] None
2022-04-22 23:28:07 INFO (MainThread) [custom_components.terncy.switch] update state event to [{'attr': 'disableRelay', 'value': 0}, {'attr': 'pureInput', 'value': 0}, {'attr': 'disabledRelayStatus', 'value': 0}, {'attr': 'on', 'value': 1}]
2022-04-22 23:28:07 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.terncy entity: switch.ke_ting_she_deng
2022-04-22 23:28:08 INFO (MainThread) [custom_components.terncy] got event message box-1c-42-59-90-05-ab {'entities': [{'attributes': [{'attr': 'temperature', 'value': 253}], 'id': '000d6f00166865c7-01'}], 'intent': 'event', 'type': 'report'}
2022-04-22 23:28:08 INFO (MainThread) [custom_components.terncy] got temperature
2022-04-22 23:28:08 INFO (MainThread) [custom_components.terncy.sensor] update state event to [{'attr': 'temperature', 'value': 253}]

from homeassistant-terncy-component.

rxwen avatar rxwen commented on September 22, 2024

I tried terncy component 1.0.15 on ha 2022.4.6, my temperature sensors are fine.
The log you provided didn't seem to have issue.

Can you try an older version of HA to see if it also has problem?

from homeassistant-terncy-component.

Polymerkid0 avatar Polymerkid0 commented on September 22, 2024

I tried 2022.3.1. Still got the same bugs. All temperature sensors are unavailable. Can I take a look of your configuration.yaml setting?

from homeassistant-terncy-component.

Polymerkid0 avatar Polymerkid0 commented on September 22, 2024

Does it also support luminance sensor? Because the luminance sensor of the Terncy Smart Home Awareness Swtich is not available.

from homeassistant-terncy-component.

rxwen avatar rxwen commented on September 22, 2024
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

I didn't make any manual change in this configuration.yaml file.

from homeassistant-terncy-component.

Polymerkid0 avatar Polymerkid0 commented on September 22, 2024

I have removed the entire component and reinstalled it (Terncy component Version 1.0.15) and use the same configuration.yaml file as yours on ha 2022.4.6. The problems still can not be solved.

from homeassistant-terncy-component.

klska avatar klska commented on September 22, 2024

我遇到了同样的问题,温湿度传感器无法在ha中显示,1.015/1.016在2022.7和2022.9上都有

from homeassistant-terncy-component.

Related Issues (20)

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.