Questions About Working With Stream Deck and KM

Also, top tip:

When posting a big chunk of code, surround it with these markup codes to put them in a disclosure block.

[details="Code"]<CODE HERE>[/details]

1 Like

I would never have imagined.

Thanks for the tip

Thanks very much @cdthomer and @noisneil !

2 Likes

Another tip related to Neil’s: wrap code in three backticks ` that way it displays as code and not regular text.

For example:

13:38:30.2672          void MainWindow::bootstrap(): All object init done!
13:38:30.2675          void MainWindow::bootstrap(): Running in high dpi mode: 1
13:38:30.2689          ESDSharedFileServer::ESDSharedFileServer(): mapfile location /Users/jlette111/Library/Application Support/com.elgato.streamdeck/STREAMDECKINTERNALSHM
13:38:30.6777          void ESDCustomPluginCommunication::onMessageReceived(): Plugin 75979830900690B1E93271428AD0CF5B is now connected
13:38:30.6779          static ESDAction *ESDActionRegistry::CreateNewAction(): Trying to create an action from an unknown type com.corcules.keyboardmaestro.run
13:38:30.6927          void MainWindow::onKeyboardStatusChange(): Firmware version in device(@(1)[4057/108/CL13L2A01912]): 1.01.000
13:38:30.6928          void MainWindow::onKeyboardStatusChange(): Device connected, serial number: CL13L2A01912 and id: @(1)[4057/108/CL13L2A01912]
13:38:30.6951          void MainWindow::ReloadProfiles(): Loading profiles from /Users/jlette111/Library/Application Support/com.elgato.StreamDeck/ProfilesV2
13:38:30.6952          ESDProfile *ESDProfileManager::LoadProfileAtPath(): Loading profile at path /Users/jlette111/Library/Application Support/com.elgato.StreamDeck/ProfilesV2/11C8A86E-FDC4-41DD-BD48-3736660CD70E.sdProfile
13:38:30.6974          void ESDProfile::AddSubProfile(): Sub profile with uuid AD5EE3EB-7995-4D6B-9F3C-79113D2A4669 added to profile 847BB676-DD24-4A6B-8181-D0EDF2181F77
13:38:30.6992          void ESDProfile::AddSubProfile(): Sub profile with uuid CA3C4823-C635-49FA-BD21-111F944D29DE added to profile 11C8A86E-FDC4-41DD-BD48-3736660CD70E
13:38:30.6992          void ESDProfile::AddSubProfile(): Sub profile with uuid AAB5F607-BAD0-400D-AE8A-29D8E95CA679 added to profile 11C8A86E-FDC4-41DD-BD48-3736660CD70E
13:38:30.6992          void ESDProfile::AddSubProfile(): Sub profile with uuid F8A81775-CD4A-4A11-BB9F-FA72D0CACE15 added to profile 11C8A86E-FDC4-41DD-BD48-3736660CD70E
13:38:30.6993          void ESDProfile::AddSubProfile(): Sub profile with uuid 102408BA-7666-4EB0-B3E8-4EF2D5FC9579 added to profile 11C8A86E-FDC4-41DD-BD48-3736660CD70E
13:38:30.6993          void ESDProfile::AddSubProfile(): Sub profile with uuid 847BB676-DD24-4A6B-8181-D0EDF2181F77 added to profile 11C8A86E-FDC4-41DD-BD48-3736660CD70E
13:38:30.6993          void ESDProfile::AddSubProfile(): Sub profile with uuid F7F4627E-BFE1-4916-9B66-034E9A446CAD added to profile 11C8A86E-FDC4-41DD-BD48-3736660CD70E
13:38:30.6994          void ESDProfile::AddSubProfile(): Sub profile with uuid 38233DC4-2648-4910-A920-BAD1666C9BF2 added to profile 11C8A86E-FDC4-41DD-BD48-3736660CD70E
13:38:30.6994          void ESDProfile::AddSubProfile(): Sub profile with uuid 79FBD39C-F13F-4669-9EAA-A3B6A100109D added to profile 11C8A86E-FDC4-41DD-BD48-3736660CD70E
13:38:30.6994          void ESDProfile::AddSubProfile(): Sub profile with uuid 5F40D4D7-A769-402C-B2FD-9601AD7BC80E added to profile 11C8A86E-FDC4-41DD-BD48-3736660CD70E
13:38:30.6994          void ESDProfile::AddSubProfile(): Sub profile with uuid EC558E7C-1A3F-42DE-95EC-3DE4F36C7A4C added to profile 11C8A86E-FDC4-41DD-BD48-3736660CD70E
13:38:30.7030          void ESDPreferenceTabGeneral::DeviceStateChangedNotification(): Dev FW ver: 1.1.0.0, Embed FW ver: 1.1.0.0
13:38:30.7030          void ESDPreferenceTabGeneral::DeviceStateChangedNotification(): show update fw button: no
13:38:30.7030          void ESDPreferenceTabGeneral::DeviceStateChangedNotification(): Serial No: CL13L2A01912
13:38:30.7031          static ESDAction *ESDActionRegistry::CreateNewAction(): Trying to create an action from an unknown type com.corcules.keyboardmaestro.run
13:38:30.7033          static ESDAction *ESDActionRegistry::CreateNewAction(): Trying to create an action from an unknown type com.corcules.keyboardmaestro.run
13:38:30.7034          static ESDAction *ESDActionRegistry::CreateNewAction(): Trying to create an action from an unknown type com.corcules.keyboardmaestro.run
13:38:30.7035          static ESDAction *ESDActionRegistry::CreateNewAction(): Trying to create an action from an unknown type com.corcules.keyboardmaestro.run
13:38:30.7035          static ESDAction *ESDActionRegistry::CreateNewAction(): Trying to create an action from an unknown type com.corcules.keyboardmaestro.run
13:38:30.7036          static ESDAction *ESDActionRegistry::CreateNewAction(): Trying to create an action from an unknown type com.corcules.keyboardmaestro.run
13:38:30.7836          static ESDAction *ESDActionRegistry::CreateNewAction(): Trying to create an action from an unknown type com.corcules.keyboardmaestro.run
13:38:31.2079          void ESDCustomPluginCommunication::onMessageReceived(): Plugin EBE35C29A1048AD508F0D9F91D426A94 is now connected
13:38:31.2082          static ESDAction *ESDActionRegistry::CreateNewAction(): Trying to create an action from an unknown type com.corcules.keyboardmaestro.run
13:38:31.5894          void ESDCustomPluginCommunication::onMessageReceived(): Plugin 1D95AC4413C7A742DE264A9561222654 is now connected
13:38:31.5898          static ESDAction *ESDActionRegistry::CreateNewAction(): Trying to create an action from an unknown type com.corcules.keyboardmaestro.run
13:38:35.4442          void EGQTSWUpdateDialog::checkForUpdate(): Check for update 2: https://gc-updates.elgato.com/mac/sd-update/final/app-version-check.json
13:38:35.4445          void EGQTSWUpdateDownloader::startDownload(): Download task name: Update File, file URL: https://gc-updates.elgato.com/mac/sd-update/final/app-version-check.json
13:38:35.5126          void ESDAppStoreManager::UpdateAppStorePlugins(): Check for Plugin Store updates
13:38:35.5143          void ESDAppStoreManager::UpdateAppStoreIconPacks(): Check for icon pack Store updates
13:38:36.0666          virtual EGQTSWUpdateDialog::UpdateState EGQTSWUpdateDialog::shouldUpdate(): current SW Ver: 5.3.3.15214, remote SW Ver: 5.3.3.15214
13:38:36.0673          bool EGQTSWUpdateDialog::handleUpdateFileDownloaded(): No update available
2 Likes

Noted. great. thanks very much. Will add to my Typinator snippets.

1 Like

If you’re interested, I have a macro for this. :wink:

47)Collapse information.kmmacros (5.5 KB)

Macro screenshot (click to expand/collapse)

2 Likes

Superb macro!

Thank very much. Solves the problem.

1 Like

One thing to try is changing the cable (and any adapters) that connect it to your Mac. If you have access to another Mac, try it on there too, in case it is the original machine's port that's the problem.

It probably isn't that, but it'll be one of the first things on any "connected peripherals" support script so it's good to get in early.

I tried changing the cable and hub. I will try another mac just to be sure. thanks very much !

IIRC, they tell you not to use a hub. Try a direct connection, to take that out of the equation.

Dimly remembered -- I think it is to do with power draw and even a powered hub can struggle if you've other power-hungry devices plugged in, like an external HD. At which point I shall hand this back to the SD gurus, who'll know a lot more about real-world use than I do!

I tried connecting directly to the mac. The problem persists, but thank you for the suggestion.
It's funny: I thought that the fact that an app (in this case stream deck) gets into a loop of quitting and re-launching, would immediately trigger a shortlist of common causes. I say this because the problem is so specific.

Well, you've (probably) eliminated hardware problems. While I don't know that a "fluttering" Deck would cause the software to quit/relaunch, I've seen similar with other peripherals. Plus it's an easy one to cross off the list.

Is that the complete log file? You mention "every few minutes", but that's only 6 seconds-worth. Did it crash at that point?

Next time it does crash, look in ~/Library/Logs/StreamDeck and open StreamDeck0.log and StreamDeck1.log. You're looking for the time points just before and just after the crash/restart (and I don't know when the app will rotate its log files). The entries just prior to the crash might give you a clue -- the "just relaunched" bit will include a bunch of int main() lines, if that helps you zoom in.

I'm hoping there'll be consistent references to something the app is trying to do...

The other thing to ask yourself with these "it was working then but isn't now" problems is -- what's changed?

1 Like

I will look at the logs and try to figure it out.
What has changed ? Now that I think about it, Mac OS upgrade from 12.6.2 to 12.6.3
thanks again

1 Like

hello @noisneil and @cdthomer
Thanks to both of you, I using my stream deck all day to trigger KM macros.
As I create new pages and profiles, I have to move many buttons from one page or profile to another
With one button, a simple copy paste does the job. Have you found a way to batch move (batch copy paste) multiple buttons ?
thank you very much

I haven't unfortunately. I'm just waiting for an XL to arrive, as it happens. Exciting times! :nerd_face:

Hey @ronald, I am not aware of any way to do this unfortunately. The good thing is though, at least in my case, is once I got the initial profiles/pages setup how I liked, I don’t change them very often.

thank you @cdthomer and @noisneil
Last week, I installed the Elgato Stream Deck ios app as suggested by a forum member, and it is incredible. I revived an old generation one iPad Pro 2016 with a generation one apple pencil.
An 8 x 8 matrix with 64 touch buttons and obviously unlimited pages and profiles. A dream come true because I was getting a bit tired of the Stream Deck 's mechanical buttons. I see no disadvantages with the ipad for the moment.
The ios software works exactly like the Mac OS software.

1 Like

I've been tempted by Touch Portal, as it's a one-time purchase and I try to avoid subscription models. However, so far the free 6-button version of the Stream Deck Mobile app does the job when I need to control my mac from another room. It's basic but it's good enough for now and I like being able to set it up in the same desktop app.

1 Like

Neil, good luck with the Stream Deck XL! I am loving mine.

But..it stays home. So I'm very much looking forward to BTT Andreas's new remote app for iOS. Fingers crossed...

1 Like

A bit different but also excellent is Remote Buddy. Worth checking out.

1 Like