Skip to content
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

Next date for %anything% + Next date for %specific% #175

Closed
Tweaqer opened this issue Aug 21, 2023 · 13 comments
Closed

Next date for %anything% + Next date for %specific% #175

Tweaqer opened this issue Aug 21, 2023 · 13 comments
Assignees

Comments

@Tweaqer
Copy link

Tweaqer commented Aug 21, 2023

Dear Robert,
Would it be possible to create a feature where you could launch a flow to return the next date of pick-up and maybe the second or third following as well?
Ie:

  • The next pick-up will be 'restafval' on Friday, August 25th (4 days from now)
  • The 2nd pick-up will be 'papier' on Monday, August 28th (7 days from now)

And for specific pickups:

  • The next 'GFT' pick up will be 4th of September (14 days from now)

Love your app, thanks for your efforts developing it :)
Cheers!

@robertraaijmakers
Copy link
Owner

I think this might be possible with Advanced Flows (https://apps.developer.homey.app/the-basics/flow/tokens#tokens-for-advanced-flow) but I have to look into it.

To better understand the feature, what would you do with the information? e.g. how would you use this in a flow?

@Tweaqer
Copy link
Author

Tweaqer commented Aug 25, 2023

Well basicly, the idea originated from a widget I've had with HomeAssistant:
image

It's just handy and easy to get some kind of overview of what is coming up when. However, I do not necessarily need a widget. I could as well be sending it as a mesage over Telegram hence the request :)

@robertraaijmakers
Copy link
Owner

That is quite cool, maybe (but I don't know how) I can create some 'devices' with a nice logo/picture and the next pick-up date. Then you can add them to your devices view and see when they are picked up next...

The card might be easier, but I will have a look once I have some free time :)

@robertraaijmakers robertraaijmakers self-assigned this Aug 26, 2023
@Tweaqer
Copy link
Author

Tweaqer commented Aug 26, 2023

Thats a great idea actually! And thank you for looking into it and your efforts on the app so far. It saved me from forgetting to put out the bin countless times already :) Cheers

@robertraaijmakers
Copy link
Owner

robertraaijmakers commented Oct 4, 2024

Sneak preview, Homey Dashboard is now live and I created a widget! :) (now available in test flight)

image

https://homey.app/a/com.trashchecker/test/

@MarcelMuxio
Copy link

MarcelMuxio commented Oct 4, 2024

Nice!

For me, the icons could be a bit more smaller. Or it would be nice that the number of items feature changes the number of items in a row. If you now select more than 3 items, but you doesn't change the number of rows, it makes no sense.

@robertraaijmakers
Copy link
Owner

Thanks! Couldn’t make the icons smaller because then the text doesn’t fit anymore. So need the width anyway.

When you do more items without adding rows you can scroll within the widget to see the next dates! :)

@cderooij
Copy link

cderooij commented Oct 4, 2024

Very nice the new dashboard, thanks!

I like to have 4 “afvalregels” but for that it seems I need to add also an extra row..
But when I add an extra row I think it would be better to get them 2 by 2.

And when possible it would be nice to add a text (papier etc.) and not only an icon, but it works for me as it is as well 😊

@robertraaijmakers
Copy link
Owner

robertraaijmakers commented Oct 5, 2024

@cderooij thanks! I was wondering about this. Do you think the width of the widget is the same for all devices? If so and I can assume that for everyone the max to show on a single line is three, I can then do two things when someone enables more lines:

    1. show 2 items per row (if someone has 4 container types, if someone has 5 I should do 3 and 2).
    1. show 3 items per row, but then (for people with 2-5 containers) it will show the after next collection dates for the same container type.

Which one would be nicer?

@cderooij
Copy link

cderooij commented Oct 5, 2024

Hi Robert,
For me the width, with max 3 items per row, feels the same on all my devices.

For me the option to add the next collections dates of my containers will work, and I can imagine that it looks also better than rows with less icons.

Thanks and regards, Cor

@Tweaqer
Copy link
Author

Tweaqer commented Oct 5, 2024

Really cool stuff btw, thanks for your efforts on this Robert!

@robertraaijmakers
Copy link
Owner

So I have tried to make a better version to suit most needs. This does mean that there are a lot of extra settings you can do in the widget now :)

  1. You can choose if you want to disable certain types
  2. You can choose if you want to show only unique types or just the most recent collected items
  3. You can choose if you want to show what is collected yesterday
  4. You can choose your layout style (compact or large). Where large is the original and compact is more in the style of how Moods are displayed. I think the compact is more suitable for phones, whilst the large might be better on tablets or larger screens.

Really looking for the feedback and thanks for testing! :)

p.s. if someone has a better SVG image for the PMD (or other trash types) I would be open for it. I don't like the current PMD icon which is kind of an open can. I was more looking for something like this. But can't find an svg version of it.

image

@cderooij
Copy link

cderooij commented Oct 6, 2024

Hi Robert,
This is perfect as it is, very flexible.
it was a little bit unclear first that I need to say 6 items to see the “double” items, but it works.
Thanks and regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants