AtagOne API thermostate, config shell execute question


I have a AtagOne thermostaat connected on my wifi network.

On internet i found on Github the atag-one-api project.

I downloaded the file atag-one.jar in my controller/bin directory.

When i open a terminal in the controller/bin directory I can run the following command:

$ java -jar atag-one.jar --skip-auth-request

This command give a responce with all the thermostate settings.

The next step is to run this command an get the response in a sensor.

I made a command with the shell execution protocol.

Auto Generated Inline Image 1.png

How do i have to configurate this with the a (directory) path in it?

Is this the best solution to get the info into a sensor?

Kind regards