Open MrDalle opened 7 years ago
Using your source and phpVMS (phpvmacars) as format, it's working for me. Check the output of daemon-spotter.php
//DATA SOURCES $globalSources = array(array('host' => 'https://dev.fswire.net/api/v1/acars/data?format=phpVMS','port' => '443','name' => '','format' => 'auto','sourcestats' => FALSE,'noarchive' => FALSE,'timezone' => 'Europe/Paris','callback' => FALSE));
This should be correct right?
no. This can't work with format auto. Must be phpvmacars.
How can i check the output of the deamon? in my plesk or does it have a log file?
if you run it as cronjob and can't connect using SSH, redirect output to a file.
still not working with our exisint installation. We will setup a vanilla map to test if its smth with the database or our modifications..
The daemon, if $globalDebug is set to TRUE always report errors if there is any. If the daemon is working, it's another settings like $globalLiveInterval that is too low.
$globalLiveInterval = '200';
which is standard i think
It's in seconds, if your cronjob is more than that, increase it. You can increase it x10, it's not a problem.
i installed a new map and tried it with a vanilla db but still no planes.. i attached my seetings file maybe smth is goign wrong here... i have no clue :( settings.zip
we have a second source but i think you need to implement some stuff of the vaos api or? https://dev.fswire.net/api/v1/acars/data
I used your settings.php with my DB user/pass, and converting it to unix format (dos2unix) because it was edited using windows, and all is working. You may have to increase $globalLiveInterval, I don't know how often you run the cronjob.
deamon-spotter is running */1 * * * *
i tried 60 - 120 -200 but no luck very very strange
On your map, I can see 2 aircrafts now.
Yes its working!!!! thank you!
Your source seems to be in UTC, so you should set UTC timezone for $globalSource (if it's not already done):
$globalSources = array(array('host' => 'https://dev.fswire.net/api/v1/acars/data?format=phpVMS','port' => '443','name' => '','format' => 'phpvmacars','sourcestats' => FALSE,'noarchive' => FALSE,'timezone' => 'UTC','callback' => FALSE));
If you don't want satellites, you can set $globalSatellite to FALSE.
I added VAOS support to FlightAirMap, should work. But I have a problem with usernames, it's sometimes: userSystem.Windows.Forms.Label, Text: 48
That with the user name is normal. We ported the user table from phpvms to vaos. in phpvms there is no extra username column. So the importer set some rubish into the column.
Hey!
since vaos released a couple days ago i would like to integrate it into your map with a source. We wrote a api for this and generated an oput on this URL https://dev.fswire.net/api/v1/acars/data?format=phpVMS
But somehow this ist now working.. both domains are using SSL.
Thanks!