GithubHelp home page GithubHelp logo

Comments (3)

sblantipodi avatar sblantipodi commented on August 29, 2024

Hi @jypma, thanks for your interest in the project.

Home assistant integration has a ready to use package that gives you some hints on the MQTT topic to use for the various commands.

The solid effect button:
image

triggers an automation that starts and stops the bias light effect (screen capture).

The topic used for this is:
lights/glowwormluciferin

the payload you can use to start and stop is this:
{"state":"ON","startStopInstances":"STOP"}
{"state":"ON","startStopInstances":"PLAY"}

hope it helped.

from firefly_luciferin.

jypma avatar jypma commented on August 29, 2024

Thanks for the explanation! I had indeed added the included home_assistant_luciferin_package.yaml to Home Assistant already.

By updating my Kodi automations to set the "Solid Effect" input boolean to false after starting a movie, and to true after it, the light is working perfectly in both modes.

Coincidentally, it somehow also solved the issue of Firefly crashing with "Cannot connect to Glow Worm" at times. I'll report back if this happens again.

Have you considered having Glow Worm make use of Home Assistant MQTT auto-discovery? It would just require the ESP to put a persistent message into MQTT on startup.

from firefly_luciferin.

sblantipodi avatar sblantipodi commented on August 29, 2024

@jypma sorry for the late reply and thanks for the answer.

Have you considered having Glow Worm make use of Home Assistant MQTT auto-discovery? It would just require the ESP to put a persistent message into MQTT on startup.

Adding MQTT auto-discorvery for HA is something that I want to add in the next releases but I need to understand how to do it in a good way.
If you have some suggestions is really welcomed.

Feel free to add a feature request for it if you want to see implemented in the next future.

thanks!

from firefly_luciferin.

Related Issues (20)

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.