kiwiscout

Results 14 comments of kiwiscout

> Do the messages include a timestamp in the message? > > Possibly related to this? > #235 Standby, I'll change back to console output and grab the entire string...

Don't appear to have one in them thats visible in any of the outputs to/from reader But I do note when it's injected, it momentarily shows up at the top...

> Is timezone same on both the client box and the server box? Yes sir, Same device/RPi

That may be possible. I just modified the FLEX else datetime moment(timestring) matching the check above it and managed to make it stay at the top with INVALID TIME. But...

Nevermind, Removing node reader.js from the pipe did it This help? Have to sanitize it a bit FLEX: 2019-05-12 01:45:28 1600/2/A 11.056 [000999382] ALN (truck id) message

I've stripped the added flex address modifier from reader.js from pull for the time being. As it appeared to be ignoring true/false in config,json and still doing it. Now back...

Yep, the flex codes here appear to get UTC stamps if that's a good extract. Example above was after lunch. So when using that and not rec time it seemed...

Got any pals in SA? Apparently they too use FLEX for emergency paging? Theres an audio sample here https://www.sigidwiki.com/wiki/FLEX that I was going to try and decode and see if...

} else if (line.match(/FLEX: \d+-\d+-\d+ \d{2}:\d{2}:\d{2}/)) { timeString = line.match(/\d+-\d+-\d+ \d{2}:\d{2}:\d{2}/)[0]; if (moment(timeString).isValid()) { datetime = moment(timeString)**.add(12, 'hours')**.unix(); } Seems to do the trick too. (at least on the periodic...

Well the above adjustment works fine for all FLEX it seems. But also found you can specify the input is UTC and have it convert to localtime by adjusting to...