in our system we run TeamViewer on a fleet of Gateways - Raspberry Pi devices.
Our main problem is that we cannot call the setup from the script but we must do it interactively.
teamviewer setup
Please enter your e-mail: mail@example.org
Please enter your password: ******
Also, the problem is that once the email is received in which there is a link to acknowledge the device which leads to device being added to the enterprise account, we need to enter the mail and password again. Otherwise the process is not completed.
--- here the email needs to be processed in the bakground ----
Please enter your e-mail: mail@example.org
Please enter your password: ******
Is there a way to simplify this?
Our architecture is as follows. Once the GW is up it provides a local Access Point so that a service computer can connect to it and in a browser interact with a flask server running on the GW.
When our local seup of the GW is finished we still need to login into the GW, after it reboots with the connection to the internet. Unfortunately, at this point we do not know its IP address as it is in a mobile LTE network with a dynamic IP.
Basically a this point we must ssh into the GW - we have AWS secure tunnel for that - and do the setup interactively. Can this step be somehow automated?
Thanks!
Cheers
aisemo