Comments (5)
The disableCache option has been added which disabled caching for certain converters. So in the future we can safely add the cube angles for the MFKZQ01LM
from zigbee2mqtt.
This is done on purpose because home assistant requires all sensor values when it receives a message on a topic.
In the case of:
2018-5-7 22:57:20 INFO MQTT publish, topic: 'zigbee2mqtt/0x00158d0001fa5c9d', payload: '{"temperature":26.86}'
2018-5-7 22:57:20 INFO MQTT publish, topic: 'zigbee2mqtt/0x00158d0001fa5c9d', payload: '{"humidity":36.63}'
2018-5-7 22:57:20 INFO MQTT publish, topic: 'zigbee2mqtt/0x00158d0001fa5c9d', payload: '{"pressure":970}'
The temperature and humidity sensor value would be null.
from zigbee2mqtt.
You have different sensors defined in home assistant for temperature/ humidity and air pressure. You can define them with separate messages. I think the only advantage would have been battery.
For now this is not that big issue but will be for cube, once you have two parameters (angle number on rotate).
from zigbee2mqtt.
Separate messages don't solve the problem, this can only be solved by using separate topics. (e.g. zigbee2mqtt/0x00158d0001fa5c9d/temperature
, this however would be inconsistent with https://www.home-assistant.io/components/light.mqtt_json/ which is used for all lights. (this requires one topic per light).
Therefore I would prefer to set an attribute on the converter or the device to not cache this message. (e.g. cache: false
)
from zigbee2mqtt.
Thank we can close this issue and raise one separate only for the cube when analog angles will be required to be sent with the action.
from zigbee2mqtt.
Related Issues (20)
- TS011F_plug_1 errors in configuration, measurement unit and wrong energy measurement values HOT 1
- Profalux NSAV061 HOT 1
- TS0044 battery operated scene switch takes multiple presses before publishing payload
- [New device support]: TZE200_p2qzzazi - Kogan zigbee blind HOT 1
- Enable/disable devices using automation script HOT 1
- Tuya Scene switch TS0044 does not work HOT 1
- RoomsAI and Moes 2gang switch does not change state on HA command but reports correctly physical press
- How to undelete accidentally removed device in Domoticz HOT 1
- Received ERROR from NCP while connecting, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT HOT 3
- panId collision detected over usbip HOT 1
- Kiwkset Convert Lock status not updating HOT 2
- Ember not working for Sonoff E dongle HOT 2
- Ember issue HOT 1
- [New device support]: unsupported device manufacturer with Zigbee model 'TS0601' and manufacturer name '_TZE284_cjbofhxw' HOT 6
- Ubisys C4 using configure_device_setup results in timeout HOT 4
- [Feature request]: Add Startup Brigness for IKEA tradfri LED2005R5/LED2106R3
- Prevent docker image crashing when serial device is not configured (to allow the use of networked adapters)
- sonoff zigbee 3.0 USB Dongle plus failed to ping (and manage all devices)
- zigbee Lidl extender problems
- Apparently wrong/missing value template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zigbee2mqtt.