Skip to content

myStrom buttons

Johann Richard edited this page Jun 16, 2020 · 8 revisions

myStrom Buttons

Besides the dingz buttons, this plugin also supports the myStrom WiFi 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.

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