-
Notifications
You must be signed in to change notification settings - Fork 93
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
COSORI Smart WiFi Air Fryer 5.5L Air Fryer #55
Comments
I too am interested in this integration. Would love push notifications and led color changes when food is done |
If you capture the packets I will work on this |
webdjoe What would you need captured to work on this? |
You can use a packet capture app, Packet Capture works for me and you don't need to root the device, to capture all of the associated packets with the vesync device. So you would start packet capture, go to VeSync, get the device list, go to the device and run each function possible. You can then stop the Packet Capture app and download all of the associated packets from the app. Upload them here and please redact your token and account id. That is unless you want your VeSync devices to become possessed 😉 |
Just got a Cosori Smart Oven, same sort of thing. I'll capture the packets for that. Would love to see Home Assistant controlling it eventually. |
I'm considering buying a Cosori with wifi capabilities as well. Have been any progress on this? If I end up buying it I can provide packet capture as well and help with this (with some guidance probably). |
Haven't had a chance to do a packet capture yet...however, I have noticed something interesting: control via the phone app is NOT as good in some ways as the Alexa control. Asking Alexa allows you to do things easier (no button push required) than the vesync app. Strangely the Google Assistant control isn't as good as either. So if we do some packet capture, might be worthwhile seeing if we can replicate the best method(s) of control. For example, Alexa can't control the Toast level, only invoke Toast. |
Haven't gotten any packet captures for this yet but I have two more devices
that I am working on so it will be some time before I can get to this.
Generally, interfacing with Alexa skills from python is not that simple.
The HA Component Hue Emulator is an example but has very limited
functionality. There is also the paid subscription based Nabu Casa for Home
Assistant that gives you a more robust interface with Alexa but you
wouldn't need the pyvesync library for that. The vesync api is managed
directly by Alexa in those cases.
Try to upgrade the device firmware and app and play around as much as
possible with the controls while capturing the packets. Another more
painful and probably less fruitful option is to decompile the APK and read
through the code to see if there are any API calls for this device that
aren't shown in the apps interface.
If you would like me to develop this, feel free to shoot the captures over
to my email webdjoe 'AT' gmail.com
…On Fri, Jan 22, 2021 at 2:51 PM scruffynerf ***@***.***> wrote:
Haven't had a chance to do a packet capture yet...however, I have noticed
something interesting: control via the phone app is NOT as good in some
ways as the Alexa control. Asking Alexa allows you to do things easier (no
button push required) than the vesync app. Strangely the Google Assistant
control isn't as good as either. So if we do some packet capture, might be
worthwhile seeing if we can replicate the best method(s) of control.
For example, Alexa can't control the Toast level, only invoke Toast.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB6JJBTWIPA66XFBPW54A7TS3HJMLANCNFSM4NJ233QQ>
.
|
Hello - one question. Do you still work on the implementation? |
I was sent a few packet captures for this and I started but they were incomplete. Once I receive all captures from the device list forward I'll work on this further. |
Webdjoe are you in the home assistant Facebook page? I've opened up a post about this air fryer and I'm sure a couple of us there will help you out get those packets. I downloaded the packet app and ran the VESYNC app, however when I tried to connect to the air fryer the VPN was blocking it or something? |
Hey @webdjoe , I am not a dev but I work in the cyber security area and I am happy to help with some traffic captures for the COSORI Smart WiFi Air Fryer 5.5L.
Get status request:
Status responsesstandby: No cooking at all.
pullOut: Baskets are not pushed in all the way.
cooking: Cooking in progress
cookStop - While you are cooking something and you press pause in the app:
Initiate a manual cooking
Successful response, where the air fryer started to cook:
A failed response, The baskets are not pushed in all the way. Please secure them to start cooking.
Pause the cooking:
Successful response:
Failed response:
Resume or continue the cooking after a pause:
Successful response:
Failed response:
End the cooking:
Successful and failed responses are the same as when you pause the cooking. Apologies for the long comment! If you need anything else please let me know. |
|
@urechi |
@eddyliao I am using Burp Suite with my IOS device. You can follow this guide for android. |
I use the Packet Capture app on android. You have to install a custom certificate so make so you uninstall both app and certificate when you are done - https://github.com/webdjoe/pyvesync#feature-requests |
hi thanks for the replies, i tried the packet capture app and nox as well (i also tried other android emulators) Tried root and installed the certificate correctly as well |
I usually have issues when there is ssl certificate pinning implemented but I doubt they've done it for Android and not for the IOS app. |
This seems like a good option to get it working, however I'm really not a fan of the cloud-based requirements of VeSync devices. I've got a Corsori Smart Wifi Toaster Oven/Air Fryer (CS130-A0) and it looks like it uses an ESP32 microprocessor for WiFi/Bluetooth connectivity (and hopefully also controls the device itself). Looking at the FCC images, it looks like the JTAG interface is exposed, so using a JTAG programmer it might be possible to obtain/modify the device's firmware (or completely make it from scratch) and use that to make it locally controlled as well. If all Cosori devices work similarly, it might be possible to create a bunch of custom firmware for the devices in order to provide what VeSync won't provide (such as support for the upcoming Matter protocol later this year). When I have time, I'll take apart my Cosori device and see if this is actually possible. |
hope to see progress on this too |
Hi, has anyone managed to install Tasmota on AirFryer Wifi? That would be great and maybe make things easier. |
This will be in the next release! In terms of Tasmota, I don't know much but would love to hear if you have any success. |
It would be great to be able to install Tasmota on it, but I don't know if it actually allows it. When will Cosori airfryer compatible integration launch? |
Quick update on this So instead i decided to emulate a google home command and it works for turning it on/off (however only able to use common preset built in only). |
Update on accessing the ESP32 board in Cosori devices. Hex output:
Still investigating this further, but I think this shows a lot of potential. Edit: In case anyone wants to know the configuration I used to obtain this, I connected an ESP32 (a USB to TTL adapter also works) to the control board from the oven over it's exposed serial port (see photo 8). The serial configuration I used is 9600-8-N-1 (baud-data bits-parity-stop bits). |
I'm also looking forward to this! |
Is this still something that is being considered? |
Yes, this is in the works. I've just been short on free time lately. |
I tested this out, but it's not loading correctly... getting this (latest HA, not beta)
|
Hello @Scope666 Can you share your device with me to do some testing? email: |
HI @tv4you2016 |
@Subia75 Hello, how do you install it? |
With HACS |
It can't be through HACS because the author still doesn't accept my pull, make changes to the files according to my pull and after reboot ...... test Or go to my repository and download it and put it in the folder |
ok I'll try to download the repository. |
it automatically associates if there is an airfryer of the following models |
Yes i have the CS158-AF model, so I think I should find it. update post 2023/10/25 I hope it gets integrated into the original code. Thank you |
It’s working :)
…On 24 Oct 2023 at 19:39 +0100, Alessio ***@***.***>, wrote:
Yes i have the CS158-AF model, so I think I should find it.
I'll try again later and let you know if everything is ok.
thanks in advance for the help
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
@KyleStilkey email: |
@tv4you2016 |
@tv4you2016 Is the CAF-P583S supposed to be supported? Tried it but doesn't show any devices |
@pvieira84 |
I shared my device with you on the app. Let me know if you need anything else. |
@KyleStilkey add me in discord [PT]GOODVIBE[PT]#1314 |
Sent |
From now on I only support my repository |
It was quite a fight, but I managed to disable SSL Pinning with Frida using Android Studio. Here's a few grabs from my Cosori Dual Blaze: (CAF-P583S-KUS)
|
+1 for CAF-R901 support. |
@webdjoe since the HACS dev abandoned this, is there anything we can do to help get it integrated into the official integration? I have the Cosori Dual Blaze and am willing to help where I can. |
It's been a long time since I did this, but basically I setup a rooted android emulator, and used Frida. https://samsclass.info/128/proj/M145.htm (the 2nd link is now gated behind a Medium membership, it wasn't when I did this). :( |
@webdjoe will do tomorrow morning. Wireshark ok? |
Hello @Scope666, Could you share the body of the post to get the status of the CAF-P583S-KUS? I am trying to make a homebridge plugin to make it compatible with Homekit and monitor the devices. However I am stuck, I cannot get the status of the devices. so for this is what I have but it does not work. url = '/cloud/v1/deviceManaged/bypass' |
I am new to home Assistant and was trying to track if there was an integration with pyvesync to the "COSORI Smart WiFi Air Fryer 5.8QT(100 Recipes), 1700-Watt Programmable Base for Air Frying, Roasting & Keep Warm 11 Cooking Preset,Preheat&Shake Remind". My wife uses it with VeSync all the time.
https://www.amazon.com/COSORI-1700-Watt-Programmable-Roasting-Touchscreen/dp/B07VLKMMJ5
I would love to help spec the function calls but do not know the best way to trace the app. It appears to preload cooking temperature, times, and a "shake reminder".
It seems like a fun thing to get going to me. Let me know if you are interested.
The text was updated successfully, but these errors were encountered: