-
-
Notifications
You must be signed in to change notification settings - Fork 582
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
Home Assistant Connector #3213
Comments
so the sync is one way, so backsync is expected to not work. regarding the other way maybe @mikhail5555 is able to help you debug this. |
Yes I can! The connector should have a decent amount of logging, so could you ping me once you grab the logs? Also, I thought about the HA->Tandoor sync, but unless I (or someone) writes a full fetched HA plugin, this wont be possible, and for my use case its also not really required (since i solely use HA for my shopping lists). |
_nginx_recipes_logs.txt I've attached some logs from just now. However when I did add a receipe nothing went through to HA at all this time. When I had DEBUG=1 overnight it worked the 1 way Tandoor -> HA nicely |
On the one way, thanks for explaining.. I was hoping it would automatically mark them as done if in HA.. rather than having to clean up the shopping list in Tandoor seperately - but that is my misunderstanding, so thanks for resolving |
thanks for providing the logging, however I am not seeing any of the logs I was expected to see. |
Ah sorry about that. Yeah I could not find any log files, so took the ones from the docker containers. Thanks |
Not your mistake, it seems I never enabled the logger through Django. |
The extra logging PR got merged, would you be able to change your branch/image to the latest development and add |
@pbathuk the latest version has the logging included, if you run into this problem again please enable logging and re-open this issue. |
thanks for keeping an eye on this, closed until we hear any feedback |
Hello, as @mikhail5555 asked my I'm back with this problem. Home Assistant In my test I've tried to add some items in tandoor, but nothing happened in HA. Attached you can find the Tandoor conf file and some logs. |
Thanks for sharing, Also, it seems the debug log include your bearer token that's used in the request. My bad on that point, but you should likely remove/replace the API key you have currently configured for it. Edit: Which kind of 'list' are you using, is it a manual created one (aka |
Here are the debug of my HA
How to do it? could you explain me pls
to do your request I've used the default list But in previous tests, I've tried to do it also with tandoor specific list. |
The error seems to be
|
good morning :-) here is the ha log with a fresh new list created now. |
Good morning to you too. I am still seeing 500 errors, so could you include your HA logs as well? |
Issue
Hi,
I've only recently started using Tandoor, and so far I'm liking it. I've recently tried to setup the connections to my home assistant instance (which I do note says beta) and I and getting some weird issues, so wanted to see if others have the same issue or not?
Intermittent update (tandoor -> HA)
The first issue is that if I add items to my shopping list, sometimes (seems to be if it is a fresh boot of my dockers) it will work, but most of the time I will add things on tandoor and nothing is added to HA. And that is with leaving it for an hour or so as well
no return sync (HA->Tandoor)
Not sure if this is a feature, but if I tick / remove or add in HA to do list tandoor never updates. Again waiting a few hours to see if it was a sync timing issue.
I've managed to setup HA using the rest API route from HA to Tandoor to grab the next meal etc.. so both can "see" each other.
Any help is gratefully received.. as ideally I want to have a single shopping list built (in HA), that my family can use, but if someone adds a meal it will then add the ingredients etc etc.
Thanks
Tandoor Version
1.5.18
OS Version
Ubuntu 24.04
Setup
Docker / Docker-Compose
Reverse Proxy
Nginx Proxy Manager (NPM)
Other
No response
Environment file
Docker-Compose file
Relevant logs
The text was updated successfully, but these errors were encountered: