you’re right. i thought somebody had a similar issue. I don’t want somebody to guess
Now after reading my conf twice, i found the error, i made a counting mistake in the line numbering in the lower part. Now it works.
you’re right. i thought somebody had a similar issue. I don’t want somebody to guess
Now after reading my conf twice, i found the error, i made a counting mistake in the line numbering in the lower part. Now it works.
Different topic:
I’ve changed my SD card to a larger one, for it i cloned it and then used raspi-config for extending the file system to the max.
Now RPI monitor is missing some GB on the display.
What df shows:
/dev/root 59G 2,0G 54G 4% /
And what RPI Monitor shows
Any sugggestions?
EDIT: Got it fixed by purge and reinstall RPIMonitor
Had a marathon session this morning getting this set up on my Pi4. It’s quite a task to do this with one hand and a brain that’s heavily dosed with Tramadol!
I may well remove Memory and SD card because I’m not really bothered about them but it’d be nice to add adsbhub and 360radar to the Avionics section. My head is ready to explode right now though so I’m not doing any more on this today.
DOH! Nevermind, I thought you asked about ADSBExchange, not hub. Please disregard
Someone would be in the Avionics settings for ADSB Exchange what to put as info for the URL of the link “ADSBExchangeFeeder” ?
By default there is this: “http://www.adsbexchange.com/coverage-1D/?new”
I guess we need to replace “coverage-1D” with something, but with what ?
Thank you.
Maybe the Stats Page helps.
I’ve replaced the “1D” for testing with one of the given areas in the table and it works.
I’m stupid i haven’t think about this ;+)
Thanks a lot !
Hi all
Already had cpu temp dial (needle never worked but shows correct figures)
added a small script from here to add GPU
now that has no needle on dial either heres script and picture
poss a digit missing somewhere on both ? cpu and gpu lines ?
########################################################################
########################################################################
dynamic.12.name=soc_temp
dynamic.12.source=/sys/devices/virtual/thermal/thermal_zone0/temp
dynamic.12.regexp=(.*)
dynamic.12.postprocess=sprintf(“%.2f”, $1/1000)
dynamic.12.rrd=GAUGE
dynamic.13.name=gpu_temp
dynamic.13.source=vcgencmd measure_temp
dynamic.13.regexp=temp=(.*)'C
dynamic.13.postprocess=sprintf(“%.2f”, $1)
dynamic.13.rrd=GAUGE
web.status.1.content.4.name=Temperature
web.status.1.content.4.icon=cpu_temp.png
#web.status.1.content.4.line.1=“CPU Temperature: ”+data.soc_temp+“°C”
web.status.1.content.4.line.1=JustGageBar(“CPU Temperature”, data.soc_temp+“°C”, 30, data.soc_temp, 80, 100, 80)+" "+JustGageBar("GPU Te$
#web.status.1.content.4.line.1=JustGageBar(“Temperature”, “°C”, 40, data.soc_temp, 80, 100, 80)
web.statistics.1.content.8.name=Temperature
web.statistics.1.content.8.graph.1=soc_temp
web.statistics.1.content.8.ds_graph_options.soc_temp.label=CPU temperature (°C)
web.statistics.1.content.8.graph.2=gpu_temp
web.statistics.1.content.8.ds_graph_options.gpu_temp.label=GPU temperature (°C)
.
If you place [code]
above and [/code]
below, then the above text will look like this:
.
########################################################################
# Extract CPU Temperature information
# Page: 1
# Information Status Statistics
# - cpu temperature - yes - yes
# Note: Rounding temperatures to two digits is done with the
Sorry i’m trying to compare your message with cpu script see if i can match what you mean
but unable to make sence
be gentle lol
Sorry I did not explain properly in my last post.
What I posted had nothing to do with RPiMonitor or any issues related to it. It was about “how to format text & code in a post”.
Looks like your line got trimmed somehow:
web.status.1.content.4.line.1=JustGageBar("CPU Temperature", data.soc_temp+"°C", 20, data.soc_temp, 80, 100, 80)+" "+JustGageBar("GPU Temperature", data.gpu_temp+"°C", 20, data.gpu_temp, 80, 100, 80)
since several days my rpimonitor/avionics.conf shows "ADSBEXchange ‘inactive’/red, but the lines in avionics.conf are still the same. And feeder works …
> dynamic.11.name=adsbexchange
> dynamic.11.source=ps awwux | grep socat | grep -v grep | grep feed
> dynamic.11.regexp=feed.adsbexchange.com:(.*)
> web.status.1.content.1.line.33="<td><a href='https://www.adsbexchange.com/active-feeds/' target=_blank>ADSBExchange</a></td><td>" + Label(data.adsbexchange,"==30005","active","success") + Label(data.adsbexchange,"!=30005","inactive","danger") + "</td><td>N/A</td><td><a href='http://www.adsbexchange.com/coverage-1D/?new' target=_blank>ADSBExchangeFeeder</a></td>"
> web.status.1.content.1.line.34="</tr>"
integrated link (https://www.adsbexchange.com/active-feeds/) is dead now …
What to do / to change in avionics.conf to get “avtive/green” back again ?
Thanks in advance for your help.
The command it runs still works for me.
Did you update something recently?
Have you rebooted your Pi?
$ ps awwux | grep socat | grep -v grep | grep feed
root 26714 0.2 0.0 6092 2768 ? S 02:20 1:21 /usr/bin/socat -u TCP:localhost:30005 TCP:feed.adsbexchange.com:30005
New scripts don’t run socat no more.
New thing to look for:
/usr/local/share/adsbexchange/feed-adsbx
/usr/local/share/adsbexchange/venv/bin/python3 /usr/local/share/adsbexchange/venv/bin/mlat-client
I’m surprised no one has updated RPiMonitor configs yet for the new style.
Guess Ill have to play with updating.
I’ll look for one of the helper installer threads and try updating at some point.
Here’s the relevant lines from mine:
dynamic.8.name=adsbexchange
dynamic.8.source=service adsbexchange-feed status
dynamic.8.regexp=Active: (.*) \(
dynamic.9.name=adsbexchange-mlat
dynamic.9.source=service adsbexchange-mlat status
dynamic.9.regexp=Active: (.*) \(
web.status.1.content.1.line.24="<td><a href='https://www.adsbexchange.com/active-feeds/' target=_blank>ADSBExchange feed</a></td><td>" + Label(data.adsbexchange,"=='active'","active","success") + Label(data.adsbexchange,"!='active'","inactive","danger") + "</td><td>N/A</td><td><a href='https://www.adsbexchange.com/myip/' target=_blank>ADSBExchangeFeeder</a></td>"
web.status.1.content.1.line.25="</tr>"
web.status.1.content.1.line.26="<tr>"
web.status.1.content.1.line.27="<td><a href='https://www.adsbexchange.com/active-feeds/' target=_blank>ADSBExchange mlat</a></td><td>" + Label(data.adsbexchange,"=='active'","active","success") + Label(data.adsbexchange,"!='active'","inactive","danger") + "</td><td>N/A</td><td><a href='https://www.adsbexchange.com/myip/' target=_blank>ADSBExchangeFeeder</a></td>"
web.status.1.content.1.line.28="</tr>"
web.status.1.content.1.line.29="<tr>"
yes, of course
thanks, it works, it’s “green” again
but: the link https://www.adsbexchange.com/active-feeds/ is (still) dead …
You can change that to whatever you want it to be - it’s the first link in the line 24 and 27 in my example above.
I already did that while modifying avionics.conf …