fsmosquito / FSMosquitoClient

Client for FSMosquito which relays SimVars from SimConnect via MQTT
3 stars 3 forks source link

No data #1

Open Helpi90 opened 3 years ago

Helpi90 commented 3 years ago

Hey, i tried to use this app. The app is connected to SimConnect and to FSMosquito, but i see nothing about the flight. The logfile says allways "Main form activated". What do i wrong?

tigert commented 3 years ago

I noticed the same.

I managed to get the mqtt connection to work, and FSMosquitoClient can talk to my Mosquitto server, since it publishes the online status message. But there seem to be no data moving around.

FSMosquitoTopic.cs seems to define a few topics hardcoded in the code. Maybe these are the ones it listens to?

Hello @Oceanswave - is this supposed to work by defining a known set of topics and then relaying them to mqtt? Would it be too slow to subscribe and relay everything? How about a config file that you can edit without recompiling?

This looks like a potentially useful tool, but I am wondering what's the current status of the project? Is it supposed to work right now?

Oceanswave commented 3 years ago

Hey! I'm amazed that you guys found this repository! This was something I put together to get a real-time moving map on a second display of my position and so it works for that purpose -- the server piece is currently closed source (just 'cause it has some infrastructure secrets in there) ... I had some grandiose ideas of having a FSEconomy style capabilities.

Sort of have put my emphasis on other efforts, so apologize for not even seeing these .

@tigert Yes - so the server implementation I have, on client connect, instructs the client to subscribe to whatever topics the server sees fit. It could work as a pure relay and transmit all (known) things that FSConnect currently has available, which would be interesting.

If either of you want to maintain I can give you the appropriate rights - like I said, sort of focusing on other things right now but this is something I'd like to come back to.

tigert commented 3 years ago

Github has a good search, you find good stuff with the search for "MSFS2020" :-)

A mqtt event relay would be very interesting. I am not sure I am up to par with the development skills, I can read some code, but not quite sure I can take on a task to implement something new. I also am mostly used to Linux development tools, so I don't even know the tools you need on Windows to build this. But I will have a look. I am also building some switch panels for the nice G36 Bonanza with Mobiflight, which takes its share of time and energy :-)

In a way it is likely better to define a list of stuff you want transmitted, so you cut down on overhead, and also so you don't pollute your mqtt server with all of the variables, instead of those you actually need. And that list should be in a config file so you don't need to recompile the program to change the list.

Oceanswave commented 3 years ago

Hi! As a Holiday Surprise, I've created a new release over at https://github.com/fsmosquito/fsmosquito and will be archiving this repo.

The new repository includes being able to auto-subscribe to the list of stuff, includes a desktop application that displays a moving map and more. Check it out and happy holidays.