social.coop is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Fediverse instance for people interested in cooperative and collective projects. If you are interested in joining our community, please apply at https://join.social.coop/registration-form.html.

Administered by:

Server stats:

492
active users

#EliteDangerousOdyssey

1 post1 participant0 posts today
Beko Pharm<p>Parsing the Elite Dangerous Journal</p><p>I gave in and changed my event forwarding method in <code>node-red</code> for the Elite Dangerous Journal. This file is updated on various in-game events but in a way that makes it difficult to get new events only since last update. Another problem is that it’s not really a valid <code>JSON</code> file because it has one <code>JSON</code> <em>per line</em> but it’s not a valid <code>JSON</code> array. This is why it has to be parsed line by line and mashed together by event type (name) again to get the latest data for each event type per dump. Each event has it’s own timestamp by set by the game. The latest timestamp is now saved on the special <code>flow</code> const so <code>node-red</code> keeps the value in the “global” memory of the current flow:</p><pre><code>msg.payload.event = "Journal";let newJournalTimestamp = flow.lastJournalTimestamp;Object.keys(msg.payload).forEach((key) =&gt; { if (msg.payload[key].timestamp) { const keyTimestamp = new Date(msg.payload[key].timestamp).getTime(); if (!flow.lastJournalTimestamp || flow.lastJournalTimestamp &lt; keyTimestamp) { // this entry is new - keep it. MULTIPLE events may have the // same timestamp so wait with reassigning so we don't skip // em or get the latest a 2nd time if nothing else changes. // update the next latest timestamp if this is newer if(!newJournalTimestamp || newJournalTimestamp &lt; keyTimestamp) { newJournalTimestamp = keyTimestamp; } } else { // lastJournalTimestamp is newer, skip this msg.payload[key] = null; } }});// make sure this is a valid date for the next timeflow.lastJournalTimestamp = newJournalTimestamp || new Date().getTime();// remove all nulled events from the payloadmsg.payload = Object.fromEntries( Object.entries(msg.payload).filter(([_, p]) =&gt; p !== null));msg.payload.timestamp = new Date(flow.lastJournalTimestamp);return { payload: msg.payload };</code></pre><p>So I do now keep track of the last read timestamp and reject every event that is older than the last read keeping the Journal dump smaller. This way I don’t have to try to keep track of the “latest” event to drag data from. Refuelling e.g. can happen from whopping <em>4</em> (or more) different events and it’s painful to compare all and check which one is the latest to keep track of the real current fuel levels for each tank.</p><a href="https://beko.famkos.net/wp-content/uploads/2025/03/elite-dangerous-journal-via-mqtt-demo.png" rel="nofollow noopener noreferrer" target="_blank"></a><p>Downside is I won’t get a full set of data for the current session any more if I have to reload my <code>HUD</code> app. This could be mitigated by using <code>MQTT</code> though where I could simply persist each event topic. That is already implemented and I can choose between <code>SocketIO</code> or <code>MQTT</code> in my app anyway.</p><p><a href="https://beko.famkos.net/2025/03/29/parsing-the-elite-dangerous-journal/" class="" rel="nofollow noopener noreferrer" target="_blank">https://beko.famkos.net/2025/03/29/parsing-the-elite-dangerous-journal/</a></p><p><a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://beko.famkos.net/tag/elitedangerous/" target="_blank">#EliteDangerous</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://beko.famkos.net/tag/elitedangerousodyssey/" target="_blank">#EliteDangerousOdyssey</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://beko.famkos.net/tag/homecockpit/" target="_blank">#homeCockpit</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://beko.famkos.net/tag/mqtt/" target="_blank">#MQTT</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://beko.famkos.net/tag/nodered/" target="_blank">#NodeRed</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://beko.famkos.net/tag/simpit/" target="_blank">#simpit</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://beko.famkos.net/tag/socketio/" target="_blank">#SocketIO</a></p>
Epaphus<p>Buckball is back! <br>First race of 3311 - Time And Motion Study<br>Live now doing some runs <a href="https://www.twitch.tv/epaphusuk" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">twitch.tv/epaphusuk</span><span class="invisible"></span></a></p><p><a href="https://mastodon.lo0.uk/tags/EliteDangerous" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EliteDangerous</span></a> <a href="https://mastodon.lo0.uk/tags/EliteDangerousOdyssey" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EliteDangerousOdyssey</span></a></p>
Beko Cast<p>Join me for flying sparks, bad soldering jobs and plenty of WTFs for more immersion in my home cockpit.</p><p>[ENG/GER] SimPit Day for Space - Pew Pew</p><p><a class="hashtag" href="https://directory.owncast.online/tags/LinuxGaming" rel="nofollow noopener noreferrer" target="_blank">#LinuxGaming</a> <a class="hashtag" href="https://directory.owncast.online/tags/GamingOnLinux" rel="nofollow noopener noreferrer" target="_blank">#GamingOnLinux</a> <a class="hashtag" href="https://directory.owncast.online/tags/SimPit" rel="nofollow noopener noreferrer" target="_blank">#SimPit</a> <a class="hashtag" href="https://directory.owncast.online/tags/Linux" rel="nofollow noopener noreferrer" target="_blank">#Linux</a> <a class="hashtag" href="https://directory.owncast.online/tags/EliteDangerous" rel="nofollow noopener noreferrer" target="_blank">#EliteDangerous</a> <a class="hashtag" href="https://directory.owncast.online/tags/EliteDangerousOdyssey" rel="nofollow noopener noreferrer" target="_blank">#EliteDangerousOdyssey</a> <a class="hashtag" href="https://directory.owncast.online/tags/StarCitizen" rel="nofollow noopener noreferrer" target="_blank">#StarCitizen</a> <a class="hashtag" href="https://directory.owncast.online/tags/PewPew" rel="nofollow noopener noreferrer" target="_blank">#PewPew</a> <a class="hashtag" href="https://directory.owncast.online/tags/ViperPit" rel="nofollow noopener noreferrer" target="_blank">#ViperPit</a> <a class="hashtag" href="https://directory.owncast.online/tags/X4Foundations" rel="nofollow noopener noreferrer" target="_blank">#X4Foundations</a> <a class="hashtag" href="https://directory.owncast.online/tags/Macross" rel="nofollow noopener noreferrer" target="_blank">#Macross</a> <a class="hashtag" href="https://directory.owncast.online/tags/VF1" rel="nofollow noopener noreferrer" target="_blank">#VF1</a> <a class="hashtag" href="https://directory.owncast.online/tags/tech" rel="nofollow noopener noreferrer" target="_blank">#tech</a> <a class="hashtag" href="https://directory.owncast.online/tags/videogames" rel="nofollow noopener noreferrer" target="_blank">#videogames</a> <a class="hashtag" href="https://directory.owncast.online/tags/XWing" rel="nofollow noopener noreferrer" target="_blank">#XWing</a> <a class="hashtag" href="https://directory.owncast.online/tags/TieFighter" rel="nofollow noopener noreferrer" target="_blank">#TieFighter</a></p><p><a href="https://live.famkos.net" rel="nofollow noopener noreferrer" target="_blank">https://live.famkos.net</a></p>
Beko Cast<p>I've gone live!</p><p>[ENG/GER] SimPit Day - Hacking on my X4SimPit mod to get ship telemetry data from X4: Foundations to</p><p><a class="hashtag" href="https://directory.owncast.online/tags/LinuxGaming" rel="nofollow noopener noreferrer" target="_blank">#LinuxGaming</a> <a class="hashtag" href="https://directory.owncast.online/tags/GamingOnLinux" rel="nofollow noopener noreferrer" target="_blank">#GamingOnLinux</a> <a class="hashtag" href="https://directory.owncast.online/tags/SimPit" rel="nofollow noopener noreferrer" target="_blank">#SimPit</a> <a class="hashtag" href="https://directory.owncast.online/tags/Linux" rel="nofollow noopener noreferrer" target="_blank">#Linux</a> <a class="hashtag" href="https://directory.owncast.online/tags/EliteDangerous" rel="nofollow noopener noreferrer" target="_blank">#EliteDangerous</a> <a class="hashtag" href="https://directory.owncast.online/tags/EliteDangerousOdyssey" rel="nofollow noopener noreferrer" target="_blank">#EliteDangerousOdyssey</a> <a class="hashtag" href="https://directory.owncast.online/tags/StarCitizen" rel="nofollow noopener noreferrer" target="_blank">#StarCitizen</a> <a class="hashtag" href="https://directory.owncast.online/tags/PewPew" rel="nofollow noopener noreferrer" target="_blank">#PewPew</a> <a class="hashtag" href="https://directory.owncast.online/tags/ViperPit" rel="nofollow noopener noreferrer" target="_blank">#ViperPit</a> <a class="hashtag" href="https://directory.owncast.online/tags/X4Foundations" rel="nofollow noopener noreferrer" target="_blank">#X4Foundations</a> <a class="hashtag" href="https://directory.owncast.online/tags/Macross" rel="nofollow noopener noreferrer" target="_blank">#Macross</a> <a class="hashtag" href="https://directory.owncast.online/tags/VF1" rel="nofollow noopener noreferrer" target="_blank">#VF1</a> <a class="hashtag" href="https://directory.owncast.online/tags/tech" rel="nofollow noopener noreferrer" target="_blank">#tech</a> <a class="hashtag" href="https://directory.owncast.online/tags/videogames" rel="nofollow noopener noreferrer" target="_blank">#videogames</a> <a class="hashtag" href="https://directory.owncast.online/tags/XWing" rel="nofollow noopener noreferrer" target="_blank">#XWing</a> <a class="hashtag" href="https://directory.owncast.online/tags/TieFighter" rel="nofollow noopener noreferrer" target="_blank">#TieFighter</a></p><p><a href="https://live.famkos.net" rel="nofollow noopener noreferrer" target="_blank">https://live.famkos.net</a></p>
Beko Cast<p>I've gone live!</p><p>[ENG/GER] SimPit Day - Hacking on my X4SimPit mod to get ship telemetry data from X4: Foundations to</p><p><a class="hashtag" href="https://directory.owncast.online/tags/LinuxGaming" rel="nofollow noopener noreferrer" target="_blank">#LinuxGaming</a> <a class="hashtag" href="https://directory.owncast.online/tags/GamingOnLinux" rel="nofollow noopener noreferrer" target="_blank">#GamingOnLinux</a> <a class="hashtag" href="https://directory.owncast.online/tags/SimPit" rel="nofollow noopener noreferrer" target="_blank">#SimPit</a> <a class="hashtag" href="https://directory.owncast.online/tags/Linux" rel="nofollow noopener noreferrer" target="_blank">#Linux</a> <a class="hashtag" href="https://directory.owncast.online/tags/EliteDangerous" rel="nofollow noopener noreferrer" target="_blank">#EliteDangerous</a> <a class="hashtag" href="https://directory.owncast.online/tags/EliteDangerousOdyssey" rel="nofollow noopener noreferrer" target="_blank">#EliteDangerousOdyssey</a> <a class="hashtag" href="https://directory.owncast.online/tags/StarCitizen" rel="nofollow noopener noreferrer" target="_blank">#StarCitizen</a> <a class="hashtag" href="https://directory.owncast.online/tags/PewPew" rel="nofollow noopener noreferrer" target="_blank">#PewPew</a> <a class="hashtag" href="https://directory.owncast.online/tags/ViperPit" rel="nofollow noopener noreferrer" target="_blank">#ViperPit</a> <a class="hashtag" href="https://directory.owncast.online/tags/X4Foundations" rel="nofollow noopener noreferrer" target="_blank">#X4Foundations</a> <a class="hashtag" href="https://directory.owncast.online/tags/Macross" rel="nofollow noopener noreferrer" target="_blank">#Macross</a> <a class="hashtag" href="https://directory.owncast.online/tags/VF1" rel="nofollow noopener noreferrer" target="_blank">#VF1</a> <a class="hashtag" href="https://directory.owncast.online/tags/tech" rel="nofollow noopener noreferrer" target="_blank">#tech</a> <a class="hashtag" href="https://directory.owncast.online/tags/videogames" rel="nofollow noopener noreferrer" target="_blank">#videogames</a> <a class="hashtag" href="https://directory.owncast.online/tags/XWing" rel="nofollow noopener noreferrer" target="_blank">#XWing</a> <a class="hashtag" href="https://directory.owncast.online/tags/TieFighter" rel="nofollow noopener noreferrer" target="_blank">#TieFighter</a></p><p><a href="https://live.famkos.net" rel="nofollow noopener noreferrer" target="_blank">https://live.famkos.net</a></p>
Epaphus<p>I turn my back for 5 minutes and some joker tries to hide my SRV!</p><p><a href="https://mastodon.lo0.uk/tags/StellarScreenshots" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>StellarScreenshots</span></a> <br><a href="https://mastodon.lo0.uk/tags/EliteDangerous" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EliteDangerous</span></a> <a href="https://mastodon.lo0.uk/tags/EliteDangerousOdyssey" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EliteDangerousOdyssey</span></a></p>
Beko Cast<p>I've gone live!</p><p>[ENG/GER] SimPit Day - Hacking on my X4SimPit mod to get ship telemetry data from X4: Foundations to</p><p><a class="hashtag" href="https://directory.owncast.online/tags/LinuxGaming" rel="nofollow noopener noreferrer" target="_blank">#LinuxGaming</a> <a class="hashtag" href="https://directory.owncast.online/tags/GamingOnLinux" rel="nofollow noopener noreferrer" target="_blank">#GamingOnLinux</a> <a class="hashtag" href="https://directory.owncast.online/tags/SimPit" rel="nofollow noopener noreferrer" target="_blank">#SimPit</a> <a class="hashtag" href="https://directory.owncast.online/tags/Linux" rel="nofollow noopener noreferrer" target="_blank">#Linux</a> <a class="hashtag" href="https://directory.owncast.online/tags/EliteDangerous" rel="nofollow noopener noreferrer" target="_blank">#EliteDangerous</a> <a class="hashtag" href="https://directory.owncast.online/tags/EliteDangerousOdyssey" rel="nofollow noopener noreferrer" target="_blank">#EliteDangerousOdyssey</a> <a class="hashtag" href="https://directory.owncast.online/tags/StarCitizen" rel="nofollow noopener noreferrer" target="_blank">#StarCitizen</a> <a class="hashtag" href="https://directory.owncast.online/tags/PewPew" rel="nofollow noopener noreferrer" target="_blank">#PewPew</a> <a class="hashtag" href="https://directory.owncast.online/tags/ViperPit" rel="nofollow noopener noreferrer" target="_blank">#ViperPit</a> <a class="hashtag" href="https://directory.owncast.online/tags/X4Foundations" rel="nofollow noopener noreferrer" target="_blank">#X4Foundations</a> <a class="hashtag" href="https://directory.owncast.online/tags/Macross" rel="nofollow noopener noreferrer" target="_blank">#Macross</a> <a class="hashtag" href="https://directory.owncast.online/tags/VF1" rel="nofollow noopener noreferrer" target="_blank">#VF1</a> <a class="hashtag" href="https://directory.owncast.online/tags/tech" rel="nofollow noopener noreferrer" target="_blank">#tech</a> <a class="hashtag" href="https://directory.owncast.online/tags/videogames" rel="nofollow noopener noreferrer" target="_blank">#videogames</a> <a class="hashtag" href="https://directory.owncast.online/tags/XWing" rel="nofollow noopener noreferrer" target="_blank">#XWing</a> <a class="hashtag" href="https://directory.owncast.online/tags/TieFighter" rel="nofollow noopener noreferrer" target="_blank">#TieFighter</a></p><p><a href="https://live.famkos.net" rel="nofollow noopener noreferrer" target="_blank">https://live.famkos.net</a></p>
Beko Cast<p>I've gone live!</p><p>[ENG/GER] ViperPit Day - Trying XWVM Alpha to experience X-Wing again</p><p><a class="hashtag" href="https://directory.owncast.online/tags/LinuxGaming" rel="nofollow noopener noreferrer" target="_blank">#LinuxGaming</a> <a class="hashtag" href="https://directory.owncast.online/tags/GamingOnLinux" rel="nofollow noopener noreferrer" target="_blank">#GamingOnLinux</a> <a class="hashtag" href="https://directory.owncast.online/tags/SimPit" rel="nofollow noopener noreferrer" target="_blank">#SimPit</a> <a class="hashtag" href="https://directory.owncast.online/tags/Linux" rel="nofollow noopener noreferrer" target="_blank">#Linux</a> <a class="hashtag" href="https://directory.owncast.online/tags/EliteDangerous" rel="nofollow noopener noreferrer" target="_blank">#EliteDangerous</a> <a class="hashtag" href="https://directory.owncast.online/tags/EliteDangerousOdyssey" rel="nofollow noopener noreferrer" target="_blank">#EliteDangerousOdyssey</a> <a class="hashtag" href="https://directory.owncast.online/tags/StarCitizen" rel="nofollow noopener noreferrer" target="_blank">#StarCitizen</a> <a class="hashtag" href="https://directory.owncast.online/tags/PewPew" rel="nofollow noopener noreferrer" target="_blank">#PewPew</a> <a class="hashtag" href="https://directory.owncast.online/tags/ViperPit" rel="nofollow noopener noreferrer" target="_blank">#ViperPit</a> <a class="hashtag" href="https://directory.owncast.online/tags/X4Foundations" rel="nofollow noopener noreferrer" target="_blank">#X4Foundations</a> <a class="hashtag" href="https://directory.owncast.online/tags/Macross" rel="nofollow noopener noreferrer" target="_blank">#Macross</a> <a class="hashtag" href="https://directory.owncast.online/tags/VF1" rel="nofollow noopener noreferrer" target="_blank">#VF1</a> <a class="hashtag" href="https://directory.owncast.online/tags/tech" rel="nofollow noopener noreferrer" target="_blank">#tech</a> <a class="hashtag" href="https://directory.owncast.online/tags/videogames" rel="nofollow noopener noreferrer" target="_blank">#videogames</a> <a class="hashtag" href="https://directory.owncast.online/tags/XWing" rel="nofollow noopener noreferrer" target="_blank">#XWing</a> <a class="hashtag" href="https://directory.owncast.online/tags/TieFighter" rel="nofollow noopener noreferrer" target="_blank">#TieFighter</a></p><p><a href="https://live.famkos.net" rel="nofollow noopener noreferrer" target="_blank">https://live.famkos.net</a></p>
Epaphus<p>Trailblazing <a href="https://mastodon.lo0.uk/tags/StellarScreenshots" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>StellarScreenshots</span></a></p><p><a href="https://mastodon.lo0.uk/tags/EliteDangerous" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EliteDangerous</span></a> <a href="https://mastodon.lo0.uk/tags/EliteDangerousOdyssey" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EliteDangerousOdyssey</span></a></p>