timetagger icon indicating copy to clipboard operation
timetagger copied to clipboard

Make presets available via icon-buttons

Open almarklein opened this issue 1 year ago • 5 comments

A bit like this

Also, naming a preset would already be a win, #469

almarklein avatar Feb 02 '24 11:02 almarklein

OMG this is freakin awesome!

drajabr avatar Feb 11 '24 02:02 drajabr

If someone could explain the API PUT request to start/stop a description event, I could easily provide instructions and build the backbone to put this into MacroDroid and Home Assistant. I understand the general gist of the API, but I'm pretty new on building API requests, so bear with me.

smibrandon avatar Apr 02 '24 23:04 smibrandon

If someone could explain the API PUT request to start/stop a description event

Can you be more clear what part is unclear to you? Perhaps these resources help?

  • The web api docs: https://timetagger.readthedocs.io/en/latest/webapi/
  • How the timetagger cli uses the API: https://github.com/almarklein/timetagger_cli/blob/main/timetagger_cli/core.py
    • Of particular interest are start(), stop() and request().

almarklein avatar Apr 03 '24 07:04 almarklein

Hi, I have made (something similar to) this using Shortcuts in iOS. If anyone would like to copy those just tag me.

My experience from setting that up is that working with the API requires a lot local processing of data between requests. Is there any way to simplify working with the API @almarklein? Akin to sending a request with only the string to set for the timer and then have the server figure out all the timing?

kwillno avatar Jul 26 '24 11:07 kwillno

Is there any way to simplify working with the API

No, the server is pretty "stupid", as it knows little about what the data means.

almarklein avatar Jul 29 '24 08:07 almarklein