Open khmelevskikh opened 3 years ago
I used the names given in https://github.com/rytilahti/python-miio/issues/833#issuecomment-709976659 for the implementation.
Could you manually try to change it to Hot_Water
just in case it was fixed in some never firmware versions (although @matteos1 explicitly stated that the name misses r
? Or test changing the parameters, just in case your selected parameters are out of range for what is accepted by the device?
This one works fine:
miiocli scisharecoffee --ip <ip> --token <token> raw_command Hot_Wate
Running command raw_command
['ok']
so I don't believe it relates to missing 'r' Other parametrised commands aren't working as well:
miiocli scisharecoffee --ip <ip> --token <token> brew_espresso 30 90
Brewing 30 ml espresso (90C)
False
In Mi Home I can set 30 ml 90C for espresso. I've also tried with different values
Played with python script a bit:
This works fine:
return self.send("Hot_Wate")[0] == "ok"
This works fine as well and gives me correct ml value:
return self.send("Hot_Wate",[amount])[0] == "ok"
This one gives me 300ml(constantly) and temp is changing now:
return self.send("Hot_Wate",amount,temperature)[0] == "ok"
Would you mind creating a PR for the necessary changes?
some solution?
Would you mind creating a PR for the necessary changes?
I'd love too.. But I didn't find the exact solution... I still have no idea how I can control both amount & temperature at the same time... If anyone have any suggestions I can test...
how could i help?
I've checked that for my machine it cannot pass more than one parameter for any command, even for raw_command Americano_Coffee [80]
So I've no ideas... Can we make params optional? So at least we will be able pre-set params in mi home and use it from script without options
Anybody tried wiresharking stock app? Can't try myself just yet - I'm only thinking of getting this very coffee machine quite soon.
I just added some information about how to perform traffic analysis to figure out the protocol to the docs (#1471 - https://python-miio.readthedocs.io/en/latest/contributing.html#improving-device-support). If someone with a device wants to do that and create a PR, I'm happy to help if needed.
Hi, As discussed in a previous thread raising a separate report. I've tried to use Scishare Coffe Maker, but for me script doesn't work with parametrised commands like boil_water/brew_americano Device:
Version:
miiocli, version 0.5.5
Testcase: