I'm currently trying to use indi_script_dome to control the opening roof of my observatory box, but there is not much information on how to properly use it.
there is a problem with the status.py script call from the driver: i think it's called without the required argument (tmp file name to output status).
I don't understand this C++ code, probably the source of my problem (from libindi/drivers/dome/dome_script.cpp):
while (arg < MAXARGS)
{
char *pp = strstr(p, " ");
if (pp == nullptr)
break;
*pp++ = 0;
args[arg++] = pp;
p = pp;
}
va_list ap;
va_start(ap, script);
while (arg < MAXARGS)
{
char *pp = va_arg(ap, char *);
args[arg++] = pp;
if (pp == nullptr)
break;
}
Maybe there is a bug in it... don't know if it actually works since i don't have found any information on how to control a roof (in this forum and elsewhere)