prim-ctrl 0.7.9__tar.gz → 0.7.11__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.3
2
2
  Name: prim-ctrl
3
- Version: 0.7.9
3
+ Version: 0.7.11
4
4
  Summary: 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
  Author: Laszlo Magyar
@@ -652,8 +652,9 @@ class Tailscale():
652
652
  assert self.tailscale_api is not None
653
653
  logger.debug("Calling Tailscale API for devices")
654
654
  devices = await self.tailscale_api.devices()
655
+ name = f"{machine_name}.{self.tailnet}"
655
656
  for device in devices.values():
656
- if device.hostname == machine_name:
657
+ if device.name == name:
657
658
  return device
658
659
  raise RuntimeError(f"Device {machine_name} in {self.tailnet} is unknown by Tailscale")
659
660
 
@@ -887,7 +888,7 @@ class AutomatePhoneState(PhoneState):
887
888
 
888
889
  # test external funnel + webhooks availability, ie. test funnel tcp forwarders
889
890
  # it will NOT be routed locally, so the route is equivalent with / similar to what Automate will see
890
- test_timeout = 60.0
891
+ test_timeout = 90.0
891
892
  logger.debug("Testing Funnel with calling external webhook (timeout is %ds)", int(test_timeout))
892
893
  try:
893
894
  await self.external_webhook_ping.wait_for(True, test_timeout)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "prim-ctrl"
3
- version = "0.7.9"
3
+ version = "0.7.11"
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