Coder Social home page Coder Social logo

Comments (14)

cp2004 avatar cp2004 commented on July 23, 2024 2

I set myself a goal of creating this plugin in 2020, and with just hours to go I am going to consider my goal met πŸ˜„

I've just pushed my latest work. The current features of this plugin are event-reactive setting of WLED effects. It fully supports per-segment control, so you should be able to create some cool things. So, it is technically 'fully working'!

The UI takes a little getting used to, but I hope that with a few minor improvements & bug fixes it can become more streamlined. There's a couple of different states that need more work, and some better error messages (they're handled in the backend, just silently). I also want to implement discovery of WLED devices before it goes out to the plugin repository.

At this point, I still don't recommend installing it, since it is under rapid development and I might end up breaking everything before putting it back together again later.

Just thought I'd provide a small update, so that you know this request has not been forgotten about and is in fact under very active work!

from octoprint-wled.

cp2004 avatar cp2004 commented on July 23, 2024 1

You'll all be pleased to know I've started research into developing this plugin. πŸ™‚
It'll take a while, but I have some ideas of how to go about it. Will ping you here when I have a beta kind of version to get some feedback, it'll be a new plugin.

from octoprint-wled.

cp2004 avatar cp2004 commented on July 23, 2024 1

Current target for release on the repository: 11th March. Aiming for earlier than that, but that is the absolute goal. It will be done by then. If I write it down, then I can't let it slide... hopefully

from octoprint-wled.

cp2004 avatar cp2004 commented on July 23, 2024

Interesting idea... I kind of feel like it would get too complicated to integrate this with this plugin, and would be more suitable for it's own plugin. Shouldn't be too hard for me to replace the effect runner class in this plugin to a different one that sends HTTP requests.

I had never heard of Aircookie's WLED before, looks nice. I haven't got time now, but will investigate.

from octoprint-wled.

cp2004 avatar cp2004 commented on July 23, 2024

Just seen I can pick up an ESP8266 board for Β£4.99 πŸ‘€

from octoprint-wled.

m00x-pixel avatar m00x-pixel commented on July 23, 2024

It would be nice if it will be possible. Thanks to look into.

Yes, the ESP8266 are really cheap. I using already many of them with lights and backlight for TV using UDP and hyperion server

from octoprint-wled.

saikek avatar saikek commented on July 23, 2024

It also would be possible to send data via MQTT. Then Tasmota devieces can also work.

from octoprint-wled.

Prutsium avatar Prutsium commented on July 23, 2024

Just wanted to create the same request.
The advantage to be able to use WLED is that the LED and printer could be seperate from each other as there would be a wireless connection.

In my case i would use Nanoleaf (clone running WLED) thats in my living room.

from octoprint-wled.

saikek avatar saikek commented on July 23, 2024

Check this guys:
https://github.com/Aircoookie/WLED

Probably something can be used as an example.
https://github.com/Aircoookie/WLED/blob/f66c28a1bca36ced44666621e0b4f2b3fcc7a8fa/wled00/mqtt.cpp

from octoprint-wled.

ejdprops avatar ejdprops commented on July 23, 2024

Feel free to reach out to me. I managed to quickly link my Octoprint to my WLED using events in the Octoprint config file and sending an http request to my WLED based on Octoprint requests. It was super easy and I’m a total noob when it comes to Octoprint and RPi. All it took was connecting these two processes:

https://tynick.com/blog/01-28-2020/controlling-wled-with-raspberry-pi-using-the-wled-api/
https://docs.octoprint.org/en/master/events/index.html

I’m at work and can’t connect to my Octoprint Pi at the moment, or I’d include the actual code I put in my config.yaml as well.

This seems much easier to me than fiddling with UDP connections or complicated MQTT calls (both of which I know absolutely nothing about). Since my Octoprint instance and WLED are both local on my network and mDNS is working on my router for both, I didn’t even need to use the IP address for the WLED instance and could just use the .local reference.

from octoprint-wled.

cp2004 avatar cp2004 commented on July 23, 2024

That's pretty much what I'm going to try and do, making this plugin but integrated nicely. Don't see much point in using UDP or MQTT, was just going to hit the http API connected to some events with a nice settings page.

I looked into using the home assistant WLED library and was in contact with its author, but it might be a little difficult to 'just do' since it is written to be async. Working on it between large releases on my other plugins so it might take a while.

from octoprint-wled.

m00x-pixel avatar m00x-pixel commented on July 23, 2024

Thank for the update. It sounds really good.

from octoprint-wled.

cp2004 avatar cp2004 commented on July 23, 2024

The plugin is on it's way to the plugin repository πŸš€

from octoprint-wled.

cp2004 avatar cp2004 commented on July 23, 2024

Thanks for the patience here, it took a little longer than I expected due to other plugins and work elsewhere, but I made it πŸ™‚

Now just to prepare for a wave of users... Enjoy the plugin πŸ₯³

from octoprint-wled.

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.