hi Andres,
I've not been using this driver for a long time and I completely forgot that there are template scripts to implement.
The instructions are at the following link:
github.com/fenriques/indi/blob/master/li...dome/dome_script.txt
The bottom line is that the driver reads 3 digits from a file (/tmp/indi-status) every n seconds.
You just have to update those 3 digits. For example, 1 0 0 means park.
And in the same script you have to include your bluetooth commands.
ferrante
EDIT: Just to provide an example for your unpark.py:
<code>
...add bluetooth unpark commands here....
if bluetooth_unpark_response == "success":
str = str[0] + ' 1 ' + str[4:]
coordinates = open('/tmp/indi-status', 'w')
coordinates.truncate()
coordinates.write(str)
coordinates.close()
else:
sys.exit(0)
</code>
where str is the old status