Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add more details in README #12

Merged
merged 1 commit into from
Mar 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,24 @@ This script is meant to be installed through the [SetupHelper](https://github.co

The script should auto-detect the IP of the Fronius device if it is on the same network. Otherwise specify the IP using --ip.

## Service Status
## Service Logs

You can check the status of the service with svstat:
To see if the service runs without any issues, check the file ``/data/log/FroniusSmartmeter/current``. This should have as last entries something similar to:

`svstat /service/victron-dbus-fronius-smartmeter`
```plaintext
@400000006404ec000994a10c *** CCGX booted (0) ***
@400000006404ec5f270ea264 FroniusSmartmeter/setup: --- starting setup script <some version>
@400000006404ec5f31dd6b44 FroniusSmartmeter/setup: ++ Installing Victron Dbus Fronius Smartmeter service
@400000006404ec5f33808c24 FroniusSmartmeter/setup: installing FroniusSmartmeter service - please wait
@400000006404ec6a01738f24 FroniusSmartmeter/setup: completed
```

If the service actually has issues, then check via the process list `ps|grep smartmeter` what this might be (if it isn't in the logs).

Also you can try to start the service manually:

```bash
python /data/FroniusSmartmeter/fronius-smartmeter.py
```

If you really run into trouble, don't hesitate to check the list of [issues here on Github](https://github.com/SirUli/FroniusSmartmeter/issues) to see if anyone else stumbled across that. If not, please open an issue!