FHEM - Anwendungen > Solaranlagen
SMAWechselrichter leifert keine Werte SBFspot
noanda:
Hallo zusammen,
versuche meinen WR über BT auszulesen wie hier beschrieben:
http://www.fhemwiki.de/wiki/SMAWechselrichter
es sind auch alle notwendigen Pakete installiert. in Verzeichnis
--- Zitat ---fhem/fhem/FHEM/sbfspot/bin/Release
--- Ende Zitat ---
befinden sich in im Verzeichnens:
SBFspot alle Dateien. die SBF.CFG ist mit der BT Adresse befüllt
--- Code: ---################################################################################
# ____ ____ _____ _
# / ___|| __ )| ___|__ _ __ ___ | |_
# \___ \| _ \| |_ / __| '_ \ / _ \| __|
# ___) | |_) | _|\__ \ |_) | (_) | |_
# |____/|____/|_| |___/ .__/ \___/ \__|
# |_|
#
# SBFspot.cfg - Configuration file for SBFspot.exe
# SBFspot - Yet another tool to read power production of SMA® solar inverters
# (c)2012-2014, SBF
#
# 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 and Speedwire are registered trademarks of SMA Solar Technology AG
################################################################################
# SMA Inverter's Bluetooth address
# Windows: smaspot -scan
# Linux : hcitool scan
# IMPORTANT FOR SPEEDWIRE USERS: COMMENT OUT BTADDRESS (PUT # IN FRONT)
BTAddress=00:80:25:30:56:52
# SMA Inverter's Speedwire IP address
# If IP_Address is not set or is 0.0.0.0 SBFspot will try to detect the speedwire inverter by broadcast
# If IP_Address is set to a valid IP, SBFspot will try to connect directly to that IP without broadcast detection
IP_Address=0.0.0.0
# User password (default 0000)
Password=0000
# MIS_Enabled (Multi Inverter Support: Default=0 Disabled)
# +------------+-------+-------------+
# | #Inverters | NetID | MIS_Enabled |
# +------------+-------+-------------+
# | 1 | 1 | Don't Care |
# +------------+-------+-------------+
# | 1 | >1 | 0 |
# +------------+-------+-------------+
# | >1 | >1 | 1 |
# +------------+-------+-------------+
MIS_Enabled=0
# Plantname
Plantname=MyPlant
# OutputPath (Place to store CSV files)
#
# Windows: C:\Users\Public\SMAdata\%Y
# Linux : /home/pi/smadata/%Y
# %Y %m and %d will be expanded to Year Month and Day
OutputPath=/home/pi/smadata/%Y
# OutputPathEvents (Place to store CSV files for events)
# If omitted, OutputPath is used
OutputPathEvents=/home/pi/smadata/%Y/Events
# Position of pv-plant http://itouchmap.com/latlong.html
# Example for Ukkel, Belgium
Latitude=50.80
Longitude=4.33
# Calculate Missing SpotValues
# If set to 1, values not provided by inverter will be calculated
# eg: Pdc1 = Idc1 * Udc1
CalculateMissingSpotValues=1
# DateTimeFormat (default %d/%m/%Y %H:%M:%S)
# For details see strftime() function
# http://www.cplusplus.com/reference/clibrary/ctime/strftime/
DateTimeFormat=%d/%m/%Y %H:%M:%S
# DateFormat (default %d/%m/%Y)
DateFormat=%d/%m/%Y
# DecimalPoint (comma/point default comma)
DecimalPoint=comma
# TimeFormat (default %H:%M:%S)
TimeFormat=%H:%M:%S
# SynchTime (default 1 = On)
# If set to 1 the Inverter time is synchronised with pc time
# Some inverters don't have a real-time clock
SynchTime=1
# SunRSOffset
# Offset to start before sunrise and end after sunset (0-3600 - default 900 seconds)
SunRSOffset=900
# Locale
# Translate Entries in CSV files
# Supported locales: de-DE;en-US;fr-FR;nl-NL;es-ES;it-IT
# Default en-US
Locale=en-US
# Timezone
# Select the right timezone in date_time_zonespec.csv
# e.g. Timezone=Europe/Brussels
Timezone=Europe/Brussels
# BTConnectRetries
# Number of Bluetooth Connection attempts (1-15; Default=10)
BTConnectRetries=10
###########################
### CSV Export Settings ###
###########################
# With CSV_* settings you can define the CSV file format
# CSV_Export (default 1 = Enabled)
# Enables or disables the CSV Export functionality
CSV_Export=1
# CSV_ExtendedHeader (default 1 = On)
# Enables or disables the SMA extended header info (8 lines)
# isep=;
# Version CSV1|Tool SBFspot|Linebreaks CR/LF|Delimiter semicolon|Decimalpoint comma|Precision 3
# etc...
# This is usefull for manual data upload to pvoutput.org
CSV_ExtendedHeader=1
# CSV_Header (default 1 = On)
# Enables or disables the CSV data header info (1 line)
# dd/MM/yyyy HH:mm:ss;kWh;kW
# This is usefull for manual data upload to pvoutput.org
# If CSV_ExtendedHeader is enabled, CSV_Header is also enabled
CSV_Header=1
# CSV_SaveZeroPower (default 1 = On)
# When enabled, daily csv files contain all data from 00:00 to 23:55
# This is usefull for manual data upload to pvoutput.org
CSV_SaveZeroPower=1
# CSV_Delimiter (comma/semicolon default semicolon)
CSV_Delimiter=semicolon
# CSV_Spot_TimeSource (Inverter|Computer default Inverter)
CSV_Spot_TimeSource=Inverter
# CSV_Spot_WebboxHeader (Default 0 = Off)
# When enabled, use Webbox style header (DcMs.Watt[A];DcMs.Watt[B]...)
CSV_Spot_WebboxHeader=0
###########################
### SQL DB Settings ###
###########################
# SQLite
# SQL_Database (Fullpath to SQLite DB)
# Windows: C:\Users\Public\SMAdata\SBFspot.db
# Linux : /home/pi/smadata/SBFspot.db
SQL_Database=/home/pi/smadata/SBFspot.db
# MySQL
#SQL_Database=SBFspot
#SQL_Hostname=<Network Name> or <IP-address>
#SQL_Username=SBFspotUser
#SQL_Password=SBFspotPassword
--- Ende Code ---
Der WR wird auch erkannt:
--- Code: ---Scanning ...
00:80:25:30:56:52 SMA001d STP 5000TL-20 319 SN304996319
--- Ende Code ---
ich kann es in FEHM auch definiren bleibt dann aber ich bekomme keine Werte:
--- Code: ---Internals:
ADDRESS 00:80:25:30:56:52
CHANGED
DEF 00:80:25:30:56:52 60
NAME Solar
NR 1358
STATE active
TYPE SMAUtils
delayCounter 0
Readings:
Attributes:
delay 60
--- Ende Code ---
Kann mir jemand helfen?
micomat:
kommt denn was bei rum wenn du sbfspot manuell ausfuehrst?
noanda:
wie soll ich das machen?
noanda:
ich glaube ich habe es gefunden :-)
im logfile steht:
--- Code: ---2016.03.08 16:12:16 1: PERL WARNING: Can't exec "/opt/fhem/smaspot/bin/Release/SMAspot": No such file or directory at ./FHEM/99_SMAUtils.pm line 293.
2016.03.08 16:12:16 3: SMAspot called
--- Ende Code ---
gehe mal dvon aus das ich den Pfad im Modul ändern sollte. oder die Datei in den Pfad :
--- Zitat ---/opt/fhem/smaspot/bin/Release/SMAspot
--- Ende Zitat ---
Muschelpuster:
Jo, kann ich bestätigen. Danach habe ich auch gesucht und dachte eigentlich das hier gepostet zu haben. Meine soeben durchgeführte Suche belehrte mich eines Besseren.
leidgeprüfte Grüße
Niels
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln