prim-ctrl 0.7.1__tar.gz → 0.7.2__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.
- {prim_ctrl-0.7.1 → prim_ctrl-0.7.2}/PKG-INFO +7 -4
- {prim_ctrl-0.7.1 → prim_ctrl-0.7.2}/README.md +6 -3
- {prim_ctrl-0.7.1 → prim_ctrl-0.7.2}/prim_ctrl/__main__.py +4 -2
- {prim_ctrl-0.7.1 → prim_ctrl-0.7.2}/pyproject.toml +1 -1
- {prim_ctrl-0.7.1 → prim_ctrl-0.7.2}/LICENSE +0 -0
- {prim_ctrl-0.7.1 → prim_ctrl-0.7.2}/prim_ctrl/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: prim-ctrl
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.2
|
|
4
4
|
Summary: Primitive Ctrl - Remote control of your phone's Primitive FTPd Android SFTP server and optionally Tailscale VPN.
|
|
5
5
|
Home-page: https://github.com/lmagyar/prim-ctrl
|
|
6
6
|
License: Apache-2.0
|
|
@@ -105,7 +105,8 @@ Optionally, if you want to edit or even contribute to the source, you also need
|
|
|
105
105
|
- 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
106
|
- Import it with the ... menu / Import command
|
|
107
107
|
- Enable all privileges
|
|
108
|
-
- Click on the flow, edit the
|
|
108
|
+
- Click on the flow, edit the 2nd block (Set variable google_account to...), enter your Google account's email and press Save
|
|
109
|
+
- Optionally, if the Google account your phone is registered to is different from the Google account you use to send messages to Automate (eg. you manage a phone that is a jukebox or a family member's phone and you use your personal account to send messages), edit the 3rd block (Set variable other_managing_accounts to...), enter one or more Google account's email (separated with space or comma) and press Save
|
|
109
110
|
- Start the flow
|
|
110
111
|
- Settings
|
|
111
112
|
- Safety
|
|
@@ -175,10 +176,12 @@ Note: optionally if your laptop is accessible through Tailscale Funnel then VPN
|
|
|
175
176
|
Output: even when -b option is not used, the script will output 'connected=(local|remote)', what you can use to determine whether to use -a option for the prim-sync script
|
|
176
177
|
|
|
177
178
|
positional arguments:
|
|
178
|
-
automate-account your Google account email you set up in the Automate flow's
|
|
179
|
+
automate-account your Google account email you set up in the Automate flow's 2nd block's (Set variable google_account to...) Value field
|
|
179
180
|
automate-device the device name you can see at the Automate flow's Cloud receive block's This device field
|
|
180
181
|
automate-tokenfile filename containing Automates's Secret that located under your .secrets folder
|
|
181
|
-
(generated on https://llamalab.com/automate/cloud, use the same Google account you set
|
|
182
|
+
(generated on https://llamalab.com/automate/cloud, use the same Google account you set the automate_account option to)
|
|
183
|
+
Note: if the account you use to send messages is different from the automate_account option,
|
|
184
|
+
set it up in the Automate flow's 3rd block's (Set variable other_managing_accounts to...) Value field
|
|
182
185
|
server-name the Servername configuration option from Primitive FTPd app
|
|
183
186
|
keyfile private SSH key filename located under your .ssh folder, see the documentation of prim-sync for more details
|
|
184
187
|
|
|
@@ -79,7 +79,8 @@ Optionally, if you want to edit or even contribute to the source, you also need
|
|
|
79
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)
|
|
80
80
|
- Import it with the ... menu / Import command
|
|
81
81
|
- Enable all privileges
|
|
82
|
-
- Click on the flow, edit the
|
|
82
|
+
- Click on the flow, edit the 2nd block (Set variable google_account to...), enter your Google account's email and press Save
|
|
83
|
+
- Optionally, if the Google account your phone is registered to is different from the Google account you use to send messages to Automate (eg. you manage a phone that is a jukebox or a family member's phone and you use your personal account to send messages), edit the 3rd block (Set variable other_managing_accounts to...), enter one or more Google account's email (separated with space or comma) and press Save
|
|
83
84
|
- Start the flow
|
|
84
85
|
- Settings
|
|
85
86
|
- Safety
|
|
@@ -149,10 +150,12 @@ Note: optionally if your laptop is accessible through Tailscale Funnel then VPN
|
|
|
149
150
|
Output: even when -b option is not used, the script will output 'connected=(local|remote)', what you can use to determine whether to use -a option for the prim-sync script
|
|
150
151
|
|
|
151
152
|
positional arguments:
|
|
152
|
-
automate-account your Google account email you set up in the Automate flow's
|
|
153
|
+
automate-account your Google account email you set up in the Automate flow's 2nd block's (Set variable google_account to...) Value field
|
|
153
154
|
automate-device the device name you can see at the Automate flow's Cloud receive block's This device field
|
|
154
155
|
automate-tokenfile filename containing Automates's Secret that located under your .secrets folder
|
|
155
|
-
(generated on https://llamalab.com/automate/cloud, use the same Google account you set
|
|
156
|
+
(generated on https://llamalab.com/automate/cloud, use the same Google account you set the automate_account option to)
|
|
157
|
+
Note: if the account you use to send messages is different from the automate_account option,
|
|
158
|
+
set it up in the Automate flow's 3rd block's (Set variable other_managing_accounts to...) Value field
|
|
156
159
|
server-name the Servername configuration option from Primitive FTPd app
|
|
157
160
|
keyfile private SSH key filename located under your .ssh folder, see the documentation of prim-sync for more details
|
|
158
161
|
|
|
@@ -1112,10 +1112,12 @@ class AutomateControl(Control):
|
|
|
1112
1112
|
"Output: even when -b option is not used, the script will output 'connected=(local|remote)', what you can use to determine whether to use -a option for the prim-sync script",
|
|
1113
1113
|
formatter_class=WideHelpFormatter)
|
|
1114
1114
|
|
|
1115
|
-
parser.add_argument('automate_account', metavar='automate-account', help="your Google account email you set up in the Automate flow's
|
|
1115
|
+
parser.add_argument('automate_account', metavar='automate-account', help="your Google account email you set up in the Automate flow's 2nd block's (Set variable google_account to...) Value field")
|
|
1116
1116
|
parser.add_argument('automate_device', metavar='automate-device', help="the device name you can see at the Automate flow's Cloud receive block's This device field")
|
|
1117
1117
|
parser.add_argument('automate_tokenfile', metavar='automate-tokenfile', help="filename containing Automates's Secret that located under your .secrets folder\n"
|
|
1118
|
-
"(generated on https://llamalab.com/automate/cloud, use the same Google account you set
|
|
1118
|
+
"(generated on https://llamalab.com/automate/cloud, use the same Google account you set the automate_account option to)\n"
|
|
1119
|
+
"Note: if the account you use to send messages is different from the automate_account option,\n"
|
|
1120
|
+
"set it up in the Automate flow's 3rd block's (Set variable other_managing_accounts to...) Value field")
|
|
1119
1121
|
|
|
1120
1122
|
Control.setup_parser_arguments(parser)
|
|
1121
1123
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "prim-ctrl"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.2"
|
|
4
4
|
description = "Primitive Ctrl - Remote control of your phone's Primitive FTPd Android SFTP server and optionally Tailscale VPN."
|
|
5
5
|
license = "Apache-2.0"
|
|
6
6
|
authors = ["Laszlo Magyar <lmagyar1973@gmail.com>"]
|
|
File without changes
|
|
File without changes
|