![]() Color - each one should have the same color.Actions - the first row starts with open (see template).Buttons - only 4 main buttons, this is your default notification.Texts: %PcPowerontime,%PcVolume,%PcScreen Images: /storage/emulated/0/Tasker/Material Icons/green/ic_power_settings.png,/storage/emulated/0/Tasker/Material Icons/green/ic_volume_medium.png,/storage/emulated/0/Tasker/Material Icons/green/ic_book_variant.png,/storage/emulated/0/Tasker/Material Icons/green/ic_desktop_mac.pngĪctions: openpower,openvolume,openbookmark,openscreen Status Bar Icon Manual: /storage/emulated/0/Tasker/Material Icons/green/ic_power_settings.pngīutton Tint: #F7FFB74D,#FFFFFFFF,#FFFFFFFF,#FFFFFFFF,#FFFFFFFF,#FFFFFFFF,#FFFFFFFF,#FFFFFFFFīackground Color: #212121 Timeout (Seconds):20 ] If Ī1: Stop If Ī2: AutoRemote Message [ Configuration:Recipient: HomeGhostĪ3: AutoNotification Buttons Notification [ Configuration:Id: default Images: /storage/emulated/0/Tasker/Material Icons/green/ic_power_settings.png,/storage/emulated/0/Tasker/Material Icons/green/ic_volume_medium.png,/storage/emulated/0/Tasker/Material Icons/green/ic_book_variant.png,/storage/emulated/0/Tasker/Material Icons/green/ic_desktop_mac.png,/storage/emulated/0/Tasker/Material Icons/green/ic_sleep.png,/storage/emulated/0/Tasker/Material Icons/green/ic_key.png,/storage/emulated/0/Tasker/Material Icons/green/ic_reload.png,/storage/emulated/0/Tasker/Material Icons/green/ic_power.pngĪctions: openclose,openvolume,openbookmark,openscreen,sleeppc,lockpc,rebootpc,turnoffpc If you not hooked up to a LAN, you can try setting this up on a Raspberry Pi.Įvent: AutoNotification [ Configuration:Event BehaviourĪ1: AutoNotification Buttons Notification [ Configuration:Id: default Wake on LAN - requires LAN connection most of the time (some WiFi cards support it).Lock - it is not possible to log back through the icon, you can, however, do this via Remote Desktop (for now).Turn Off - it is not possible to wake the device again (no remedy to this one).You can wake up your PC from the sleep option or perform the sleep, lock, restart, and turn off actions. In addition to that, the Sleep and Online icons have text that tells you when the computer went to sleep, or if its online. When a PC is offline, in sleep mode, or locked the menu will show you the correct status if AutoRemote had a chance to send the message (more on that later). ![]() We are about to get to the actual meat of the setup here: the power menu. I hope that all is understandable by now. PC FeedbackĪ profile that updates the notification based on the information received from the PC. The command is issued by AutoNotification as well Sub-Menu ActionsĪ very simple profile that sends the selected action via AutoRemote to your target. This profile opens the correct submenu for each button in row one. Make sure that the AutoRemote plugin is loaded and configured correctly. The screenshot from before should cover everything you need set in EventGhost. I have added additional triggers to capture resume from sleep, lock, and restart. Once EventGhost is loaded on the PC, it waits 10 seconds and then issues a notification that the computer is now online. It sends a message to our phone with a 10 second delay. ![]() To give a chance for EventGhost to send a message, a wait time of 6 seconds is imposed.Īn extra task is run at boot. turnoffpc, sleeppc. This rule will apply to every single command issued via AutoRemote from your phone to EventGhost.Įach macro also has additional triggers and will try to capture the events (lock, sleep, restart, power off) triggered by the system. The same goes for the messages sent to EventGhost. This is important as profiles in Tasker will rely on the prefixes to decrease the number of tasks needed to parse the command. The message sent back to Tasker is always in the format pc=:=yourmessage. While the messages can contain your own commands, you need to have a consistent format for them. You will notice that each action contains a few triggers and a message that is issued back to Tasker.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |