Skip to content

Latest commit

 

History

History
 
 

sbfspot

SBFspot addon for HAOS

Version Project Stage Arch Project Maintenance CI

Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.

This home assistant add-on provides a wrapper for the Bluetooth version of SBFspot 3.9.5.

This add-on runs a crontab service for SBFspot and SPFspotUploader at 5 minutely daytime interval.

PVoutput account and API are required to use the upload feature.

Mariadb addon or similiar SQL database, is needed to store the data for upload to PVOutput.

phpMyAdmin is required to create the DB structure.

MQTT broker is needed to send MQTT messages to home Assistant.

Installation

Initial database creation.

Download and import either No Drop DB create or Create My SQL.sql in 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.

screenshot

MQTT

haos-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 options argument configuration options. 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_PublisherArgs: '-h {host} -u Your_MQTT_Username -P Your_MQTT_password -t {topic} -m "{{message}}" -d -r'

-d is for MQTT debug in log. Which is helpful for confirming the MQTT messages are actually being sent.

-r is to retain messages. it is advised against using retain flag

Example Configuration Options.

can be copy/pasted as Example Config or entered via UI Example Options

Data paths

In HAOS (home assistant operating system) the /data/ path arrives at /mnt/data/supervisor/addons/data/{slug}_haos-sbfspot on the host.

Upload logs

Logs delete after 3 days now. You would need SSH with Root host access to find them anyway.

Link to haos-sbfspot Documentation

Refer to the SBFspot Wiki for documentation and FAQ about SBFspot.

Special thanks to:

  • LauR3y/hassio-addons-addons which this version is cleaned up from.
  • The sbfspot team for SPFspot.

Supports aarch64 Architecture Supports armhf Architecture Supports armv7 Architecture