Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Entwicklung
  4. Adapter für MyStrom Wifi Button

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    13
    1
    147

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

Adapter für MyStrom Wifi Button

Scheduled Pinned Locked Moved Entwicklung
3 Posts 3 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PauleB
    wrote on last edited by
    #1

    Hallo,

    kann mir jemand sagen, ob es einen Adapter für den Wifi Button von mystrom gibt?

    Ich habe nur einen für den Wifi Switch gefunden.

    Mir wurde gesagt, das eigentlich kein Adapter benötigt wird und der Button direkt per URL abgefragt wird.

    Aber wo mache ich das bzw. mit welchem Adapter?

    Oder geht das nur wenn ich über Scripte programmiere?

    Hier die Doku zu der API:

    ! WIFI Button – REST API
    ! The myStrom WiFi Button offers a REST API (REST = representational State Transfer).
    ! The interface allows you to access/control the Button directly from your local network independently from myStrom - you don’t need a myStrom account or the myStrom app.
    ! With those rules you can integrate the button in almost any environment.
    ! Important Note
    ! The interface is transparent and has no authentication. If someone has access to your local network, they will be able to control your button.
    ! Please apply strong security mechanisms to protect your network.
    ! Get Info
    ! http://[IP]/api/v1/device/[MAC]
    ! Response
    ! {
    ! "[MAC]": {"type": "button", "battery": true, "reachable": true, "meshroot": false, "charge": false, "voltage": 3.705, "fw_version": "2.37", "single": "", "double": "", "long": "", "touch": ""}
    ! }
    ! Set Config
    ! curl -v -d "single=<url>&double=<url>&long=<url>&touch=<url>" http://[IP]/api/v1/device/[MAC]
    ! The order of parameters is not relevant. Request must have at least one parameter. URL to be sent must be encoded using x-www-form-urlencoded notation.
    ! In order to make it possible and simple at the same time to specify in the URL that specific request should be sent as GET or POST we introduced a special (very unusual) conventions. URL is considered as get when it starts with get:// and as post when it starts with post:// (in both cases get and post replaces the usual http prefix). GET is sent as is and POST is sent such, that parameters from URL are sent as POST body.
    ! Simple Example für myStrom Switch
    ! curl -v -d "single=get://[IP of Switch]/toggle" http://[IP]/api/v1/device/[MAC]
    ! Simple Example für myStrom Bulb
    ! curl -v -d "single=post://[IP of Bulb]/api/v1/device/[MAC of Bulb]?action%3Dtoggle" http://[IP]/api/v1/device/[MAC]
    ! curl -v -d "single=post://[IP of Bulb]/api/v1/device/[MAC of Bulb]?action%3Dtoggle%26color%3DFF000000" http://[IP]/api/v1/device/[MAC]
    ! [IP] – IP Address of your Button e.g. 192.168.1.99
    ! [MAC] – MAC Address of your Button e.g 5CCF7F02D676 (all capital letters / no „:“)</url></url></url></url>

    Danke & Gruß

    1 Reply Last reply
    0
    • N Offline
      N Offline
      noaboa
      wrote on last edited by
      #2

      Also ich war gerade auch auf der Suche nach einem Adapter oder eine Lösung.

      bin auf eine Lösung sowie auf einen inoffiziellen Adapter gestossen. Der Adapter kann einfach die Switches steuern und mit dem Blogpost den Buttons sagen das er States im ioBroker ändern soll.

      https://iobroker.blogspot.com/2017/08/m … inden.html

      https://www.npmjs.com/package/iobroker. ... ifi-switch

      ioBroker auf einem Raspberry 3
      Adapters: Harmony, Hue, Javascript, MyStrom, Parser, Telegram, Spotify und Yhaka

      1 Reply Last reply
      0
      • Pr3mut05P Offline
        Pr3mut05P Offline
        Pr3mut05
        wrote on last edited by Pr3mut05
        #3

        Hallo zusammen

        hat jemand den Button erfolgreich eingebunden?

        Also ich habe jetzt grundsätzlich alles soweit geschafft.
        Ich möchte mit dem Button eine Scene schalten.
        Die UEL wäre

        http://192.168.xxx.xxx:8087/set/scene.0.Guten_Morgen?value=true
        

        Beim aufrufen im Browser klappt das auch einwandfrei.

        Aber welcher Befehl muss ich auf den Button schicken?
        Es klappt weder die URL mit http noch mit set://

        Nachtrag: mit einem get:// hat es dann GEklappT


        https://www.bavarian-geek.de

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Support us

        ioBroker
        Community Adapters
        Donate

        479

        Online

        32.7k

        Users

        82.4k

        Topics

        1.3m

        Posts
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
        ioBroker Community 2014-2025
        logo
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Home
        • Recent
        • Tags
        • Unread 0
        • Categories
        • Unreplied
        • Popular
        • GitHub
        • Docu
        • Hilfe