Closed pruwait closed 4 years ago
Hey there @dmulcahey, @adminiuga, mind taking a look at this issue as its been labeled with an integration (zha
) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
It uses non standard clusters to send information about temp, pressure, humidity. This would require a quirk. Open an issue in zigpy/zha-device-handlers repository
@pruwait read this topic #36696 This is what i discussed already but no luck. You may continue ;-)
has nothing to do #36696 Feel free to read ZCL specs.
@Adminiuga
Feel free to read ZCL specs.
Ok, in log we see:
[0x0830:6:0x000c] ZCL request 0x000a: [[<Attribute attrid=85 value=<TypeValue type=float, value=29.65999984741211>>, <Attribute attrid=28 value=<TypeValue type=CharacterString, value=C,77>>]]
[0x0830:6:0x000c] Attribute report received: present_value=29.65999984741211, description=C,77
In zigbeealliance.org zigbee-cluster-library-specification:
3.14.2 Analog Input (Basic) Identifier | Name 0x000c | Analog Input
Because there are standards. In ZCL for temperature there's temperature cluster. For pressure, there's pressure cluster. I'm not going to chase every manufacturer who re-invents the wheel and decide to do things their own way.
Second, analog cluster was representing a single entity in HA. What was that entity supposed to represent? temperature, pressure or humidity? Cause there're all three on reported by the same attribute
[0x0830:6:0x000c] Attribute report received: present_value=29.65999984741211, description=C,77
[0x0830:6:0x000c] Attribute report received: present_value=99569.0, description=Pa,77
[0x0830:6:0x000c] Attribute report received: present_value=54.423828125, description=%,77
But hey, it's open source, so your contribution is welcome.
@Adminiuga
Second, analog cluster was representing a single entity in HA. What was that entity supposed to represent? temperature, pressure or humidity? Cause there're all three on reported by the same attribute
I agree with you, that is not correct usage. But:
Because there are standards. In ZCL for temperature there's temperature cluster. For pressure, there's pressure cluster.
And the AnalogInput cluster - it is also the ZCL standart for some analog readings. It may be any value. There is "description" to understand, what is it. Why you mix the incorrect usage of cluster with this cluster itself? If some crazy manufacturer will use temperature cluster for, in example, cloud cover of the sky, you will remove the temperature cluster?
Dude you’re hijacking another issue and you skipped over the most important point here. This device is reporting all 3 on the same cluster on the same attribute. This would NOT have worked regardless. Give it a rest.
Moved this here: https://github.com/zigpy/zha-device-handlers/issues/416
The problem
No objects for bmp280 Data Clusters. Can't read value from temperature, humidity, pressure. In logs DATA exists.
Only switch and binary sensor is is created.
Environment
cc2530_io_1.2.2a.44539_firmware cc2530 bmp280
arch | x86_64 chassis | desktop dev | false docker | true docker_version | 19.03.8 hassio | true host_os | Ubuntu 20.04 LTS installation_type | Home Assistant Supervised os_name | Linux os_version | 5.4.0-40-generic python_version | 3.7.7 supervisor | 228 timezone | Europe/Moscow version | 0.112.4 virtualenv | false
Problem-relevant
configuration Zigbee device
Traceback/Error logs