Python Forum
Shutdown from remote trough Android
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shutdown from remote trough Android
#1
Hi guys, i try to find something on google but with no results.. How can i shutdown my computer trough my Android phone or tablet?
Reply
#2
Take the corner of the phone and press it against the 'on/off' button  Big Grin

Seriously though, this relates to Python how?
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#3
I think im bad to explain.. Im not good with english sorry! I wanna write a script for shutdown my computer from remote Android. Like this, run this on my android with python installed and shutdown when i start the script.

ipcomputer = 'myip', '128.0.0.0'
androidremotecontrol = '128.0.0.0' 'shutdown'

Is a bad example, but is what i want to do. If you know a module for remote control..
Reply
#4
You might take a look at QPython or Kivy . Are you looking to do this over the internet or on an intranet?
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#5
you could just ssh into your computer and execute a shutdown command and then make an apk file from the script.
Recommended Tutorials:
Reply
#6
(Nov-15-2016, 08:44 PM)metulburr Wrote: you could just ssh into your computer and execute a shutdown command and then make an apk file from the script.

Who'd a thunk  Tongue . After reading your reply, did a quick Google and first listing was http://www.techrepublic.com/article/easi...id-device/ 
May have to give it a try  Cool
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#7
(Nov-15-2016, 08:44 PM)metulburr Wrote: you could just ssh into your computer and execute a shutdown command and then make an apk file from the script.

Can you expain me? Or send me an example? I dont understand.. By the way i dont want a external program, just wanna understand the module to use.. For write a script :)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb shutdown host from docker container cosmin1805 0 914 Nov-27-2022, 06:34 PM
Last Post: cosmin1805
  Os.system("shutdown"); command not found cosmin1805 4 1,617 Nov-13-2022, 02:07 PM
Last Post: cosmin1805
  Possible to execute a python script before log off/shutdown with input commands? Kaltex 1 2,235 May-18-2021, 06:31 AM
Last Post: Skaperen
  Detecting windows shutdown event riccardoob 4 5,626 Nov-12-2019, 04:51 PM
Last Post: Aurthor_King_of_the_Brittons
  Iterating trough Unique Object List yelyah 1 2,211 Dec-12-2018, 11:46 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020