philip1986 / pimatic-led-light

A template for creating plugins
http://pimatic.org/
GNU General Public License v2.0
7 stars 13 forks source link

Integration of Milight; Separation into device types #5

Closed mwittig closed 9 years ago

mwittig commented 9 years ago

I have forked from master yesterday to integrate Milight. Pull request follows

mwittig commented 9 years ago

Just a few words about my code changes

mwittig commented 9 years ago

The following configuration works file for me

Plugin:

{
      "plugin": "led-light"
}

Device:

{
      "id": "led1",
      "class": "Milight",
      "name": "Milight",
      "addr": "192.168.178.64",
      "zone": 1,
      "location": "Kitchen",
      "device": "iwy-master"
},
{
      "id": "led2",
      "class": "LedLight",
      "name": "LED Light",
      "addr": "192.168.178.67",
      "location": "Bedroom",
      "device": "iwy-master"
}
philip1986 commented 9 years ago

checkout https://github.com/philip1986/pimatic-led-light/pull/7

philip1986 commented 9 years ago

Done by https://github.com/philip1986/pimatic-led-light/pull/9