Comments (5)
What is the output of crontab -l
from sbfspot.
I went a bit further ..
I see the CRON job running
grep CRON /var/log/syslog
Sep 11 17:20:01 SMApi CRON[2126]: (lebeck) CMD (/usr/local/bin/sbfspot.3/daydata)
Sep 11 17:20:01 SMApi CRON[2125]: (CRON) info (No MTA installed, discarding output)
I completely new to this .. but to me the CRON and the command './SBFspot -v5 -mqtt' seem to be executed with my user ?!
hahah thx sbf ;)
I was writing the answer when you replyed
crontab -l
'## SBFspot
*/5 6-22 * * * /usr/local/bin/sbfspot.3/daydata
55 05 * * * /usr/local/bin/sbfspot.3/monthdata
I've installed postfix and I see a error.. I see this
/usr/local/bin/sbfspot.3/daydata: line 3: /MyPlant_20230911.log: No such file or directory
/usr/local/bin/sbfspot.3/daydata: line 4: $log: ambiguous redirect
that's true that the file doesn't exist.. but I'm suprised that there is no path in the error message ?!
this is what exist :
lebeck@SMApi:/mnt/usb/log/sbfspot.3 $ ls
MyPlant_20230909.log
lebeck@SMApi:/mnt/usb/log/sbfspot.3 $ cd ..
lebeck@SMApi:/mnt/usb/log $ ls -l
total 8
drwxr-xr-x 2 lebeck lebeck 4096 Sep 11 09:24 sbfspot.3
drwxr-xr-x 2 lebeck lebeck 4096 Sep 9 18:23 'sbfspot.3 '
don't really know why i have this folder with a space..
I've clean both with sudo rmdir and recreate the good one.
I think i got this !!
i probably put a space somewhere in the installation
it was in the 2 jobs daydata and monthdata
I've just updated.
Fingers crossed
from sbfspot.
Problem was a folder with space at the end ..
Took me some time because I aint a linux expert.
Still have to do the HA integration..
seem that auto discovery isn't working
if you have any tip.. I'm listening :)
from sbfspot.
I have 2 inverters and MIS enable.
not sure to be correct but mqtt topic should be unique ?!
I see the MQTT send for each of my inverters but with same topic ..
MQTT: Publishing (homeassistant/sbfspot_Inc/sbfspot_{serial}) ..
MQTT: Publishing (homeassistant/sbfspot_Inc/sbfspot_{serial}) ..
{serial} is not replace per inverter (HA addon way to do it)
I've also tryed {InvSerial} (tryed to reuse what was in the sbfspot config)
Is that not the correct way to do it ?
I also haven't find if autodiscovery is working ?
from sbfspot.
(homeassistant/sbfspot_Inc/sbfspot_{serial})
Should be ok. This is the message in the console. The real MQTT topic should have the serial replaced.
I also haven't found if autodiscovery is working ?
I don´t know about that... not a HA user
from sbfspot.
Related Issues (20)
- SBFspot V3.4.0 and higher Installation on Linux with SQLite Manual HOT 1
- Errors when installing SBFspot on Linux Mint 21.2 (Ubuntu 20.04) HOT 3
- Issue with sbfspotupload service on Windows HOT 2
- MQTT message config HOT 7
- MQTT connection not possible with username/password HOT 6
- making mqtt topic unique with 2 inverters
- Can SBFspot be setup for Bookworm? HOT 3
- Unable to write to logfile HOT 4
- CRITICAL: Logon failed. Check 'USER' Password HOT 4
- Bluetooth crashes during the day
- stp6.0-3se-40 - unknown class and unknown inverter type HOT 1
- Update to 3.9.8 failed HOT 5
- Logon failed. Check 'USER' Password during installation HOT 6
- Not able to set inverter time HOT 5
- Unknown Inverter Type - SMA STP10.0-3SE-40 HOT 2
- Compile failure on Debian 12 - 64 bit HOT 2
- Corrupt data HOT 7
- error compiling on recent Armbian / arm debian with mariadb reference to deprecated include <mysql/mysql.h> HOT 2
- Problem after re-installing SBFspot HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbfspot.