Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

StreamDeck plugin will not remain "checked" in AAO

Featured Replies

I'm tearing my hair out on this. The Stream Deck is receiving information from the Web API but not writing anything back. When I look at the "Change Web API address" modal in AAO, the "StreamDeck Plugin" is unchecked. I'm assuming that is why it can't write back.

If I quit Stream Deck, I can check the box for this plugin. Apply, and restart AAO. The plugin remains checked.

As soon as I start Stream Deck however, the plugin immediately gets unchecked again.

  • Commercial Member
5 hours ago, Agathorn said:

I'm assuming that is why it can't write back.

That assumption is wrong. The checkmark does not indicate that something is "active". It is just local to this dialog, the checkboxes are there for selecting the addons that you want to change the web address/port for with the buttons below the list. It is disabled when you run the StreamDeck software, because in this state, AAO cannot change the Web Address in the plugin's config file (=the buttons wouldn't do anything)

The Stream Deck is receiving information from the Web API but not writing anything back

Please explain a bit more what you mean by that. What does "writing back" mean, what do you expect to happen when you do what exactly? When the WebAPI works one way, it works the other way too - this is one single mechanism.

Edited by Lorby_SI

LORBY-SI

  • Author
8 hours ago, Lorby_SI said:

That assumption is wrong. The checkmark does not indicate that something is "active". It is just local to this dialog, the checkboxes are there for selecting the addons that you want to change the web address/port for with the buttons below the list. It is disabled when you run the StreamDeck software, because in this state, AAO cannot change the Web Address in the plugin's config file (=the buttons wouldn't do anything)

Please explain a bit more what you mean by that. What does "writing back" mean, what do you expect to happen when you do what exactly? When the WebAPI works one way, it works the other way too - this is one single mechanism.

Ahh there goes a logical fallacy :)

What I mean is the buttons on the stream deck are all getting live information from the sim, but none of the buttons do anything in the sim. I've tried multiple profiles, and even my own, and they all properly show live data being red from the sim such as heading or altitude, but none of the event being sent back to the sim do anything.

  • Commercial Member
2 hours ago, Agathorn said:

What I mean is the buttons on the stream deck are all getting live information from the sim, but none of the buttons do anything in the sim. I've tried multiple profiles, and even my own, and they all properly show live data being red from the sim such as heading or altitude, but none of the event being sent back to the sim do anything.

Sounds strange, never heard of that before, sorry. The only situation where this does happen is when the profiles call scripts and the user forgot to import the script package(s) into AAO...

LORBY-SI

  • Author

There used to be a button we could add that tested the connection to the sim but that seems to have been removed?

I've even tried creating very simple buttons that don't call a script, using a simple event name.

  • Author

I will also add in this case I DID import the script but more than that, I tried looking at all of the various data/script monitors in AAO and none of them show any activity from the SD. Should they?

  • Commercial Member
19 minutes ago, Agathorn said:

I will also add in this case I DID import the script but more than that, I tried looking at all of the various data/script monitors in AAO and none of them show any activity from the SD. Should they?

Maybe your firewall is intefering? Letting the data pass one way only? To be on the safe side, you should create firewall rules that allow all traffice through the TCP port that you have configured for the WebAPI - in both directions, incoming and outgoing. Creating a rule for the AAO app itself is the wrong way to go, that won't work.

Sorry, my bad, but this was B.S.

When you are seeing data on the StreamDeck, then the WebAPI and the connection are both fully functional. The SD plugin is sending requests to AAO and gets the data in the response. So the API is working both ways.

You are certain that the buttons on your SD are working? No others plugins that could interfere? The easiest way to check would be using an empty profile and creating a single AAO "Button" Action on it. This should be picked up in AAO when you open the "Add Button" dialog (same as with a joystick or button box, but it would show "WebAPI" as the source).

Edited by Lorby_SI

LORBY-SI

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.