wose / satnogs-monitor

Terminal UI monitor for your SatNOGS ground station.
GNU General Public License v3.0
78 stars 6 forks source link

Api for additional info lines sent by station for any station status messages #24

Open rnbokade opened 4 years ago

rnbokade commented 4 years ago

Feature Request In Satnogs-Monitor add APIs to send 2-3 line special info from the station. This may be helpful for those having Satnogs stations at remote locations with solar power/battery backup to see the battery levels/ current state etc. Also user may shoose to send local temperature humidity on the monitor too. This would be helpful for station keeper to keep an eye on the parameter he/she wants to.

wose commented 4 years ago

Hi,

thanks for the ideas. Can you elaborate a little bit about how this should work?

There is no connection between the satnogs client and the satnogs monitor. You'll get some extra infos if you run the monitor on the same machine as the satnogs client. I'm open to adding more of those infos. Power and battery status would be easy if they are exposed through sysfs or something like that (basically how laptop power status is exposed). Same with temperature sensors, the monitor already displays the CPU temperature. However the monitor only shows an instant in time, it does not accumulate data or keep state after a restart. There is a ton of specialized software if you want to keep a record of system parameters.

All this only works if you run the monitor on your station. I had first planned for a client-server architecture, but figured this would add a lot of complexity without gaining anything. The monitor runs fine through ssh.