made the cli script a little faster for rollershutter controlling - #34
made the cli script a little faster for rollershutter controlling#34realbuxtehuder wants to merge 3 commits into
Conversation
|
Quick question: why move the cli class to into the unit tests? It'll take me some time to read your changes, but I feel you might have misinterpreted the "tests" directory as that class does not contain a single test so I thought I'd ask right away. I know the unit tests currently don't run automatically because travis started to charge even for basic services - I'm working on getting them to run in github actions instead. |
|
Yes, I misinterpreted the "test" directory. I wasn't aware of unit-testing. |
|
Actually it was a prototype for having a CLI that allows to do several actions one after another, but I never finished it so it is not used anywhere. The Idea was to start I fixed the unit tests for python3.8 and python 3.9 last night. |
|
Nice idea. It would eliminate the need of starting and stopping the stick every time and would give access to the status messages sent by duofern devices, but in my eyes the usecase is not so broad compared to the approach of calling the duofern_cli script with commands. That is nice not only for setting up and testing the system, but also for simple automation, e.g. by using cron to do timed roller movements without coding... |
Working with the cli script:
Made the script a little faster for rollershutter controlling by: