Git Product home page Git Product logo

ledfxrm's Introduction

DEPRECATED!

I joined main LedFx development. The core changed too much and this integration is not compatible anymore...

Don't worry, a LedFx-Integration is coming to auto-detect & configure LedFx inside Home-Asssistant via MQTT. (nothing else than MQTT is required on HomeAssistant-Side)

LedFx ReMote for Home Assistant

hacs_badge hass_badge state version license creator creator version


logo

Custom Integration for Home Assistant to control any (local/remote) LedFx-server


Main Features

LedFx Remote

  • Select your LedFx scene from inside Home Assistant!
  • Display the number of scenes/devices/pixels connected to LedFx
  • Start and stop the LedFx server (custom Endpoint required!)

LedFx Device Remote

  • Toggle the power for devices configured in LedFx
  • Display number of pixels per device
  • Display IP per device
  • Display current running effect-name
Default With Devices
tile tile_adv

Requirements:

  • LedFx
    • minimum version: v0.9.0 (so atm you need the dev-branch)
    • with at least one scene setup
    • the ledfx config.yaml file defines your host as 127.0.0.1 by default. The host needs to be changed to 0.0.0.0 in order for this integration to function properly.
    • LedFx Docs
  • hass - (HomeAssistant)
  • HACS - (HomeAssistantCommunityStore)

QuickStart

  • Add Repo to HACS:

    • Navigate to HACS in Home Assistant
    • Select "Integrations"
    • Select the menu hamburger in the upper right of the screen
    • Select "Custsom repositories"
    • Add the url for this repository and select integration as the cattegory
  • Install integration via HACS:

    • The integration should now be visible, select "Install"
    • Restart Home Assistant for the changes to take effect
  • Add integration to Home Assistant:

    • In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "LedFx Remote"
  • Configuration is done in the UI

    • Add the IP of the machine running LedFx to the "Host" field
    • Leave the default port of 8888 or change it to match your configuration
      • (LedFx Server needs to be online and running)
      • no changes are needed in configuration.yaml
      • all Settings are handled via UI
    • Open the light entity and change your scenes :)

Step by Step Installation - Images-Guide

Detailed Features

  • Everything configurable via UI :)
  • AutoCreate Entities with GET Informations from all LedFx-API-Endpoints:
    • Binary Sensor (Is LedFx online?)
    • Devices Sensor (Number of Devices inside LedFx)
    • Scenes Sensor (Number of Scenes inside LedFx)
    • Pixels Sensor (Number of Pixels inside LedFx)
    • Switch (if start/stop is set in config - custom GET-call)
    • Light
      • EffectList (Filled with scenes from LedFx)
      • Off->On - just toggles a manual sync (double click the switch)
  • EffectList-Change will fire LedFx via PUT
  • Scan_intervall in seconds via UI:
    • Note: This also defines how long you can interact with it (start server), after a disconnect (kill server)
    • Recommendation: set to a high number. Polling is only to get changes made inside LedFx.
  • SubDevices: (config via UI)
    • Get the Devices running inside LedFx including their states
    • ON / OFF Button
      • OFF Button saves the current effect running on the current device
      • ON Button will use that state if available otherwise sends "Gradient"
  • Start/Stop Server:
    • Set custom Endpoints for Start and Stop
    • Configurable methods: GET, DELETE, PUT, POST
    • Configurable body: json (untested)
  • NEW: Add Blade-Light: 1 effect throught multiple devices

Upcoming Features

  • Make also use of the after setup config flow (options)
    • Allow editing of setup-settings
    • Allow disable poll (If you have everything setup in ledfx, there is no need to poll for new infos all the time)
    • Make fallback "gradient" somehow editable for the user

Screens

show

Default:

ledfx-remote

setup

main

scene_selector_1

scene_selector_2

With Subdevices:

setup_adv

main_adv

subdevices

Credits

ledfx-github ledfx-discord wled-github wled-discord

homeassistant-github hacs-github blueprint-github

Special Thanks

frenck THATDONFC on Tinkerer

ledfxrm's People

Contributors

yeonv avatar thatdonfc 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.