Prettified Code!
This commit is contained in:
parent
3d93f8863b
commit
0a185b6707
14 changed files with 340 additions and 293 deletions
10
.github/ISSUE_TEMPLATE/bug_report.md
vendored
10
.github/ISSUE_TEMPLATE/bug_report.md
vendored
|
@ -1,10 +1,9 @@
|
|||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
title: ""
|
||||
labels: ""
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
|
@ -12,6 +11,7 @@ A clear and concise description of what the bug is.
|
|||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
|
@ -24,11 +24,13 @@ A clear and concise description of what you expected to happen.
|
|||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Desktop (please complete the following information):**
|
||||
|
||||
- OS: [e.g. iOS]
|
||||
- Browser [e.g. chrome, safari]
|
||||
- Version [e.g. 22]
|
||||
|
||||
**Smartphone (please complete the following information):**
|
||||
|
||||
- Device: [e.g. iPhone6]
|
||||
- OS: [e.g. iOS8.1]
|
||||
- Browser [e.g. stock browser, safari]
|
||||
|
|
7
.github/ISSUE_TEMPLATE/feature_request.md
vendored
7
.github/ISSUE_TEMPLATE/feature_request.md
vendored
|
@ -1,10 +1,9 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
title: ""
|
||||
labels: ""
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
|
|
|
@ -5,12 +5,12 @@ mqtt:
|
|||
sensor:
|
||||
- name: "SMA Sunny Boy"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.InvName }}'
|
||||
value_template: "{{ value_json.InvName }}"
|
||||
icon: "mdi:flash"
|
||||
|
||||
- name: "SMA TimeStamp"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.Timestamp }}'
|
||||
value_template: "{{ value_json.Timestamp }}"
|
||||
icon: "mdi:clock"
|
||||
|
||||
- name: "SMA Sun Rise"
|
||||
|
@ -20,29 +20,29 @@ mqtt:
|
|||
|
||||
- name: "SMA Sun Set"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.SunSet }}'
|
||||
value_template: "{{ value_json.SunSet }}"
|
||||
icon: "mdi:weather-sunset-down"
|
||||
|
||||
- name: "SMA Running Temp"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.InvTemperature }}'
|
||||
value_template: "{{ value_json.InvTemperature }}"
|
||||
unit_of_measurement: "°C"
|
||||
icon: "mdi:coolant-temperature"
|
||||
device_class: temperature
|
||||
|
||||
- name: "SMA Status"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.InvStatus }}'
|
||||
value_template: "{{ value_json.InvStatus }}"
|
||||
icon: "mdi:flash"
|
||||
|
||||
- name: "SMA Grid Relay"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.InvGridRelay }}'
|
||||
value_template: "{{ value_json.InvGridRelay }}"
|
||||
icon: "mdi:electric-switch"
|
||||
|
||||
- name: "SMA Daily Energy"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.EToday }}'
|
||||
value_template: "{{ value_json.EToday }}"
|
||||
unit_of_measurement: "kWh"
|
||||
icon: "mdi:solar-power"
|
||||
device_class: energy
|
||||
|
@ -50,14 +50,14 @@ mqtt:
|
|||
|
||||
- name: "SMA Total Energy"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.ETotal }}'
|
||||
value_template: "{{ value_json.ETotal }}"
|
||||
unit_of_measurement: "kWh"
|
||||
device_class: energy
|
||||
state_class: total_increasing
|
||||
|
||||
- name: "SMA Power AC"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.PACTot }}'
|
||||
value_template: "{{ value_json.PACTot }}"
|
||||
unit_of_measurement: "W"
|
||||
icon: "mdi:flash"
|
||||
device_class: power
|
||||
|
@ -65,49 +65,49 @@ mqtt:
|
|||
|
||||
- name: "SMA DC Array"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.UDC1 }}'
|
||||
value_template: "{{ value_json.UDC1 }}"
|
||||
unit_of_measurement: "Volts"
|
||||
icon: "mdi:solar-panel-large"
|
||||
device_class: voltage
|
||||
|
||||
- name: "SMA DC Array2"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.UDC2 }}'
|
||||
value_template: "{{ value_json.UDC2 }}"
|
||||
unit_of_measurement: "Volts"
|
||||
icon: "mdi:solar-panel"
|
||||
device_class: voltage
|
||||
|
||||
- name: "SMA DC Array"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.IDC1 }}'
|
||||
value_template: "{{ value_json.IDC1 }}"
|
||||
unit_of_measurement: "Amps"
|
||||
icon: "mdi:solar-panel-large"
|
||||
device_class: current
|
||||
|
||||
- name: "SMA DC Array2"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.IDC2 }}'
|
||||
value_template: "{{ value_json.IDC2 }}"
|
||||
unit_of_measurement: "Amps"
|
||||
icon: "mdi:solar-panel"
|
||||
device_class: current
|
||||
|
||||
- name: "SMA DC Array"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.PDC1 }}'
|
||||
value_template: "{{ value_json.PDC1 }}"
|
||||
unit_of_measurement: "Watts"
|
||||
icon: "mdi:solar-panel-large"
|
||||
device_class: power
|
||||
|
||||
- name: "SMA DC Array2"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.PDC2 }}'
|
||||
value_template: "{{ value_json.PDC2 }}"
|
||||
unit_of_measurement: "Watts"
|
||||
icon: "mdi:solar-panel"
|
||||
device_class: power
|
||||
|
||||
- name: "SMA Grid Frequency"
|
||||
state_topic: "homeassistant/sbfspot_Inverter_name/sbfspot_Serial_no"
|
||||
value_template: '{{ value_json.GridFreq }}'
|
||||
value_template: "{{ value_json.GridFreq }}"
|
||||
unit_of_measurement: "Hz"
|
||||
icon: "mdi:transmission-tower"
|
||||
device_class: frequency
|
||||
|
|
26
README.md
26
README.md
|
@ -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.
|
||||
|
||||
# Installation and configuration
|
||||
|
||||
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.
|
||||
|
@ -21,10 +22,12 @@ Fill in the config details to setup Inverter connection, Database, MQTT , and Up
|
|||
Start the addon
|
||||
|
||||
## [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.
|
||||
|
||||
### [Installation](https://github.com/habuild/hassio-addons/blob/main/haos-sbfspot/README.md)
|
||||
|
||||
## [SBFspot](./sbfspot)
|
||||
|
@ -57,6 +60,7 @@ Notes to developers after forking or using the github template feature:
|
|||
## 
|
||||
|
||||
## ToDo List
|
||||
|
||||
### Fix
|
||||
|
||||
- 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
|
||||
|
||||
# Special Thanks To:
|
||||
|
||||
SBFspot
|
||||
https://github.com/SBFspot/SBFspot
|
||||
|
||||
|
@ -77,23 +82,30 @@ LauR3y for sbfspot addon
|
|||
https://github.com/LauR3y/hassio-addons
|
||||
|
||||
## 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)]
|
||||
|
||||
### **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.
|
||||
|
||||
### **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.
|
||||
A separate service/daemon uploads the collected data to [PVoutput.org](https://pvoutput.org)
|
||||
|
||||
### **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).
|
||||
|
||||
### **Documentation**
|
||||
|
||||
Refer to the [Wiki](https://github.com/SBFspot/SBFspot/wiki) for documentation and FAQ.
|
||||
|
||||
### **Special thanks to:**
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
### **Donations**
|
||||
|
||||
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.
|
||||
|
||||
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3R5JSRCXBGSLQ)
|
||||
|
||||
### **License**
|
||||
|
||||
[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:
|
||||
* to Share => to copy, distribute and transmit the work
|
||||
* to Remix => to adapt the work
|
||||
|
||||
- to Share => to copy, distribute and transmit the work
|
||||
- to Remix => to adapt the work
|
||||
Under the following conditions:
|
||||
* **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).
|
||||
* **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.
|
||||
- **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).
|
||||
- **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**
|
||||
|
||||
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)
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
<!-- https://developers.home-assistant.io/docs/add-ons/presentation#keeping-a-changelog -->
|
||||
|
||||
## 
|
||||
|
||||
- tweaked the logging
|
||||
- Added **Bluetoothctl list** to log
|
||||
- Green
|
||||
|
||||
## ![Release][release-shield-2022-7-5]
|
||||
|
||||
[release-shield-2022-7-5]: https://img.shields.io/badge/version-2022.7.5-blue.svg
|
||||
|
||||
- Added LocalBTAddress to config
|
||||
- SBFspot version 3.9.5 was released.
|
||||
- Major changes for s6-Overlay v3 changes
|
||||
|
@ -14,27 +18,34 @@
|
|||
- updated base containers to 3.16
|
||||
|
||||
## ![Release][release-shield-2022-3-5]
|
||||
|
||||
[release-shield-2022-3-5]: https://img.shields.io/badge/version-2022.3.5-blue.svg
|
||||
|
||||
- Add cronjob to update sensors if restart occurs.
|
||||
- SBFspot version 3.9.4 was released.
|
||||
|
||||
## ![Release][release-shield-2022-3-4]
|
||||
|
||||
[release-shield-2022-3-4]: https://img.shields.io/badge/version-2022.3.4-blue.svg
|
||||
|
||||
- Better log handling for latest file.
|
||||
- Set removal of old logs at 3 days.
|
||||
|
||||
## ![Release][release-shield-2022-3-3]
|
||||
|
||||
[release-shield-2022-3-3]: https://img.shields.io/badge/version-2022.3.3-blue.svg
|
||||
|
||||
- Upload logging moved to HA logging window.
|
||||
- needs default /data/sbfspot/log directory.
|
||||
- SBFspot version 3.9.3
|
||||
|
||||
## ![Release][release-shield-2022-3-2]
|
||||
|
||||
[release-shield-2022-3-2]: https://img.shields.io/badge/version-2022.3.2-blue.svg
|
||||
|
||||
- bug chasing
|
||||
- SBFspot version 3.9.3
|
||||
|
||||
|
||||
## ![Release][release-shield]
|
||||
|
||||
[release-shield]: https://img.shields.io/badge/version-2022.3.1-blue.svg
|
||||
|
@ -47,5 +58,3 @@
|
|||
- Doesn't require complicated USER setups.
|
||||
|
||||
- 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
|
||||
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>
|
||||
|
|
|
@ -1,40 +1,51 @@
|
|||
<!-- https://developers.home-assistant.io/docs/add-ons/presentation#keeping-a-changelog -->
|
||||
|
||||
## 
|
||||
|
||||
- THIS IS CONSIDERED A TEST BRANCH
|
||||
- bump for testing
|
||||
- add changes for s6 overlay version 3 requirements
|
||||
- add local BT address option (use bluetoothctl to find your address)
|
||||
|
||||
## ![Release][release-shield-2022-3-6]
|
||||
|
||||
[release-shield-2022-3-6]: https://img.shields.io/badge/version-2022.3.6-blue.svg
|
||||
|
||||
- THIS IS CONSIDERED A TEST BRANCH
|
||||
- bump for testing
|
||||
- moved to test build to match HAOS-SBFspot version
|
||||
|
||||
## ![Release][release-shield-2022-3-5]
|
||||
|
||||
[release-shield-2022-3-5]: https://img.shields.io/badge/version-2022.3.5-blue.svg
|
||||
|
||||
- Add cronjob to update sensors on restart
|
||||
- SBFspot version 3.9.4
|
||||
- Deprecation warning
|
||||
- This version offers little benefit over the alternative available.
|
||||
|
||||
## ![Release][release-shield-2022-3-4]
|
||||
|
||||
[release-shield-2022-3-4]: https://img.shields.io/badge/version-2022.3.4-blue.svg
|
||||
|
||||
- Better log handling for latest file.
|
||||
- Set removal of old logs at 3 days.
|
||||
|
||||
## ![Release][release-shield-2022-3-3]
|
||||
|
||||
[release-shield-2022-3-3]: https://img.shields.io/badge/version-2022.3.3-blue.svg
|
||||
|
||||
- Upload logging moved to HA logging window.
|
||||
- needs default /data/sbfspot/log directory.
|
||||
- SBFspot version 3.9.3
|
||||
|
||||
## ![Release][release-shield-2022-3-2]
|
||||
|
||||
[release-shield-2022-3-2]: https://img.shields.io/badge/version-2022.3.2-blue.svg
|
||||
|
||||
- bug chasing
|
||||
- SBFspot version 3.9.3
|
||||
|
||||
|
||||
## ![Release][release-shield]
|
||||
|
||||
[release-shield]: https://img.shields.io/badge/version-2022.3.1-blue.svg
|
||||
|
@ -47,6 +58,3 @@
|
|||
- Doesn't require complicated USER setups.
|
||||
|
||||
- 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
|
||||
|
||||
### 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.
|
||||
|
||||

|
||||
|
||||
### 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.
|
||||
|
||||
**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.
|
||||
|
||||
|
||||
### 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
|
||||

|
||||
|
||||
### 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
|
||||
|
||||
The log file here may need to be cleaned up manually.
|
||||
|
||||
### **Link to SBFspot Documentation**
|
||||
|
||||
Refer to the [Wiki](https://github.com/SBFspot/SBFspot/wiki) for documentation and FAQ.
|
||||
|
||||
### **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 armhf Architecture][armhf-shield]
|
||||
|
|
|
@ -16,11 +16,13 @@ It also sends a MQTT message to home assistant, therefore a MQTT broker is requi
|
|||
# Installation
|
||||
|
||||
### 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.
|
||||
|
||||

|
||||
|
||||
### 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.
|
||||
|
||||
**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.
|
||||
|
||||
### 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.
|
||||
|
||||
### Example Configuration Options.
|
||||
|
@ -40,17 +43,21 @@ Config can be copy/pasted as [Example Config](https://github.com/habuild/hassio-
|
|||

|
||||
|
||||
### 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
|
||||
|
||||
The log file here may need to be cleaned up manually.
|
||||
|
||||
### **Link to SBFspot Documentation**
|
||||
|
||||
Refer to the [Wiki](https://github.com/SBFspot/SBFspot/wiki) for documentation and FAQ.
|
||||
|
||||
### **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 armhf Architecture][armhf-shield]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue