prim-ctrl 0.8.6__tar.gz → 0.8.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: prim-ctrl
3
- Version: 0.8.6
3
+ Version: 0.8.7
4
4
  Summary: Primitive Ctrl - Remote control of your phone's Primitive FTPd Android SFTP server and optionally Tailscale VPN.
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
@@ -95,9 +95,15 @@ Optionally, if you want to edit or even contribute to the source, you also need
95
95
 
96
96
  ## Configuration
97
97
 
98
+ ### Android
99
+
100
+ You have to enable Automate and Tailscale to run as much in the background as possible. Depending your Android version, Android keeps closing apps running in the background. Even if you think you configured explicitly not to do this. Please visit https://dontkillmyapp.com/ on more information about battery saving options.
101
+
102
+ You have to disable auto update for Automate, because updates kill all running flows without restarting them. Please open Android Settings, Apps, select Automate, App details in store, ... menu, turn off "Enable auto update".
103
+
98
104
  ### Automate
99
105
 
100
- - Download the https://raw.githubusercontent.com/lmagyar/prim-ctrl/main/res/prim-ctrl.flo Automate flow to your phone (see [image](https://raw.githubusercontent.com/lmagyar/prim-ctrl/main/res/prim-ctrl.png) of the flow)
106
+ - Download the https://raw.githubusercontent.com/lmagyar/prim-ctrl/main/res/prim-ctrl.flo Automate flow to your phone (see [image](https://media.githubusercontent.com/media/lmagyar/prim-ctrl/refs/heads/main/res/prim-ctrl.png) of the flow)
101
107
  - Import it with the ... menu / Import command
102
108
  - Enable all privileges
103
109
  - Click on the flow, edit the 2nd block (Set variable google_account to...), enter your Google account's email and press Save
@@ -74,9 +74,15 @@ Optionally, if you want to edit or even contribute to the source, you also need
74
74
 
75
75
  ## Configuration
76
76
 
77
+ ### Android
78
+
79
+ You have to enable Automate and Tailscale to run as much in the background as possible. Depending your Android version, Android keeps closing apps running in the background. Even if you think you configured explicitly not to do this. Please visit https://dontkillmyapp.com/ on more information about battery saving options.
80
+
81
+ You have to disable auto update for Automate, because updates kill all running flows without restarting them. Please open Android Settings, Apps, select Automate, App details in store, ... menu, turn off "Enable auto update".
82
+
77
83
  ### Automate
78
84
 
79
- - Download the https://raw.githubusercontent.com/lmagyar/prim-ctrl/main/res/prim-ctrl.flo Automate flow to your phone (see [image](https://raw.githubusercontent.com/lmagyar/prim-ctrl/main/res/prim-ctrl.png) of the flow)
85
+ - Download the https://raw.githubusercontent.com/lmagyar/prim-ctrl/main/res/prim-ctrl.flo Automate flow to your phone (see [image](https://media.githubusercontent.com/media/lmagyar/prim-ctrl/refs/heads/main/res/prim-ctrl.png) of the flow)
80
86
  - Import it with the ... menu / Import command
81
87
  - Enable all privileges
82
88
  - Click on the flow, edit the 2nd block (Set variable google_account to...), enter your Google account's email and press Save
@@ -841,7 +841,7 @@ class LocalTailscale(Manageable):
841
841
  if start_result and not self._checked_fresh_start and self.machine_name:
842
842
  self._checked_fresh_start = True
843
843
  max_last_seen_age = 7200
844
- wait_on_fresh_start = 5
844
+ wait_on_fresh_start = 10
845
845
  # if we started up now, then connected_to_control was False, use last_seen only
846
846
  # additionally connected_to_control state changes are delayed, it can be True if it was stopped recently
847
847
  difference = datetime.now(timezone.utc).replace(microsecond=0) - device_info.last_seen if device_info.last_seen else None
@@ -3,7 +3,7 @@ packages = [{include = "prim_ctrl"}]
3
3
 
4
4
  [project]
5
5
  name = "prim-ctrl"
6
- version = "0.8.6"
6
+ version = "0.8.7"
7
7
  description = "Primitive Ctrl - Remote control of your phone's Primitive FTPd Android SFTP server and optionally Tailscale VPN."
8
8
  license = "Apache-2.0"
9
9
  authors = [
File without changes