Closed terierul closed 1 week ago
Can you test this code?
https://gist.github.com/sweepy-77/772f25eb2efca35689a5309377d0da93
Hi , test results (seems ok - except the battery which probably will need some time to refresh values):
database {"id":85,"type":"EndDevice","ieeeAddr":"0xa4c13866cfb08c0c","nwkAddr":29536,"manufId":4417,"manufName":"_TZE200_vvmbj46n","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65506":56,"65508":0,"65534":0,"appVersion":72,"manufacturerName":"_TZE200_vvmbj46n","zclVersion":3,"modelId":"TS0601","powerSource":3}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":72,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":1335756102},"lastSeen":1703228942567,"defaultSendRequestWhen":"immediate"}
device about page
device exposes page
device state page
here I do not understand what will be the use of these parameters, meaning doing what with them...
"maxhum_set": 60,
"maxtemp_set": 39,
"minihum_set": 20,
"minitemp_set": 0,
Thank you
battery value updated to 109% :)
Hi and Happy New Year One more thing I tested and not working =trying to change from Celsius to Fahrenheit--> nothing happens, remains in Celsius
Hi and Happy New Year
I modified the lines below to take into account the set command with the right parameters, it works for me. On the other hand, the min and max alarm temperature settings will remain in °C, no change possible in Fahrenheit on the Tuya app.
`
Before e.enum('temp_unit_convert', ea.STATE_SET, ['celsius', 'fahrenheit']).withDescription('Temperature unit'), After e.enum('temp_unit_convert', ea.STATE_SET, ['c', 'f']).withDescription('Temperature unit'),
`
thanks sweepy-77 I will not be able to test the change in the next month as I will be out of the location where the sensor is installed My suggestion is to not wait, but to do the code merging and to promote it Thanks!
PS. the fahrenheit part as European is not affecting me :)
tested with new parameters and nothing change. It stucks in Celsius
Hi and Happy New Year
I modified the lines below to take into account the set command with the right parameters, it works for me. On the other hand, the min and max alarm temperature settings will remain in °C, no change possible in Fahrenheit on the Tuya app.
`
Before e.enum('temp_unit_convert', ea.STATE_SET, ['celsius', 'fahrenheit']).withDescription('Temperature unit'), After e.enum('temp_unit_convert', ea.STATE_SET, ['c', 'f']).withDescription('Temperature unit'),
`
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days
Link
https://www.aliexpress.com/item/1005005897062814.html?spm=a2g0o.order_list.order_list_main.38.21ef1802RfA7UM
Database entry
{"id":85,"type":"EndDevice","ieeeAddr":"0xa4c13866cfb08c0c","nwkAddr":28414,"manufId":4417,"manufName":"_TZE200_vvmbj46n","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"stackVersion":0,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":72,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1702758110334,"defaultSendRequestWhen":"immediate"}
Comments
I did not used any external converter as I do not have a Tuya hub I do not know which one from repository is equal to test
External converter
No response
Supported color modes
No response
Color temperature range
No response