I’ve worked on the Zigbee2mqtt converter integration for the w100.
But if the PTMSD protocol is limited to integer, then why on the W100 device can we set float values ?
Is there another endpoint we can use to get/set thermostat float setpoint value instead of using PTMSD ?
Do you have some technical information to share that could help us to improve the current Z2M support ?
When the W100 is connected to the W400 or W600, it supports floating-point control (these devices do not use PTMSD but can control temperature directly).
The W100 needs to be compatible with both PTMSD and direct control, but since it cannot determine the device’s control unit, it defaults to floating-point control.
I’m sorry, but if that’s the case, you may have to wait for the next version.
I’ve already reported this issue to the project team. The exact release date for the next version depends on the team’s schedule, so I can’t give you a definite answer at this time. We’ll fix this issue as soon as possible.
My solution for ZHA: filter out rounded values using a Template Sensor.
You can create a template sensor that only accepts values with a decimal part and ignores rounded ones.
Steps
Go to: Settings → Devices & services → Helpers
Click: Create helper → Template → Sensor
Fill in:
Name: Filtered Temperature
State template (replace zaltemphum_temperatura to your W100 sensor):
{% set v = states('sensor.zaltemphum_temperatura') %}
{% if v not in ['unknown','unavailable',''] %}
{% set f = v | float %}
{% if (f * 10) % 10 != 0 %}
{{ f }}
{% else %}
{{ this.state }}
{% endif %}
{% else %}
{{ this.state }}
{% endif %}
Unit of measurement: °C
Device class: Temperature
State class: Measurement
Device: Select W100 device to link
How it works
Values like 23.0 are ignored
Values like 23.7 are accepted
The sensor keeps the last valid (non-rounded) value
Result
You get a stable temperature sensor that updates only with real measurements and ignores the faulty rounded updates.
The downside is that if the actual temperature is a whole number (without decimals), it will also be ignored. However, this is still preferable for use in a virtual thermostat, as it prevents unstable fluctuations in the readings.
Use this new sensor in your automations instead of the original one.
Anyhow - a “workaround” like fw downgrade should be the minimum Aqara should provide in these cases. Not acceptable the introduce a main bug and not act/correct it during weeks.
We apologize for our limited support for HA; as a result, fixes for these third-party issues may take longer to implement. We are currently working to improve this situation
Are there any updates regarding the W100 and Home Assistant on the 0.5°C step issue? Aqara should understand that many users are waiting for a solution.
The latest firmware will be available for testing next week.
It will be released very soon, and we can provide you with an early upgrade experience before the official release.
It appears that some configuration data remains after connecting to HA.
Here is the status of my device.
If you wish to downgrade, we can contact you to obtain authorization and perform the downgrade on your device.
Sorry, we don’t currently have that capability, as our thermostat control is implemented using Aqara’s proprietary technology.
This requires support from the gateway, the controlled thermostat, and the W100.
Z2M/HA alone cannot perform this function.
I hate to say it, but it should not surprise you, don’t hold your breath, etc.
I was the one last year who discovered the PMTSD communication and how to put the device in “thermostat mode,” read the asks from the W100, push updates to it, etc. Although my implementation was rough (never coded a day before in my life), I understand their “protocol” quite well.
There is 0 reason they cannot expose endpoints like a normal climate device does, but they won’t. There is 0 reason the PMTSD format cannot be updated to support at least half degrees being reported, but they won’t. All this and more has been an ask for about a year now, but they do nothing about it and instead break more.
I strongly encourage everyone here to take a look at Aqara’s track record with the device and their (lack of) response to what the community desires and plan accordingly…
Z2M / HA is capable of reading the temperature setting of the W100 via the PMTSD. Adding support for one decimal place for x.5° precision is just a matter of implementing the feature. This is a flimsy excuse and, above all, a sign of unwillingness to keep your system closed and force the use of the M3 hub. There’s no point in touting Zigbee protocol support on your hardware if you keep it closed. Many of us are waiting for this firmware update; you have everything to gain from it in terms of business, as you’ll sell more W100s…
Aqara joined the zigbee alliance but always diverged from zb standards.
All i got with Aqara products those last years was disappointment and time losses to get simple standards features because of their way of doing their own way and share nothing with OSS community.
I’ve threw away my W100 as it’s a useless device with current implementation. Was my last aqara device.
Fortunately seems other brands got the point and now works closely with open source community to integrate their products better.
Aqara still lags behind with attitude from the past.