bundlewrap/bundles/tasmota-charge
2022-06-01 23:11:55 +02:00
..
files tasmota-charge: fixes + 2022-04-21 23:50:49 +02:00
items.py change telegraf plugin dir 2022-01-08 23:26:21 +01:00
metadata.py nextcloud weekly rescan 2022-02-23 18:03:38 +01:00
README.md termux autostart 2022-06-01 23:11:55 +02:00

Phone

  • install termux from F-Droid
  • install termux::api from F-Droid
  • open termux
  • run pkg update
  • run pkg install termux-api openssh
  • run passwd and set a password
  • run whoami to get the username
  • run sshd to start ssh server
  • run su - tasmota-charge -c 'ssh-copy-id -p 8022 u0_a233@10.0.0.175' on server node
  • acquire wakelock for the termux session in notifications
  • install termux::boot from F-Droid
  • create file ~/.termux/boot/start-sshd:
    #!/data/data/com.termux/files/usr/bin/sh
    termux-wake-lock
    sshd
    

Server

  • you can run something like su - tasmota-charge -c 'ssh -p 8022 u0_a233@10.0.0.175'