Functional question - Implemented: Option for SMASpot device to import old month data (SMASpot month files)

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
raymond1972
Posts: 32
Joined: Wednesday 28 February 2018 13:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Contact:

Functional question - Implemented: Option for SMASpot device to import old month data (SMASpot month files)

Post by raymond1972 »

Version: 2021.1
Platform: RPI4 Raspbian GNU/Linux 10 (buster)
Plugin/Hardware: RPI4


Goodmorning,

I have question about the functionality 931 - Implemented: Option for SMASpot device to import old month data (SMASpot month files).
Can you please provide me the action that is executed while clicking the import old data button?

for example it runs command xx with parameter yy

The reason I'm asking is that I would like to call the import old data function in a cronjob script for re-importing data to a domoticz device.

Your help is really appreciated.

Kind Regards,
Raymond
HW:Raspberry Pi 3 B, Raspian stretch, Nano, Aeon Labs Aeotec Gen 5 Z-Wave USB
Raspberry Pi 4, Raspian buster, Nano, Aeon Labs Aeotec Gen 5 Z-Wave USB
simat
Posts: 33
Joined: Thursday 04 November 2021 21:17
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: UK
Contact:

Re: Functional question - Implemented: Option for SMASpot device to import old month data (SMASpot month files)

Post by simat »

Hi Raymond,

Its in the main executable, source is https://github.com/domoticz/domoticz/bl ... BFSpot.cpp

Search for void CSBFSpot::ImportOldMonthData()

Not sure if you can call any funtionality from the command line.

I'm going to the have the recompile as I have 10 years of data from a SB4000TL to import, and it looks like its limited to 2 years at the moment.

Best regards

Simon.
Raspberry Pi4, Sunny Boy 4000TL, Victron Multiplus II 10kw ESS, 44kWh LiFEPO4, Batrium BMS, NodeRED on Cerbo GX
User avatar
raymond1972
Posts: 32
Joined: Wednesday 28 February 2018 13:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Contact:

Re: Functional question - Implemented: Option for SMASpot device to import old month data (SMASpot month files)

Post by raymond1972 »

Hi Simon,

I noticed the 2 years limit indeed.
I woud be happy if there is a way to have scheduled import functionality. In that way I am able to correct misreadings in domoticz.
HW:Raspberry Pi 3 B, Raspian stretch, Nano, Aeon Labs Aeotec Gen 5 Z-Wave USB
Raspberry Pi 4, Raspian buster, Nano, Aeon Labs Aeotec Gen 5 Z-Wave USB
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest