Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Tapo aa Python script installieren

Featured Replies

Liebe Gemeinde,

 

ich habe Tapo Heizthermostate gekauft und habe keine Lust, das Abo abzuschliessen, um die +Funktionen zu nutzen. Gluecklicherweise gibt es ein Python Script, das die Funktionen umsetzt.

 

Jetzt frage ich mich, wie ich das am besten auf meinem Unraid Server einbaue. Ich hatte erst an einen Docker Container mit Python gedacht, aber das ist vermutlich overkill.

Ich denke, das userscripts plugin duerfte ausreichen, um den Job zu erledigen. Python habe ich schon ueber nerdtools installiert. Jetzt frage ich mich, wie ich das am besten "installiere". Kopiere ich die tado_aa.py einfach irgendwo in einen share und was fuer ein Script schreibe ich dann im userscript, um diese auszufuehren?

 

 

Vielen Dank im Voraus fuer die Hilfe.

Solved by hawihoney

  • Solution
25 minutes ago, Konni said:

Kopiere ich die tado_aa.py einfach irgendwo in einen share und was fuer ein Script schreibe ich dann im userscript, um diese auszufuehren?

 

Bei mir laufen ein paar dutzend Python Skripte per User Scripts Plugin auf diese Art und Weise:

 

#!/bin/bash
#arrayStarted=true
#backgroundOnly=true
#clearLog=true
#noParity=true

python3 /mnt/disk1/Projekt/Source.py

 

Kannst aber auch das Python Skript komplett in das User Skript kopieren: Musst wahrscheinlich nur einen She Bang für Python an erster Stelle setzen. Das habe ich aber noch nie so gemacht da ich lieber den Code auf dem Array entwickle statt auf dem Stick.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.