streamdeck-toggl
streamdeck-toggl copied to clipboard
Updated Release for APIv8 Depreciation
I noticed @matejcerny was able to upgrade the API to v9 2 days ago.
Just wondering if @tobimori can look to release an updated compiled version for the Elgato store before the upcoming V8 API depreciation on May16? As per PR #40 or if we should look to compile locally?
Unfortunately the contact which @tobimori used for pushing updates left Elgato, so we need to find another way. Do you have any experience with the Elgato store?
Has that been tested? I couldn't get your version to work locally. I did however find another fork that already did some v9 conversion, which does work (but has some issues with displaying the time, and could use some polishing): https://github.com/Barndtt/streamdeck-toggl
Regarding the Elgato store - there is some information at https://docs.elgato.com/sdk/plugins/distribution.
Submit your plugins by sending an email to [email protected] with the following:
Download: A link to download the plugin.
User: A unique username or an email address.
Release Notes: What changed with the new version of your plugin? (features/bug fixes)
Support: Where can users contact you if they have problems? (email, contact form, etc.)
Category: Under which category do you want to have your plugin listed in the store (only one category is allowed at the moment).
Unfortunately the contact which @tobimori used for pushing updates left Elgato, so we need to find another way. Do you have any experience with the Elgato store?
Me personally, no, I havent even compiled a plugin locally unfortunately, was more looking to scope out the requirements before May to see what I need to learn, or if we could get an updated release 🫠
"back then" compilation was just making a zip file with the elgato cli, not sure if that has changed much.
Sorry guys, as the change was not that big, I only tested it in postman. @malde You are right, I will try to fix it as soon as possible.
This one has been tested and it works. Sadly, the issue with displaying the time persists. Can anyone investigate it 🙏? https://github.com/tobimori/streamdeck-toggl/pull/42
Just by downloading your zip, and replacing the contents in the %appdata%\elgato\StreamDeck\Plugins\io.moeritz.streamdeck.toggl.sdplugin it appears to work for time tracking.
I don't see the time issues in my version of toggl 😊
Similar to other repos listed in this issue, might be good to update the readme with the instructions so people don't think they need to recompile 😊
Thank you
This is how it looks like.
Now that I see the full number (I didn't because font-size), I'm pretty sure that's just a local datetime conversion issue on the deck. Those 476,238 hours at least match the hours since 1.1.1970.
Well, it looks like API does not send a duration anymore:
{
...
"task_id": null,
"billable": false,
"start": "2024-04-30T06:43:55+00:00",
"stop": null,
"duration": -1,
"description": "work",
"tags": [],
"tag_ids": [],
"duronly": true,
"at": "2024-04-30T06:43:56+00:00",
"server_deleted_at": null,
...
"permissions": null
}
Works on my machine. @malde Can you please also test it? Thanks a lot! https://github.com/tobimori/streamdeck-toggl/pull/43
Looks to be working for me 👍
This is how it looks like.
![]()
Ahh I removed that text In the UI for my use case 😊. Looks to be an epoch time.
I already fixed it in https://github.com/tobimori/streamdeck-toggl/pull/43 @angry-bender, can you please also test it? To check that there is no problem with the timezone.
Looks to be right for me
Hopefully the last change: (https://github.com/tobimori/streamdeck-toggl/pull/45)
Regarding the Elgato store - there is some information at https://docs.elgato.com/sdk/plugins/distribution.
Submit your plugins by sending an email to [email protected] with the following:
Download: A link to download the plugin. User: A unique username or an email address. Release Notes: What changed with the new version of your plugin? (features/bug fixes) Support: Where can users contact you if they have problems? (email, contact form, etc.) Category: Under which category do you want to have your plugin listed in the store (only one category is allowed at the moment).
@tobimori Can you please send it as an author? This is the bundle, just delete the .md extension (I was unable to upload it here without it)
Regarding the Elgato store - there is some information at https://docs.elgato.com/sdk/plugins/distribution.
Submit your plugins by sending an email to [email protected] with the following:
Download: A link to download the plugin. User: A unique username or an email address. Release Notes: What changed with the new version of your plugin? (features/bug fixes) Support: Where can users contact you if they have problems? (email, contact form, etc.) Category: Under which category do you want to have your plugin listed in the store (only one category is allowed at the moment).@tobimori Can you please send it as an author? This is the bundle, just delete the
.mdextension (I was unable to upload it here without it)
Looks like it's published https://marketplace.elgato.com/product/toggl-b040b224-5e61-4722-957f-91a662792441
thanks all for your efforts with this and sorry I wasn't able to provide more assistance than this :)