Permalink
Browse files

Added setup section to README

  • Loading branch information...
dpoulson committed Oct 22, 2017
1 parent abc1187 commit 166986b71a4fde7ae0e5be73cf7410655eb0c8dc
Showing with 26 additions and 1 deletion.
  1. +26 −1 README.md
View
@@ -20,5 +20,30 @@ You will need a system running python with the following modules:
You will also need a running MQTT server.
# Setup
1. Log into the monitoring device, and configure the second IP option to point to the server that this daemon is running on. (Daemon defaults to port 9999)
2. Make sure that the MQTT settings are correct in the daemon.
3. Start the daemon
4. Add the following to your OpenHAB items
```
// Environmentals
Number Solis_Temp "Temperature [%.2f °C]" (Solis) { mqtt="<[mymosquitto:ginlong/XXXXXXXXXX/temp:state:default" }
// DC
Number Solis_DC1Volt "DC Volts [%.2f V]" (Solis) { mqtt="<[mymosquitto:ginlong/XXXXXXXXXX/temp:state:default" }
Number Solis_DC1Amp "DC Current [%.2f A]" (Solis) { mqtt="<[mymosquitto:ginlong/XXXXXXXXXX/temp:state:default" }
// AC
Number Solis_AC1Volt "AC Volts [%.2f V]" (Solis) { mqtt="<[mymosquitto:ginlong/XXXXXXXXXX/temp:state:default" }
Number Solis_AC1Amp "AC Current [%.2f A]" (Solis) { mqtt="<[mymosquitto:ginlong/XXXXXXXXXX/temp:state:default" }
// Stats
Number Solis_kWhToday "kWh today [%.2f kWh]" (Solis) { mqtt="<[mymosquitto:ginlong/XXXXXXXXXX/temp:state:default" }
Number Solis_kWhTotal "kWh total [%.2f kWh]" (Solis) { mqtt="<[mymosquitto:ginlong/XXXXXXXXXX/temp:state:default" }
```
5. These items should now be accessible in your rules. If you have influxdb and grafana set up, you should also be able to start producing graphs

0 comments on commit 166986b

Please sign in to comment.