From 3ce9e97c0ad36df9caa37261deeb1982cf6b4e8e Mon Sep 17 00:00:00 2001 From: Joshua Shannon Date: Tue, 5 Jan 2021 20:08:39 -0600 Subject: [PATCH] Updated service files to not log stdout --- LICENSE | 2 +- README.md | 14 +++++++++++++- other/systemd/README.md | 8 +++++++- other/systemd/solarthing-automation.service | 1 + other/systemd/solarthing-mate.service | 1 + other/systemd/solarthing-message.service | 1 + other/systemd/solarthing-pvoutput.service | 1 + other/systemd/solarthing-request.service | 1 + other/systemd/solarthing-rover.service | 1 + 9 files changed, 27 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 9595efdc..81e5dac2 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Wild Mountain Farms +Copyright (c) 2021 Wild Mountain Farms Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index df4ebafc..2a7318ac 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,8 @@ Stores solar data in a database to view on Android, Grafana, or PVOutput ## Supported Products * **Outback MATEs** (FX Inverter, MX/FM Charge Controller) * **Renogy Rover** (And other Renogy products) over modbus serial. - * Compatible with all [SRNE Solar](https://www.srnesolar.com) Products (And rebranded products) + * Includes Rover, Rover Elite, Wanderer, and possibly others + * Compatible with all [SRNE Solar](https://www.srnesolar.com) Charge Controllers (And rebranded products) * Also compatible with **Zenith Grape** Solar Charge Controller, **PowMr** MPPT Charge Controller, **RICH** SOLAR MPPT, **WindyNations TrakMax** MPPT # Quickstart @@ -46,6 +47,8 @@ Ready to install? Use the [Quickstart](other/docs/quickstart.md)! * Allows for viewing of data on [pvoutput.org](https://pvoutput.org) * Requires CouchDB to be set up * Enables usage of the [PVOutput Mycroft skill](https://github.com/wildmountainfarms/pvoutput-mycroft) +* REST API + * With the "post" database, all packets can be posted to a URL endpoint, useful for REST APIs ### Examples @@ -116,6 +119,15 @@ This uses all JSON for configuring everything. The files you edit are all in one See [Quickstart](other/docs/quickstart.md) to see how to set them up +### Renogy Rover Monitoring Alternatives +Don't like something about SolarThing? Here are some alternatives to monitor your Renogy Rover. +* https://github.com/corbinbs/solarshed +* https://github.com/logreposit/renogy-rover-reader-service +* https://github.com/menloparkinnovation/renogy-rover +* https://github.com/floreno/renogy-rover-modbus +* https://github.com/CyberRad/CoopSolar +* https://github.com/amigadad/SolarDataCollection + ### Suggestions? If you have suggestions on how to improve the documentation or have a feature request, I'd love to hear from you! [SolarThing Issues](https://github.com/wildmountainfarms/solarthing/issues) diff --git a/other/systemd/README.md b/other/systemd/README.md index 1f736752..309442c0 100644 --- a/other/systemd/README.md +++ b/other/systemd/README.md @@ -3,7 +3,7 @@ If your system uses systemd, the files in this directory allow the easy installa if you want to run the `client` program from the `program` directory. NOTE: By default, this assumes that you have the root solarthing directory in `/opt`. If you do not, you will -have to manually change some things in here. +have to manually change some things in here. (Running ./install.sh will not work unless you have it installed in `/opt`) ```shell script cd other/systemd @@ -13,3 +13,9 @@ echo Configure stuff in the config directory! systemctl start solarthing # start the service now systemctl enable solarthing # make the service run on boot ``` + +## Does my system have systemd? What's that? +systemd is something that's on Linux computers based on Debian and it's also on a few distros not based on Debian. +If you have a Raspberry Pi, it's on that. If your computer is running Ubuntu, it's on that too. + +Systemd is not on Windows or Mac. diff --git a/other/systemd/solarthing-automation.service b/other/systemd/solarthing-automation.service index 3e703ace..8a3d54fe 100644 --- a/other/systemd/solarthing-automation.service +++ b/other/systemd/solarthing-automation.service @@ -6,6 +6,7 @@ TimeoutStartSec=1 ExecStart=/opt/solarthing/program/automation/run.sh User=solarthing Group=solarthing +StandardOutput=null [Install] WantedBy=multi-user.target diff --git a/other/systemd/solarthing-mate.service b/other/systemd/solarthing-mate.service index d79fbf74..c6babc93 100644 --- a/other/systemd/solarthing-mate.service +++ b/other/systemd/solarthing-mate.service @@ -6,6 +6,7 @@ TimeoutStartSec=1 ExecStart=/opt/solarthing/program/mate/run.sh User=solarthing Group=solarthing +StandardOutput=null [Install] WantedBy=multi-user.target diff --git a/other/systemd/solarthing-message.service b/other/systemd/solarthing-message.service index 7e724910..8748971b 100644 --- a/other/systemd/solarthing-message.service +++ b/other/systemd/solarthing-message.service @@ -6,6 +6,7 @@ TimeoutStartSec=1 ExecStart=/opt/solarthing/program/message/run.sh User=solarthing Group=solarthing +StandardOutput=null [Install] WantedBy=multi-user.target diff --git a/other/systemd/solarthing-pvoutput.service b/other/systemd/solarthing-pvoutput.service index f156f4f5..4286eab5 100644 --- a/other/systemd/solarthing-pvoutput.service +++ b/other/systemd/solarthing-pvoutput.service @@ -6,6 +6,7 @@ TimeoutStartSec=1 ExecStart=/opt/solarthing/program/pvoutput/run.sh User=solarthing Group=solarthing +StandardOutput=null [Install] WantedBy=multi-user.target diff --git a/other/systemd/solarthing-request.service b/other/systemd/solarthing-request.service index b5c3caa3..f369dd3c 100644 --- a/other/systemd/solarthing-request.service +++ b/other/systemd/solarthing-request.service @@ -6,6 +6,7 @@ TimeoutStartSec=1 ExecStart=/opt/solarthing/program/request/run.sh User=solarthing Group=solarthing +StandardOutput=null [Install] WantedBy=multi-user.target diff --git a/other/systemd/solarthing-rover.service b/other/systemd/solarthing-rover.service index e94340c9..ac484100 100644 --- a/other/systemd/solarthing-rover.service +++ b/other/systemd/solarthing-rover.service @@ -6,6 +6,7 @@ TimeoutStartSec=1 ExecStart=/opt/solarthing/program/rover/run.sh User=solarthing Group=solarthing +StandardOutput=null [Install] WantedBy=multi-user.target