Announcement

Collapse
No announcement yet.

Help running a python script via batch file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help running a python script via batch file

    I picked up a Ecovacs Deebot N79 and I managed to find a python script to start and stop the vac. I created a batch file to run the python script, which works just fine.

    I setup HS to run the batch file using 'run another program or process'
    After the vac completes, it returns to the charger, but the batch file (command prompt) remains open.

    Surely there's a more elegant way to do this, or maybe a simple plugin. I'm guessing there's an easier way to run this script other than using a batch file.

    The script I used I snagged from the smartthings forum, and the python script is hosted on Github.

    https://community.smartthings.com/t/...t-n79/93410/47

    https://github.com/wpietri/sucks

    Thanks!
    Last edited by Aaron19953; November 29, 2017, 01:22 PM. Reason: typo

    #2
    See this post for example of how I launch a perl script. python should be similar.

    Comment


      #3
      Awesome, will give it shot when I get back home

      Comment

      Working...
      X