Skip to content

myStrom buttons

Johann Richard edited this page Dec 11, 2022 · 8 revisions

myStrom Buttons

Besides the dingz buttons, this plugin also supports the myStrom WiFi Button and myStrom WiFi Button+.

How to connect a myStrom Button

If the button is connected to the WiFi long enough when homebridge starts, the plugin might be able to set the callback URL automatically. The easiest way to force a connection to the WiFi is the following:

  1. Open the case of your myStrom button
  2. Carefully disconnect and reconnect the battery plug
  3. Close the case of your myStrom button

The button will connect for a while to the WiFi. If you haven't auto-discovery enabled, then you should restart homebridge now. If auto-discovery is enabled and still running (approximately for 10 min after the start of homebridge), the button should eventually be found and the callback URL be set.

myStrom WiFi Button+

The plugin supports myStrom WiFi Button+ auto-discovery. In order for this to work, once your button is connected to teh WiFi network of your choice, you have to connect the Button to a charger via the USB-C connector. Once the plugin starts, it will discover the button and add it to HomeKit.

It is worth noting that the Button+ is displayed as a temperature and humidity sensor. To configure it, look for an accessory named "Button+ ABCDEF" (where ABCDEF are the last 6 characters of the Button+'s MAC address printed on the back of it) and display the accessory settings. Navigate to the "Accessories" view, and you should see three accessories:

MyStrom Button+ Accessories view

From there, you can open the button, add it to the Home View or configure actions based on the four buttons' actions.

My buttons are not connected

If this doesn't work, you might have to manually set the callback URL in the myStrom App:

  1. Open the myStrom App
  2. If you have not already added your button, add it
  3. Navigate to the "Button" -> "Settings Menu"
  4. Under "Trigger URL" set it to POST to http://your-homebridge-server:18081/button

Caveats

The WiFi Buttons only connect every so often to the network and of course when the button is pushed. Therefore, the plugin can not reliably set the URL automatically. Furthermore, it might be useful if you use the IP address of your Homebridge Server in the Trigger URL instead of the hostname as this adds another delay/complication in case of DNS resolution issues.

Don't forget to change the port in the Trigger URL if you've set it to another than the default value in the plugin.

Clone this wiki locally