Undefined historical tag

From the way that you’re writing to the sd card

EBD_STRING $ = “$ dtHT $ ftT $ et” + LAST_TIME $ + “$ st” + LASTTMS $

You’re grabbing data from the historical log and if you disable the historical logging (data stored locally on the Ewon) then you won’t be able to grab any data and write it to the SD card with your current script.

If you want to write historical logs to the SD card without having the logging enabled, you’ll need to do a good amount more scripting if you’re not going to be using the EBDs

As for how these tags are being logged though, you can either set them up for deadband logging (the value will log each time that the value changes by the value of the deadband)

ex:
if the deadband is set to 1, each time the tag value changes by at least 1, the value will be logged.

Another option is setting up a logging interval where it will log ever x seconds.

The last option is to setup the tags to log using the BASIC IDE and the function Logio.


The tags will only log if you have the “Historical logging Enabled” box checked off.

Merci pour ces informations.
Mais est ce que ceci nous permet d’agrandir la mémoire de l’ewon ?

The only way to really expand the Ewon’s memory is by reformatting the device here (Note this will more or less reset your device back to factory default)

But this will allow you to have more memory available for recording or for the usr folder. But the SD card is just intended to be used as additional storage to move already collected data from the Flexy’s internal memory to another storage area.

C’est bien noté merci a vous.
J’ai une autre question para port a la configuration d’un intervalle de journalisation où il enregistrera toutes les x secondes à l’aide de BASIC IDE et de la fonction Logio.
j’ai essaie la fonction LOGIO dans la commande avec le scripte que je vous ai envoyé auparavant mais ca me donne erreur, peut être qu’il existe un autre scripte pour définir cet interval ?

J’ai une autre question a soulevée ,parfois sur nos sites on a des coupures de connexion pour une durée de deux jours, par exemple du coup on perds toutes nos données de l’ewon pendant ces deux jours la.
y’a t’il un moyen pou éviter cette perte de données ?
Merci encore une fois.

How many tags are you logging, and how often are you logging the tags? could you get me a backup.tar file of the device from eBuddy with support files included?

As for logio, there’s a lot of ways to do this. If you want it to log on an interval using logio, you could do something like this

Tset 1,60 //sets timer 1 to trigger once every 60 seconds

Ontimer 1, “@logyourtag()”

Function logyourtag()
logio, “the name of your tag”
Endfn