[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
Toon onderwerp - pc netjes uitschakelen • nodo-domotica.nl

nodo-domotica.nl

pc netjes uitschakelen

Hier kan gediscussieerd worden over sensoren, electronica problemen, componenten, etc.

pc netjes uitschakelen

Berichtdoor bryan241 » 06 sep 2012, 10:37

Ik wil graag op afstand mijn computer netjes uit kunnen zetten met behulp van een nodo slave.
Dit zou ik willen doen door een ontvanger te maken, die kort de power switch van de computer indrukt.
Nu ben ik op zoek naar een mooi schakelingetje hiervoor zonder gebruik te maken van een relais.

Heeft iemand een idee?

Groeten,

Bryan
bryan241
 
Berichten: 172
Geregistreerd: 07 jan 2012, 14:14

Re: pc netjes uitschakelen

Berichtdoor bryan241 » 06 sep 2012, 10:41

Maar misschien kan het ook door een plugin te schrijven die via het netwerk een service aanroept op de pc, die ervoor zorgt dat de pc netjes afsluit.

Ik hou alle mogelijkheden nog even open.

Groeten,

Bryan
bryan241
 
Berichten: 172
Geregistreerd: 07 jan 2012, 14:14

Re: pc netjes uitschakelen

Berichtdoor manjh » 06 sep 2012, 13:42

Wilde je de PC gewoon "hard" uitschakelen? Lijkt me geen goed idee, in elk geval met Windoze kun je daar rare dingen mee krijgen.
Kan het niet via EventGhost?
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: pc netjes uitschakelen

Berichtdoor manjh » 06 sep 2012, 13:45

Met een Python script in EventGhost zou het moeten kunnen:



In dit voorbeeld doen ze het door naar system idle te kijken, maar je kunt het natuurlijk proberen om te bouwen.
In ieder geval wordt hier een nette shutdown gedaan, en geen harde poweroff.
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: pc netjes uitschakelen

Berichtdoor bryan241 » 06 sep 2012, 16:52

Ik wil inderdaad de pc niet 'hard uitschakelen', maar eerst netjes afsluiten voordat de stroom eraf gaat.
Als je kort op de powerknop drukt, sluit alles netjes af en gaat de pc uit.

Dat wil ik met behulp van een klein schakelingetje voor elkaar krijgen.

Het kan natuurlijk ook via een service die de pc forceert af te sluiten zodra deze van de nodo een bepaald commando heeft gekregen, maar dat gedeelte met het kleine schakelingetje spreekt me misschien iets meer aan.

Iemand een idee?
bryan241
 
Berichten: 172
Geregistreerd: 07 jan 2012, 14:14

Re: pc netjes uitschakelen

Berichtdoor PieterS » 06 sep 2012, 18:48

Jouw powerschakelaar op frontpaneel van pc overbrugt bij het indrukken even twee pennetjes op moederbord. Schakelt gewoon stuurstroom/zwakstroom. Ik zou gewoon twee draadjes parallel daaraan hangen en die aan de WiredOut van Nodo knopen.

Als het tijdsgestuurd moet kun je dit ook gewoon in Windows via Taakplanner regelen.

Maar persoonlijk zou ik (ALS ik pc remote zou willen bedienen) via RDP mijn systeem overnemen. Kan zelfs via smartphone of tablet.

Suc6.
Pieter
PieterS
 
Berichten: 234
Geregistreerd: 21 dec 2011, 22:11

Re: pc netjes uitschakelen

Berichtdoor manjh » 06 sep 2012, 19:01

Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39


Keer terug naar De electronica hoek

Wie is er online?

Gebruikers in dit forum: Geen geregistreerde gebruikers. en 16 gasten

cron