Skip to content

Commit

Permalink
Updated service files to not log stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
retrodaredevil committed Jan 6, 2021
1 parent c62a4b0 commit 3ce9e97
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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)
Expand Down
8 changes: 7 additions & 1 deletion other/systemd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
1 change: 1 addition & 0 deletions other/systemd/solarthing-automation.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ TimeoutStartSec=1
ExecStart=/opt/solarthing/program/automation/run.sh
User=solarthing
Group=solarthing
StandardOutput=null

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions other/systemd/solarthing-mate.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ TimeoutStartSec=1
ExecStart=/opt/solarthing/program/mate/run.sh
User=solarthing
Group=solarthing
StandardOutput=null

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions other/systemd/solarthing-message.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ TimeoutStartSec=1
ExecStart=/opt/solarthing/program/message/run.sh
User=solarthing
Group=solarthing
StandardOutput=null

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions other/systemd/solarthing-pvoutput.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ TimeoutStartSec=1
ExecStart=/opt/solarthing/program/pvoutput/run.sh
User=solarthing
Group=solarthing
StandardOutput=null

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions other/systemd/solarthing-request.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ TimeoutStartSec=1
ExecStart=/opt/solarthing/program/request/run.sh
User=solarthing
Group=solarthing
StandardOutput=null

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions other/systemd/solarthing-rover.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ TimeoutStartSec=1
ExecStart=/opt/solarthing/program/rover/run.sh
User=solarthing
Group=solarthing
StandardOutput=null

[Install]
WantedBy=multi-user.target

0 comments on commit 3ce9e97

Please sign in to comment.