toblum / McLighting

The ESP8266 based multi-client lighting gadget
MIT License
1.05k stars 291 forks source link

connecting Octoprint (raspberry pi 4) to ESP8266 as the controller. #503

Closed ShadowOfTheDamn closed 2 years ago

ShadowOfTheDamn commented 2 years ago

Dear Experts I want to know if it is possible to connect the an esp8266 with Mclighting to a raspberry pi 4. the thing I am looking for is to use this for octoprint ( a 3d printer web interface) somehow as internal connection so I can add a iframe to the octoprint interface and it controls the esp8266. or if it is possible to connect and control the esp8266 via wires to raspberry pi but this connection should be completely done only one time directly to raspberry pi directly without a need for any other hardware except the Raspberry Pi.

image

toblum commented 2 years ago

Hi @ShadowOfTheDamn,

connecting and controlling Octoprint and McLighting wireless is possible via REST/MQTT API. It's not made to be controlled by a wired connection.

If you can use Wifi for the connection to the ESP then you should definitely have a look at this plugin and WLED as a firmware for the ESP: https://plugins.octoprint.org/plugins/wled/

Greetings

ShadowOfTheDamn commented 2 years ago

thanks for the reply. IT DOES NOT DO WHAT I WANT TO, WHY YOU CLOSED THE ISSUE? I want to control the LED from octoprint GUI with a GUI similar to the McLighting GUI.

toblum commented 2 years ago

Hi @ShadowOfTheDamn,

as said: this seems not to be the right task for McLighting and more a thing for a Octoprint plugin. I suggested one that works very well. There are definitely many other solutions out there that might fit your needs. These issues are for Mclighting related problems. That's why I closed it!

Greetings

ShadowOfTheDamn commented 2 years ago

Hi again and thanks you proposed a solution that even does not have a single documentation about how to use it.