Open madmachinations opened 3 weeks ago
@mekki1986
I have looked a little further into this and have some further questions for you please:
1) Do you have the shopping list integration active, the HA one:
https://www.home-assistant.io/integrations/shopping_list
2) In your HA config folder, is there a .shopping_list.json file?
3) Are there items currently on your shopping list within HA? Or does it show as empty?
Thank you very much
It should just be in your HA config folder.
If it isn't there, try these steps please:
1) Make sure there IS stuff on your Alexa shopping list 2) Go onto your HA shopping list, add something manually, anything. 3) Immediately tick that item off 4) Remove all completed items from your HA shopping list so it is empty again 5) Go into the dev tools > services and fire the alexa shopping list sync service. 6) Wait 5 minutes and see if your HA shopping list is now syncing with your Alexa shopping list
This morning I noticed that if I didn't have a .shopping_list.json file, the sync would just do nothing. If this works for you now, then hopefully that confirms the theory.
@KiraPC Can you also try this please? You were having the same problem were you not?
You can also install the new version of the custom_component part, restart home assistant, and see if it works now
It should just be in your HA config folder.
If it isn't there, try these steps please:
Make sure there IS stuff on your Alexa shopping list Go onto your HA shopping list, add something manually, anything. Immediately tick that item off Remove all completed items from your HA shopping list so it is empty again Go into the dev tools > services and fire the alexa shopping list sync service. Wait 5 minutes and see if your HA shopping list is now syncing with your Alexa shopping list
I'm very sorry, I did everything you described, but unfortunately I also have problems with the server now. It used to work, now since yesterday when I go to question it, first it tells me that I'm authenticated, then it tells me that I'm not. I paste below what the terminal reports
➜ client python3 client.py 192.168.1.47 Alexa Shopping List Sync Client Console.
Attempting to connect to ws://192.168.1.47:4000 Connected successfully
Checking config Config is valid
Checking authentication Server is authenticated
Type 'help' for commands.
I've already tried deleting the client folder and putting it back, changing the terminal, but I can't make it work anymore! :(
It should just be in your HA config folder.
If it isn't there, try these steps please:
Make sure there IS stuff on your Alexa shopping list Go onto your HA shopping list, add something manually, anything. Immediately tick that item off Remove all completed items from your HA shopping list so it is empty again Go into the dev tools > services and fire the alexa shopping list sync service. Wait 5 minutes and see if your HA shopping list is now syncing with your Alexa shopping list
I'm very sorry, I did everything you described, but unfortunately I also have problems with the server now. It used to work, now since yesterday when I go to question it, first it tells me that I'm authenticated, then it tells me that I'm not. I paste below what the terminal reports
➜ client python3 client.py 192.168.1.47 Alexa Shopping List Sync Client Console.
Attempting to connect to ws://192.168.1.47:4000 Connected successfully
Checking config Config is valid
Checking authentication Server is authenticated
Type 'help' for commands.
* list ERROR: Not authenticated
I've already tried deleting the client folder and putting it back, changing the terminal, but I can't make it work anymore! :(
That might be a separate bug. It relies on regular usage to keep the session alive so it might think it's authenticated but it isn't really.
Try removing the server completely, or clearing the folder where it persists it's session files to. And then set the server up again so you can do a fresh authentication.
I've opened a new issue for this server authentication problem, so this one stays on track with the list not synchronising in the component:
https://github.com/madmachinations/home-assistant-alexa-shopping-list/issues/16
I have no idea what is wrong, I can only assume HASS OS isn't installing something the custom component needs. It's state stays as unknown and the shopping list is not synchronised.
The server is set up and works as expected, list commands are successful.
It's just the component itself that for some reason doesn't work specifically on HASS OS