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

doc change issue #130 #131

Merged
merged 3 commits into from
Mar 13, 2014
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
12 changes: 12 additions & 0 deletions components/solar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ $ publish.js -t "/sys/$SYSTEMID/longitude" -p "9.226254" -r

The latitude and longitude values of your home can easily be obtained with the help of Google Maps. Just point it to the desired location, right-click the map and select _What is here?_.

Please note that because of an issue with a 3rd party library homA is using, negative number payloads are not interpreted correctly. As a result, if your latitude or longitude is a negative value don't use the publish command above; instead you can either publish directly using mosquitto_pub:

```
$ mosquitto_pub -d -t "/sys/$SYSTEMID/longitude" -m -9.226254 -r
```

or use the following syntax:

```
$ publish.js -t "/sys/$SYSTEMID/longitude" --payload=-9.226254 -r
```

### Systemd
If your system supports it, you can start the application as a daemon from systemd by using the provided template.
```none
Expand Down