Git Product home page Git Product logo

pimatic-led-light's Introduction

pimatic-led-light

A pimatic plugin for LED lights resp. LED-Stripes. Currently supported:

Installation

To install the plugin on a Debian or Raspbian system libudev-dev must be installed.

sudo apt-get install libudev-dev

Configuration

For IwyMaster

    {
      "id": "some_id",
      "name": "some_name",
      "class": "IwyMaster",
      "addr": "xxx.xxx.xxx.xxx"
    }

For Wifi370

    {
      "id": "some_id",
      "name": "some_name",
      "class": "Wifi370",
      "addr": "xxx.xxx.xxx.xxx"
    }

For Milight

    {
      "id": "some_id",
      "name": "some_name",
      "class": "Milight",
      "addr": "xxx.xxx.xxx.xxx",
      "zone": "Zone [0 - 4], 0 = switches all zones"
    }

For MilightRF24

    {
      "id": "some_id",
      "name": "some_name",
      "class": "MilightRF24",
      "port": "/dev/ttyUSB1",
      "zones": [
          {
            "addr": "5927",
            "zone": 0,
            "send": true,
            "receive": true
          },
          {
            "addr": "485D",
            "zone": 0,
            "send": true,
            "receive": true
          }
        ]
      }

You will get your addr when you just add the parameter MilightRF24Port to your config and switch to the debug output in pimatic and change some settings with your remote.

You need for example an arduino nano and connect it to an nrf24 using the standard SPI wiring. Get the sketch from here https://github.com/henryk/openmili and change the CE and CSN pin to your wiring.

For Blinkstick

    {
      "id": "some_id",
      "name": "some_name",
      "class": "Blinkstick",
      "serial": "xxx" // Only required if more than one Blinkstick is connected to the host.
    }

For Hyperion

    {
      "id": "some_id",
      "name": "some_name",
      "class": "Hyperion",
      "addr": "xxx.xxx.xxx.xxx"
    }

Features

  • switch on/off (UI and rules)
  • dim light (UI)
  • set color
    • by color picker (in UI)
    • by name (in rules e.g. red)
    • by hex (in rules e.g. #00FF00)
    • by temperature variable from weather plugin (in rules e.g. $weather.temperature)

pimatic-led-light's People

Contributors

sweetpi avatar mwittig avatar xento avatar michbeck100 avatar tester22 avatar xcite1986 avatar fjuxx avatar oitzu avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.