Ankündigung

Einklappen

Serverwartung 21.2.



Am 21.2. im Laufe des späten Abends wird eine Serverwartung durchgeführt. Das Forum ist dadurch für gut zwei Stunden nicht erreichbar.
Es wird eine Wartungsseite geschaltet.

Mehr anzeigen
Weniger anzeigen

Variables in logics?

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Variables in logics?

    Hello.
    Can you program the logics, like it was traditionally python? etc. like creating an temp variable just by assigning a value to the?
    et.
    a=50

    Or do i have to create the item in the "items" config?

    I've tried just assign a value to a variable inside the logics, but i get an attribute error - so i was wondering if it's my code, or i have to create the item before writing to it?

    It's just for internally use in the logics

    #2
    Hi,
    Zitat von Rasmus7700 Beitrag anzeigen
    Can you program the logics, like it was traditionally python? etc. like creating an temp variable just by assigning a value to the?
    et.
    a=50
    yes.

    so long

    Marcus

    Kommentar


      #3
      Great, so if i can run the scripts in Visual Studio with a python compiler, then it should also work in sh.py

      It's a bit easier to do when you are pretty n00b at python

      Kommentar

      Lädt...
      X