id: 3436762d6cc74c52abef96861cf68d75
parent_id: 
item_type: 1
item_id: a0aa5a2ad63d40819e6e3fc5fb109b6e
item_updated_time: 1764345570794
title_diff: "[{\"diffs\":[[1,\"Llama Handling Guide\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":20}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>Llama Handling Guide</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"application-data:2525275\\\" content=\\\"6692893/s30/9a52d501-5d4b-464e-b8c9-336d6521747b/app.yinxiang.com\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"11570\\\"></a>\\\r\\\n<h1>Llama Handling Guide</h1>\\\r\\\n\\\r\\\n<div><span><br/><div style=\\\"font-size: 16px\\\"><div><div style=\\\"font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Georgia, Utopia, 'Palatino Linotype', Palatino, serif;color:rgb(85, 85, 85);background:none 50% 50% no-repeat scroll rgb(118, 83, 71);\\\"><div style=\\\"word-wrap:break-word;\\\"><div style=\\\"-webkit-box-shadow:rgba(0, 0, 0, 0.14902) 0px 0px 5px;box-shadow:rgba(0, 0, 0, 0.14902) 0px 0px 40px;\\\"><div style=\\\"background-position:0% 0%;background-repeat:repeat-y;\\\"><div style=\\\"background-color:rgb(255, 251, 244);\\\"><div><div style=\\\"background-position:0% 0%;background-repeat:repeat-y;\\\"><div><div style=\\\"zoom:1;\\\"><div><div><div><div><div style=\\\"line-height:1.4;\\\"><div><div><div><div><div><div style=\\\"font-size:110%;line-height:1.4;\\\">\\\n<br/>\\\n<h1 style=\\\"margin:0px;position:relative;margin-bottom:0px;font-weight:bold;font-size:120%;\\\"><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">Llama Handling Guide</span></h1><ul style=\\\"padding:0px 2.5em;margin:0.5em 0px;line-height:1.4;\\\"><li style=\\\"padding:0.25em 0px;margin:0px;text-indent:0px;margin-bottom:0.25em;padding-top:0px;padding-bottom:0px;\\\"><a href=\\\"http://kebabapps.blogspot.tw/p/llama-handling-guide-instructions.html#areas\\\" style=\\\"text-decoration:none;color:rgb(201, 73, 0);\\\">Areas</a></li>\\\n<li style=\\\"padding:0.25em 0px;margin:0px;text-indent:0px;margin-bottom:0.25em;padding-top:0px;padding-bottom:0px;\\\"><a href=\\\"http://kebabapps.blogspot.tw/p/llama-handling-guide-instructions.html#profiles\\\" style=\\\"text-decoration:none;color:rgb(201, 73, 0);\\\">Profiles</a></li>\\\n<li style=\\\"padding:0.25em 0px;margin:0px;text-indent:0px;margin-bottom:0.25em;padding-top:0px;padding-bottom:0px;\\\"><a href=\\\"http://kebabapps.blogspot.tw/p/llama-handling-guide-instructions.html#events\\\" style=\\\"text-decoration:none;color:rgb(201, 73, 0);\\\">Events</a></li>\\\n<ul style=\\\"padding:0px 2.5em;margin:0.5em 0px;line-height:1.4;\\\"><li style=\\\"padding:0.25em 0px;margin:0px;text-indent:0px;margin-bottom:0.25em;padding-top:0px;padding-bottom:0px;\\\"><a href=\\\"http://kebabapps.blogspot.tw/p/llama-handling-guide-instructions.html#conditons\\\" style=\\\"text-decoration:none;color:rgb(201, 73, 0);\\\">Conditions</a></li>\\\n<li style=\\\"padding:0.25em 0px;margin:0px;text-indent:0px;margin-bottom:0.25em;padding-top:0px;padding-bottom:0px;\\\"><a href=\\\"http://kebabapps.blogspot.tw/p/llama-handling-guide-instructions.html#actions\\\" style=\\\"text-decoration:none;color:rgb(201, 73, 0);\\\">Actions</a></li>\\\n<li style=\\\"padding:0.25em 0px;margin:0px;text-indent:0px;margin-bottom:0.25em;padding-top:0px;padding-bottom:0px;\\\"><a href=\\\"http://kebabapps.blogspot.tw/p/llama-handling-guide-instructions.html#eventExamples\\\" style=\\\"text-decoration:none;color:rgb(201, 73, 0);\\\">Event Examples</a></li>\\\n</ul><li style=\\\"padding:0.25em 0px;margin:0px;text-indent:0px;margin-bottom:0.25em;padding-top:0px;padding-bottom:0px;\\\"><a href=\\\"http://kebabapps.blogspot.tw/p/llama-handling-guide-instructions.html#settings\\\" style=\\\"text-decoration:none;color:rgb(201, 73, 0);\\\">Settings</a></li>\\\n<li style=\\\"padding:0.25em 0px;margin:0px;text-indent:0px;margin-bottom:0.25em;padding-top:0px;padding-bottom:0px;\\\"><a href=\\\"http://kebabapps.blogspot.tw/p/llama-handling-guide-instructions.html#faq\\\" style=\\\"text-decoration:none;color:rgb(201, 73, 0);\\\">FAQ</a></li>\\\n</ul><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">Llama is a Location Aware Mobile Application. It will allow you to change settings on your phone based on your location and time, so you can set the ringer volume, vibrate mode and ring tones for when you are asleep or at work.<br/>\\\n</p><h2 style=\\\"margin:0px;position:relative;font-size:110%;margin-bottom:0px;font-weight:bold;\\\">Areas</h2><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">Llama does not use GPS like some other applications, it also doesn't use any data connection so it won't eat into your data plan. Instead, Llama uses the unique ID given to each phone mast (or cell) that your phone is connected to. You have to train your Llama so that it know which location each of the phone masts this corresponds to.</p><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">Training your Llama is easy. Simply tap the <em style=\\\"font-style:normal;font-weight:bold;color:green;\\\">Areas</em> tab then long-press the area where you currently are and choose <em style=\\\"font-style:normal;font-weight:bold;color:green;\\\">Start Learning Area</em>. Llama will then want to know how long you plan to stay in your current location. Once you've chosen a time, Llama will be on the look out for cell towers and it will assign those towers to your chosen location. If you want to teach Llama a different area, you have to be in the place that you want to teach, e.g. you cannot teach Llama about your workplace if you are still at home. Llama comes with both Home and Work areas, but you can delete these and add new ones by pressing the Menu button on your phone<br/>\\\n</p><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">Llama shows you the recent phone masts that it has seen on the <em style=\\\"font-style:normal;font-weight:bold;color:green;\\\">Cells</em> tab. This tab shows you which areas Llama thinks the cell is in. You can long-press a cell to manually add it to an area or to remove it from an area if it was learned incorrectly. Cells can be part of as many areas as you like. For example, you can have three areas named Office1, Office2 and Work. The cells in Office1 and Office2 are different, but the Work area contains the cells that are in both Office1 and Office2. This way you can define events for each office separately or for your workplace as a whole.</p><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">NOTES: Since Llama uses cell tower location to identify your location, it is not very accurate. Llama works best in built up areas with lots of phone masts. The accuracy is around 100m to a kilometer. If your workplace is close to your home then Llama's location handling is not for you :( However, you can still use the time conditions to create events.</p><br/>\\\n<h2 style=\\\"margin:0px;position:relative;font-size:110%;margin-bottom:0px;font-weight:bold;\\\">Profiles</h2><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">Profiles provide a way of grouping the ringer, vibrate, ringtones and notification tones, similar to how other phone manufacturers handle these functions. Each profile can also have an icon associated with it so that you can see which profile is currently activated in the notification bar. You can change the profile manually by using the <em style=\\\"font-style:normal;font-weight:bold;color:green;\\\">Profiles</em> tab, or by creating events that change the profile. Llama comes with some built in profiles named normal, quiet and loud. You can add new ones, edit these ones or delete them.</p><br/>\\\n<h2 style=\\\"margin:0px;position:relative;font-size:110%;margin-bottom:0px;font-weight:bold;\\\">Events</h2><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">Events are at the heart of Llama. You define events to tell your Llama what you want it to do. Each event has a set of conditions and actions. When all of the conditions are met, the actions are run. Llama comes with some default events, but you can customise them as you wish. One of the events is named 'Quiet at night', and is based on the fact that you are at home, and the time is after 10pm. This means that when it is late and you are at home, it will turn the ringer to a lower volume. However, if you are at the pub and it's after 10pm, it will leave the ringer alone (NOTE: this is assuming that your home and the pub are suitably far away. Llama works best in built up areas with lots of phone masts).</p><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">To create events, click the <em style=\\\"font-style:normal;font-weight:bold;color:green;\\\">events</em> tab and then press the Menu button to add an event. You can then add as many conditions and actions as you like for your new event by pressing the Menu button.</p><h3 style=\\\"margin:0px;position:relative;margin-bottom:0px;font-weight:bold;font-size:100%;\\\">Conditions</h3>For an event to fire, each of it's conditions must be met. Most conditions also act as triggers. e.g. entering an area or the time changing. This allows events to fire no matter what order the conditions occured. e.g. 'At work after 8.30am' will fire if you get to work after 8.30am, or if you are already at work before 8.30am and you are still there as the time changes to 8.30am.<br/>\\\n<dl><dt style=\\\"font-weight:bold;\\\">Bluetooth Device Connected</dt>\\\n<dd>Fires when the chosen paired Bluetooth device is connected.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Bluetooth Device Disconnected</dt>\\\n<dd>Fires when the chosen paired Bluetooth device is disconnected, or you turn off Bluetooth.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Car Mode</dt>\\\n<dd>Fires when your phone enters or exits car mode, either through entering a car dock or by running the car home application.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Charging or unplugged</dt>\\\n<dd>Fires when your phone is connected or disconnected from the charger.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Day of the Week</dt>\\\n<dd>Use this to only let the event's actions run on certain days.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Enter/In Area</dt>\\\n<dd>Occurs when you enter an area, or require your phone to be in an area.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Leave Area</dt>\\\n<dd>Occurs when you leave an area, but does not stay true. See Not in Areas condition</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Music Playback</dt>\\\n<dd>Fires when music starts or stops playing. Probably only works for music applications that use the built in media playback service</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Not in Area</dt>\\\n<dd>This condition will trigger events when you have left all of the selected areas, and will remain true for as long as you are not in those areas.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Time Between</dt>\\\n<dd>Occurs when the current time is between two times. You can also span period over midnight. e.g. 10pm until 6am.</dd> </dl><h3 style=\\\"margin:0px;position:relative;margin-bottom:0px;font-weight:bold;font-size:100%;\\\">Actions</h3>All actions will happen when an event's conditions are met. You can also test the actions by long-pressing an event in the <em style=\\\"font-style:normal;font-weight:bold;color:green;\\\">Events</em> tab or by pressing the Menu key and choosing <em style=\\\"font-style:normal;font-weight:bold;color:green;\\\">Test Actions</em> when you are editing an event. <br/>\\\n<dl><dt style=\\\"font-weight:bold;\\\">Change Brightness</dt>\\\n<dd>Changes the phone screen's brightness.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Change Music Volume</dt>\\\n<dd>Changes the music/media volume, so that you do not need to have a specific profile just for music volume.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Change Profile</dt>\\\n<dd>Changes the phone's ringer and vibrate settings according to a profile defined in the <em style=\\\"font-style:normal;font-weight:bold;color:green;\\\">Profiles</em> tab.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Kill Application</dt>\\\n<dd>Terminates an application (as best as permitted by Android OS restrictions)</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Reboot</dt>\\\n<dd>Reboots your phone. This requires your phone to be rooted. Be careful with your conditions. You do not want your phone to reboot every  time you are at home. If your phone has not been on for at least 5 minutes, it will not reboot so that you can fix any wonky conditions.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Reminder</dt>\\\n<dd>Places a notification in the notification bar with the text that you specify. NOTE: this is incomplete and a bit ugly at the moment.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Run Application</dt>\\\n<dd>Runs the specified application.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Toggle Account Sync</dt>\\\n<dd>Turns account syncing on and off</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Toggle Airplane Mode</dt>\\\n<dd>Turns airplane mode on and off. Due to the way this works, it will also turn off your Bluetooth and WiFi</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Toggle APN</dt>\\\n<dd>Turns mobile data on and off for GSM networks.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Toggle Bluetooth</dt>\\\n<dd>Turns Bluetooth on and off.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Toggle GPS</dt>\\\n<dd>Turns GPS on and off.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Toggle Screen Lock</dt>\\\n<dd>Turns the screen pattern or code lock on and off. NOTE: this is buggy at the moment. If the Llama service gets killed by Android, then the screen lock will turn back on.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Toggle WiFi</dt>\\\n<dd>Turns WiFi on and off. You can also make sure that Llama doesn't disconnect you if you are already connected to a WiFi network</dd>     </dl><br/>\\\n<h2 style=\\\"margin:0px;position:relative;font-size:110%;margin-bottom:0px;font-weight:bold;\\\">Event Examples</h2><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">Event's usually come in pairs. e.g. one for entering an area and another for when you leave that area. Additionally, you'd have one event for the daylight hours and one for the night time. The default events are set up as follows:</p><ul style=\\\"padding:0px 2.5em;margin:0.5em 0px;line-height:1.4;\\\"><li style=\\\"padding:0.25em 0px;margin:0px;text-indent:0px;margin-bottom:0.25em;padding-top:0px;padding-bottom:0px;\\\">Normal at home - At home between 6.30 and 22.00 - Change to Normal</li>\\\n<li style=\\\"padding:0.25em 0px;margin:0px;text-indent:0px;margin-bottom:0.25em;padding-top:0px;padding-bottom:0px;\\\">Quiet at night - At home between 22.00 and 6.30 - Change to Quiet</li>\\\n</ul><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">There is also another event called 'Left home' to ensure that the profile gets changed back to Normal for when you go out after the Quiet at night event has happened at 10pm.</p><br/>\\\n<p style=\\\"margin-top:0px;margin-bottom:8px;\\\">You can also create an event that disables/enables APN mobile data, so your phone isn't pointlessly checking your email overnight. Another event I have turns on Bluetooth in the morning at the time just before I leave the house. Note that using 'left home' would mean that Bluetooth wouldn't turn on until I had walked for a few minutes from my front door.</p><h2 style=\\\"margin:0px;position:relative;font-size:110%;margin-bottom:0px;font-weight:bold;\\\">Settings</h2>Llama has some global settings that you can change using<br/>\\\n<dl><dt style=\\\"font-weight:bold;\\\">Alternative icon colour</dt>\\\n<dd>Toggle this to use a light icon instead of a dark icon.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Notification Mode</dt>\\\n<dd>The lets you pick how you are notified of profile changes. The recommended settings are the Ongoing Notification modes, as this also instructs Android to be a bit more friendly to the Llama service.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Use 12-hour time pickers</dt>\\\n<dd>Llama will use the time format for your country. However, if you can understand both 12- and 24-hour times, you'll have less clicking for a 12-hour time picket ;)</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Ignore Invalid/No Signal cell</dt>\\\n<dd>There is a special cell called 'No Signal'. This cell is used when you are out of service. If you home or workplace has a weak signal, this will cause Llama to fire any events for leaving home or work. Tick this box to disregard the no signal cell when deciding which area you are in.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Cell Polling Mode</dt>\\\n<dd>Whether to wake the CPU every so often to look for cell changes. This potentially provides less laggy enter/leave conditons, at the cost of a tiny amount of battery life. You probably don't need to turn it on.</dd>\\\n<dt style=\\\"font-weight:bold;\\\">Cell Polling Interval</dt>\\\n<dd>How often to poll if Cell Polling Mode is enabled</dd> </dl>There are also some debug settings if you are feeling geeky.<br/>\\\n<dl><dt style=\\\"font-weight:bold;\\\">Force Persistant</dt>\\\n<dd>On devices with a low amount of memory, Android will kill services to keep a foreground app running. Android will then restart the service when it has more  free memory. When Force Persistant is enabled, Llama will try and get itself alive quicker. You probably shouldn't enable this</dd> </dl>\\\n<div style=\\\"clear:both;\\\"></div>\\\n</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br/></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":16850}]"
metadata_diff: {"new":{"id":"a0aa5a2ad63d40819e6e3fc5fb109b6e","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348821513,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:03:45.165Z
created_time: 2025-11-28T21:03:45.165Z
type_: 13