SBFspot how to import database from the CSV files
Posted: Wednesday 15 June 2022 18:46
Hi all,
I have a specific issue / question on my setup. Let me try to explain:
I have a PI with a BLE USB dongle reading my SMA converter stats and add the readings in the CSV file, per the SBFspot implementation. This is working fine.
On my Domoticz server (located elsewhere), i have the drive mounted with the CSV files from the PI and they are visible in my Domoticz server.
My objective is to use this data and make it visible as SOLARMAIN in Domoticz.
I am trying to do this by adding the SBFspot software in the domoticz server and adding the SMASpot under hardware.
Here i have two problems:
1) when running the SBFspot command, it fails because the BT is not existing. It doesnt need it, because it already has the data from the SBFspot on the PI.
2) when adding the SMAspot hardware under Domoticz hardware, there is an option to import old data. However, i dont think it takes it from the CSV files, but tries to recollect this from the Converter instead.
Bottom line: how can I import the solar data from the CSV file into domoticz?
I think if I can get it into the SQLITE database of SBFspot on the domoticz server, it will add this to the Domoticz database as well. However, this is currently not happening. the SQLITE db of SBFspot remains empty and i get this error in the Domoticz log:
Error: SMAspot: No data record found in spot file!
Hope someone can shine a light on this.
I have a specific issue / question on my setup. Let me try to explain:
I have a PI with a BLE USB dongle reading my SMA converter stats and add the readings in the CSV file, per the SBFspot implementation. This is working fine.
On my Domoticz server (located elsewhere), i have the drive mounted with the CSV files from the PI and they are visible in my Domoticz server.
My objective is to use this data and make it visible as SOLARMAIN in Domoticz.
I am trying to do this by adding the SBFspot software in the domoticz server and adding the SMASpot under hardware.
Here i have two problems:
1) when running the SBFspot command, it fails because the BT is not existing. It doesnt need it, because it already has the data from the SBFspot on the PI.
2) when adding the SMAspot hardware under Domoticz hardware, there is an option to import old data. However, i dont think it takes it from the CSV files, but tries to recollect this from the Converter instead.
Bottom line: how can I import the solar data from the CSV file into domoticz?
I think if I can get it into the SQLITE database of SBFspot on the domoticz server, it will add this to the Domoticz database as well. However, this is currently not happening. the SQLITE db of SBFspot remains empty and i get this error in the Domoticz log:
Error: SMAspot: No data record found in spot file!
Hope someone can shine a light on this.