Everything posted by IrwinMFletcher
-
Format ETE as hh:mm:ss
I do not know why converting GPS WP ETE to hh:mm:ss and GPS WP ETA to hh:mm (sim time not pc time) I am sure it has to by my attempt at some rpn scripting: %(E:GPS WP ETE, Hours)%!02d! ':' scat %(E:GPS WP ETE, Minutes) (E:GPS WP ETE, Hours) 60 * - %!02d! ':' scat %(E:GPS WP ETE, Seconds) (E:GPS WP ETE, Minutes) 60 * - %!02d! scat (this is on one line) My StreamDeck displays null for GPS WP ETE instead of hh:mm:ss same goes for: %(E:GPS WP ETA, Hours)%!02d! ':' scat %(E:GPS WP ETA, Minutes) (E:GPS WP ETA, Hours) 60 * - %!02d! ':' scat %(E:GPS WP ETA, Seconds) (E:GPS WP ETA, Minutes) 60 * - %!02d! scat What do I need to format GPS WP ETE as hh:mm:ss AND GPS WP ETA as hh:mm I am using the S: type variable in the AAO StreamDeck plugin... I did learn that much. Again, thanks for your time.
-
WebAPI Frustration
I am struggling to get the AAO WebAPI to work and am unsure what information you might need to help me figure out what I'm doing wrong. I will try to include as many details as possible. **My details:** - Windows 11 - AAO 4.51 b09 - MSFS 2024 (purchased from the Microsoft Store, not Steam) - Default installation location - I’ve created inbound and outbound rules for AAO and for ports 43380 and 43381 - I’ve completely disabled the Windows firewall - The AAO LEDs in the bottom-right corner indicate that the WebAPI is listening - MSFS 2024 is open (not in a menu) and sitting on the runway with a flight plan loaded - I’ve memorized the troubleshooting guide from [this link](https://www.axisandohs.com/uploads/6/0/8/2/60827113/axisandohs_webapi_troubleshooting.pdf) - When I try to visit the URL listed in the “Change WebAPI Address” dialog box (http://192.168.4.76:43380), I get this error: **This site can’t be reached** 192.168.4.76 refused to connect. Try: - Checking the connection - Checking the proxy and firewall - ERR_CONNECTION_REFUSED - WebFPI seems to work fine and will display preconfigured gauges without any issues or errors - I’ve tried both localhost and the local IP address with the same results I’ve tried searching YouTube and even consulted several AI platforms for insights, but no success so far. I would really appreciate any help. I’ve restarted and rebooted, but the issue persists. I have attached some screenshots. Thank you in advance! 1. https://drive.google.com/file/d/1cPgrQNKIIKabnzP0wCvkIu9wS7uHN5TR/view?usp=drivesdk 2. https://drive.google.com/file/d/14sB2R0sr13JAZPiY5bQ8rbuYd_lmHjbs/view?usp=drivesdk 3. https://drive.google.com/file/d/19LoxQQTw2qTuWnzSX10GX75SKhmOqu6p/view?usp=drivesdk Joe
-
Can't check the checkbox next to "StreamDeck Plugin
Thanks for the reply. I have tried http://192.168.4.76:43380 and the connection is refused. I tried localhost with the same results. I even tried several AI apps to help trouble shoot and they all cam up with some version of "Make sure MSFS24 is running" or "AAO is not running". Re-reading the documentation for the 100th time... I turned off my Windows 11 firewall. No antivirus to worry about.
-
Can't check the checkbox next to "StreamDeck Plugin
Hello, I am trying to get the WebApi function working in AAO. However, on the Tools > WebAPI Config menu I am unable to put a checkmark next to StreamDeck plugin. https://drive.google.com/file/d/1jGwk9ie4ackdIc4Sm9Xpr2wLNSuQ_Fr_/view?usp=drivesdk I have tried everything in the troubleshooting guide, in fact I think I can recite it from memory. What am I doing wrong, I can't get conencted to the WebAPI. Thanks
- RPN Syntax Help
-
RPN Syntax Help
Hello, I am trying to do something that I would think would be easy if I had any clue to what I was doing. I want to take the variable COM ACTIVE FREQ TYPE:1, String and change the out put based on the value of the variable. "ATIS" - ATIS "UNI" - UNICOM "CTAF" - CTAF "GND" - GROUND "TWR" - TOWER "CLR" - CLEARANCE DELIVERY "APPR" - APPROAACH "DEP" - DEPARTURE "FSS" - FSS "AWS" - AWOS I know it's a very minor issue but I am really trying to learn how to use RPN and I thought this would be a simple project. Here is the latest version of my RPN script: (A:COM ACTIVE FREQ TYPE:1, String) 'ATIS' scmp 0 == if{ 'ATIS' } els{ (A:COM ACTIVE FREQ TYPE:1, String) 'UNI' scmp 0 == if{ 'UNICOM' } els{ (A:COM ACTIVE FREQ TYPE:1, String) 'CTAF' scmp 0 == if{ 'CTAF' } els{ (A:COM ACTIVE FREQ TYPE:1, String) 'GND' scmp 0 == if{ 'GROUND' } els{ (A:COM ACTIVE FREQ TYPE:1, String) 'TWR' scmp 0 == if{ 'TOWER' } els{ (A:COM ACTIVE FREQ TYPE:1, String) 'CLR' scmp 0 == if{ 'CLEARANCE DELIVERY' } els{ (A:COM ACTIVE FREQ TYPE:1, String) 'APPR' scmp 0 == if{ 'APPROACH' } els{ (A:COM ACTIVE FREQ TYPE:1, String) 'DEP' scmp 0 == if{ 'DEPARTURE' } els{ (A:COM ACTIVE FREQ TYPE:1, String) 'FSS' scmp 0 == if{ 'FSS' } els{ (A:COM ACTIVE FREQ TYPE:1, String) 'AWS' scmp 0 == if{ 'AWOS' } els{ 'NONE' } } } } } } } } } } } In the streamdeck the RPN is all on one line and the variable type is S:. Depending on how I edit the RPN (read make a bigger mess) the button will either be completely blank of more likely it just stays at the same value on the SD button. The variable is updating in AAO and in SpadNext so I know it is my sub par attempt at RPN. Can someone point out where I am going wrong? Thank you, Joe
-
MultiGauge - Image and Text Definitions
THANK YOU!
-
MultiGauge - Image and Text Definitions
Ok, I'm getting the hang of this a little bit. I want to create a multi tile gauge using the variable: ATC RUNWAY AIRPORT NAME, String The gauge is 4x1. I created 1,1 and all of the text is there. I copy 1,1 and change the tiling from 1,1 to2,1 and so forth with 3,1 and 4,1 However, as you can see in the first image the text is cutoff after ARMSTRO then in 2,1 the text NEW is just a bit too far to the left. What happened to the rest of the word ARMSTRONG? Can you please explain how Split Text, Min Width, Stretch Split work? What am I missing to get the text to spread over the 4x1 multi tile gauge. As always, thanks for your detailed answers, I am learning still. Joe 1. https://drive.google.com/file/d/1anOCGkkDGT-oDj0exGR6DpzI531v1iWq/view?usp=drivesdk 2. https://drive.google.com/file/d/1_Zwa-OxLgKVO8GwaY1ygY8KvqRvHgJaX/view?usp=drivesdk 3. https://drive.google.com/file/d/1VROQTRdzg2LNpjZOfCwFG0Sf3YQsVDEm/view?usp=drivesdk 4. https://drive.google.com/file/d/1qbOyxpVKFRNByi6VDndFaHn9nNO5rGT-/view?usp=drivesdk 5. https://drive.google.com/file/d/140rLBH6M6IYNqCVclQKW26kgkKh7dwzG/view?usp=drivesdk
-
MultiGauge - Image and Text Definitions
Thanks for the help. I am still missing something fundamental. I followed your instruction above and am now able to create the text definitions. However my 2x1 multi tile gauge displays the same information both buttons. I copied the first button as you instructed, then the only thing I changed was the position from 1,1 to 2,1. How do I get the text to strect from 1,1 to 2,1?
-
MultiGauge - Image and Text Definitions
Hello, I am still struggling getting a Multi Tile Gauge to work. As an excercise I am trying to get what I thought was a very simple Multi Tile Gauge. Grid Size: 2 x 1 Variable to Display: ATC RUNWAY AIRPORT NAME, String (split between the 2 buttons - 2x1) Here are the settings that I have now but I have tried many things already, I even read the instructions. I just want to display text, no images are needed. However, nothing is displayed in either button TILE: 1,1 TILING Title: blank Tilepos X: 1 Tilepos Y: 1 Grid X: 2 Grid y: 1 Bezel: Checked - corrected for the gaps IMAGE DEFINITIONS Set Image Def: blank Header: blank Layer: 0 Visibility Variable: blank Visibility Value: blank Visibility Variable: blank Rotation Variable: A: blank Multiplier: 1.0 Turn Offset Deg: 0 Center Shift X: 0 Center Shift Y: 0 X Shift Variable: A: blank Multiplier: 1.0 X Offset: 0 Y Shift Variable: A blank Multiplier: 1.0 Y Offset: 0 Resize: Stretch to Fit - checked File: blank TEXT DEFINITIONS Header: text_left_button Clicked Add new text definition text_left_button disappears the Header field Select Text Definition: there are no options to select Visibility Variable: A: blank Visibility Value: blank Text Variable: A: ATC RUNWAY AIRPORT NAME, String Note: I also tried ATC RUNWAY AIRPORT NAME Offset: 0 Multiplier: 1 Decimals: 0 Leading 0s: 0 Shift X: 0 Shift Y: 40 Font: Tahoma Font Size: 25 Style: bold - unchecked italic - unchecked Split Text: No Minimum Width: 10 Stretch Split: No BACKGROUND/IMAGE Nothing uploaded or used in this section BUTTON SETTINGS Nothing used in this section TILE 2,1 Tile pos X: 2 Tile pos Y: 1 Grid X: 2 Grid Y: 1 Everything else is the same for button 2,1 as 1,1. If I use the variable ATC RUNWAY AIRPORT NAME, String on a Text Gauge it displays the information correctly, but tiny as there is too much text. Thanks for your assistance. If you know of any YouTube videos or other documentation other than the Lorby “Axis And Ohs” StreamDeck Plugin Documentation, which is more descriptive than instructional. Thanks, Joe
-
Concatenate a Symbol After a Variable
Ok, I've been playing around with this and I have a few questions. #1 This works perfectly, but has no decimal point due to the !d!. %(A:GENERAL ENG MIXTURE LEVER POSITION:1, Percent)%!d! '%' scat I tried this: %(A:GENERAL ENG MIXTURE LEVER POSITION:1, Percent)%!1f! '%' scat This return the value of 'ERR' - How can I format this so it displays one decimal point? #2 Is it possible to concatenate a variable along with another variable. Example: AMBIENT TEMPERATURE, Celsius + AMBIENT TEMPERATURE, Fahrenheit I know + is not the answer... Something like this is what I would like to accomplish: 21.1°C / 70.0°F #3 Is it possible to format the size of text in the above? I would like to make the units Superscript, or similar, so the unit is a little smaller and raised up a bit, just like this: °F - The ° is small and superscript. Is this even possible? Thanks again for answering all of my questions in such a detailed manner!
-
Avionics Suite for StreamDeck XL
Hello, I am trying to get this profile for the StreamDeck to work properly: Avionics Suite for StreamDeck XL https://flightsim.to/file/44350/standard-avionics-suite-for-streamdeck-xl 1. AAO is up to date 2. AAO StreamDeck Plugin is up to date 3. I went through the trouble shooting PDF 4. Installed the Standard Avionics Suite.streamDeckProfile 5. Download and open the "zzz-lorbysi-aao-wtg1000.zip" - in the community folder 6. Ran AAO as Administrator 7. Restarted StreamDeck 8. Restarted AAO 9. Rebooted the PC10. MSFS 2024 - Cessna 172 Skyhawk11. Windows 11 Any ideas on how to get this working so the labels on the soft keys are displayed? Thanks in advance. Joe
-
Concatenate a Symbol After a Variable
Perfect. Thanks
-
Concatenate a Symbol After a Variable
Hello, I am not sure this is possible and I can't find anything that says it is, or isn't possible. With a simple StreamDeck Text Gauge (AAO plugin) can I display a value, 'Ambient Temperature, Fahrenheit', for example. That works and returns a value of 44. perfect. Now, immediately after the variable can i "concatenate" (excel terminology but I didn't know what else to call it, a symbol. Example of Current Output: 44 Desired Output: 44° Is it possible to add ° after the variable value? Thanks for all of you help with this question and all my other questions.
-
Format ETE as hh:mm:ss
Thank you for your reply and assistance, I greatly appreciate it! So, when I try the above it displays NULL. Here is what I am working with: Text Gauge Variable 1: A: %(E:GPS WP ETE, Hours)%!02d! ':' scat %(E:GPS WP ETE, minutes) (E:GPS WP ETE, Hours) flr 60 * -%!02d! scat the result is 'null'. Along the same lines, I tried to add the seconds (hh:mm:ss) with this edit: %(E:GPS WP ETE, Hours)%!02d! ':' scat %(E:GPS WP ETE, minutes) (E:GPS WP ETE, Hours) flr 60 * -%!02d! ':' scat %(E:GPS WP ETE, seconds) (E:GPS WP ETE, minutes) flr 60 * -%!02d! scat (it's on one line) What simple thing am I missing?
-
AMBIENT PRECIP STATE, Number - Display Different Images
Hello, I would like to create a button on my Streamdeck that displays an image based on the value AMBIENT PRECIP STATE, Number. 2 = None (image1) 4 = Rain (image2) 8 = Snow (image3) I created a script located at MyScripts > Weather_State with the following: (A:AMBIENT PRECIP STATE, Mask) 2 == if{'None'} els{ (A:AMBIENT PRECIP STATE, Mask) 4 == if{RAIN} els{ (A:AMBIENT PRECIP STATE, Mask) 8 == if{SNOW} els{ '' } } } Under Variable1 I have the following settings: Variable A: ( I have tried them all A L P E S B ) MyScripts-Weather_State Two questions. One, the above still only displays the variable value 2, 4 or 8 why is it not displaying None, Rain or Snow? Two, how do I get the above script to show an image based on the 2, 4 or 8 value that is returned? Thanks in advance!
-
MultiGauge - Image and Text Definitions
Hello, I am trying to create a MultiGauge but when I click the Add Image Definition or Add Text Definition nothing happens. I have a StreamDeck profile that I downloaded and they have created a MultiGauge with the Image and Text. I can click on the drop down and see what definitions they have created but I can't seem to open them or look at them. I tried looking at the manual but could not find the answer. Can someone please help me understand the MultiGauge and how to create/edit the Text and Image definitions? Thanks@
-
Format ETE as hh:mm:ss
Hello, Can someone please help me adjusting this code so that the variable: GPS WP ETE, Minutes Displays the ETE in this format: hh:mm:ss ( 01:32:12 ) %(E:LOCAL TIME, Hours)%!02d! ':' scat %(E:LOCAL TIME, minutes) (E:LOCAL TIME, Hours) flr 60 * -%!02d! scat On variable 1 (A:) GPS WP ETE, Minutes will display the minutes with no problem. Thanks
-
AAO Script - Very Basic Beginner Question
Wow! Thanks for such a great and detailed answer! Your script seems to do exactly what I would like, at least when using AaO > Test and Debug Window. Now, how do I get the StreamDeck button to display the HIGH LOW or CUTOFF as opposed to the number 0, 1, 2? I played with your multiguage but that is a bit advanced for me, today. Thanks!
-
AAO Script - Very Basic Beginner Question
Button Type: Lorbi-SI AxisAndOhs: TextGuage Title: Condition Variable 1: S: MyScripts-Cessna 208B Condition Lever Position Script Title: Cessna 208B Condition Lever Position Script Group: MyScripts RPN SCRIPT (likely wrong): (TURB ENG CONDITION LEVER POSITION:1) 2 == 'HIGH' (TURB ENG CONDITION LEVER POSITION:1) 1 == 'LOW' (TURB ENG CONDITION LEVER POSITION:1) 0 == 'CUTOFF' ? 'UNKNOWN' Basically, just trying to learn how AaO and a very basic script works so I can learn from that and keep going, hopefully. I would like the StreamDeck Button (details above) to display: TURB ENG CONDITION LEVER POSITION:1 = 2 then display HIGH TURB ENG CONDITION LEVER POSITION:1 = 1 then display LOW TURB ENG CONDITION LEVER POSITION:1 = 0 then display CUTOFF What am I missing to get this working? Also, what other languages can be used with AaO? I saw in the documentation a couple other choices, is there a way to extend this to other languages, such as LUA? I really appreciate any help getting this script working so I can make other buttons with a If Then Else statement and change the button display based on the value returned. Maybe it is just text, like this time, or maybe this image or that image based on the value. Thanks
-
Text Gauge - Sim Time
Ok, got it working. Thanks for the assistance. Out of curiosity, what 'language' is that bit of code from above, I want to go to YouTube University. %(E:LOCAL TIME, Hours)%!02d! ':' scat %(E:LOCAL TIME, minutes) (E:LOCAL TIME, Hours) flr 60 * -%!02d! scat Thanks again.
-
H125 - HTML H: Events
Hello, I'm trying to learn how to read certain HTML H: events in MSFS 2024—or at least I believe they are H: events. Specifically, I'm focusing on the Garmin 650Xi in the H125. While I can see events when pressing buttons like Home or Direct, I don't see any events when interacting with the 650Xi's touchscreen (e.g., selecting Map or Flight Plan). Is it possible to use Axis and Ohs to capture these touchscreen inputs? I'd like to integrate them with a Stream Deck or possibly even Air Manager. Thank you so much for your help!
-
Reading LVars Fails
Just uninstall and reinstall. Seems to fix it each time it happens. Not sure why it happens but this is the only fix I can find.
-
Reading LVars Fails
And the issue is back. Everything was working this morning, ran an errand, and now AAO will not read LVars. I tried uninstalling and reinstalling, that fixed it last time but not this time. lorbysi-content-hooks and lorbysi-content-fippanel Are the only things in my community folder.
-
Text Gauge - Sim Time
Thank you for the very detailed response. I am learning! I changed your code above a little in an attempt to display the local sim time. IE: When I go to the weather tab in MSFS 2024 and I change the game time to 15:09 (20:09 UTC) the code always displays the local time +5 hours (UTC Time) %(E:LOCAL TIME, Hours)%!02d! ':' scat %(E:LOCAL TIME, minutes) (E:LOCAL TIME, Hours) flr 60 * -%!02d! scat Examples: MSFS TIME TIME DISPLAYED 03:09 08:09 14:54 20:54 13:28 18:28 I just want the clock time from the sim, whatever it is. Thanks again!