2019-04-03 10:16:08 -07:00

1.5 KiB

layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class redirect_from
page myStrom WiFi Bulb Instructions on how to integrate myStrom WiFi Bulbs into Home Assistant. 2017-04-18 06:00 true false true true mystrom.png Light 0.43 Local Polling
/components/light.mystrom/

The mystrom light platform allows you to control your myStrom WiFi Bulbs.

To use your myStrom WiFi Bulb in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
light:
  - platform: mystrom
    host: IP_ADDRESS
    mac: MAC_ADDRESS

{% configuration %} host: description: "The IP address of your myStrom WiFi Bulb, e.g., 192.168.1.32." required: true type: string mac: description: "The MAC address of your myStrom WiFi Bulb, e.g., 5AAC8CA542F3." required: true type: string name: description: The name to use when displaying this bulb. required: false type: string default: myStrom Bulb {% endconfiguration %}

Check if you are able to access the light located at IP_ADRRESS. The details about your light is provided as a JSON response.

$ curl http://[IP_ADDRESS]/api/v1/device/[MAC_ADDRESS]

{
  "MAC_ADDRESS": {
    "type": "rgblamp",
    "battery": false,
    "reachable": true,
    "meshroot": false,
    "on": true,
    "color": "0;0;100",
    "mode": "hsv",
    "ramp": 409,
    "power": 5.1,
    "fw_version": "2.25"
  }
}