Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. sonusfaber

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 12
    • Best 0
    • Groups 1

    sonusfaber

    @sonusfaber

    Starter

    0
    Reputation
    53
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    sonusfaber Follow
    Starter

    Latest posts made by sonusfaber

    • RE: [Solved] CORS error when executed from configuration page

      Solved it myself. The configuration page is running in the browser, the adapter code itself is not. That's a separate process.

      Btw. Is is possible to delete forum posts?

      posted in Development
      S
      sonusfaber
    • [Solved] CORS error when executed from configuration page

      I'm trying to make http requests from adapters config page (developed with react).

      Here the http options:

      const options = {
      		method: 'post',
      		body: body,
      		logger: console,
      		// mode: 'websocket',
      		headers: {
      			Connection: 'keep-alive',
      			Accept: 'text/xml',
      			Pragma: 'no-cache',
      			SOAPAction: 'http://ws01.lom.ch/soap/listDP',
      			'Cache-Control': 'no-cache',
      			'Content-Type': 'text/xml; charset=utf-8',
      			'Content-Length': body.length,
      		},
      	};
      	try {
      		const response = await client.fetch('http://192.168.1.108/ws', options);
                       .....
      

      However I'm getting the following error message:

      Bildschirm­foto 2023-02-03 um 13.33.28.png

      The very same code works from the adapter code (main.js), without any CORS errors.

      Any ideas what I need to change when executing the code from react (adapter settings)?

      posted in Development
      S
      sonusfaber
    • Files access from adapters settings page (react)

      From the adapter settings page (react), I need to create a lookup table, which is only read once and needs to be persisted in the adapter instance file space, but could not find any documentation. Is that possible?
      If not, are there any other means to persist information other than in the 'native' part of the instance object.

      It works from the adapter code with this.readFileAsync(namespace, fileName), but could not find anything similar in GenericApp class.
      Thanks for any recommendation

      posted in Development
      S
      sonusfaber
    • RE: [Gelöst] Modbus Einstellungen

      @brummer Ich möchte eine Ochsner AIR Luft-Wasser-Wärmepumpe über Modbus in ioBroker integrieren. Mein Heizungsbauer sagt, dass ich dafür das Ochsner OTE Modbus-Gateway zusätzlich bestellen muss. Ich habe aber auch gelesen, dass das Innenteil mit dem Außenteil über Modbus kommuniziert, es also schon eine Modbus-Schnittstelle gibt.
      Brauche ich also das oben erwähnte zusätzliche Modbus-Gateway, oder nicht?
      Ich hoffe, jemand hier im Forum kann mir weiterhelfen.
      Danke.

      posted in Hardware
      S
      sonusfaber
    • RE: Viessmann-Adapter

      @blauholsten Genau das wollte ich vermeiden, da ich das dann mit allen Datenpunkten machen muss, die ich steuere, bzw. automatisiere. Aber ja, genau das ist dann die Alternative, falls ein aktives Abfragen/Aktualisieren nicht möglich ist.

      posted in ioBroker Allgemein
      S
      sonusfaber
    • RE: Get Kommandos aktive aus Javascript ausführen

      @admin Bitte Beitrag löschen, da ich ihn aus Versehen erstellt habe. Danke

      posted in ioBroker Allgemein
      S
      sonusfaber
    • RE: Viessmann-Adapter

      Hallo zusammen,
      wie kann ich nach einer programmierten Zustandsänderung meiner Heizung (z.B setBetriebArtM2) in Javascript forcieren, dass gleich anschließen ein getBetriebArtM2 ausgeführt wird. Gerne auch aus Javascript heraus.
      Ich rufe die Betriebsart z.B. nur alle 2 Stunden auf und damit wird der neue Zustand u.U erst 2 Stunden später aktualisiert.
      Danke schon mal vorab.

      posted in ioBroker Allgemein
      S
      sonusfaber
    • Get Kommandos aktive aus Javascript ausführen

      Re: Viessmann-Adapter
      Hallo zusammen,
      wie kann ich nach einer programmierten Zustandsänderung meiner Heizung (z.B setBetriebArtM2) in Javascript forcieren, dass gleich anschließen ein getBetriebArtM2 ausgeführt wird. Gerne auch aus Javascript heraus.
      Ich rufe die Betriebsart z.B. nur alle 2 Stunden auf und damit wird der neue Zustand u.U erst 2 Stunden später aktualisiert.
      Danke schon mal vorab.

      posted in ioBroker Allgemein
      S
      sonusfaber
    • RE: [Neuer VIS-Adpater] Material Design Widgets

      @Scrounger Ich teste gerade deinen Slider. Der ist super und erfüllt genau meine Zwecke. Allerdings ist mir nicht klar geworden, wozu das Attribut "Object ID in Arbeit" benutzt wird?

      posted in Entwicklung
      S
      sonusfaber
    • RE: [Neuer VIS-Adpater] Material Design Widgets

      @lesiflo Vielen Dank. 😊 Ich dachte aber an ein Projektbeispiel das man laden kann, um zu sehen wie die Control und State widgets mit dem Navigation Bar und den Cards zusammenarbeiten.

      posted in Entwicklung
      S
      sonusfaber
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo