Thanks for the warning! I can’t test it at the moment, but I have at least written a note in the “guide”.
I have marked the sensors as working for the model number in the README. If you have the possibility to analyze the traffic of the app, then we can also check the service_calls (what does the app send to the airfryer when you start the connection; setup, start, pause, stop cooking). I think at least a few of them don’t work the same way as on my model.
That looks great! I don’t use ioBroker and don’t know if I’ll get around to setting up a test instance yet. But if you have any questions about the local connection, feel free to send me a DM - maybe I can help.
401 means “unauthorized”. So I think there’s a problem with you client_id / client_secret. You should check them again - either there’s a typo or maybe they have changed for you too.
i have retry to obtain client secret and client id and now everything work with my Airfryer HD928X
Thanks
Finally I was able to set it up. I also want to make use of the card provided on GitHub but I get an error I don’t know where it comes from and how to fix:
When I click and hold the card:
Any ideas?
Edit: Fixed it partially. line 104 of the card should state “None” iso “none”. Now I only have an issue with the color. If I change color #fffff to #000000 I can see everything’
Good that you managed to set everything up. The frontend card was made for dark mode - when I get the chance, I’ll see if I can change the text color to the theme variable. Then the card should also work in light mode.
You might want to change “#FFF2” to “#0002” in the lines 36 & 37, so that you can also see the background of the progress bar.
Edit: Fixed it partially. line 104 of the card should state “None” iso “none”.
Does your pyscript.airfryer_dialog
report “None” instead of “none” when the Airfryer is on and no dialog is open? What model do you have?
Thanks. Indeed now I get an error with “None” which is gone when I change to “none”. strange… I have the HD9280/91
Maybe a tip to get everything set up via Android x86: I installed Firefox as default browser as I was not able to update Chrome. With Firefox the authentication process worked where with Chrome I ended up with a blank webpage.
it’s normal that now nutria apps don’t work? if I try to connect another device with nutriu home assistant stop to work and If I connect another device the previous device stop to work.
there is limit to use only 1 device at time?
I can use HA & NutriU in parallel. However, I also have a larger/more expensive model. It may well be that the “cheaper” models are limited to one connection at a time.
Can you try adding another device, but that device being Android VM or rooted Android device, so that you can access the SQLite database? I am wondering if maybe the client secret changes when you add a new device. In such case, NutriU apps could continue working as those would be able to refresh the secret, while HA integration would become permanently broken.
i have retried with an ANDROID x86 and continue to WORK but the client id and client secret is changed, and my iPad my iPhone stop to work, the iPad of my wife continue to work… it’s very strange
i have removed Nutriu from all my apple device and reinstalled, and all works well, both home assistant and apple device works togheter
Oh, thanks for the heads up! I’ve blocked the internet connection to my Airfryer a while ago to avoid firmware updates (which would be needed to change the authentication or API). Since the app also works offline, we should be able to see immediately if something has changed without risking losing the API connection.
It seems like the HomeID app is already available for iOS but not for Android.
I have installed ioBroker and your adapter (on a windows (virtual) machine), but have no clue how it works. When starting, I get:
What do I do next?
Hello,
I have also installed the adapter.
@FransHalsjes
Next you have to enter the email address in the adapter configuration.
The OTP field remains empty for now.
To generate it you should save the configuration and restart it.
The adapter knows that no OTP password has been entered.
That is why you receive an email with the password.
Only then can you enter it and restart the adapter again.
A folder structure is then created in the objects.
Unfortunately these are not updated, no matter what interval you set in the adapter configuration.
Has anyone made any progress yet?
Regards Dominik
I got an HD9285 an not able to get it to work. No sensors are showing up at all.
Works perfectly with the python script posted in Philips Airfryer & NutriU Integration (Alexa only)? - #15 by tschach
Any suggestions of what to look for ? Don’t see anything in the logs that might cause an issue.
Solved: deleted airfryer.py, downloaded again and add back to folder. Working now.
I assume no way to get this without a rooted Andriod? Most of my macs are ARM but I might use an x86 machine if I need to
Tombox seems to have found a way to retrieve the secret via the user account and has created an adapter for iobroker (Philips Airfryer & NutriU Integration (Alexa only)? - #59 by tombox) - but I have not tested it. Maybe you can set it up temporarily to retrieve the secret. However, it’s probably not much more complicated to set up a virtual machine with Android (see comments above) - this will also come rooted directly.