core icon indicating copy to clipboard operation
core copied to clipboard

Anova precision cooker not found

Open calabresemic opened this issue 1 year ago • 37 comments

The problem

I have an anova precision cooker in my app and it is currently online and allows me to control it but I am unable to add the integration because it does not find any devices.

What version of Home Assistant Core has the issue?

Core-2023.5.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Anova

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

calabresemic avatar May 04 '23 05:05 calabresemic

Hey there @lash-l, mind taking a look at this issue as it has been labeled with an integration (anova) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of anova can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign anova Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


anova documentation anova source (message by IssueLinks)

home-assistant[bot] avatar May 04 '23 07:05 home-assistant[bot]

What device do you have? Can you give me the model number located on the device?

Lash-L avatar May 04 '23 09:05 Lash-L

i'm also having the same result. The model number is only: Anova PC. I think one of the first models. it has a blue wheel where i can control the temperature. I can ping the device (ESP-28C651) it's also online in the app.

Cooker details from the app: Model Number A3 Firmware 4.6.4 20230504_161322 20230504_161328

wielhelmus avatar May 04 '23 14:05 wielhelmus

Mine is also the Anova PC but it's the 110v version.

calabresemic avatar May 04 '23 14:05 calabresemic

Interesting...

Thank you both for this info. I'm going to try to get a version out with some logging on the custom component version. Once I do I would appreciate if you could try installing that version and sending me the logs.

I'm pretty confident I know what is wrong.

Lash-L avatar May 04 '23 18:05 Lash-L

Interesting...

Thank you both for this info. I'm going to try to get a version out with some logging on the custom component version. Once I do I would appreciate if you could try installing that version and sending me the logs.

I'm pretty confident I know what is wrong.

Anything you need, just let me know.

calabresemic avatar May 05 '23 03:05 calabresemic

Okay download the latest version through HACS. https://github.com/Lash-L/anova-wifi-hacs

make sure you download 'master'

then go into your configuration.yaml and add 'custom_components.anova_sous_vide: debug' in loggers

Then try starting up and send me your debug logs

Lash-L avatar May 06 '23 14:05 Lash-L

Actually - looks like I was too fast with trying to change things. I don't have the time right now but I need to fix a few things.

Lash-L avatar May 06 '23 14:05 Lash-L

I have a similar issue.

App/Cooker Information:

Platform: Android (33) App Version: 3.4.6 Model Number: A3 Device ID: anova f56-a01ffded44a Connection Type: Wi-Fi Firmware Version: ver 5.5.1

belenkiy-lab avatar May 26 '23 21:05 belenkiy-lab

I do as well, "Retrying setup: Cannot connect to sous vide - perhaps it is not online?"

Platform: Android (33) App Version: 3.4.6 Model Number: A3 Device ID: anova f56-a81ca1697c4 Connection Type: Wi-Fi Firmware Version: ver 6.1.1

alvinchen1 avatar Jun 05 '23 16:06 alvinchen1

Sorry for the delay everyone - The 2023.6 update includes a new debug changes, so if you have debug enabled while setting up, I should be able to get the information I need

Lash-L avatar Jun 05 '23 17:06 Lash-L

@gradius-v your device id is formatted differently than most I have seen. seems to be the case for all A3 devices that people listed their ids for.

I use a url to get the state of the device: https://anovaculinary.io/devices/COOKERID/states/?limit=1

Where cooker id is your cooker id. Is your device online now? Are you able to try to reach that url?

try https://anovaculinary.io/devices/anova%f56-a814c1638c0/states/?limit=1 https://anovaculinary.io/devices/f56-a814c1638c0/states/?limit=1 https://anovaculinary.io/devices/a814c1638c0/states/?limit=1

Let me know if you get data back from any of those.

Lash-L avatar Jun 07 '23 21:06 Lash-L

So does latest HAOS version with debug work, or do I need the HACS version? I'm looking at a similar but more complicated question: Support the the Precision Oven, their combi-steam oven product. I'm not seeing anything at all with debug for this.

nkiest avatar Jun 07 '23 22:06 nkiest

@nkiest The HAOS version works with debug, but it wont show the precision over.

The Websocket url I use to get the needed information is as follows:

f"https://devices.anovaculinary.io/?token={self._firebase_jwt}&supportedAccessories=APC&platform=android"

You can potentially remove the supportedAccessories=APC portion from the ws url, which is what I used to do, but that has seemingly been patched. There was a user who started working on adding the Precision Oven, but I have not heard from them for months.

Seemingly you would need to do supportedAccessories=APO or something similar. I'd be more than happy to try to help you get the device added if you are comfortable programming in Python

The user who started trying to add the oven made a write up of their findings here: https://mcolyer.github.io/anova-oven-api/#introduction

Lash-L avatar Jun 07 '23 22:06 Lash-L

try https://anovaculinary.io/devices/anova%f56-a814c1638c0/states/?limit=1 https://anovaculinary.io/devices/f56-a814c1638c0/states/?limit=1 https://anovaculinary.io/devices/a814c1638c0/states/?limit=1

Let me know if you get data back from any of those.

I get no data from any of these.

gradius-v avatar Jun 07 '23 22:06 gradius-v

And if you open your app and go to Settings -> Cooker Details, what is the device id there?

Lash-L avatar Jun 07 '23 22:06 Lash-L

It's the same as in the log and in the same format as the other posts with A3 cookers.

anova f56-a814c1638c0

gradius-v avatar Jun 07 '23 23:06 gradius-v

Same here. It‘s an Anova Precision Cooker Wi-Fi and Bluetooth, quite old. Can only connect to 2.4 GHz Wifi and no spaces in SSID allowed.

Cooker Details from Anova App:

App/Cooker Information:

Platform: iOS (16.5) App Version: 3.4.6 Model Number: A3 Device ID: anova f56-a814c1640aa Connection Type: Wi-Fi Firmware Version: ver 6.1.1

m0wlheld avatar Jun 08 '23 16:06 m0wlheld

I need to figure out a way to get the status for these devices since we can't use the device id.

I could use the websocket, but that is not really the approach I would like to do.

There may be a rest call similar to the call I make to set values, but I have not been able to figure it out and it still needs the device id in the link

Lash-L avatar Jun 08 '23 16:06 Lash-L

I came across this https://github.com/ammarzuberi/pyanova-api/issues/2 and this https://github.com/bmedicke/anova.py/issues/1 I got my secret by using a rooted Android phone and an old Anova app version 3.2.13 (and then updating the app via Playstore, because disconnecting the cooker from the app changes the secret and I could't find it in the files of the latest Anova app version).

https://api.anovaculinary.com/cookers/anova%20f56-a814c1638c0?secret=XXXXXXXXXX gives me this: {"status":{"cooker_id":"anova f56-a814c1638c0","firmware_version":"ver 6.1.1","is_running":false,"current_temp":25.2,"target_temp":49,"temp_unit":"c","speaker_mode":true,"is_timer_running":false}}

edit: I get this when the coocker is actually cooking. {"status":{"cooker_id":"anova f56-a814c1638c0","firmware_version":"ver 6.1.1","is_running":true,"current_temp":49,"target_temp":49,"temp_unit":"c","speaker_mode":true,"current_job_id":"14f2f7d8-7152-4bd6-887d-8441d721205b","current_job":{"job_id":"14f2f7d8-7152-4bd6-887d-8441d721205b","job_type":"manual_cook","job_stage":"cooking","is_running":true,"target_temp":49,"temp_unit":"c","job_start_time":"2023-06-18T11:01:01.918125Z","job_update_time":"0001-01-01T00:00:00Z","max_circulation_interval":300,"threshold_temp":4.444444444444444},"is_timer_running":false}}

gradius-v avatar Jun 09 '23 20:06 gradius-v

any updates here? I have the same anova stick, which is not working as well.

Friday13th87 avatar Jul 17 '23 12:07 Friday13th87

Seems like right now the only real way is to get the secret, but I don't feel like that is a real approach as there are a lot of different ways of getting the secret that don't always work.

Realistically, I could potentially use the websocket connection - but it's kind of difficult to figure out without having one of those devices myself.

I'm always open to contributions and potentially I can try something's out when I have time. But I have another integration that takes most of my hobby time

Lash-L avatar Jul 18 '23 04:07 Lash-L

I am having the same issue

prenda avatar Jul 23 '23 21:07 prenda

Seems like right now the only real way is to get the secret, but I don't feel like that is a real approach as there are a lot of different ways of getting the secret that don't always work.

Realistically, I could potentially use the websocket connection - but it's kind of difficult to figure out without having one of those devices myself.

I'm always open to contributions and potentially I can try something's out when I have time. But I have another integration that takes most of my hobby time

Where are you located?

madtraxx18 avatar Jul 31 '23 21:07 madtraxx18

Same issue here but I have one of the new models...the Anova Precision Cooker 3. How would we get support for this new model added?

RestNPizza avatar Aug 02 '23 22:08 RestNPizza

Where are you located?

@madtraxx18 Southern United states

Same issue here but I have one of the new models...the Anova Precision Cooker 3. How would we get support for this new model added?

I can try to give some love to this integration this week/next maybe. I spend most of my time on my Roborock integration as that has a far larger amount of users. Realistically, another person willing to develop would go a long way for this integration

Lash-L avatar Aug 09 '23 18:08 Lash-L

Where are you located?

@madtraxx18 Southern United states

Same issue here but I have one of the new models...the Anova Precision Cooker 3. How would we get support for this new model added?

I can try to give some love to this integration this week/next maybe. I spend most of my time on my Roborock integration as that has a far larger amount of users. Realistically, another person willing to develop would go a long way for this integration

Thanks! I personally don't know how to do it or else I would jump in and help. Let me know if there's any info you need from me regarding the anova precision cooker 3.0. I've included a screenshot of the info in the app. I wasn't sure if the device ID should be secret so I hid it but it's a 22 character alpha numerical ID (random letters and numbers - doesn't say anova in it like a lot of other users showed for their older devices)Screenshot_20230809_144658_Anova.jpg

RestNPizza avatar Aug 09 '23 22:08 RestNPizza

I need to figure out a way to get the status for these devices since we can't use the device id.

I could use the websocket, but that is not really the approach I would like to do.

There may be a rest call similar to the call I make to set values, but I have not been able to figure it out and it still needs the device id in the link

Hi. I've checked how the app works with my first gen Annova (using man in the middle proxy and Android app). And it is indeed just using websocket to get the data, no rest calls, unfortunately.

And Bluetooth, of course.

Is there already something in HomeAssistant to handle incoming websockets? A quick glance gave no results.

parnas avatar Sep 27 '23 15:09 parnas

I'm having the same model and the same issue.

Would love to help with logs and testing etc. Unfortunately not a coder..

maxbengtzen avatar Nov 14 '23 06:11 maxbengtzen