#Logger

1 messages Β· Page 2 of 1

elfin kettle
#

on the other hand the Logger from the Scanner worked absolutely fine πŸ™‚

#

you can check the signals sequence in my Scanner log

dire magnet
dire magnet
#

Unfortunately, I didn't get around to it yesterday, because I installed the Rotator plugin for an English DXer remotely and we also had the best Tropo conditions and still have them now. At the moment, Northern Germany and Denmark are here. I won't be able to take care of it until next week.

dire magnet
#

@elfin kettle Good morning! Can you please describe the problem with the RDS logger to me again in detail? For information: If they only receive one station, it will of course be overwritten again and again, because the plugin assumes that there was no Pi + frequency change and it has to continue to update the entry, regardless of whether they stay on the frequency or find it again and again through the scanner. This also makes sense if you log live (zap through the frequencies) and want to get as much information as possible. A new entry (next line) only occurs when it is detected a pi code on a different frequency. In my opinion, live logging is also the main use case for the RDS logger, as the scanner has its own log protocol with its own (optimized) conditions.

elfin kettle
#

Hello @dire magnet

#

there are two cases I have seen

#

First one:

#
  1. Station 1 is found => one entry in the log
#
  1. Next loop of the scan the same station is found => second entry in the log
#
  1. Next loop of the scan and the same station is found => The second entry is updated
#

from this point the second entry is updated

#

the Scanner logger logs all of these as separate entries => this is ok I would say

#

Second case;

#
  1. Station 1 is found => one entry in the log
#
  1. Next loop of the scan the same station is found => second entry in the log
#
  1. Next loop of the scan and the same station is found but during the hold time the signal drops and a fake PI appears => The log entry is updated with the wrong one that cannot be identified
#

the Scanner logger works just fine... if the UI would work the same way would be nice

#

I do not see a reason to have differences

#

unless is impossible to do πŸ™‚

#

the entry at 15:14:52

#

in the UI logger the correct entry (from previous loop) was overwriten.. I do not have the UI log anymore, just the Scanner one which is correct

elfin kettle
#

any manybe one more idea: the unique filter could be added to the html template... everyone can filter offline the data... in this case nothing is lost

dire magnet
#

Nothing is lost if you call up the RAW log instead of the filter, right? The RDS Logger always writes both log files to the array, so that you can also retrieve both.

elfin kettle
#

I think you missunderstood me πŸ™‚

dire magnet
#

Regardless of whether the filter is active or not. I had corrected this in one of the last versions.

elfin kettle
#

the Scanner log is filtered and just fine

#

if the same will be for the UI one then we are good πŸ™‚

#

however you may be right regarding the fitering in the html... now thinking how many stations you get in the log

#

but RAW and html is a bad idea... when that bug with multiple entries in the log happend my server was running into small issues

#

(there where 2500 records in the html at that time)

dire magnet
elfin kettle
#

nice, I will try it πŸ™‚

dire magnet
#

I'm curious πŸ€—

elfin kettle
#

DATE TIME FREQ PI PS NAME CITY ITU POL ERP DIST AZ
2024-09-05 17:54:26 106.400 826E EBSRadio EBS Radio VΓ’rful Postavarul ROU V 0.3 11 194
2024-09-05 17:54:26 106.400 826E EBSRadio EBS Radio VΓ’rful Postavarul ROU V 0.3 11 194
2024-09-05 17:54:26 106.400 826E EBSRadio EBS Radio VΓ’rful Postavarul ROU V 0.3 11 194

#

please update the hour

#

do not add the same hour every time

#

I have tested with white list where I only added a station with signal

#

all the rest do not have signal

#

the scanner logger shows correctly all this

#

DATE TIME FREQ PI PS NAME CITY ITU P ERP DIST AZ ID MAP FMLIST
2024-09-05 17:53:41 106.400 826E EBSRadio EBS Radio VΓ’rful Postavarul ROU V 0.3 11 194 6600099 FMDX FMLIST
2024-09-05 17:54:22 106.400 826E EBSRadio EBS Radio VΓ’rful Postavarul ROU V 0.3 11 194 6600099 FMDX FMLIST
2024-09-05 17:55:01 106.400 826E EBSRadio EBS Radio VΓ’rful Postavarul ROU V 0.3 11 194 6600099 FMDX FMLIST
2024-09-05 17:55:40 106.400 826E EBSRadio EBS Radio VΓ’rful Postavarul ROU V 0.3 11 194 6600099 FMDX FMLIST
2024-09-05 17:56:03 106.400 826E EBSRadio EBS Radio VΓ’rful Postavarul ROU V 0.3 11 194 6600099 FMDX FMLIST
2024-09-05 17:56:25 106.400 826E EBSRadio EBS Radio VΓ’rful Postavarul ROU V 0.3 11 194 6600099 FMDX FMLIST

dire magnet
elfin kettle
#

I will try in a moment with a low signal station to see how it goes

#

I have to change the antenna that is connected

elfin kettle
dire magnet
#

ok, I corrected the time. You are welcome to test!

elfin kettle
#

thank you so much πŸ™‚

#

let's see

dire magnet
#

I think now we have it. I will format the code again and revise the comments, then the 1.6 can be released,

elfin kettle
#

yes, now we have it πŸ™‚

#

all good πŸ™‚

dire magnet
#

I'm glad! At this point, thank you again for your cooperation!

elfin kettle
#

thank you for the patience and fixing the bugs πŸ™‚

dire magnet
#

The new RDS logger version 1.6 is now available for download:
https://github.com/Highpoint2000/webserver-logger/releases/tag/1.6
All features and changes can be found in the attached description! I recommend every user to update to this version.

GitHub

RDS-Logger Plugin for FM-DX-Webserver
This plugin provides logging functions for the FM-DX web server.

Version 1.6 (only works from version 1.2.6 - older versions must take the plugin version 1.3...

elfin kettle
#

@dire magnet I have an improvment suggestion for the Logger. The FMDX button does the same job as the click on the PI code from the webserver UI. What about changing the functionality of this button to become a MAP ALL like in the html report so it has a functionality of it's own that is missing in the UI?

dire magnet
elfin kettle
#

It wasn't my choice to get up so early 😦

#

but I used the time for other things too

dire magnet
elfin kettle
#

what old age? I do not think you are old... unless I am wrong πŸ˜›

dire magnet
elfin kettle
#

ha! I always though you are much yunger than me (I was confused by the number in your email :))) )

#

i still have 3years till half of 100

dire magnet
dire magnet
elfin kettle
dire magnet
elfin kettle
#

Good morning, I will try πŸ™‚

elfin kettle
#

well... something is wrong and the plugin doesn't get loaded

#

@dire magnet have you done other changes?

#

I have rolback to the old version

#

very, very strange... I also took the script from your server where is working but for me is not 🀨

#

funny thing... on your manual server the scanner is not responding to comands

dire magnet
#

Yes, it's certainly due to the missing config file or path on Linux. I'll have to expand the code for this later, sorry! But thanks for testing!

elfin kettle
#

no problem πŸ™‚

#

glad to help

dire magnet
#

But that's right, they can test the feature on my servers. The beta is running there

#

Thanks to the new config files, I can apply any change to all servers at the touch of a button. This makes it much easier.

elfin kettle
#

any idea what is wrong with the Scanner on your server? hope is not a conflict with the changes to the other plugin's

#

the <<>> buttons do nothing there

#

also I think the way the MapALL button is enabled needs to be changed... now it gets disabled if no RDS is on the current station

#

with MapALL is should stay enabled if there is at least one station in the list and ramain enabled till the list is cleared (refresh of the page)

#

and maybe a safety feature... the MapALL to be enabled only in Filtered mode... with RAW will generate too many requests to the maps.fmdx.org

#

it just got complicated 😦

#

if it is too complicated then you can leave it as it was on the previous version

dire magnet
elfin kettle
#

Hello, I will have a look

dire magnet
elfin kettle
#

regarding RAW I hope you are right and there are not 1000 requests when the PS is dynamic

dire magnet
#

I agree with them, now Noobish would be the cause of a database nockout

elfin kettle
#

ok πŸ™‚

#

the MAP ALL works fine

#

but a small, small issue appared

dire magnet
#

Which one

elfin kettle
#
  1. Enable blacklist
  2. Go on a station with a frequecny that is in the blacklist
  3. Press refresh in the browser
    Result: The local station that is in the black list appears in the Logger
dire magnet
#

Was that with the old version too?

#

I actually only changed the button functionality, so I'm surprised by this behavior

#

I have just tested myself. But it only occurs sometimes. Refresh several times - sometimes the entry is displayed, sometimes not πŸ€”

#

This seems to be a loading or timing problem. We will still get that solved.

elfin kettle
#

not sure why

#

also in the previous versions it used to go away after a new refresh (so not really a problem) but not it sticks and the user cannot get rid of that entry

elfin kettle
dire magnet
elfin kettle
#

ok, I will have a look

dire magnet
#

There were several parts in the code duplicated but not identical. Understandably, the script couldn't cope with that. That's why the entry was sometimes there and sometimes not there, at least that's how it was for me.

elfin kettle
#

πŸ™‚

elfin kettle
#

the only way to get rid of that is to move to a frequency with no signal and then refresh the page

#

I do not see any change in this last version

dire magnet
elfin kettle
#

@dire magnet there is no Logger there πŸ™‚

dire magnet
elfin kettle
#

now it has appeared

#

I will check

dire magnet
elfin kettle
#

and now is gone

#

as soon as I refresh the page the logger is gone... completely

dire magnet
#

A ghost? 😜

elfin kettle
#

kind off πŸ˜‚

#

I will make a recording in a sec

#

only once I have seen the logger and as soon as I used Refresh it was gone

dire magnet
elfin kettle
#

@dire magnet well... now the plug in appears but the station in the black list is still added to the Logger after page refresh

#

and there is one more... the Scanner button sometime appears sometimes it is not 😦

dire magnet
#

the 106.9 MHz?

elfin kettle
#

yes

#

if I use < or > is not added to the list

#

as soon as I refresh the list is always added

dire magnet
#

Please try now, feel free to delete
the cache beforehand

elfin kettle
#

ok, I will try agian

dire magnet
#

That's really crazy, it works for me here without any problems

elfin kettle
#

for me it is not on your server 😦

#

I think that in your code somehow the filter is applied too late in some cases

#

I have checked on Edge (windows) and Chromium (on Linux)

dire magnet
#

Please test again now, I have set the timing a little higher.

elfin kettle
#

ok

dire magnet
#

Is it possible now?

elfin kettle
#

first time it worked fine... then 4 times it hasn't

dire magnet
#

I've loaded the code on github. Test it locally. I'm going to eat first.

elfin kettle
#

guten Appetit πŸ™‚

#

I have added the plug in on my server and if I access it from windows it works fine. From Raspberry PI the station is always in the list. I would assume that this happens because the RaspberryPI is slower.

#

it takes time till the filter is applied as result is listed

dire magnet
#

Please set this value higher to 500 or 750 ms. It delays the call of the frequency after the filter has been initialized.

elfin kettle
#

in order to work an all I had to add 1000

#

however from 500 I have jumped to 1000

#

I will try with 750 in a few minutes

paper tinsel
dire magnet
elfin kettle
#

just in case it still matters with 750 is not working well... so 1000 is the good value

dire magnet
elfin kettle
#

on windows is 100% correct... on Raspberry PI with Linux is so, so... sometimes is ok, sometimes not

#

I would say that we can leave it as it is

dire magnet
#

I have just released the logger version 1.6a (small update):
https://github.com/Highpoint2000/webserver-logger/releases/tag/1.6a
The most important new feature is the change of the FMDX button in MAPALL. This now shows the connections in the map for all log entries.

GitHub

RDS-Logger Plugin for FM-DX-Webserver
This plugin provides logging functions for the FM-DX web server.

Version 1.6a (only works from version 1.2.6 - older versions must take the plugin version 1....

dire magnet
elfin kettle
#

looks nice πŸ™‚

#

no need of a separate plug in πŸ™‚

#

and considering that you worked with my server I would assume it already works πŸ˜‰

dire magnet
elfin kettle
#

yes, it is πŸ™‚

dire magnet
#

It would have been far too time-consuming and cumbersome to first build a query with representation via the database, when there is already a solution for it.

elfin kettle
#

true πŸ™‚

cobalt spruce
dire magnet
#

This certainly works for other databases, such as FMLIST etc. You would have to take a look at that.

dire magnet
cobalt spruce
#

This will move SpE FMDXing to a whole new level!

dire magnet
#

Cheers to @elfin kettle for his idea! πŸ₯‚

dire magnet
cobalt spruce
elfin kettle
#

I have checked your servers and there was no ES for you either

#

just have a look over the

#

quite a big one

dire magnet
#

It's a pity, but I haven't had much luck the last few times either.

#

Because it's going so well right now - I'm putting a database on top of it with fmscan.org with which you can control the web server πŸ™‚ In principle, you can set a SpE position there, display the frequencies and then click through individually to see if you receive something.

#

I haven't gotten FMLIST to work yet, but maybe it's not necessary πŸ€”

elfin kettle
#

you do not need two browser windows... there is an option to split the screen in browser between two tabs

dire magnet
elfin kettle
dire magnet
#

I'll make sure that I finish the browser plugin tonight. Then they can play
with it from tomorrow morning πŸ€—

#

Are there any other databases that I should connect?

cobalt spruce
elfin kettle
#

is actually Split screen followd by link tabs.... so the PI code always opens in the window to the right

dire magnet
dire magnet
cobalt spruce
#

I think there's no subpages. It's just a database giving a list based on search criteria.

dire magnet
cobalt spruce
dire magnet
cobalt spruce
cobalt spruce
paper tinsel
cobalt spruce
paper tinsel
#

I thought Logger works without any issues for USA stations already with the FMLIST dataset

cobalt spruce
#

WTFDA is a DX club, the Worldwide TV-FM DX Association. The WTFDA FM station database has always been with it's own data to my knowledge. WTFDA DB and FMLIST has been "competing" sources. DXers in North America have always found FMLIST difficult to use. That's the impression I've got. I have never heard that FMLIST was used for WTFDA's logger.

paper tinsel
cobalt spruce
#

No, WTFDA logger is a different thing. Also what we call with the name "logger" is meaning a bit different thing forthe WTFDA logger and FMDX Webserver's RDS-Logger plugin. What I answered here, is that I answered what other databases there might be for which it would be good to have compability with the new expanded direct-tuning principle.

dire magnet
#

@cobalt spruce @elfin kettle I managed to do it. All frequencies found are now provided with a link. the whole thing also works with log list from the scanner as well as
https://db.wtfda.org/
and of course with any website (example WDR)

#

Now I just have to merge the scripts, clean them up and then I can publish them.

cobalt spruce
#

This is amazing!

dire magnet
#

A huge step forward, I would say!

#

Of course, it also marks other numbers that are indicated with x.xx or x,xx. But I don't think that's so bad.

dire magnet
#

The Chrome version is ready: #1284674859020058727

vast dock
#

@dire magnet Causing all browsers to show "Translate from German"

elfin kettle
#

that file belongs to the Scanner, not Logger πŸ™‚

vast dock
#

ah I am getting confused again !!! πŸ˜•

elfin kettle
#

probably Highpoint will reply here anyway πŸ™‚

dire magnet
#

@vast dock Hello Ryan, you can access the logging file of the scanner via the logger, that's what NuMerci meant. Thanks for the hint!

dire magnet
#

@vast dock I have included the correction of the HTML tag in the current Logger version 1.6a and the Scanner version 2.6b.

oblique coral
#

if anyone finds scrolling up to be buggy, i replaced this code with this:

dataCanvas.scrollTop = dataCanvas.scrollHeight - dataCanvas.clientHeight;

const { scrollTop, scrollHeight, clientHeight } = dataCanvas;
userIsAtBottom = scrollTop + clientHeight >= scrollHeight - 20; // Adjusted threshold
if (userIsAtBottom) dataCanvas.scrollTop = dataCanvas.scrollHeight - dataCanvas.clientHeight;
dire magnet
# oblique coral if anyone finds scrolling up to be buggy, i replaced this code with this: ```da...

Thanks for the code suggestion! The scrolling behavior has really improved as a result πŸ™‚ I immediately implemented the code in version 1.6b:
https://github.com/Highpoint2000/webserver-logger/releases/tag/1.6b

GitHub

RDS-Logger Plugin for FM-DX-Webserver
This plugin provides logging functions for the FM-DX web server.

Version 1.6b (only works from webserver version 1.2.6!)

Improved scrolling behavior (thanks...

elfin kettle
#

in the next release would it be possible to replace the message that pops up when the scanner log is not available with a toast message? The current one stops the audio while is diplayed

void agate
#

How to set blacklist?

dire magnet
# void agate How to set blacklist?

You must be create a file /web/logger/blacklist.txt . For example, the frequencies that should not be logged must be: 89,800 89,400 100.80 ... They can be written next to or below each other with spaces. πŸ˜‰

#

Then activate the function via the blacklist button.

void agate
#

Thanks. I just have web/logs folder , it’s ok? But i can’t activate « blacklistΒ Β» button.

#

Ah, must create directory too! Button « blacklistΒ Β» is ok now… but frequency blacklisted are not blacklisted by rds-logger πŸ€”

dire magnet
elfin kettle
#

@dire magnet and @oblique coral there seem to be a conflict between the Logger and the Spectral Scan plug in

#

I think one of you, or both should do changes....

#

the plug in's fight on the same spot on the screen

#

update: it seem that the problem actually appears only when the Spectral Scan is already open and the user tries to open the Logger. The other way arround it works well.

oblique coral
dire magnet
# oblique coral Yep that issue i am aware of. latest beta, when i upload it, will now not open t...

Thanks for the line of code. I have implemented it in the new version:
https://github.com/Highpoint2000/webserver-logger/releases/tag/1.6c
In addition, the logger plugin now also performs a daily update check.

GitHub

RDS-Logger Plugin for FM-DX-Webserver
This plugin provides logging functions for the FM-DX web server.

Version 1.6c (only works from webserver version 1.2.6!)

Adjustments for the Spectrum Graph ...

elfin kettle
#

@dire magnet thanks for the new version. It is fixing the conflict with the Spectral Scan

#

but

#

why there is a config json if is ignored?

#

the config I still need to add in the main script otherwise is not read

dire magnet
# elfin kettle why there is a config json if is ignored?

Why is it ignored? The script header only contains the values if no json file is found. However, it is quite possible that Linux does not access to the json file again and you therefore have to enter the values in the script header.

elfin kettle
#

yes, till I have not added the values in the script itself it has not picked them up

#

no matter if these where in the json file

#

strange that for Scanner and DX-Alert it works but not for Logger

dire magnet
elfin kettle
#

ah, you are right πŸ™‚

dire magnet
#

Shortly before Christmas, a small update. In the latest version 1.6d, the error verification of the PS display has now been optimized. As a result, fewer question marks are now visible:
https://github.com/Highpoint2000/webserver-logger/releases/tag/1.6d

GitHub

RDS-Logger Plugin for FM-DX-Webserver
This plugin provides logging functions for the FM-DX web server.

Version 1.6d (only works from webserver version 1.2.6!)

PS code verification improved

Inst...

elfin kettle
#

Hello @dire magnet

#

Merry Christmas

#

the new Logger doesn't read the config on Linux at least

#

the config is in the same folder but is not being picked up

#

has the folder changed?

dire magnet
#

No, no change! I only changed the PS exam. Strange!

elfin kettle
#

I have reverted to the old version from 4.12.2024 and it works fine

#

this new version is not reading the config no matter what I do...

oblique coral
spring rose
dire magnet
paper tinsel
#

when you have time ofc

#

it's cut off

dire magnet
# paper tinsel

I have already corrected that. It comes with the official update of the logger plugin.

dire magnet
elfin kettle
#

@rancid trellis let's continue here

#

I have read your request and from what I know if you disable the filter should log every entry no matter is is identified or not

#

have you tried like this?

#

regarding the csv splitting and saving to the log folder that would be hard to do as the Logger doesn't have a server component like the scanner

#

not impossible but more complicated to implement

#

as a note Highpoint is on vacation so it will take a bit of time till he will reply

rancid trellis
#

Yes I've tried that but the unfiltered file shows is up to seven lines of entry for each frequency - it looks like the logger plugin reads the frequency multiple times and logs it each time. The filter option appears to just log the final entry.
The unfiltered scanner html attached shows what I mean

elfin kettle
#

yes, it logs every little change of the RDS data and this is why there are several entries

rancid trellis
#

If it can't be done in RDS logger maybe it could be done in the scanner plug-in, separate to the csv file that is linked with the URDS plugin.
I'd be happy to see the filtered Scanner HTML file showing the functionality

elfin kettle
#

well, there have been so many discussions how it should work... everyone has a different request how it should work πŸ™‚

#

we will see what Highpoint can do when he is back

rancid trellis
#

Here is a pdf file created from the RDS logger HTML file by printing to pdf.
As you say there are many different ways of doing it.
I look forward to seeing what happens - I'm happy to help testing.

elfin kettle
#

@dire magnet I have noticed on your mobile server a problem for the RDS logger... the horizontal scrollbar appears under to buttons and it cannot be used

dire magnet
#

Thanks for the important information. The new version runs there with more lines. There still seem to be problems. I'll fix it before the release.
πŸ™‚

autumn finch
#

I have still this error

elfin kettle
#

you are probably running an older version of the plugin on the 1.3.6

#

try the latest version of the plugin

paper tinsel
#

have you considered utilizing the popup windows for this possibly?

dire magnet
paper tinsel
pulsar oak
#

Massive E opening here, so I used RDS Logger along with the Scanner plugin, I've noticed that when the scanner plugin gets the spectrum update the server briefly disconnects then reconnects, after this the RDS logger no longer logs any data.

elfin kettle
#

are you on wifi?

#

I mean the webserver connection to the network is by wifi?

pulsar oak
#

Yeah I'm on wifi

elfin kettle
#

I also have disconnect issues from time to time on the webserver that is connected by wifi and on autoscan

#

on the one that is connected by cable it never happens

hollow galleon
#

Where i go wrong, my logger publish nothing to FMLIST. org My ID is filled in the config

pulsar oak
dire magnet
hollow galleon
#

Scanner is the next step, i have installed but is also not uploading anything to fmlist