This is one of the best, if not the best, functions for the stream deck! Amazing! Keep the good work up!! Wow! Was für ein Plugin. Ich danke Dir für deine tolle Arbeit. Genau danach habe ich gesucht. Weiter so!
I finally got this to work and it's amazing!! Super cool to be able to see live feedback from the sim via buttom icon status changes. Absolutely mad stuff! 🎉🎉
You cannot add properties to SimHub (without plugins or scripts). Some simulations expose more data, some less data. SimHub can only consume, what the simulations are offering. ACC exposes wipers and light, but for example AMS2 does not expose this kind of data. Open the tab "Available properties" in SimHub, activate "Show game specific properties" and try to search. If you don't get any hits, there is unfortunately not much to do.
This is awesome, been thinking of trying to integrate this with my icons. But damn do I have a lot to sort through, with well over 600 function icons in 14 styles. But getting close to 10,000 downloads, so maybe that'll be the incentive :)
Use the property "DataCorePlugin.GameData.Fuel". You can use the page "Available properties" in SimHub to search for properties. Just enter "fuel" to get the list. Some values are decimal values, so you have to format them (e.g. with ":F0" - see github.com/pre-martin/StreamDeckSimHubPlugin/blob/main/doc/hotkey/Hotkey.adoc#simple-format)
Do you mean something like "+1 with first detent", "do nothing for the next 2 detents", "+1 with the 4th detent", "do nothing for the next 2" and so on?
sorry to bother you, I'm looking to map a button on stream deck to run Simhub and select a specific game on it .....there is something that I can use to create this action ? thank you
Perfectly created, well done! I got the Streamdeck+ and it works great, many thanks!!! How do behave with other sim-racing games like AM2? Are there new plugins required, can you support with some examples also in this case? Would be great!!
Hi. The direction "Stream Deck -> Sim" is no problem with either Hotkeys or by using the SimHub Control Mapper feature. The direction "Sim -> Stream Deck" depends on what the sim is offering. ACC exposes a lot of data, AC is missing quite some important data (like lights and wiper). Unfortunately, AM2 is in the same category as AC: Not that much data is exposed. There is no workaround or other solution: Reiza has to expose more data.
Hi Martin, ok got it! Well once again, many thanks for sharing such a great solution you’ve been working on. Was a lot of work I would guess, therefore really great that you are offering such a solution to the whole community!
Hi Martin, I'm French and I can't install the plug in simhub. Can you help me please? It's when I saw your video that I bought the stream deck + and now I'm a bit lost on the translation even though I've been trying for several days.
Can you please open a ticket on github.com/pre-martin/SimHubPropertyServer/issues ? Then we can track that issue in more detail. Cou can write in French, but I will answer in English.
It works with every game that is supported by SimHub - so it works also with AMS and RFactor. I have positive feedback from users that use it for bus and truck simulators. The number of available properties depends on the simulation - only what is offered by the simulation can be read by SimHub.
These variables are game specific. For ACC, you can use `acc.graphics.LightsStage` and `acc.graphics.RainLights`. AMS2 unfortunately does not expose the state of the lights.
This is fantastic, thanks for it. But how can i use the Control mapper? In Sim Hub i can see that Stream Deck button is assigned to the role (for example Ignition), but how can i use it in game? And one more question, can't find the lights default property - is that correct? Where did you find all that specific ACC properties, is something similar for classic AC? Thanks in advance for your response
Hi. SimHub Control Mapper is a virtual input device. Your real controllers (and e.g. your button box or Stream Deck with my plugin) can send their button events to SimHub. SimHub in turn injects these inputs into a new virtual device - either via vJoy or via an Arduino Pro Micro. In your game, you map the buttons from this virtual device instead from your real devices. This makes it easy if you want to swap wheels - no different profiles are required in the game, because the game only sees the buttons from the SimHub virtual device. You can find more details about the SimHub Control Mapper here github.com/SHWotever/SimHub/wiki/Control-Mapper-plugin Lights: For ACC use `acc.graphics.LightsStage`, because SimHub indeed does not have a property for lights. Those specific ACC properties from github.com/pre-martin/SimHubPropertyServer#help are actually from the ACC api which is read by SimHub and delivered to plugins (like mine). It looks like there is no "light" property for AC.
Bonjour, Merci pour le travail accompli. Je suis débutant avec Simhub et Stream Deck. J’arrive à contrôler le TC avec le bouton rotatif mais je n’ai pas l’indication de la valeur de TC sur le streamdeck… Qu’est ce que je fais mal ? Merci d’avance !
Est-ce que tu peux ouvrir un ticket sur GitHub (github.com/pre-martin/StreamDeckSimHubPlugin)? Tu peux écrire en français parce que je peux le lire. Mais je te répondrai probablement en anglais.
@@Martin-xo9oj Merci. Je vais le faire. J’ai remarqué que dans l’application StreamDeck il faut remplir le « contrôle Simhub » ; est ce que c’est lié ? Je ne sais pas comment remplir ce champ…
This looks very good. I haven’t been able to get it working (yet) but will try my damnest as it seems very handy. Any chance of an in-depth tutorial on how to set it up? I spend more time in AC than ACC and from what I understand, functionality is limited, which is a shame. Does CM/CSP add any functionality you think?
Where are you stuck? Is the Property Server plugin installed (and showing) in SimHub? Or is the problem related to the Stream Deck plugin? Feel free to open a ticket in my GitHub projects, so I can assist you in more detail. I will create an installation tutorial. Unfortunately, CM/CSP does not add anything to the data interface. Select the game in SimHub and browse through the "Available properties". Enable "Show 'rawdata'".
@@Martin-xo9oj thank you. I have no idea how to get Simhub to recognize button presses on the stream deck. Both plugins are installed and (I assume) working. It’s the how do you map the buttons and get the stream deck to register on the simhub that has me confused
Did you use "DataCorePlugin.GameData.EngineStarted"? Not every game exposes all properties. Switch in SimHub to your game (AMS2), then open the tab "Available properties". You will see, that "DataCorePlugin.GameData.EngineStarted" and "DataCorePlugin.GameData.EngineIgnitionOn" are both "Computed", which means that the game does not expose these values, but SimHub is calculating them somehow.
Just checked with AMS2: As it does not expose a property for the ignition, SimHub emulates the ignition with the engine state. By using the two properties mentioned above, I get both "off" on my Stream Deck (and in SimHub) if the engine is off, both "on" if the engine is on. So unfortunately, as long as Reize is only exporting data in "Project Cars 2" format, only a very limited subset of features will work with the Stream Deck.
Hallo Martin, super Tool - Frage: in ACC lasse ich mir die Spritmenge anzeigen. Funktioniert auch soweit - gibt es einen Parameter damit die Spritmenge nicht mit 5-6 Kommastellen ausgegeben wird, sonder nur mit 1 bis max 2? - ich vermute einmal, das ich unter "Display Format" irgend etwas eingebe müsste, aber dazu bin ich schon zu alt um herauszufinden was da reingehört ;-) - wäre cool, wenn es da etwas geben würde - Danke Hannes
Nur der Vollständigkeit halber: Die Formate sind unter github.com/pre-martin/StreamDeckSimHubPlugin/blob/main/doc/hotkey/Hotkey.adoc#displayFormatForTitle beschrieben. "{:F1}" ist genau das richtige Format für diesen Anwendungsfall.
Hi. On the 5x3 Stream Deck, I have two pages for ACC, one for SimHub Bass Shakers, another one for SimHub Wind (with only 6 buttons used). The other pages are for stuff not related to my plugins.
Ich kannte dieses Gerät bisher nicht. Auf die Schnelle habe ich keine Infos über ein SDK gefunden. Die "Download"-Seite zeigt mir nur eine leere Liste.
@@Martin-xo9ojkomisch meine vorherige Nachricht ist verschwunden, vermutlich wegen dem Link zu dem Download dee Software. Die Plugins von Mirabox sind hauptsächlich jasn Dateien. Haben aber teilweise die gleichen Plugins nur in einem anderen Format.
You can either send hotkey events to the game (like "Shift + I", which toggles the ignition in ACC) or use SimHub Control Mapper (which is a virtual game controller). Personally, I'm in the process of switching everything in my sim setup from hotkeys to the Control Mapper.
This is one of the best, if not the best, functions for the stream deck! Amazing! Keep the good work up!!
Wow! Was für ein Plugin. Ich danke Dir für deine tolle Arbeit. Genau danach habe ich gesucht. Weiter so!
Thank you. I am glad you like my work.
I finally got this to work and it's amazing!! Super cool to be able to see live feedback from the sim via buttom icon status changes. Absolutely mad stuff! 🎉🎉
Thank you for your positive feedback.
What a job. I will take one day to try to make it work fine. Thanks a lot for the community.
Geniales Plugin...muss ich ausprobieren wenn mein StreamDeck da ist!!
Keep up the good work
Hi! I cannot find in simhub property the values for wipers and light. How to add them?
You cannot add properties to SimHub (without plugins or scripts). Some simulations expose more data, some less data. SimHub can only consume, what the simulations are offering. ACC exposes wipers and light, but for example AMS2 does not expose this kind of data. Open the tab "Available properties" in SimHub, activate "Show game specific properties" and try to search. If you don't get any hits, there is unfortunately not much to do.
Great work, I need to see how this works for iRacing
Is it work? I'm considering to buy it
This is awesome, been thinking of trying to integrate this with my icons. But damn do I have a lot to sort through, with well over 600 function icons in 14 styles.
But getting close to 10,000 downloads, so maybe that'll be the incentive :)
Is There A Way I Can Show My Fuel On My Stream Deck
Use the property "DataCorePlugin.GameData.Fuel". You can use the page "Available properties" in SimHub to search for properties. Just enter "fuel" to get the list. Some values are decimal values, so you have to format them (e.g. with ":F0" - see github.com/pre-martin/StreamDeckSimHubPlugin/blob/main/doc/hotkey/Hotkey.adoc#simple-format)
Are you able to make it need more rotation per input? for ABS ect.
Do you mean something like "+1 with first detent", "do nothing for the next 2 detents", "+1 with the 4th detent", "do nothing for the next 2" and so on?
sorry to bother you, I'm looking to map a button on stream deck to run Simhub and select a specific game on it .....there is something that I can use to create this action ? thank you
Hi, no problem, your questions are welcome. Unfortunately, SimHub does not offer any programmatic mechanism to select a game.
@ Thank you for your answer! Also running the program with an argument isn’t possible? For example running “simhub executable” -ACC
@@NinjaTube73 Not sure about the possible command line arguments. Maybe something that you could ask on their Discord server.
@@Martin-xo9oj You gave me a good lead, thank you.
Amazing
ABSOLUTELY FANTASTIC. Thank you! Do you have a Patreon, ByMeACoffee, or other style link to send you money?
Thank you for the kind words. I'm mainly programming this for myself, which is why I'm not taking anything for it.
Perfectly created, well done! I got the Streamdeck+ and it works great, many thanks!!! How do behave with other sim-racing games like AM2? Are there new plugins required, can you support with some examples also in this case? Would be great!!
Hi. The direction "Stream Deck -> Sim" is no problem with either Hotkeys or by using the SimHub Control Mapper feature. The direction "Sim -> Stream Deck" depends on what the sim is offering. ACC exposes a lot of data, AC is missing quite some important data (like lights and wiper). Unfortunately, AM2 is in the same category as AC: Not that much data is exposed. There is no workaround or other solution: Reiza has to expose more data.
Hi Martin, ok got it! Well once again, many thanks for sharing such a great solution you’ve been working on. Was a lot of work I would guess, therefore really great that you are offering such a solution to the whole community!
Is there a way to control the replay function?
I will check the available functions as soon as I am back home again. End of tomorrow.
Unfortunately SimHub has no support to control the record and replay function.
@@Martin-xo9oj OK, thanks for the reply.
Hi Martin, I'm French and I can't install the plug in simhub. Can you help me please? It's when I saw your video that I bought the stream deck + and now I'm a bit lost on the translation even though I've been trying for several days.
Can you please open a ticket on github.com/pre-martin/SimHubPropertyServer/issues ? Then we can track that issue in more detail. Cou can write in French, but I will answer in English.
Hello, does it work with other sim like automobilista or rfactor ?
It works with every game that is supported by SimHub - so it works also with AMS and RFactor. I have positive feedback from users that use it for bus and truck simulators. The number of available properties depends on the simulation - only what is offered by the simulation can be read by SimHub.
i ve tried it in automobilista 2 and acc, working great !! Just looking for the variable name for the light
These variables are game specific. For ACC, you can use `acc.graphics.LightsStage` and `acc.graphics.RainLights`. AMS2 unfortunately does not expose the state of the lights.
This is fantastic, thanks for it. But how can i use the Control mapper? In Sim Hub i can see that Stream Deck button is assigned to the role (for example Ignition), but how can i use it in game? And one more question, can't find the lights default property - is that correct? Where did you find all that specific ACC properties, is something similar for classic AC? Thanks in advance for your response
Hi. SimHub Control Mapper is a virtual input device. Your real controllers (and e.g. your button box or Stream Deck with my plugin) can send their button events to SimHub. SimHub in turn injects these inputs into a new virtual device - either via vJoy or via an Arduino Pro Micro. In your game, you map the buttons from this virtual device instead from your real devices. This makes it easy if you want to swap wheels - no different profiles are required in the game, because the game only sees the buttons from the SimHub virtual device. You can find more details about the SimHub Control Mapper here github.com/SHWotever/SimHub/wiki/Control-Mapper-plugin
Lights: For ACC use `acc.graphics.LightsStage`, because SimHub indeed does not have a property for lights. Those specific ACC properties from github.com/pre-martin/SimHubPropertyServer#help are actually from the ACC api which is read by SimHub and delivered to plugins (like mine). It looks like there is no "light" property for AC.
Bonjour,
Merci pour le travail accompli.
Je suis débutant avec Simhub et Stream Deck. J’arrive à contrôler le TC avec le bouton rotatif mais je n’ai pas l’indication de la valeur de TC sur le streamdeck…
Qu’est ce que je fais mal ?
Merci d’avance !
Est-ce que tu peux ouvrir un ticket sur GitHub (github.com/pre-martin/StreamDeckSimHubPlugin)? Tu peux écrire en français parce que je peux le lire. Mais je te répondrai probablement en anglais.
@@Martin-xo9oj Merci. Je vais le faire.
J’ai remarqué que dans l’application StreamDeck il faut remplir le « contrôle Simhub » ; est ce que c’est lié ? Je ne sais pas comment remplir ce champ…
@@Martin-xo9ojfinalement j’ai réussi 😉 c’est top, merci
Nice!!! Is it possible to link with console to Change Settings in GT7 over simhub?
With "console" you mean PS/Xbox? I don't think so, because you need SimHub.
This looks very good. I haven’t been able to get it working (yet) but will try my damnest as it seems very handy. Any chance of an in-depth tutorial on how to set it up? I spend more time in AC than ACC and from what I understand, functionality is limited, which is a shame. Does CM/CSP add any functionality you think?
Where are you stuck? Is the Property Server plugin installed (and showing) in SimHub? Or is the problem related to the Stream Deck plugin? Feel free to open a ticket in my GitHub projects, so I can assist you in more detail. I will create an installation tutorial.
Unfortunately, CM/CSP does not add anything to the data interface. Select the game in SimHub and browse through the "Available properties". Enable "Show 'rawdata'".
@@Martin-xo9oj thank you. I have no idea how to get Simhub to recognize button presses on the stream deck. Both plugins are installed and (I assume) working. It’s the how do you map the buttons and get the stream deck to register on the simhub that has me confused
@@docd3d For completeness: A longer answer from me can be found on github.com/pre-martin/SimHubPropertyServer/issues/36
Great video mate. Works fine with ACC but some issue with AMS2 : Enginestart icon statut doesn't change. Any idea ?
Did you use "DataCorePlugin.GameData.EngineStarted"?
Not every game exposes all properties. Switch in SimHub to your game (AMS2), then open the tab "Available properties". You will see, that "DataCorePlugin.GameData.EngineStarted" and "DataCorePlugin.GameData.EngineIgnitionOn" are both "Computed", which means that the game does not expose these values, but SimHub is calculating them somehow.
@@Martin-xo9oj yes, saw this, but IGNITION return displaydoesn't work for AMS2.
@@makefredWill check tomorrow.
Just checked with AMS2: As it does not expose a property for the ignition, SimHub emulates the ignition with the engine state. By using the two properties mentioned above, I get both "off" on my Stream Deck (and in SimHub) if the engine is off, both "on" if the engine is on. So unfortunately, as long as Reize is only exporting data in "Project Cars 2" format, only a very limited subset of features will work with the Stream Deck.
@@Martin-xo9oj That's what I've seen as well. Thank you for your reply
Hallo Martin, super Tool - Frage: in ACC lasse ich mir die Spritmenge anzeigen. Funktioniert auch soweit - gibt es einen Parameter damit die Spritmenge nicht mit 5-6 Kommastellen ausgegeben wird, sonder nur mit 1 bis max 2? - ich vermute einmal, das ich unter "Display Format" irgend etwas eingebe müsste, aber dazu bin ich schon zu alt um herauszufinden was da reingehört ;-) - wäre cool, wenn es da etwas geben würde - Danke Hannes
wow - habe es gerad selbst rausgefunden - wie ich vermutet habe
Fuel
{:F1}
und alles ist perfekt
Danke nocmal für das tolle Tool
Nur der Vollständigkeit halber: Die Formate sind unter github.com/pre-martin/StreamDeckSimHubPlugin/blob/main/doc/hotkey/Hotkey.adoc#displayFormatForTitle beschrieben. "{:F1}" ist genau das richtige Format für diesen Anwendungsfall.
How many buttons are in your setup.
Hi. On the 5x3 Stream Deck, I have two pages for ACC, one for SimHub Bass Shakers, another one for SimHub Wind (with only 6 buttons used). The other pages are for stuff not related to my plugins.
BTW: My videos are made on my desktop PC, where I have a Stream Deck Plus. On my sim rig, I have the Stream Deck MK.2.
Hallo Martin, ich weiß nicht ob du dich damit auskennst, aber gibt es eine Möglichkeit das auch auf einem Stream Dock (Mirabox) zum laufen zu bringen?
Ich kannte dieses Gerät bisher nicht. Auf die Schnelle habe ich keine Infos über ein SDK gefunden. Die "Download"-Seite zeigt mir nur eine leere Liste.
@@Martin-xo9ojkomisch meine vorherige Nachricht ist verschwunden, vermutlich wegen dem Link zu dem Download dee Software. Die Plugins von Mirabox sind hauptsächlich jasn Dateien. Haben aber teilweise die gleichen Plugins nur in einem anderen Format.
Du kannst mal unter github.com/pre-martin/StreamDeckSimHubPlugin ein Ticket für Mirabox Stream Dock Support eröffnen. Da kannst Du auch Links posten.
So to map things for in games is it using controller mapper within simhub?
You can either send hotkey events to the game (like "Shift + I", which toggles the ignition in ACC) or use SimHub Control Mapper (which is a virtual game controller).
Personally, I'm in the process of switching everything in my sim setup from hotkeys to the Control Mapper.
@@Martin-xo9oj Will you be using vjoy?
Amazing