Specify filename when using EBD

When calling the /rcgi.bin/Paramform?AST_Param= , in the Web GUI from a Flexy 205

is there a way to include the $fn parameter with todays date/time?

Hi Lars,

Are you making this call from ViewON or where are you making this call from? If it’s from viewon you could probably create a string tag and have a script that will write the current date to that string tag. Then you could call the string name and put its value in place where you have the $fn parameter.

-Tim

ViewON, yes.

Here’s a little bit of code I did,

I put this in my BASIC IDE section
settime.txt (212 Bytes)

You’d just need to call this section of code before you make the call for the file to update the current time

And this in my javascript section
var Ewon_Time = getEwonTagVal(‘Ewon_Time’);
var yourcall = “http://192.168.50.123/rcgi.bin/ParamForm?AST_Param=$fn” + Ewon_Time;