will it be possible in the future to create dynamic due-tasks?
Right now I can only create a static time and date card for due. But it would be very nice to create a task in the future based on events at my home. (e.g. my plant sensor registers a low level of water and creates me a task in the evening to water the plant).
Yes, that is a good idea. I might be able to create a card that accepts a token as a date/time (basically the default text input). Would that suffice for your use case?
Only problem I see is you probably want to add +1 days/hours to the actual event. Another option to explore might be the due_string Todoist supports e.g. in two hours.
The due-text ist working fine, and does exactly what I expected. The possibility to use a variable from the logic part is also great in case of a calculated date or time.
Would it be possible to mark a task completed when a sensor value changes?
E.g.:
The moisture of a plant is below X% I creat a task for Todoist. If I give some water to the plant and the value rises above X% I want to mark the task in todoist completed by Homey.
Or the battery of a sensor is below X% - new task to todoist. After replacing the battery the task can be marked as done.
Seems possible yes but I only see this working for a task that is somehow memorized in a Homey variable or something.
The task creation would have to store the ID somewhere and the other Flow has to mark this ID as completed.
So maybe a card Create a task ... with reference id: <my_reference_id>. And another card with Complete a task with reference id: <my_reference_id>. Only problem would be if the Flow with the first card is executed multiple times you could overwrite a not completed task. Your reference id in this case could be something like battery_level_low_device_1.
Some problems I see is statuses flipping quickly for some reason resulting in spamming complete and create.
I could give it a try next week to make something user friendly if I have some time.
Hi!
I would like my flow to check if there is a task already in my list with the same text. For instance, every sunday at 10.00 create a task that is “water the flowers”. However, if there already is a task called “water the flowers” it shouldn’t create a new one.
It is possible with HomeyScript right now not sure if that is an option for you. I could add a Flow condition that allows you to check on the name of a task in a specific project.
Wow, that would be amazing! You are right, I don’t master Script, I looked at it and understood nothing!
What happened with the question from someone else, asking that a certain value should mark the task as completed? That would also be great!
For instance, if a task is “Empty the washing machine”, then a energy value from the machine should check the task as completed because obviously if the machine is running again it must have been emptied. I tried to figure something out but without success.
Hi Jero,
It works perfectly, thank you so much! I will continue later today to do different set-ups and if I come up with any new ideas, I will let you know.
I know i’m late to the party but would it be possible to have “when a task is completed” card please ? I know i can just use the conditional notification but…
Thanks in advance and thank you so much for this wonderful app!!!