Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. HABpanel Speicherort für zusätzliche Ressourcen

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    HABpanel Speicherort für zusätzliche Ressourcen

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      j1s2e3 last edited by

      Hallo zusammen,

      ich versuche gerade ein CustomWidget im HABpanel (0.4.3) unter ioBroker zum laufen zu bringen.

      <div oc-lazy-load="['/widgets/thermoKnob/ng-knob-thermo.js','/app/widgets/thermoKnob/control-oh.js']"  style="position: absolute; top: 10px; left: 10px; width: calc(100% - 20px); height: calc(100% - 20px);">
        <div ng-controller="knobCtrlOH">
          <ui-knob-thermo value="value" current="current" heating="heating" options="options" config="config"></ui-knob-thermo>
        </div>
      </div>
      

      Es geht um die beiden Javascripts. Wenn ich die Seite laufen lasse, sagt der Inspector das die Ressource ng-knob-thermo.js und control-oh-js nit gefunden werden (404). Ich habe schon alle möglichen Ablageorte für die Skripte ausprobiert.

      Frage: Wo liegt das root-Verzeichnis vom ioBroker.web Adapter? Wo muss ich die Ressource ablegen und wie baut sich der Pfad zusammen (gibt es nur einen globalen Pfad, oder ist das auch Adapter/Widget abhängig)?

      Roland Hofstetter 1 Reply Last reply Reply Quote 0
      • Roland Hofstetter
        Roland Hofstetter @j1s2e3 last edited by Roland Hofstetter

        I have the exakt same issue. Using habpanel with openhab2, i can put the scripts in the openhab2 directory as explained in the Reader and the Demo widget is displyed correctly.
        However Wien im using the iobroker habpanel, I don't know where to put the scripts and how to Reference them,. Openhab habpanel and iobroker habpanel run on different ports. So where is the correct location for the Java scripts?

        jahnbes 1 Reply Last reply Reply Quote 0
        • jahnbes
          jahnbes @Roland Hofstetter last edited by

          @roland-hofstetter
          Did anybody found an answer in the meantime?
          I have the exakt same issue.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Support us

          ioBroker
          Community Adapters
          Donate

          839
          Online

          31.9k
          Users

          80.3k
          Topics

          1.3m
          Posts

          3
          3
          321
          Loading More Posts
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes
          Reply
          • Reply as topic
          Log in to reply
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
          The ioBroker Community 2014-2023
          logo