-
Notifications
You must be signed in to change notification settings - Fork 46
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
Model Condition Restrictions #107
Model Condition Restrictions #107
Conversation
f617f5c
to
2a9a2ea
Compare
@emericg as there seems to be a similar situation with your RoPot submission, that there is/was an identical VegTrug pot - do you know if and how the VegTrug differs with the model condition recognition so that we might include it as well? |
I think what you call a VegTrug is the flower care max / grow care garden, not the "VegTrug" branded flower care (also call grow care home). |
This is what I meant https://www.lcgad.com/vegtrug-grow-care-smart-pot/ and looking at your https://github.com/emericg/WatchFlower#supported-devices where the RoPot states it has "Xiaomi and VegTrug variants", unless both variants are already covered with the current
then we could just change the "brand":"Xiaomi" to "brand":"Xiaomi/VegTrug", similarly to my Mi Flora/VegTrug proposal. |
Yes I know about the RoPot sold by VegTrug, but what I'm saying is that it's the exact same as the Xiaomi one. They are both manufactured by HHCC and sold under different brands. The Flower Care Max / VegTrug Grow Care Garden however (presumably the one with 0xBC03 pid), seems to have a twist in its protocol (pending investigation, I don't have one) because I already have two reports of it not working exactly as intended. |
Yes, that was my question, while the property conditions and definitions are very likely the same, does the current model condition
apply to both the Xiaomi version as well as the VegTrug version, as with the 'Mi Flora' there were differences in the model condition, while everything else was identical. Just submitted the Xiaomi/VegTrug Mi Flora merge. With you not having the VegTrug Pot any longer I think we should leave that decoder as is and if it also recognises the VegTrug variant I'm sure people don't mind the 'Xiaomi' brand as long as they get the correct moisture and fertility information :) |
2a9a2ea
to
f6cf581
Compare
I've never had a VegTrug pot, I never even hear of anyone else having a RoPot (until @1technophile told me he had one last week). |
And all probably discontinued, so best to leave everything as is with the pots :) Still struggling here with trying to find more actual servicedata for the MUE4094RT Mi Lamp to finish this clean up. |
So reading more about the MUE4094RT Mi Lamp, and that it only seems to broadcast any data when it's dark and if there has been motion/presence detected, the property conditions should likely be deleted. |
3c2152e
to
5de9b6a
Compare
5de9b6a
to
2004704
Compare
Checklist:
Was it correct to delete the battery property for the Mi Flora HHCCJCY01HHCC, or does this need to stay in, even if it's not obtained by the broadcast data, but through the direct connection handling? |
That's a good question. |
Thanks |
…tity id (#1209) * Recovery MiFlora discovery after theengs/decoder#107 * BREAKING remove model_id from entity id
Model condition restrictions from "contain" to more specific "index", @
Checklist:
I haven't checked off the checklist yet as there are two issues I'd like to discuss first.
• For the VEGTRUG decoder there are no test cases, but as it seems to be a rebranded Xiaomi Mi Flora, similar to other plant devices which seem to be Xiaomi/Vegtrug rebranded/identical, I'm wondering if we shouldn't combine the two, apart from the model definitions, identical decoders and indicate this in the brand and model naming? MERGED the two decoders.
• The MUE4094RT Xiaomi Mi Lamp decoder seems to have property condition issues. All I could find was an OMG original implementation
1technophile/OpenMQTTGateway@bb1df8f
where the sample servicedata confirms the model condition string at index 0, but the currently existing property conditions with "4812" are nowhere to be found in this example and conflict with index 0.
@1technophile do you have any more info on the MUE4094RT so we can possibly amend the decoder and also include some test case?
Thanks