Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate

Pro

Privat

Erfahrene

Beiträge


  • [gelöst]REST-API (v4.0.1) Aufruf liefert Fehlermeldung
    OliverIOO OliverIO

    @tklein

    fastfoot hat es doch schon geschrieben

    du hast state und v1 vertauscht

    falsch
    /state/v1/0_userdata.0.Raum.Wohnzimmer.sonnenschutz/toggle
    richtig
    /v1/state/0_userdata.0.Raum.Wohnzimmer.sonnenschutz/toggle

    toggle gibt es aber auch nicht
    https://github.com/ioBroker/ioBroker.rest-api

    Installation

  • [gelöst]REST-API (v4.0.1) Aufruf liefert Fehlermeldung
    T tklein

    tklein sagte:

    {
      "common": {
        "name": "sonnenschutz state",
    

    an dem namen hat es gelegen. nachdem ich "blankstate" gelöscht hatte hat es geklappt.
    Dann ist der Name != ID

    Dabei hatte ich die ID aus dem Objektbaum kopiert.

    Installation

  • [gelöst]REST-API (v4.0.1) Aufruf liefert Fehlermeldung
    T tklein

    Ist am Objekt/DP etwas falsch konfiguriert?

    {
      "common": {
        "name": "sonnenschutz state",
        "desc": "Manuell erzeugt",
        "role": "state",
        "type": "boolean",
        "read": true,
        "write": true,
        "def": false
      },
      "type": "state",
      "native": {},
      "_id": "0_userdata.0.Raum.Wohnzimmer.sonnenschutz",
      "acl": {
        "object": 1636,
        "state": 1636,
        "owner": "system.user.admin",
        "ownerGroup": "system.group.administrator"
      },
      "from": "system.adapter.admin.0",
      "user": "system.user.admin",
      "ts": 1782374952402
    }
    
    Installation

  • [gelöst]REST-API (v4.0.1) Aufruf liefert Fehlermeldung
    T tklein

    @fastfoot leider auch nicht:

    Cannot GET /state/v1/0_userdata.0.Raum.Wohnzimmer.sonnenschutz/toggle
    
    Installation

  • Tabs Registerkarten formatierung
    OliverIOO OliverIO

    @perladd

    Die Lösung wären 2 Schritte

    1. optional das widget
      ich habe die breite auf 400px eingestellt
      und unter General eine css klasse definiert
      c4a7fbac-3739-4740-88ac-5cde0d16f919-image.jpeg

    [
     {
       "tpl": "tplSTab",
       "data": {
         "bindings": [],
         "contains_view_1": "Stromverbrauch",
         "contains_view_2": "Stromanbieter anlegen",
         "contains_view_3": "Stromanbieter bearbeiten",
         "contains_view_4": "Stromanbieter löschen",
         "contains_view_5": "Strom Grunddaten",
         "g_common": true,
         "g_node-1": true,
         "g_node-2": true,
         "g_node-3": true,
         "g_node-4": true,
         "g_node-5": true,
         "icon_color_1": null,
         "icon_color_2": null,
         "icon_color_3": null,
         "icon_color_4": null,
         "icon_color_5": null,
         "icon_size_1": null,
         "icon_size_2": null,
         "icon_size_3": null,
         "icon_size_4": null,
         "icon_size_5": null,
         "icon_tab_1": null,
         "icon_tab_2": null,
         "icon_tab_3": null,
         "icon_tab_4": null,
         "icon_tab_5": null,
         "image_tab_1": null,
         "image_tab_2": null,
         "image_tab_3": null,
         "image_tab_4": null,
         "image_tab_5": null,
         "overflow_x_1": "",
         "overflow_x_2": null,
         "overflow_x_3": null,
         "overflow_x_4": null,
         "overflow_x_5": null,
         "overflow_y_1": "",
         "overflow_y_2": null,
         "overflow_y_3": null,
         "overflow_y_4": null,
         "overflow_y_5": null,
         "show_tabs": 5,
         "title_tab_1": "Abrechnung",
         "title_tab_2": "Anbieter anlegen",
         "title_tab_3": "Anbieter bearbeiten",
         "title_tab_4": "Anbieter löschen",
         "title_tab_5": "Grunddaten",
         "variant": "fullWidth",
         "g_css_font_text": true,
         "vertical": false,
         "name": null,
         "comment": null,
         "class": "mytabs",
         "filterkey": null,
         "multi-views": null,
         "locked": null,
         "g_fixed": true,
         "g_css_shadow_padding": true
       },
       "style": {
         "bindings": [],
         "left": "19px",
         "top": "14px",
         "width": "400px",
         "height": "160px",
         "padding": ""
       },
       "widgetSet": "tabs",
       "_id": "i000001"
     }
    ]
    

    1. Dann in den Reiter CSS das folgende kopieren

    Das bedeutet, das jedes widget, welches mytabs als Klassenname hat und ein Mui Tab-Element enthält, wird die Tabbreite auf den Standard zurückgesetzt(also keine min width). Aktuell ist mindestens 90px pro Reiter eingestellt gewesen.

    2acfd182-2108-4342-9e53-96c57ed879de-image.jpeg

    .mytabs .MuiTab-root {
      min-width: inherit;
    }
    

    Ergebnis sieht dann so aus, das widget kann dann exakt auf 400px eingestellt werden (oder auch eine andere Breite).
    6cb0f575-d6ab-400c-967b-566148e79cba-image.jpeg

    Allerdings ist natürlich beim breitesten Wort schluss. Da kann der Browser nicht mehr umbrechen. Dann müsste man an die Schriftgröße ran oder einfach Icons nehmen.

    bd1fb8b7-130a-4ab8-b3d2-52ac30c6be22-image.jpeg

    [
     {
       "tpl": "tplSTab",
       "data": {
         "bindings": [],
         "contains_view_1": "Stromverbrauch",
         "contains_view_2": "Stromanbieter anlegen",
         "contains_view_3": "Stromanbieter bearbeiten",
         "contains_view_4": "Stromanbieter löschen",
         "contains_view_5": "Strom Grunddaten",
         "g_common": true,
         "g_node-1": true,
         "g_node-2": true,
         "g_node-3": true,
         "g_node-4": true,
         "g_node-5": true,
         "icon_color_1": null,
         "icon_color_2": null,
         "icon_color_3": null,
         "icon_color_4": null,
         "icon_color_5": null,
         "icon_size_1": null,
         "icon_size_2": null,
         "icon_size_3": null,
         "icon_size_4": null,
         "icon_size_5": null,
         "icon_tab_1": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0xNC42OSAyLjIxTDQuMzMgMTEuNDljLS42NC41OC0uMjggMS42NS41OCAxLjczTDEzIDE0bC00Ljg1IDYuNzZjLS4yMi4zMS0uMTkuNzQuMDggMS4wMWMuMy4zLjc3LjMxIDEuMDguMDJsMTAuMzYtOS4yOGMuNjQtLjU4LjI4LTEuNjUtLjU4LTEuNzNMMTEgMTBsNC44NS02Ljc2Yy4yMi0uMzEuMTktLjc0LS4wOC0xLjAxYS43Ny43NyAwIDAgMC0xLjA4LS4wMnoiLz48L3N2Zz4=",
         "icon_tab_2": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0xOSAxM2gtNnY2aC0ydi02SDV2LTJoNlY1aDJ2Nmg2djJ6Ii8+PC9zdmc+",
         "icon_tab_3": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0zIDE3LjI1VjIxaDMuNzVMMTcuODEgOS45NGwtMy43NS0zLjc1TDMgMTcuMjV6TTIwLjcxIDcuMDRhLjk5Ni45OTYgMCAwIDAgMC0xLjQxbC0yLjM0LTIuMzRhLjk5Ni45OTYgMCAwIDAtMS40MSAwbC0xLjgzIDEuODNsMy43NSAzLjc1bDEuODMtMS44M3oiLz48L3N2Zz4=",
         "icon_tab_4": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0xOSA2LjQxTDE3LjU5IDVMMTIgMTAuNTlMNi40MSA1TDUgNi40MUwxMC41OSAxMkw1IDE3LjU5TDYuNDEgMTlMMTIgMTMuNDFMMTcuNTkgMTlMMTkgMTcuNTlMMTMuNDEgMTJ6Ii8+PC9zdmc+",
         "icon_tab_5": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0zIDE4aDEydi0ySDN2MnpNMyA2djJoMThWNkgzem0wIDdoMTh2LTJIM3YyeiIvPjwvc3ZnPg==",
         "image_tab_1": null,
         "image_tab_2": null,
         "image_tab_3": null,
         "image_tab_4": null,
         "image_tab_5": null,
         "overflow_x_1": "",
         "overflow_x_2": null,
         "overflow_x_3": null,
         "overflow_x_4": null,
         "overflow_x_5": null,
         "overflow_y_1": "",
         "overflow_y_2": null,
         "overflow_y_3": null,
         "overflow_y_4": null,
         "overflow_y_5": null,
         "show_tabs": 5,
         "title_tab_1": "",
         "title_tab_2": "",
         "title_tab_3": "",
         "title_tab_4": "",
         "title_tab_5": "",
         "variant": "fullWidth",
         "g_css_font_text": true,
         "vertical": false,
         "name": null,
         "comment": null,
         "class": "mytabs",
         "filterkey": null,
         "multi-views": null,
         "locked": null,
         "g_fixed": true,
         "g_css_shadow_padding": true
       },
       "style": {
         "bindings": [],
         "left": 20,
         "top": 201,
         "width": "400px",
         "height": "160px",
         "padding": ""
       },
       "widgetSet": "tabs",
       "_id": "i000001"
     }
    ]
    

    die verwendeten icons sind
    electric bolt
    add
    create
    clear
    notes

    Visualisierung

  • Test Adapter public-transport v0.8.x @latest
    C claus1993

    Habe mir das Widget "Departute Table" in meine VIS-2 integriert. Jetzt wollte ich es passend in meinen View verkleinern was nicht funktionierte. Weder mit der Maus noch in der Leiste rechts konnte ich die Größe anpassen. In der Leiste konnte ich zwar die Daten anpassen, das Widget selbst blieb jedoch gleich groß.

    Woran kann das liegen, möchte gerne eine Breite von 450px nutzen damit ich 2 Widget nebeneinander auf meiner View anzeigen kann.

    Tester öpnv fahrplan haltestellen widgets transportmittel

  • ioBroker Visu Android App
    O oxident

    @bahnuhr sagte:

    warum nicht ?

    Diverse Vis-Adapter die nicht im Stable sind. Zum Beispiel die Material Design Widgets.

    Tester

  • Test Adapter PoolControl
    D DennisMenger

    Guten Morgen. Ich habe heute aufgrund der warmen Wassertemperaturen mal die Mindestmenge der Umwälzung erhöht. Anpassung erfolgte über die Instanz des Adapters selbst.
    Der Datenpunkt circulation/daily_required hat sich erhöht, allerdings der Datenpunkt circulation/daily_remaining nicht.

    Ein Neustart des Adapters brachte keine Veränderung.

    umwälzung.png

    Tester tester pool poolcontrol solar

  • Tabs Registerkarten formatierung
    P perladd

    @OliverIO

    Oh sorry, das habe ich falsch verstanden :)

    der Pixelbereich sollte 400x830 sein

    [
    {
    "tpl": "tplSTab",
    "data": {
    "bindings": [],
    "contains_view_1": "Stromverbrauch",
    "contains_view_2": "Stromanbieter anlegen",
    "contains_view_3": "Stromanbieter bearbeiten",
    "contains_view_4": "Stromanbieter löschen",
    "contains_view_5": "Strom Grunddaten",
    "g_common": true,
    "g_node-1": true,
    "g_node-2": true,
    "g_node-3": true,
    "g_node-4": true,
    "g_node-5": true,
    "icon_color_1": null,
    "icon_color_2": null,
    "icon_color_3": null,
    "icon_color_4": null,
    "icon_color_5": null,
    "icon_size_1": null,
    "icon_size_2": null,
    "icon_size_3": null,
    "icon_size_4": null,
    "icon_size_5": null,
    "icon_tab_1": null,
    "icon_tab_2": null,
    "icon_tab_3": null,
    "icon_tab_4": null,
    "icon_tab_5": null,
    "image_tab_1": null,
    "image_tab_2": null,
    "image_tab_3": null,
    "image_tab_4": null,
    "image_tab_5": null,
    "overflow_x_1": "",
    "overflow_x_2": null,
    "overflow_x_3": null,
    "overflow_x_4": null,
    "overflow_x_5": null,
    "overflow_y_1": "",
    "overflow_y_2": null,
    "overflow_y_3": null,
    "overflow_y_4": null,
    "overflow_y_5": null,
    "show_tabs": 5,
    "title_tab_1": "Abrechnung",
    "title_tab_2": "Anbieter anlegen",
    "title_tab_3": "Anbieter bearbeiten",
    "title_tab_4": "Anbieter löschen",
    "title_tab_5": "Grunddaten",
    "variant": "fullWidth",
    "g_css_font_text": true,
    "vertical": false
    },
    "style": {
    "bindings": [],
    "left": "0",
    "top": 45,
    "width": "443px",
    "height": "864px"
    },
    "widgetSet": "tabs",
    "_id": "i000001"
    }
    ]

    Visualisierung

  • Tabs Registerkarten formatierung
    OliverIOO OliverIO

    @perladd

    du sollst mir einen export des widgets geben das ich mir das genauer ansehen kann.

    die pixelbreite musst du mir sagen, weil du es bisher noch nicht geschrieben hast und ich nicht hellsehen kann

    Visualisierung

Mitgliederliste

apollon77A apollon77
DutchmanD Dutchman
HomoranH Homoran
BluefoxB Bluefox
eric2905E eric2905
StabilostickS Stabilostick
H Hans_M
D Daniel81
O Olivbus
L LaplaceII
Sickboy78S Sickboy78
T tony63526
Peter V.P Peter V.
F femi
U UV-on-fire
patricknitschP patricknitsch
I I-Punkt
B Berny-K
V Verblizz
K Krissie777
  • Anmelden

  • Du hast noch kein Konto? Registrieren

  • Anmelden oder registrieren, um zu suchen
  • Erster Beitrag
    Letzter Beitrag
0
  • Home
  • Aktuell
  • Tags
  • Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe