Page 1 of 1

Solved Not getting SBFspot to work...

Posted: Wednesday 02 August 2017 11:10
by phloks
Hi,

Having read through all posts here regarding SBFspot, I am not nearer to any solution to my problem.
This is my situation:

Domoticz: 3.8185
SBFspot: V3.3.1

SBFspot runs on a Cubietruck (ARM), which is the same machine as where Domoticz runs on.
SBFspot runs from cron every 5 minutes, and seems to be working properly. I do get .csv files in /home/domoticz/sbfdata/2017...

Now, when I add the SBFspot device in Domoticz, and set location to /home/domoticz/SBFspot/SBFspot.cfg (this is where the actual config file resides), the hardware device is created. Upon pressing Setup, I can import old data. This does not work, however, in the log I see the following:

Code: Select all

2017-08-02 10:29:28.292 SBFSpot: Worker started...
2017-08-02 10:29:36.451 SBFSpot Import Old Month Data: Start
2017-08-02 10:29:36.452 Error: SBFSpot Import Old Month Data: FAILED - Cannot find sensor in database
And nothing happens. There is a device being created in Devices section with the default name SolarMain, but that does not get any updates.
I also do not see any indication in the logs that SBFspot is being run anymore, as I do see that with other sensors on regular intervals.

Most likely I'm doing something wrong, but I followed the (old) documentation for SBFspot/Domoticz to the letter, and can't get it working.
A Google search on i.e. SBFspot cannot find sensor in database only returns one hit, which is the sourcecode used in Domoticz.....

Did anyone here get this working ?
Any help would be much appreciated.

Thanks,
Hans

SOLVED Not getting SBFspot to work...

Posted: Sunday 06 August 2017 22:01
by phloks
All of a sudden it started working....
Restarted everything, let it run for a while, and eventually I got data.
Hurray, but don't know what happened :shock: