Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HubHop Data not updating properly #32

Closed
mpaperno opened this issue Jul 13, 2022 · 10 comments
Closed

HubHop Data not updating properly #32

mpaperno opened this issue Jul 13, 2022 · 10 comments

Comments

@mpaperno
Copy link
Owner

Hi, I new to all this, looking in the "Trigger a Simulator Event from loaded HubHop data" I see that PMDG-DC-6 is supported but I don't see the PMDG 737. I know that there was/is a new SDK. Is this something that will be added or I not using it like it should?

Thanks

Originally posted by @magicnorm in #31 (comment)

@mpaperno
Copy link
Owner Author

mpaperno commented Jul 13, 2022

Thanks for the report!

Turns out the database does update but the old version is still cached so no new data is showing up in the "Trigger from HubHop" action. And the original database is from before the PMDG 737 was added, so it doesn't show up at all (which turns out is good since it helped spot this bug :).

The workaround for now is to restart the plugin after updating the HubHop data.

  • To update data there is the MSFS - Plugin -> Connect & Update action you can add to a button with the Update HubHop Data choice. After pushing the button, give it 30 seconds or so to update (maybe more or less depending on your Internet speed).
  • To restart, go to Touch Portal's Settings -> Plug-ins -> MSFS Touch Portal Plugin and hit the "stop" button then the "start" button.
  • If you have auto-update of HubHob data enabled in the plugin's settings, you may need two plugin restarts since the data update happens in the background. Again give it a few seconds or a minute to actually update before the 2nd restart.

Data updates are logged to the log file and show if an update was actually performed or not.

I will of course address this for the next version.

-Max

@magicnorm
Copy link

magicnorm commented Jul 13, 2022

I did a stop and start of the Plugin in the Touch Portal Settings. I also have the automatic updates enable when the Plugin starts. But still can't see PMDG 737 in the "Trigger a Simulator Event from loaded HubHop data".

Any other ideas?

  • Norman

Screen Shot 07-13-22 at 03 49 PM

Screen Shot 07-13-22 at 03 49 PM 001

@magicnorm
Copy link

magicnorm commented Jul 13, 2022

FYI,
It worked using the the "MSFS - Plugin -> Connect & Update action", but does not with the "Enable automatic updates whenever the plugin starts".

  • Norman

@mpaperno
Copy link
Owner Author

mpaperno commented Jul 13, 2022

FYI, It worked using the the "MSFS - Plugin -> Connect & Update action", but does not with the "Enable automatic updates whenever the plugin starts".

Cool, good to know. There might have been a timing conflict when it checks at startup vs. when the data is loaded into the HubHop Action selectors. Getting that all sorted now.

Thanks!

  • Max
    (I like the dot ;-)

PS. ALT + PrtScr gets you just the active window screenshot ready to paste.

@magicnorm
Copy link

Max,
It is not working for me, I tried with a few commands, but nothing.
I don't know if it is possible for you to check if it works for you using the PMDG-B737-700?

  • Norman

@mpaperno
Copy link
Owner Author

It is not working for me, I tried with a few commands, but nothing.
I don't know if it is possible for you to check if it works for you using the PMDG-B737-700?

Hmm well.. I don't have that aircraft but other generic events work for me... Which WASM module are you using?

@magicnorm
Copy link

I copied the wasimcommander-module in my community folder, so I suppose it is using it.
I also know that PMDG have a new SDK since the last PMDG 737 update. Could HubHop data be outdated?

@mpaperno
Copy link
Owner Author

mpaperno commented Jul 13, 2022

Did you restart the sim after installing the module? It should show up in your content manager and show as active, with logo and my name under it. (sorry if that's a dumb question, have to ask).

I also know that PMDG have a new SDK since the last PMDG 737 update. Could HubHop data be outdated?

That I know nothing about. I would verify that the Activate a Simulator Event From HubHop action works by trying something generic and obvious first, like MS - Generic - Lights - LANDING_LIGHTS_TOGGLE. If it works for that then the issue with any particular event/action is most likely due to the data (the calculator code), not the plugin.

@magicnorm
Copy link

I created a basic button but it is not working. Let me know if you see something strange?
I also added the log file.

  • Norman

Screen Shot 07-13-22 at 07 23 PM

log.txt

@mpaperno
Copy link
Owner Author

Mmm, please start a new discussion, maybe in the Q&A section (it could help others down the line). Unfortunately I can't move your comment there (only start a new Issue). Or check out the msfs2020 room on TP Discord server if you're into that sorta thing.

Also the log is a good idea, though I'd be more interested in the plugin's log (README.md -> Troubleshooting). Though I doubt this has anything to do with the plugin itself (meaning I doubt there's anything of interest in the log).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants