Veldkornet / app.picnic

Doing your groceries at Picnic via Homey.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Picnic app for Homey

Doing your groceries at Picnic via Homey.

Flow Triggers:

Polling the status of your Picnic account every 5 minutes and providing trigger flowcards based on the following events:

  • Groceries have been ordered, with tokens:
    • price (in euro)
    • eta date
    • eta begin, returning the begin of the 60 minutes delivery timeframe
    • eta end, returning the end of the 60 minutes delivery timeframe
  • Your groceries will be delivered soon (announcement of the 20min delivery timeframe), with tokens:
    • eta date
    • eta begin, returning the begin of the 20 minutes delivery timeframe
    • eta end, returning the end of the 20 minutes delivery timeframe
  • Your groceries have been delivered, with tokens:
    • delivery date
    • delivery time

Flow Actions:

  • Adding a product to your basket based on the name of the product passed as an argument.
  • Adding products based on a recipe as configured via the settings page.
  • Adding products based on a randomly picked recipe.

Speech triggers:

English

Trigger: Add (a) product
Response: Which product would you like to add?
Argument: 'name your product'

Dutch

Trigger: Voeg (een) product toe
Response: Welk product wil je toevoegen?
Argument: 'naam van het product'

CHANGELOG

2.0.2

  • Bugfix: Adding improved exception handling to prevent crashes

2.0.1

  • Bugfix: Homey v2.0 support

1.5.1

  • Bugfix: fixing minor issues

1.5.0

  • Feature: Adding recipy management

1.4.4

  • Bugfix: Adding exception handler when no products are found
  • Bugfix: Encoding products including non-ASCII characters

1.4.3

  • Bugfix: Picnic uses a server-side lock when items are being added to your cart. This caused an issue when running a flow that adds multiple items to your cart at the same time. Fixing this bug in 1.4.3 by using a threat lock stored in the app's ManagerSettings.

1.4.2

  • Bugfix: Checking if the order status response actually contains content that can be parsed.

1.4.1

  • Bugfix: Catching any errors during periodic polling of the order status.

1.4.0

Note that after this update you will have to re-authenticate via the Picnic app settings.

  • Bugfix: Fixing bug to store credentials to the settings

1.3.0

Note that after this update you will have to re-authenticate via the Picnic app settings.

  • Bugfix: session expires after about a month. To solve this the app now stores the username and password and retrieves a new session as soon as it is required

TODO

  • Add speech command to remove last added product by Homey

Donate

Feel free to donate if you like the app :-)

Paypal donate

About

Doing your groceries at Picnic via Homey.

License:GNU General Public License v3.0


Languages

Language:JavaScript 73.9%Language:HTML 26.1%