Skip to content

Appendix E Running on Non Linux Platforms

jgyates edited this page Feb 12, 2024 · 5 revisions

Running on Non-Linux Platforms

The software for this project has been written and tested on a Raspberry Pi running a few different variants of Linux. When creating the software an effort has been made to not tie the execution to a particular platform. The base requirements for the software are:

  • Python 3.x (python 2.7 has not explicitly been removed but no testing is performed with 2.7 any longer)
  • A serial port supported by the pyserial library, or not if you use serial over TCP
  • A TCP/IP network connection supported by python
  • A file system that can read and write files

By default the config files are loaded from the /etc/genmon directory however if you are on an operating system that does not have an /etc directory you can specify the path to the config files on the command line:

sudo python3 genmon.py -c <path to conf file> &
sudo python3 genserv.py -c <path to conf file> &

where <path to conf file would be something like C:\Temp\

Also, the log files, by default are written to /var/log. To change the location of your log files you can modify your genmon.conf file (logfilelocation=).

While the software has not been tested on non Linux platforms, since it is python it should run OK. If you attempt this feel free to open and issue if you have any problems or let me know via opening and issue if you are successful.