Home Forum Community setup local graphs for your uradmonitor

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2209
    RobHeffo
    Participant

    The scripts work well. I have it running on a Raspberry Pi 2 with no problems.
    I did need to tweak the “cut” commands as the JSON from my uRadmonitor has the detector type in position 3.

    So, in both curr.sh and update.sh I needed to replace…

    v_cpm=$( echo $jsondata | cut -f 3 -d "," | cut -f 2  -d ":" )
    v_temp=$( echo $jsondata | cut -f 4 -d "," | cut -f 2  -d ":" )

    with

    v_cpm=$( echo $jsondata | cut -f 4 -d "," | cut -f 2  -d ":" )
    v_temp=$( echo $jsondata | cut -f 5 -d "," | cut -f 2  -d ":" )
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.