anetczuk / LinakDeskApp

Desktop application that allows control of Linak office desk under Linux
MIT License
143 stars 13 forks source link

Question: Can this app be via console only? #10

Open AaronJWhite opened 2 years ago

AaronJWhite commented 2 years ago

Can this app be via console only? If so, could you add the commands to the documentation?

anetczuk commented 2 years ago

Hello, what do You mean by "console only"? Something like execute single command through cmd and exit?

AaronJWhite commented 2 years ago

Yes, I would be interested in running this from a headless raspberry pi by logging in with ssh and running a few commands like up, down, set position 32.2, etc.

anetczuk commented 2 years ago

Check #1 -- someone hacked simple cmd script allowing to change position. Moreover there is WebServer tab allowing to start web server and control positioning through http.

AaronJWhite commented 2 years ago

Is there documentation for how the web server is supposed to work? I enabled it, but it didn't seem to be loading and I don't know what the api/commands would be.

Check #1 -- someone hacked simple cmd script allowing to change position. Moreover there is WebServer tab allowing to start web server and control positioning through http.

anetczuk commented 2 years ago

First of all go to WebServer tab and activate the checkbox. Then open http://localhost:8080 and read description about available commands (description added few minutes ago). For now there is only possibility to move desk to predefined favorite position.