-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AQARA T1 Power report is wrong or absent #20895
Comments
Let me know if I can help in any way. |
Hello after the "Current version: 1.35.2-1" the problem is still there. |
I've got the same problem. If I re-pair it helps for ~1-2 days and then the same like you mention it hangs. I'm using Skyconnect |
Still have the pb after all update (I try also the Edge Z2M addon without sucess). |
I discovered something 💡 , I had a second relay with an older firmware version 21, tested for 5 days without any issues. I've updated it to the latest version 23, and after about 1.5 days, the relay stopped reporting. I haven't tested it with the latest firmware version 7.4+ for the coordinator and the test "ember" driver. Maybe I will test it on the weekend. |
This is a fact I already expriment on my side. One AQARA T1 POWER was working as expected but after firmware update, the power didn't comes to HA after one or two days. |
You can create a ticket here like I will do: https://static-resource.aqara.com/html/feedback.html |
Any response from Aqara support? I didn't receive any response :( |
No response yet |
I just look at my email and I got an answer from support:
|
It would be nice if they provided OTA version
|
Do you find how to restore an old firmware (without the application and aqara hub) ? |
If we have the ota file, than we can use Z2M and override index.json file with "custom" firmwares :) |
The last and quick answer of the support:
Such a shame... |
I try with the Ember adapter in Z2M. Same problem. |
The answer of the support to the question "is it possible to flash the firmware of the Aqara devices":
|
I tried with Z2M 1.36.1-1 and problem is still there. |
The problem is fixed with Z2M 1.37.1-1 ! This is really a surprise because the release notes don't mention this but all my Aqara T1 now report the power. Did you experience the same thing ? |
I will check that :) |
After one week, 3 over 4 are fixed on my side. Nothing special on the one which don't report the power. |
This converter works with latest release and fixed the power not reporting problem for me.
|
@petravic I believe that the final line of the converter should include module.exports = definition; :) Edited: After a few minutes, the device started reporting power, temperature, and energy :) I will observe it for a week to see if this solution will work :) |
Hello @petravic, When trying your converter I have this issue in the logs:
I guess you install it with the modification of zigbee2mqtt/configuration.yaml:
EDIT: OK I should have read more carfully the post of @rjaros87 which gave the solution.
EDIT2 : after few minutes it doesn't to change anything. Power is still not reported. |
@jmcollin78 I've re-paired the devices after uploading the converter, and it has been working for 3 days now. There is about a 3-minute delay in getting the |
I will try that. Thank you EDIT: i try many thing:
Each time I have wait 5 minutes but it don't work either. There must be something wrong on my configuration. |
Is my configuration wrong ?
in
The last state I have:
DeviceTemperature and energy are changing but not the power. |
How this fix will be integrated into the next release of Z2M ? |
What happened?
Aqara T1 with last firmware update doesn't report the power of report a wrong power.
![Capture d’écran 2024-01-19 à 16 24 19](https://private-user-images.githubusercontent.com/1712374/298113471-6d3e2cd0-5bb1-4648-aa3c-4bdd6bc3c5ad.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxOTg4OTksIm5iZiI6MTcxOTE5ODU5OSwicGF0aCI6Ii8xNzEyMzc0LzI5ODExMzQ3MS02ZDNlMmNkMC01YmIxLTQ2NDgtYWEzYy00YmRkNmJjM2M1YWQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjRUMDMwOTU5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjZkMWZjMmZjMTc2ZWRiYTkwOGM1ZTQ4Yzk5OTNhNDI3NGMyNWU4ZjQ5ZjhlNGQ3YjgzM2IyMzYxN2U4NDJiOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.XjwwJbW-r8k2PoLk3MvUTr8OFL8MZe9YvUmVmSuzR4w)
The installed firmware is:
For one on the switch, the power is always set even if the switch is off (and the switch is really off):
![Capture d’écran 2024-01-19 à 16 03 06](https://private-user-images.githubusercontent.com/1712374/298113821-bbdb290f-cade-46cd-a81d-6a4870d3dbe2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxOTg4OTksIm5iZiI6MTcxOTE5ODU5OSwicGF0aCI6Ii8xNzEyMzc0LzI5ODExMzgyMS1iYmRiMjkwZi1jYWRlLTQ2Y2QtYTgxZC02YTQ4NzBkM2RiZTIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjRUMDMwOTU5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDQ0OTc3NGU0MGM5OWM5NDM2YWVmYTkwZjkzNzY2YzZlZDFhZDlmMzQ4YzVlZjZiMTNlYWE2OGUwYmVmMDY4MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.7AsWgZcU2v9brqMHfraNVYjMOI5FyH-o6nMZCCD91M8)
For one other the power is always 0 even if the switch is off:
Just after pairing, it works as expected, but after a while, this stop working and the issues are present.
The issue is very similar with #11480 (comment) which is Closed, but still here on 1.35.1-1 and on Edge release.
This issue appears approximatively with the 1.33 release (not totally certain of the release because I lost the backup).
What did you expect to happen?
The power should reflect the real power of the device connected.
How to reproduce it (minimal and precise)
Switch on/off. Check power.
Zigbee2MQTT version
Edge
Adapter firmware version
(not found ??)
Adapter
ezsp
Setup
Pi 4
Debug log
SWITCH ON:
Zigbee2MQTT:debug 2024-01-19 16:17:57: Received MQTT message on 'zigbee2mqtt/Radiateur chambre 2/set' with data '{"state":"ON"}'
Zigbee2MQTT:debug 2024-01-19 16:17:57: Publishing 'set' 'state' to 'Radiateur chambre 2'
Zigbee2MQTT:info 2024-01-19 16:17:57: MQTT publish: topic 'zigbee2mqtt/Radiateur chambre 2', payload '{"consumption":0.06978899240493774,"current":0,"device_temperature":14,"energy":0.07,"last_seen":"2024-01-19T15:17:57.704Z","linkquality":176,"power":0,"power_outage_count":0,"power_outage_memory":false,"state":"OFF","switch_type":"toggle","update":{"installed_version":23,"latest_version":23,"state":"idle"},"update_available":null,"voltage":238.82}'
Zigbee2MQTT:info 2024-01-19 16:17:57: MQTT publish: topic 'zigbee2mqtt/Radiateur chambre 2', payload '{"consumption":0.06978899240493774,"current":0,"device_temperature":14,"energy":0.07,"last_seen":"2024-01-19T15:17:57.704Z","linkquality":176,"power":0,"power_outage_count":0,"power_outage_memory":false,"state":"ON","switch_type":"toggle","update":{"installed_version":23,"latest_version":23,"state":"idle"},"update_available":null,"voltage":238.82}'
Zigbee2MQTT:debug 2024-01-19 16:17:57: Received Zigbee message from 'Radiateur chambre 2', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Zigbee2MQTT:info 2024-01-19 16:17:57: MQTT publish: topic 'zigbee2mqtt/Radiateur chambre 2', payload '{"consumption":0.06978899240493774,"current":0,"device_temperature":14,"energy":0.07,"last_seen":"2024-01-19T15:17:57.740Z","linkquality":176,"power":0,"power_outage_count":0,"power_outage_memory":false,"state":"ON","switch_type":"toggle","update":{"installed_version":23,"latest_version":23,"state":"idle"},"update_available":null,"voltage":238.82}'
Zigbee2MQTT:debug 2024-01-19 16:18:21: Received Zigbee message from 'Radiateur chambre 2', type 'attributeReport', cluster 'genDeviceTempCfg', data '{"currentTemperature":12}' from endpoint 1 with groupID 0
Zigbee2MQTT:info 2024-01-19 16:18:21: MQTT publish: topic 'zigbee2mqtt/Radiateur chambre 2', payload '{"consumption":0.06978899240493774,"current":0,"device_temperature":12,"energy":0.07,"last_seen":"2024-01-19T15:18:21.867Z","linkquality":176,"power":0,"power_outage_count":0,"power_outage_memory":false,"state":"ON","switch_type":"toggle","update":{"installed_version":23,"latest_version":23,"state":"idle"},"update_available":null,"voltage":238.82}'
The text was updated successfully, but these errors were encountered: