-
Notifications
You must be signed in to change notification settings - Fork 520
DDF for Moes Thermostat #7585
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
DDF for Moes Thermostat #7585
Conversation
Hi is this already safe to include or may it break any of the listed devices in the DDF? |
The one managed by the code is So no conflict. |
There is one, it is selected by deconz-rest-plugin/device_access_fn.cpp Line 825 in 0107459
So better define a read interval, note if none is given like in this case not even in the generic item (which should have one) 0 is assigned, which means read always and as soon as possible. Which might be the cause for the hammering we see in some setups which even with 2.25.3 see higher CPU usage. I'm preparing a small PR to prevent that and change 0 values to 10 or perhaps 20 seconds to prevent hammering. But ideally items should define something useful here (at least the generic items). |
@manup The "tuya ask all dpid" request is done periodicaly ? So it can be just disabled ? On classic devices, the poll is a security, but on tuya cluster not sure it's usefull. Asking all dpid every 1 hour for exemple is not normal, if the device don't make report after a period it don't mean it's badly configured or don't support report/bind, but the device is dead. And the choosed field is important too, If I put this line in a state/temperature, it's fine, there is so mcuh report for this one, but if I put it in a config/mode, it can trigger the request periodicaly for nothing. |
It's called like a regular read function based on wherever the item to which it is bound, for example So when the When the read function is called the Tuya Data Query Command (0x03) is send to the Tuya cluster (0xEF00), and the device will send the reports for the data points after that (at least that's what it did when I last tested it). Note: The same can be done manually, in the deCONZ GUI Cluster Info Panel of the Tuya specific cluster (0xEF00).
Not sure if I understand correctly, but if you don't need the above command to trigger a report just use
Yes the item should be one that is updated (parsed) from the device, since fresh value timestamp comes into play here. Of course this is all a bit of a hack :D but for now that's how it works. |
Right, can be usefull at first start. Have updated this DDF, but can be usefull on so much of them (all in fact .....) |
Hello, I think variant _TZE200_aoclfnxz should be added here as well, no? |
This one is already managed by the legacy code. |
Long story, see #7135
It's a wall mounted Thermostat already managed by legacy code, but not the clones. Have finally found someone able to test the DDF.