[MVMA] Working with JSON

Chuck Gelm nc8q-mesh at gelm.net
Mon Sep 23 23:10:34 EDT 2019


On 9/23/19 10:12 PM, Ray Cooper wrote:
> I wouldn't think much bandwidth, the json file is pretty small. I 
> guess it would depend on frequency of the queries. 

  Oh, I was thinking of node broadcasts and not the size of the web page 
report.

The web page is generated on a RPi connected to nc8q-m2-34 from the 
sysinfo.json?services=1 report.
Nothing via RF yet. The 'services' portions are extracted that do not 
end in ':0/'.
Only the final report is sent via RF (if not to Wynn, Ray, or John J) as 
HTML data.
I did a byte count of a report and it was 5525 bytes including HTML markup.
The JSON file (localnode:8080/cgi-bin/sysinfo.json?services=1) file was 
9309 bytes,
but it is not transmitted.

The report is 'live'. i.e. it is generated fresh when the page is loaded.


-- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qth.net/pipermail/mvma/attachments/20190923/ce8e3023/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sig.gif
Type: image/gif
Size: 3641 bytes
Desc: not available
URL: <http://mailman.qth.net/pipermail/mvma/attachments/20190923/ce8e3023/attachment.gif>


More information about the MVMA mailing list