Prettified Code!
This commit is contained in:
parent
3d93f8863b
commit
0a185b6707
14 changed files with 340 additions and 293 deletions
24
.github/ISSUE_TEMPLATE/bug_report.md
vendored
24
.github/ISSUE_TEMPLATE/bug_report.md
vendored
|
@ -1,10 +1,9 @@
|
||||||
---
|
---
|
||||||
name: Bug report
|
name: Bug report
|
||||||
about: Create a report to help us improve
|
about: Create a report to help us improve
|
||||||
title: ''
|
title: ""
|
||||||
labels: ''
|
labels: ""
|
||||||
assignees: ''
|
assignees: ""
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**Describe the bug**
|
**Describe the bug**
|
||||||
|
@ -12,6 +11,7 @@ A clear and concise description of what the bug is.
|
||||||
|
|
||||||
**To Reproduce**
|
**To Reproduce**
|
||||||
Steps to reproduce the behavior:
|
Steps to reproduce the behavior:
|
||||||
|
|
||||||
1. Go to '...'
|
1. Go to '...'
|
||||||
2. Click on '....'
|
2. Click on '....'
|
||||||
3. Scroll down to '....'
|
3. Scroll down to '....'
|
||||||
|
@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
|
||||||
If applicable, add screenshots to help explain your problem.
|
If applicable, add screenshots to help explain your problem.
|
||||||
|
|
||||||
**Desktop (please complete the following information):**
|
**Desktop (please complete the following information):**
|
||||||
- OS: [e.g. iOS]
|
|
||||||
- Browser [e.g. chrome, safari]
|
- OS: [e.g. iOS]
|
||||||
- Version [e.g. 22]
|
- Browser [e.g. chrome, safari]
|
||||||
|
- Version [e.g. 22]
|
||||||
|
|
||||||
**Smartphone (please complete the following information):**
|
**Smartphone (please complete the following information):**
|
||||||
- Device: [e.g. iPhone6]
|
|
||||||
- OS: [e.g. iOS8.1]
|
- Device: [e.g. iPhone6]
|
||||||
- Browser [e.g. stock browser, safari]
|
- OS: [e.g. iOS8.1]
|
||||||
- Version [e.g. 22]
|
- Browser [e.g. stock browser, safari]
|
||||||
|
- Version [e.g. 22]
|
||||||
|
|
||||||
**Additional context**
|
**Additional context**
|
||||||
Add any other context about the problem here.
|
Add any other context about the problem here.
|
||||||
|
|
7
.github/ISSUE_TEMPLATE/feature_request.md
vendored
7
.github/ISSUE_TEMPLATE/feature_request.md
vendored
|
@ -1,10 +1,9 @@
|
||||||
---
|
---
|
||||||
name: Feature request
|
name: Feature request
|
||||||
about: Suggest an idea for this project
|
about: Suggest an idea for this project
|
||||||
title: ''
|
title: ""
|
||||||
labels: ''
|
labels: ""
|
||||||
assignees: ''
|
assignees: ""
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**Is your feature request related to a problem? Please describe.**
|
**Is your feature request related to a problem? Please describe.**
|
||||||
|
|
|
@ -2,112 +2,112 @@
|
||||||
### YOUR_PLANT_NAME and YOUR_INVERTER_SERIAL to match your options in SBFspot
|
### YOUR_PLANT_NAME and YOUR_INVERTER_SERIAL to match your options in SBFspot
|
||||||
|
|
||||||
mqtt:
|
mqtt:
|
||||||
sensor:
|
sensor:
|
||||||
- name: "SMA Sunny Boy"
|
- name: "SMA Sunny Boy"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.InvName }}'
|
value_template: "{{ value_json.InvName }}"
|
||||||
icon: "mdi:flash"
|
icon: "mdi:flash"
|
||||||
|
|
||||||
- name: "SMA TimeStamp"
|
- name: "SMA TimeStamp"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.Timestamp }}'
|
value_template: "{{ value_json.Timestamp }}"
|
||||||
icon: "mdi:clock"
|
icon: "mdi:clock"
|
||||||
|
|
||||||
- name: "SMA Sun Rise"
|
- name: "SMA Sun Rise"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: "{{ value_json.SunRise }}"
|
value_template: "{{ value_json.SunRise }}"
|
||||||
icon: "mdi:weather-sunny"
|
icon: "mdi:weather-sunny"
|
||||||
|
|
||||||
- name: "SMA Sun Set"
|
- name: "SMA Sun Set"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.SunSet }}'
|
value_template: "{{ value_json.SunSet }}"
|
||||||
icon: "mdi:weather-sunset-down"
|
icon: "mdi:weather-sunset-down"
|
||||||
|
|
||||||
- name: "SMA Running Temp"
|
- name: "SMA Running Temp"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.InvTemperature }}'
|
value_template: "{{ value_json.InvTemperature }}"
|
||||||
unit_of_measurement: "°C"
|
unit_of_measurement: "°C"
|
||||||
icon: "mdi:coolant-temperature"
|
icon: "mdi:coolant-temperature"
|
||||||
device_class: temperature
|
device_class: temperature
|
||||||
|
|
||||||
- name: "SMA Status"
|
- name: "SMA Status"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.InvStatus }}'
|
value_template: "{{ value_json.InvStatus }}"
|
||||||
icon: "mdi:flash"
|
icon: "mdi:flash"
|
||||||
|
|
||||||
- name: "SMA Grid Relay"
|
- name: "SMA Grid Relay"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.InvGridRelay }}'
|
value_template: "{{ value_json.InvGridRelay }}"
|
||||||
icon: "mdi:electric-switch"
|
icon: "mdi:electric-switch"
|
||||||
|
|
||||||
- name: "SMA Daily Energy"
|
- name: "SMA Daily Energy"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.EToday }}'
|
value_template: "{{ value_json.EToday }}"
|
||||||
unit_of_measurement: "kWh"
|
unit_of_measurement: "kWh"
|
||||||
icon: "mdi:solar-power"
|
icon: "mdi:solar-power"
|
||||||
device_class: energy
|
device_class: energy
|
||||||
state_class: total_increasing
|
state_class: total_increasing
|
||||||
|
|
||||||
- name: "SMA Total Energy"
|
- name: "SMA Total Energy"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.ETotal }}'
|
value_template: "{{ value_json.ETotal }}"
|
||||||
unit_of_measurement: "kWh"
|
unit_of_measurement: "kWh"
|
||||||
device_class: energy
|
device_class: energy
|
||||||
state_class: total_increasing
|
state_class: total_increasing
|
||||||
|
|
||||||
- name: "SMA Power AC"
|
- name: "SMA Power AC"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.PACTot }}'
|
value_template: "{{ value_json.PACTot }}"
|
||||||
unit_of_measurement: "W"
|
unit_of_measurement: "W"
|
||||||
icon: "mdi:flash"
|
icon: "mdi:flash"
|
||||||
device_class: power
|
device_class: power
|
||||||
state_class: measurement
|
state_class: measurement
|
||||||
|
|
||||||
- name: "SMA DC Array"
|
- name: "SMA DC Array"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.UDC1 }}'
|
value_template: "{{ value_json.UDC1 }}"
|
||||||
unit_of_measurement: "Volts"
|
unit_of_measurement: "Volts"
|
||||||
icon: "mdi:solar-panel-large"
|
icon: "mdi:solar-panel-large"
|
||||||
device_class: voltage
|
device_class: voltage
|
||||||
|
|
||||||
- name: "SMA DC Array2"
|
- name: "SMA DC Array2"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.UDC2 }}'
|
value_template: "{{ value_json.UDC2 }}"
|
||||||
unit_of_measurement: "Volts"
|
unit_of_measurement: "Volts"
|
||||||
icon: "mdi:solar-panel"
|
icon: "mdi:solar-panel"
|
||||||
device_class: voltage
|
device_class: voltage
|
||||||
|
|
||||||
- name: "SMA DC Array"
|
- name: "SMA DC Array"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.IDC1 }}'
|
value_template: "{{ value_json.IDC1 }}"
|
||||||
unit_of_measurement: "Amps"
|
unit_of_measurement: "Amps"
|
||||||
icon: "mdi:solar-panel-large"
|
icon: "mdi:solar-panel-large"
|
||||||
device_class: current
|
device_class: current
|
||||||
|
|
||||||
- name: "SMA DC Array2"
|
- name: "SMA DC Array2"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.IDC2 }}'
|
value_template: "{{ value_json.IDC2 }}"
|
||||||
unit_of_measurement: "Amps"
|
unit_of_measurement: "Amps"
|
||||||
icon: "mdi:solar-panel"
|
icon: "mdi:solar-panel"
|
||||||
device_class: current
|
device_class: current
|
||||||
|
|
||||||
- name: "SMA DC Array"
|
- name: "SMA DC Array"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.PDC1 }}'
|
value_template: "{{ value_json.PDC1 }}"
|
||||||
unit_of_measurement: "Watts"
|
unit_of_measurement: "Watts"
|
||||||
icon: "mdi:solar-panel-large"
|
icon: "mdi:solar-panel-large"
|
||||||
device_class: power
|
device_class: power
|
||||||
|
|
||||||
- name: "SMA DC Array2"
|
- name: "SMA DC Array2"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.PDC2 }}'
|
value_template: "{{ value_json.PDC2 }}"
|
||||||
unit_of_measurement: "Watts"
|
unit_of_measurement: "Watts"
|
||||||
icon: "mdi:solar-panel"
|
icon: "mdi:solar-panel"
|
||||||
device_class: power
|
device_class: power
|
||||||
|
|
||||||
- name: "SMA Grid Frequency"
|
- name: "SMA Grid Frequency"
|
||||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||||
value_template: '{{ value_json.GridFreq }}'
|
value_template: "{{ value_json.GridFreq }}"
|
||||||
unit_of_measurement: "Hz"
|
unit_of_measurement: "Hz"
|
||||||
icon: "mdi:transmission-tower"
|
icon: "mdi:transmission-tower"
|
||||||
device_class: frequency
|
device_class: frequency
|
||||||
|
|
30
README.md
30
README.md
|
@ -1,6 +1,6 @@
|
||||||
[![Release][release-shield]][release] ![Project Stage][project-stage-shield] ![Project Maintenance][maintenance-shield]
|
[![Release][release-shield]][release] ![Project Stage][project-stage-shield] ![Project Maintenance][maintenance-shield]
|
||||||
|
|
||||||
# Repository add-on by Habuild
|
# Repository add-on by Habuild
|
||||||
|
|
||||||
Add-on documentation: <https://developers.home-assistant.io/docs/add-ons>
|
Add-on documentation: <https://developers.home-assistant.io/docs/add-ons>
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ SBFspot addon for supervised Home Assistant, based an open source project locate
|
||||||
This project creates an addon install for Home assistant users using the latest release of SBFspot as a docker container.
|
This project creates an addon install for Home assistant users using the latest release of SBFspot as a docker container.
|
||||||
|
|
||||||
# Installation and configuration
|
# Installation and configuration
|
||||||
|
|
||||||
Add ([this respository](https://github.com/habuild/hassio-addons)) to Home Assistant via the superviser > new respository menu > add respository
|
Add ([this respository](https://github.com/habuild/hassio-addons)) to Home Assistant via the superviser > new respository menu > add respository
|
||||||
|
|
||||||
Fill in the config details to setup Inverter connection, Database, MQTT , and Upload API.
|
Fill in the config details to setup Inverter connection, Database, MQTT , and Upload API.
|
||||||
|
@ -21,10 +22,12 @@ Fill in the config details to setup Inverter connection, Database, MQTT , and Up
|
||||||
Start the addon
|
Start the addon
|
||||||
|
|
||||||
## [haos-sbfspot](./haos-sbfspot)
|
## [haos-sbfspot](./haos-sbfspot)
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
This version is specifically for Home Assistant Operating System HAOS. It omits Openrc found in the other version, which is largely redundant anyway.
|
This version is specifically for Home Assistant Operating System HAOS. It omits Openrc found in the other version, which is largely redundant anyway.
|
||||||
|
|
||||||
### [Installation](https://github.com/habuild/hassio-addons/blob/main/haos-sbfspot/README.md)
|
### [Installation](https://github.com/habuild/hassio-addons/blob/main/haos-sbfspot/README.md)
|
||||||
|
|
||||||
## [SBFspot](./sbfspot)
|
## [SBFspot](./sbfspot)
|
||||||
|
@ -57,6 +60,7 @@ Notes to developers after forking or using the github template feature:
|
||||||
## 
|
## 
|
||||||
|
|
||||||
## ToDo List
|
## ToDo List
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
|
|
||||||
- fix options to display GUI options correctly, currently only edit in yaml is available to save options.
|
- fix options to display GUI options correctly, currently only edit in yaml is available to save options.
|
||||||
|
@ -65,6 +69,7 @@ Notes to developers after forking or using the github template feature:
|
||||||
## ToDo end
|
## ToDo end
|
||||||
|
|
||||||
# Special Thanks To:
|
# Special Thanks To:
|
||||||
|
|
||||||
SBFspot
|
SBFspot
|
||||||
https://github.com/SBFspot/SBFspot
|
https://github.com/SBFspot/SBFspot
|
||||||
|
|
||||||
|
@ -77,23 +82,30 @@ LauR3y for sbfspot addon
|
||||||
https://github.com/LauR3y/hassio-addons
|
https://github.com/LauR3y/hassio-addons
|
||||||
|
|
||||||
## SBFspot Readme ([SBFspot on github](https://github.com/SBFspot/SBFspot)).
|
## SBFspot Readme ([SBFspot on github](https://github.com/SBFspot/SBFspot)).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Translation by Google: [[NL](https://translate.google.com/translate?act=url&depth=1&hl=nl&ie=UTF8&prev=_t&rurl=translate.google.com&sl=en&sp=nmt4&tl=nl&u=https://github.com/SBFspot/SBFspot)] - [[FR](https://translate.google.com/translate?act=url&depth=1&hl=nl&ie=UTF8&prev=_t&rurl=translate.google.com&sl=en&sp=nmt4&tl=fr&u=https://github.com/SBFspot/SBFspot)] - [[DE](https://translate.google.com/translate?act=url&depth=1&hl=nl&ie=UTF8&prev=_t&rurl=translate.google.com&sl=en&sp=nmt4&tl=de&u=https://github.com/SBFspot/SBFspot)] - [[ES](https://translate.google.com/translate?act=url&depth=1&hl=nl&ie=UTF8&prev=_t&rurl=translate.google.com&sl=en&sp=nmt4&tl=es&u=https://github.com/SBFspot/SBFspot)] - [[IT](https://translate.google.com/translate?act=url&depth=1&hl=nl&ie=UTF8&prev=_t&rurl=translate.google.com&sl=en&sp=nmt4&tl=it&u=https://github.com/SBFspot/SBFspot)]
|
Translation by Google: [[NL](https://translate.google.com/translate?act=url&depth=1&hl=nl&ie=UTF8&prev=_t&rurl=translate.google.com&sl=en&sp=nmt4&tl=nl&u=https://github.com/SBFspot/SBFspot)] - [[FR](https://translate.google.com/translate?act=url&depth=1&hl=nl&ie=UTF8&prev=_t&rurl=translate.google.com&sl=en&sp=nmt4&tl=fr&u=https://github.com/SBFspot/SBFspot)] - [[DE](https://translate.google.com/translate?act=url&depth=1&hl=nl&ie=UTF8&prev=_t&rurl=translate.google.com&sl=en&sp=nmt4&tl=de&u=https://github.com/SBFspot/SBFspot)] - [[ES](https://translate.google.com/translate?act=url&depth=1&hl=nl&ie=UTF8&prev=_t&rurl=translate.google.com&sl=en&sp=nmt4&tl=es&u=https://github.com/SBFspot/SBFspot)] - [[IT](https://translate.google.com/translate?act=url&depth=1&hl=nl&ie=UTF8&prev=_t&rurl=translate.google.com&sl=en&sp=nmt4&tl=it&u=https://github.com/SBFspot/SBFspot)]
|
||||||
|
|
||||||
### **Introduction**
|
### **Introduction**
|
||||||
|
|
||||||
SBFspot, formerly known as SMAspot, is an open source project to get actual and archive data out of an SMA® inverter over Bluetooth or Ethernet (Speedwire®) It works on either Linux ([Raspberry Pi](http://www.raspberrypi.org)) and Windows.
|
SBFspot, formerly known as SMAspot, is an open source project to get actual and archive data out of an SMA® inverter over Bluetooth or Ethernet (Speedwire®) It works on either Linux ([Raspberry Pi](http://www.raspberrypi.org)) and Windows.
|
||||||
|
|
||||||
### **What it does**
|
### **What it does**
|
||||||
|
|
||||||
SBFspot connects via Bluetooth or Ethernet to your SMA® solar/battery inverter and reads Archive Day/Month Power generation, user/installer events and the actual (spot) data. The collected data is stored in a SQL database (SQLite/MySQL/MariaDB) or SMA® compatible .csv files.
|
SBFspot connects via Bluetooth or Ethernet to your SMA® solar/battery inverter and reads Archive Day/Month Power generation, user/installer events and the actual (spot) data. The collected data is stored in a SQL database (SQLite/MySQL/MariaDB) or SMA® compatible .csv files.
|
||||||
A separate service/daemon uploads the collected data to [PVoutput.org](https://pvoutput.org)
|
A separate service/daemon uploads the collected data to [PVoutput.org](https://pvoutput.org)
|
||||||
|
|
||||||
### **Known bugs and limitations**
|
### **Known bugs and limitations**
|
||||||
|
|
||||||
For a list of known bugs, consult the [issues](https://github.com/SBFspot/SBFspot/issues). If you find a bug, please create an [issue](https://github.com/SBFspot/SBFspot/issues).
|
For a list of known bugs, consult the [issues](https://github.com/SBFspot/SBFspot/issues). If you find a bug, please create an [issue](https://github.com/SBFspot/SBFspot/issues).
|
||||||
|
|
||||||
### **Documentation**
|
### **Documentation**
|
||||||
|
|
||||||
Refer to the [Wiki](https://github.com/SBFspot/SBFspot/wiki) for documentation and FAQ.
|
Refer to the [Wiki](https://github.com/SBFspot/SBFspot/wiki) for documentation and FAQ.
|
||||||
|
|
||||||
### **Special thanks to:**
|
### **Special thanks to:**
|
||||||
|
|
||||||
1. S. Pittaway: Author of ["NANODE SMA PV MONITOR"](https://github.com/stuartpittaway/nanodesmapvmonitor) on which this project is based.
|
1. S. Pittaway: Author of ["NANODE SMA PV MONITOR"](https://github.com/stuartpittaway/nanodesmapvmonitor) on which this project is based.
|
||||||
2. W. Simons : Early adopter, main tester and SMAdata2® Protocol analyzer
|
2. W. Simons : Early adopter, main tester and SMAdata2® Protocol analyzer
|
||||||
3. G. Schnuff : SMAdata2® Protocol analyzer
|
3. G. Schnuff : SMAdata2® Protocol analyzer
|
||||||
|
@ -102,23 +114,27 @@ Refer to the [Wiki](https://github.com/SBFspot/SBFspot/wiki) for documentation a
|
||||||
6. All other users for their contribution - in any form - to the success of this project
|
6. All other users for their contribution - in any form - to the success of this project
|
||||||
|
|
||||||
### **Donations**
|
### **Donations**
|
||||||
|
|
||||||
SBFspot is a free tool, developed during personal free time. If you like it, consider a donation.
|
SBFspot is a free tool, developed during personal free time. If you like it, consider a donation.
|
||||||
If you click on the button below, you will be taken to the secure PayPal Web site. You don't need to have a paypal account in order to make a donation.
|
If you click on the button below, you will be taken to the secure PayPal Web site. You don't need to have a paypal account in order to make a donation.
|
||||||
|
|
||||||
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3R5JSRCXBGSLQ)
|
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3R5JSRCXBGSLQ)
|
||||||
|
|
||||||
### **License**
|
### **License**
|
||||||
|
|
||||||
[Attribution - NonCommercial - ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)](https://creativecommons.org/licenses/by-nc-sa/3.0/legalcode)
|
[Attribution - NonCommercial - ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)](https://creativecommons.org/licenses/by-nc-sa/3.0/legalcode)
|
||||||
|
|
||||||
In short, you are free:
|
In short, you are free:
|
||||||
* to Share => to copy, distribute and transmit the work
|
|
||||||
* to Remix => to adapt the work
|
- to Share => to copy, distribute and transmit the work
|
||||||
Under the following conditions:
|
- to Remix => to adapt the work
|
||||||
* **Attribution:** You must attribute the work in the manner specified by the author or Licensor (but not in any way that suggests that they endorse you or your use of the work).
|
Under the following conditions:
|
||||||
* **Noncommercial:** You may not use this work for commercial purposes.
|
- **Attribution:** You must attribute the work in the manner specified by the author or Licensor (but not in any way that suggests that they endorse you or your use of the work).
|
||||||
* **Share Alike:** If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.
|
- **Noncommercial:** You may not use this work for commercial purposes.
|
||||||
|
- **Share Alike:** If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.
|
||||||
|
|
||||||
### **Disclaimer**
|
### **Disclaimer**
|
||||||
|
|
||||||
A user of SBFspot software acknowledges that he or she is receiving this software on an "as is" basis and the user is not relying on the accuracy or functionality of the software for any purpose. The user further acknowledges that any use of this software will be at his own risk and the copyright owner accepts no responsibility whatsoever arising from the use or application of the software.
|
A user of SBFspot software acknowledges that he or she is receiving this software on an "as is" basis and the user is not relying on the accuracy or functionality of the software for any purpose. The user further acknowledges that any use of this software will be at his own risk and the copyright owner accepts no responsibility whatsoever arising from the use or application of the software.
|
||||||
|
|
||||||
SMA, Speedwire are registered trademarks of [SMA Solar Technology AG](http://www.sma.de/en/company/about-sma.html)
|
SMA, Speedwire are registered trademarks of [SMA Solar Technology AG](http://www.sma.de/en/company/about-sma.html)
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
<!-- https://developers.home-assistant.io/docs/add-ons/presentation#keeping-a-changelog -->
|
<!-- https://developers.home-assistant.io/docs/add-ons/presentation#keeping-a-changelog -->
|
||||||
|
|
||||||
## 
|
## 
|
||||||
|
|
||||||
- tweaked the logging
|
- tweaked the logging
|
||||||
- Added **Bluetoothctl list** to log
|
- Added **Bluetoothctl list** to log
|
||||||
- Green
|
- Green
|
||||||
|
|
||||||
## ![Release][release-shield-2022-7-5]
|
## ![Release][release-shield-2022-7-5]
|
||||||
|
|
||||||
[release-shield-2022-7-5]: https://img.shields.io/badge/version-2022.7.5-blue.svg
|
[release-shield-2022-7-5]: https://img.shields.io/badge/version-2022.7.5-blue.svg
|
||||||
|
|
||||||
- Added LocalBTAddress to config
|
- Added LocalBTAddress to config
|
||||||
- SBFspot version 3.9.5 was released.
|
- SBFspot version 3.9.5 was released.
|
||||||
- Major changes for s6-Overlay v3 changes
|
- Major changes for s6-Overlay v3 changes
|
||||||
|
@ -14,27 +18,34 @@
|
||||||
- updated base containers to 3.16
|
- updated base containers to 3.16
|
||||||
|
|
||||||
## ![Release][release-shield-2022-3-5]
|
## ![Release][release-shield-2022-3-5]
|
||||||
|
|
||||||
[release-shield-2022-3-5]: https://img.shields.io/badge/version-2022.3.5-blue.svg
|
[release-shield-2022-3-5]: https://img.shields.io/badge/version-2022.3.5-blue.svg
|
||||||
|
|
||||||
- Add cronjob to update sensors if restart occurs.
|
- Add cronjob to update sensors if restart occurs.
|
||||||
- SBFspot version 3.9.4 was released.
|
- SBFspot version 3.9.4 was released.
|
||||||
|
|
||||||
## ![Release][release-shield-2022-3-4]
|
## ![Release][release-shield-2022-3-4]
|
||||||
|
|
||||||
[release-shield-2022-3-4]: https://img.shields.io/badge/version-2022.3.4-blue.svg
|
[release-shield-2022-3-4]: https://img.shields.io/badge/version-2022.3.4-blue.svg
|
||||||
|
|
||||||
- Better log handling for latest file.
|
- Better log handling for latest file.
|
||||||
- Set removal of old logs at 3 days.
|
- Set removal of old logs at 3 days.
|
||||||
|
|
||||||
## ![Release][release-shield-2022-3-3]
|
## ![Release][release-shield-2022-3-3]
|
||||||
|
|
||||||
[release-shield-2022-3-3]: https://img.shields.io/badge/version-2022.3.3-blue.svg
|
[release-shield-2022-3-3]: https://img.shields.io/badge/version-2022.3.3-blue.svg
|
||||||
|
|
||||||
- Upload logging moved to HA logging window.
|
- Upload logging moved to HA logging window.
|
||||||
- needs default /data/sbfspot/log directory.
|
- needs default /data/sbfspot/log directory.
|
||||||
- SBFspot version 3.9.3
|
- SBFspot version 3.9.3
|
||||||
|
|
||||||
## ![Release][release-shield-2022-3-2]
|
## ![Release][release-shield-2022-3-2]
|
||||||
|
|
||||||
[release-shield-2022-3-2]: https://img.shields.io/badge/version-2022.3.2-blue.svg
|
[release-shield-2022-3-2]: https://img.shields.io/badge/version-2022.3.2-blue.svg
|
||||||
|
|
||||||
- bug chasing
|
- bug chasing
|
||||||
- SBFspot version 3.9.3
|
- SBFspot version 3.9.3
|
||||||
|
|
||||||
|
|
||||||
## ![Release][release-shield]
|
## ![Release][release-shield]
|
||||||
|
|
||||||
[release-shield]: https://img.shields.io/badge/version-2022.3.1-blue.svg
|
[release-shield]: https://img.shields.io/badge/version-2022.3.1-blue.svg
|
||||||
|
@ -42,10 +53,8 @@
|
||||||
- SBFspot version 3.9.3
|
- SBFspot version 3.9.3
|
||||||
- Initial release
|
- Initial release
|
||||||
- Rebuilt to multi stage docker containter.
|
- Rebuilt to multi stage docker containter.
|
||||||
- This saves ~450MB on the final image.
|
- This saves ~450MB on the final image.
|
||||||
- Is using base HA alpine container and s6 Overlay, so should be fully compatible with HAOS.
|
- Is using base HA alpine container and s6 Overlay, so should be fully compatible with HAOS.
|
||||||
- Doesn't require complicated USER setups.
|
- Doesn't require complicated USER setups.
|
||||||
|
|
||||||
- I'm no programmer, so apologies if I break something along the way
|
- I'm no programmer, so apologies if I break something along the way
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
# https://developers.home-assistant.io/docs/add-ons/repository#repository-configuration
|
# https://developers.home-assistant.io/docs/add-ons/repository#repository-configuration
|
||||||
name: SBFspot for HA
|
name: SBFspot for HA
|
||||||
url: 'https://github.com/habuild/hassio-addons'
|
url: "https://github.com/habuild/hassio-addons"
|
||||||
maintainer: HasQT <https://community.home-assistant.io/u/hasqt>
|
maintainer: HasQT <https://community.home-assistant.io/u/hasqt>
|
||||||
|
|
|
@ -1,40 +1,51 @@
|
||||||
<!-- https://developers.home-assistant.io/docs/add-ons/presentation#keeping-a-changelog -->
|
<!-- https://developers.home-assistant.io/docs/add-ons/presentation#keeping-a-changelog -->
|
||||||
|
|
||||||
## 
|
## 
|
||||||
|
|
||||||
- THIS IS CONSIDERED A TEST BRANCH
|
- THIS IS CONSIDERED A TEST BRANCH
|
||||||
- bump for testing
|
- bump for testing
|
||||||
- add changes for s6 overlay version 3 requirements
|
- add changes for s6 overlay version 3 requirements
|
||||||
- add local BT address option (use bluetoothctl to find your address)
|
- add local BT address option (use bluetoothctl to find your address)
|
||||||
|
|
||||||
## ![Release][release-shield-2022-3-6]
|
## ![Release][release-shield-2022-3-6]
|
||||||
|
|
||||||
[release-shield-2022-3-6]: https://img.shields.io/badge/version-2022.3.6-blue.svg
|
[release-shield-2022-3-6]: https://img.shields.io/badge/version-2022.3.6-blue.svg
|
||||||
|
|
||||||
- THIS IS CONSIDERED A TEST BRANCH
|
- THIS IS CONSIDERED A TEST BRANCH
|
||||||
- bump for testing
|
- bump for testing
|
||||||
- moved to test build to match HAOS-SBFspot version
|
- moved to test build to match HAOS-SBFspot version
|
||||||
|
|
||||||
## ![Release][release-shield-2022-3-5]
|
## ![Release][release-shield-2022-3-5]
|
||||||
|
|
||||||
[release-shield-2022-3-5]: https://img.shields.io/badge/version-2022.3.5-blue.svg
|
[release-shield-2022-3-5]: https://img.shields.io/badge/version-2022.3.5-blue.svg
|
||||||
|
|
||||||
- Add cronjob to update sensors on restart
|
- Add cronjob to update sensors on restart
|
||||||
- SBFspot version 3.9.4
|
- SBFspot version 3.9.4
|
||||||
- Deprecation warning
|
- Deprecation warning
|
||||||
- This version offers little benefit over the alternative available.
|
- This version offers little benefit over the alternative available.
|
||||||
|
|
||||||
## ![Release][release-shield-2022-3-4]
|
## ![Release][release-shield-2022-3-4]
|
||||||
|
|
||||||
[release-shield-2022-3-4]: https://img.shields.io/badge/version-2022.3.4-blue.svg
|
[release-shield-2022-3-4]: https://img.shields.io/badge/version-2022.3.4-blue.svg
|
||||||
|
|
||||||
- Better log handling for latest file.
|
- Better log handling for latest file.
|
||||||
- Set removal of old logs at 3 days.
|
- Set removal of old logs at 3 days.
|
||||||
|
|
||||||
## ![Release][release-shield-2022-3-3]
|
## ![Release][release-shield-2022-3-3]
|
||||||
|
|
||||||
[release-shield-2022-3-3]: https://img.shields.io/badge/version-2022.3.3-blue.svg
|
[release-shield-2022-3-3]: https://img.shields.io/badge/version-2022.3.3-blue.svg
|
||||||
|
|
||||||
- Upload logging moved to HA logging window.
|
- Upload logging moved to HA logging window.
|
||||||
- needs default /data/sbfspot/log directory.
|
- needs default /data/sbfspot/log directory.
|
||||||
- SBFspot version 3.9.3
|
- SBFspot version 3.9.3
|
||||||
|
|
||||||
## ![Release][release-shield-2022-3-2]
|
## ![Release][release-shield-2022-3-2]
|
||||||
|
|
||||||
[release-shield-2022-3-2]: https://img.shields.io/badge/version-2022.3.2-blue.svg
|
[release-shield-2022-3-2]: https://img.shields.io/badge/version-2022.3.2-blue.svg
|
||||||
|
|
||||||
- bug chasing
|
- bug chasing
|
||||||
- SBFspot version 3.9.3
|
- SBFspot version 3.9.3
|
||||||
|
|
||||||
|
|
||||||
## ![Release][release-shield]
|
## ![Release][release-shield]
|
||||||
|
|
||||||
[release-shield]: https://img.shields.io/badge/version-2022.3.1-blue.svg
|
[release-shield]: https://img.shields.io/badge/version-2022.3.1-blue.svg
|
||||||
|
@ -42,11 +53,8 @@
|
||||||
- SBFspot version 3.9.3
|
- SBFspot version 3.9.3
|
||||||
- Initial release
|
- Initial release
|
||||||
- Rebuilt to multi stage docker containter.
|
- Rebuilt to multi stage docker containter.
|
||||||
- This saves ~450MB on the final image.
|
- This saves ~450MB on the final image.
|
||||||
- Is using base HA alpine container and s6 Overlay, so should be fully compatible with HAOS.
|
- Is using base HA alpine container and s6 Overlay, so should be fully compatible with HAOS.
|
||||||
- Doesn't require complicated USER setups.
|
- Doesn't require complicated USER setups.
|
||||||
|
|
||||||
- I'm no programmer, so apologies if I break something along the way
|
- I'm no programmer, so apologies if I break something along the way
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -16,11 +16,13 @@ It also sends a MQTT message to home assistant, therefore a MQTT broker is requi
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
### Initial database creation.
|
### Initial database creation.
|
||||||
|
|
||||||
Download and import either [No Drop DB create](https://github.com/habuild/hassio-addons/blob/main/.images/CreateMySQLDB_no_drop.sql) **or** [Create My SQL.sql](https://github.com/SBFspot/SBFspot/blob/master/SBFspot/CreateMySQLDB.sql) in [phpMyAdmin](https://github.com/hassio-addons/addon-phpmyadmin) to create your database. **IF** you haven't already created the database previously, use the NO Drop version. You will also need to add the Database and User/Password to MariaDB and allocate the port.
|
Download and import either [No Drop DB create](https://github.com/habuild/hassio-addons/blob/main/.images/CreateMySQLDB_no_drop.sql) **or** [Create My SQL.sql](https://github.com/SBFspot/SBFspot/blob/master/SBFspot/CreateMySQLDB.sql) in [phpMyAdmin](https://github.com/hassio-addons/addon-phpmyadmin) to create your database. **IF** you haven't already created the database previously, use the NO Drop version. You will also need to add the Database and User/Password to MariaDB and allocate the port.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### MQTT
|
### MQTT
|
||||||
|
|
||||||
[sbfspot_sensors.yaml](https://github.com/habuild/hassio-addons/blob/main/.images/sbfspot_sensors.yaml) I use packages to include these yaml sensors. You will need to change to match your plant name and serial as you have set in the add-on configuration options.
|
[sbfspot_sensors.yaml](https://github.com/habuild/hassio-addons/blob/main/.images/sbfspot_sensors.yaml) I use packages to include these yaml sensors. You will need to change to match your plant name and serial as you have set in the add-on configuration options.
|
||||||
|
|
||||||
**MQTT argument options** [configuration options](https://github.com/habuild/hassio-addons/blob/main/.images/Example_Config.yaml) The MQTT Username, and Password need to be hardcoded into the **MQTT_PublisherArgs:** The **{host}** **{topic}** and **{{message}}** will be picked up from options.
|
**MQTT argument options** [configuration options](https://github.com/habuild/hassio-addons/blob/main/.images/Example_Config.yaml) The MQTT Username, and Password need to be hardcoded into the **MQTT_PublisherArgs:** The **{host}** **{topic}** and **{{message}}** will be picked up from options.
|
||||||
|
@ -31,23 +33,27 @@ Download and import either [No Drop DB create](https://github.com/habuild/hassio
|
||||||
|
|
||||||
**-r** is to retain messages. retain is not advised.
|
**-r** is to retain messages. retain is not advised.
|
||||||
|
|
||||||
|
|
||||||
### Example Configuration Options.
|
### Example Configuration Options.
|
||||||
|
|
||||||
can be copy/pasted as [Example Config](https://github.com/habuild/hassio-addons/blob/main/.images/Example_Config.yaml) or entered via UI
|
can be copy/pasted as [Example Config](https://github.com/habuild/hassio-addons/blob/main/.images/Example_Config.yaml) or entered via UI
|
||||||

|

|
||||||
|
|
||||||
### Data paths
|
### Data paths
|
||||||
In docker the /data/ path arrives at /usr/share/hassio/addons/data/slug#_sbfspot on the host.
|
|
||||||
|
In docker the /data/ path arrives at /usr/share/hassio/addons/data/slug#\_sbfspot on the host.
|
||||||
|
|
||||||
### Upload logs
|
### Upload logs
|
||||||
|
|
||||||
The log file here may need to be cleaned up manually.
|
The log file here may need to be cleaned up manually.
|
||||||
|
|
||||||
### **Link to SBFspot Documentation**
|
### **Link to SBFspot Documentation**
|
||||||
|
|
||||||
Refer to the [Wiki](https://github.com/SBFspot/SBFspot/wiki) for documentation and FAQ.
|
Refer to the [Wiki](https://github.com/SBFspot/SBFspot/wiki) for documentation and FAQ.
|
||||||
|
|
||||||
### **Special thanks to:**
|
### **Special thanks to:**
|
||||||
* LauR3y/hassio-addons which this version is cleaned up from.
|
|
||||||
* The SBFspot team for SPFspot.
|
|
||||||
|
|
||||||
|
- LauR3y/hassio-addons which this version is cleaned up from.
|
||||||
|
- The SBFspot team for SPFspot.
|
||||||
|
|
||||||
![Supports aarch64 Architecture][aarch64-shield]
|
![Supports aarch64 Architecture][aarch64-shield]
|
||||||
![Supports armhf Architecture][armhf-shield]
|
![Supports armhf Architecture][armhf-shield]
|
||||||
|
|
|
@ -16,11 +16,13 @@ It also sends a MQTT message to home assistant, therefore a MQTT broker is requi
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
### Initial database creation.
|
### Initial database creation.
|
||||||
|
|
||||||
Download and import either [No Drop DB create](https://github.com/habuild/hassio-addons/blob/main/.images/CreateMySQLDB_no_drop.sql) **or** [Create My SQL.sql](https://github.com/SBFspot/SBFspot/blob/master/SBFspot/CreateMySQLDB.sql) in [phpMyAdmin](https://github.com/hassio-addons/addon-phpmyadmin) to create your database. **IF** you haven't already created the database previously, use the NO Drop version. You will also need to add the Database and User/Password to MariaDB and allocate the port.
|
Download and import either [No Drop DB create](https://github.com/habuild/hassio-addons/blob/main/.images/CreateMySQLDB_no_drop.sql) **or** [Create My SQL.sql](https://github.com/SBFspot/SBFspot/blob/master/SBFspot/CreateMySQLDB.sql) in [phpMyAdmin](https://github.com/hassio-addons/addon-phpmyadmin) to create your database. **IF** you haven't already created the database previously, use the NO Drop version. You will also need to add the Database and User/Password to MariaDB and allocate the port.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### MQTT
|
### MQTT
|
||||||
|
|
||||||
[sbfspot_sensors.yaml](https://github.com/habuild/hassio-addons/blob/main/.images/sbfspot_sensors.yaml) I use packages to include these yaml sensors. You will need to change to match your plant name and serial as you have set in the add-on configuration options.
|
[sbfspot_sensors.yaml](https://github.com/habuild/hassio-addons/blob/main/.images/sbfspot_sensors.yaml) I use packages to include these yaml sensors. You will need to change to match your plant name and serial as you have set in the add-on configuration options.
|
||||||
|
|
||||||
**MQTT argument options** [configuration options](https://github.com/habuild/hassio-addons/blob/main/.images/Example_Config.yaml) The MQTT Username, and Password need to be hardcoded into the **MQTT_PublisherArgs:** The **{host}** **{topic}** and **{{message}}** will be picked up from options.
|
**MQTT argument options** [configuration options](https://github.com/habuild/hassio-addons/blob/main/.images/Example_Config.yaml) The MQTT Username, and Password need to be hardcoded into the **MQTT_PublisherArgs:** The **{host}** **{topic}** and **{{message}}** will be picked up from options.
|
||||||
|
@ -32,6 +34,7 @@ Download and import either [No Drop DB create](https://github.com/habuild/hassio
|
||||||
**-r** is to retain messages. retain is not advised.
|
**-r** is to retain messages. retain is not advised.
|
||||||
|
|
||||||
### Find your Local BT device address with Bluetoothctl
|
### Find your Local BT device address with Bluetoothctl
|
||||||
|
|
||||||
You can use the **bluetoothctl** command from the console(terminal or ssh addon) in homeassistant. This will list your controller mac address so you can add it to SBFspot addon config.
|
You can use the **bluetoothctl** command from the console(terminal or ssh addon) in homeassistant. This will list your controller mac address so you can add it to SBFspot addon config.
|
||||||
|
|
||||||
### Example Configuration Options.
|
### Example Configuration Options.
|
||||||
|
@ -40,17 +43,21 @@ Config can be copy/pasted as [Example Config](https://github.com/habuild/hassio-
|
||||||

|

|
||||||
|
|
||||||
### Data paths
|
### Data paths
|
||||||
In docker the /data/ path arrives at /usr/share/hassio/addons/data/slug#_sbfspot on the host.
|
|
||||||
|
In docker the /data/ path arrives at /usr/share/hassio/addons/data/slug#\_sbfspot on the host.
|
||||||
|
|
||||||
### Upload logs
|
### Upload logs
|
||||||
|
|
||||||
The log file here may need to be cleaned up manually.
|
The log file here may need to be cleaned up manually.
|
||||||
|
|
||||||
### **Link to SBFspot Documentation**
|
### **Link to SBFspot Documentation**
|
||||||
|
|
||||||
Refer to the [Wiki](https://github.com/SBFspot/SBFspot/wiki) for documentation and FAQ.
|
Refer to the [Wiki](https://github.com/SBFspot/SBFspot/wiki) for documentation and FAQ.
|
||||||
|
|
||||||
### **Special thanks to:**
|
### **Special thanks to:**
|
||||||
* LauR3y/hassio-addons which this version is cleaned up from.
|
|
||||||
* The SBFspot team for SPFspot.
|
|
||||||
|
|
||||||
|
- LauR3y/hassio-addons which this version is cleaned up from.
|
||||||
|
- The SBFspot team for SPFspot.
|
||||||
|
|
||||||
![Supports aarch64 Architecture][aarch64-shield]
|
![Supports aarch64 Architecture][aarch64-shield]
|
||||||
![Supports armhf Architecture][armhf-shield]
|
![Supports armhf Architecture][armhf-shield]
|
||||||
|
|
|
@ -8,100 +8,100 @@
|
||||||
"init": false,
|
"init": false,
|
||||||
"stage": "deprecated",
|
"stage": "deprecated",
|
||||||
"options": {
|
"options": {
|
||||||
"BTAddress": "null",
|
"BTAddress": "null",
|
||||||
"Password": "0000",
|
"Password": "0000",
|
||||||
"LocalBTAddress":"00:00:00:00:00:00",
|
"LocalBTAddress": "00:00:00:00:00:00",
|
||||||
"MIS_Enabled": 0,
|
"MIS_Enabled": 0,
|
||||||
"Plantname": "MyPlant",
|
"Plantname": "MyPlant",
|
||||||
"OutputPath": "/data/sbfspot/%Y",
|
"OutputPath": "/data/sbfspot/%Y",
|
||||||
"OutputPathEvents": "/data/sbfspot/%Y/events",
|
"OutputPathEvents": "/data/sbfspot/%Y/events",
|
||||||
"Latitude": "null",
|
"Latitude": "null",
|
||||||
"Longitude": "null",
|
"Longitude": "null",
|
||||||
"CalculateMissingSpotValues": 1,
|
"CalculateMissingSpotValues": 1,
|
||||||
"DateTimeFormat": "%d/%m/%Y %H:%M:%S",
|
"DateTimeFormat": "%d/%m/%Y %H:%M:%S",
|
||||||
"DateFormat": "%d/%m/%Y",
|
"DateFormat": "%d/%m/%Y",
|
||||||
"DecimalPoint": "comma",
|
"DecimalPoint": "comma",
|
||||||
"TimeFormat": "%H:%M:%S",
|
"TimeFormat": "%H:%M:%S",
|
||||||
"SynchTime": 0,
|
"SynchTime": 0,
|
||||||
"SynchTimeLow": 1,
|
"SynchTimeLow": 1,
|
||||||
"SynchTimeHigh": 3600,
|
"SynchTimeHigh": 3600,
|
||||||
"SunRSOffset": 900,
|
"SunRSOffset": 900,
|
||||||
"Locale": "en-US",
|
"Locale": "en-US",
|
||||||
"Timezone": "Europe/Brussels",
|
"Timezone": "Europe/Brussels",
|
||||||
"BTConnectRetries": 10,
|
"BTConnectRetries": 10,
|
||||||
"CSV_Export": 0,
|
"CSV_Export": 0,
|
||||||
"CSV_ExtendedHeader": 1,
|
"CSV_ExtendedHeader": 1,
|
||||||
"CSV_Header": 1,
|
"CSV_Header": 1,
|
||||||
"CSV_SaveZeroPower": 1,
|
"CSV_SaveZeroPower": 1,
|
||||||
"CSV_Delimiter": "semicolon",
|
"CSV_Delimiter": "semicolon",
|
||||||
"CSV_Spot_TimeSource": "Inverter",
|
"CSV_Spot_TimeSource": "Inverter",
|
||||||
"CSV_Spot_WebboxHeader": 0,
|
"CSV_Spot_WebboxHeader": 0,
|
||||||
"SQL_Database": "null",
|
"SQL_Database": "null",
|
||||||
"SQL_Hostname": "core-mariadb",
|
"SQL_Hostname": "core-mariadb",
|
||||||
"SQL_Port": "3306",
|
"SQL_Port": "3306",
|
||||||
"SQL_Username": "null",
|
"SQL_Username": "null",
|
||||||
"SQL_Password": null,
|
"SQL_Password": null,
|
||||||
"MQTT_Publisher": "/usr/bin/mosquitto_pub",
|
"MQTT_Publisher": "/usr/bin/mosquitto_pub",
|
||||||
"MQTT_Host": "core-mosquitto",
|
"MQTT_Host": "core-mosquitto",
|
||||||
"MQTT_Port": "null",
|
"MQTT_Port": "null",
|
||||||
"MQTT_Topic": "homeassistant/sbfspot_{plantname}/sbfspot_{serial}",
|
"MQTT_Topic": "homeassistant/sbfspot_{plantname}/sbfspot_{serial}",
|
||||||
"MQTT_ItemFormat": "\"{key}\": {value}",
|
"MQTT_ItemFormat": "\"{key}\": {value}",
|
||||||
"MQTT_ItemDelimiter": "comma",
|
"MQTT_ItemDelimiter": "comma",
|
||||||
"MQTT_PublisherArgs": "-h {host} -u {MQTT_Username} -P {MQTT_Password} -t {topic} -m \"{{message}}\" -d",
|
"MQTT_PublisherArgs": "-h {host} -u {MQTT_Username} -P {MQTT_Password} -t {topic} -m \"{{message}}\" -d",
|
||||||
"MQTT_Data": "Timestamp,SunRise,SunSet,InvSerial,InvName,InvTime,InvStatus,InvTemperature,InvGridRelay,EToday,ETotal,GridFreq,PACTot,UDC1,UDC2,IDC1,IDC2,PDC1,PDC2",
|
"MQTT_Data": "Timestamp,SunRise,SunSet,InvSerial,InvName,InvTime,InvStatus,InvTemperature,InvGridRelay,EToday,ETotal,GridFreq,PACTot,UDC1,UDC2,IDC1,IDC2,PDC1,PDC2",
|
||||||
"LogDir": "/data/sbfspot/log",
|
"LogDir": "/data/sbfspot/log",
|
||||||
"LogLevel": "info",
|
"LogLevel": "info",
|
||||||
"PVoutput_SID": null,
|
"PVoutput_SID": null,
|
||||||
"PVoutput_Key": null,
|
"PVoutput_Key": null,
|
||||||
"MQTT_ENABLE": "1"
|
"MQTT_ENABLE": "1"
|
||||||
},
|
},
|
||||||
"schema": {
|
"schema": {
|
||||||
"BTAddress": "str",
|
"BTAddress": "str",
|
||||||
"Password": "str",
|
"Password": "str",
|
||||||
"LocalBTAddress":"str",
|
"LocalBTAddress": "str",
|
||||||
"MIS_Enabled": "int",
|
"MIS_Enabled": "int",
|
||||||
"Plantname": "str",
|
"Plantname": "str",
|
||||||
"OutputPath": "str",
|
"OutputPath": "str",
|
||||||
"OutputPathEvents": "str",
|
"OutputPathEvents": "str",
|
||||||
"Latitude": "float",
|
"Latitude": "float",
|
||||||
"Longitude": "float",
|
"Longitude": "float",
|
||||||
"CalculateMissingSpotValues": "int",
|
"CalculateMissingSpotValues": "int",
|
||||||
"DateTimeFormat": "str",
|
"DateTimeFormat": "str",
|
||||||
"DateFormat": "str",
|
"DateFormat": "str",
|
||||||
"DecimalPoint": "str",
|
"DecimalPoint": "str",
|
||||||
"TimeFormat": "str",
|
"TimeFormat": "str",
|
||||||
"SynchTime": "int",
|
"SynchTime": "int",
|
||||||
"SynchTimeLow": "int",
|
"SynchTimeLow": "int",
|
||||||
"SynchTimeHigh": "int",
|
"SynchTimeHigh": "int",
|
||||||
"SunRSOffset": "int",
|
"SunRSOffset": "int",
|
||||||
"Locale": "str",
|
"Locale": "str",
|
||||||
"Timezone": "str",
|
"Timezone": "str",
|
||||||
"BTConnectRetries": "int",
|
"BTConnectRetries": "int",
|
||||||
"CSV_Export": "int",
|
"CSV_Export": "int",
|
||||||
"CSV_ExtendedHeader": "int",
|
"CSV_ExtendedHeader": "int",
|
||||||
"CSV_Header": "int",
|
"CSV_Header": "int",
|
||||||
"CSV_SaveZeroPower": "int",
|
"CSV_SaveZeroPower": "int",
|
||||||
"CSV_Delimiter": "str",
|
"CSV_Delimiter": "str",
|
||||||
"CSV_Spot_TimeSource": "str",
|
"CSV_Spot_TimeSource": "str",
|
||||||
"CSV_Spot_WebboxHeader": "int",
|
"CSV_Spot_WebboxHeader": "int",
|
||||||
"SQL_Database": "str",
|
"SQL_Database": "str",
|
||||||
"SQL_Hostname": "str",
|
"SQL_Hostname": "str",
|
||||||
"SQL_Port": "str",
|
"SQL_Port": "str",
|
||||||
"SQL_Username": "str",
|
"SQL_Username": "str",
|
||||||
"SQL_Password": "str",
|
"SQL_Password": "str",
|
||||||
"MQTT_Publisher": "str",
|
"MQTT_Publisher": "str",
|
||||||
"MQTT_Host": "str",
|
"MQTT_Host": "str",
|
||||||
"MQTT_Port": "str",
|
"MQTT_Port": "str",
|
||||||
"MQTT_Topic": "str",
|
"MQTT_Topic": "str",
|
||||||
"MQTT_ItemFormat": "str",
|
"MQTT_ItemFormat": "str",
|
||||||
"MQTT_ItemDelimiter": "str",
|
"MQTT_ItemDelimiter": "str",
|
||||||
"MQTT_PublisherArgs": "str",
|
"MQTT_PublisherArgs": "str",
|
||||||
"MQTT_Data": "str",
|
"MQTT_Data": "str",
|
||||||
"LogDir": "str",
|
"LogDir": "str",
|
||||||
"LogLevel": "str",
|
"LogLevel": "str",
|
||||||
"PVoutput_SID": "str",
|
"PVoutput_SID": "str",
|
||||||
"PVoutput_Key": "str",
|
"PVoutput_Key": "str",
|
||||||
"MQTT_ENABLE": "int"
|
"MQTT_ENABLE": "int"
|
||||||
},
|
},
|
||||||
"host_network": true,
|
"host_network": true,
|
||||||
"host_dbus": true,
|
"host_dbus": true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue