HAPPY BIRTHDAY - FIRST REACTION

Topics: 2. Documentation
Aug 29, 2014 at 9:00 AM
Edited Aug 29, 2014 at 9:10 AM
Hi SBF,

and yet another succesfull release of SBFspot. It is working like a charm, and it fixed ISSUE 41 ,
but I noticed some small inconsistencies.

Manual page 6 and page 12:
Stop daemon:
sudo killall SMAspotUploadDaemon
Should read SBFspotUploadDaemon

Manual page 6 and page 12:
Add these lines:
#Start SMAspotUploadDaemon
Should read SBFspotUploadDaemon

SBFspotUpload.cfg
In the default uploadfile there is no path for the linux DB. It can be found in the manual, but it could trip up n00bs.
################################
### SQL DB Settings          ###
################################
# SQL_Database (Fullpath to SQLite DB)
# Windows: C:\Users\Public\SMAdata\SBFspot.db
Please ADD: # /home/pi/smadata/SBFspot.db
SQL_Database=C:\Users\Public\SMAdata\SBFspot.db
should read: SQL_Database=/home/pi/smadata/SBFspot.db

PVoutput settings
I'm also curious to know if you have left the pvoutput donation config setting out on purpose. When I checked the source code of PVOutput.cpp I noticed there is a parameter called m_Donations, but other than modifying it in the source code there is no instance where I can set this parameter. Or is this work in progress?
Coordinator
Aug 29, 2014 at 9:32 AM
Edited Aug 29, 2014 at 10:45 AM
that's good news... I'll close I41
V3 is already running for several months on my Rpi... as SMAspot
During development I'm writing down several things. For the documentation I tend to copy/paste these notes. Luckily I have some attentive users :-)
I'll try to correct them today
The name change gave me a lot of headache and loss of time.
I'm also curious to know if you have left the pvoutput donation config setting out on purpose. When I checked the source code of PVOutput.cpp I noticed there is a parameter called m_Donations, but other than modifying it in the source code there is no instance where I can set this parameter.
There is no config setting for this, I'm getting the status from PVoutput. Donation mode is one of the things in the reply.
It is used in PVoutput.h to define upload limits (getting the max out of it)
    bool isSupporter() const { return (m_Donations > 0); }
    int batch_statuslimit() const { return m_Donations == 0 ? 30 : 100; }
    int batch_datelimit() const  { return m_Donations == 0 ? 14 : 90; }
    int batch_ratelimit() const  { return m_Donations == 0 ? 60 : 100; }
Thanks for your feedback

EDIT: All suggested changes done
Marked as answer by SBF on 9/16/2014 at 12:19 AM