Kian-Wee / wled_handler_strip

RotorHazard plugin for WLED strips
MIT License
3 stars 0 forks source link

Plugin not loading #2

Open SrGalindo opened 7 months ago

SrGalindo commented 7 months ago

I've dowloaded the init.py file into a folder in the plugins in RH, although the plugin is not loading with this error. Plugin 'rh_wled' not imported (not supported or may require additional dependencies), ex: name 'false' is not defined

I'm sure there might be other libraries that I'm missing, but since it's not specified in the repo I don't know where to continue. I've got this wled library installed wled 0.15.0

Thanks.

Kian-Wee commented 7 months ago

Not sure how you installed it but you need to download or git clone the entire folder into the plugins folder. The init file should not be in the plugin directory.

You shouldn't need any further libraries, tested with a fresh install on the newest version.

SrGalindo commented 6 months ago

I created a folder inside RotorHazard/src/server/plugins/ I've tried with different names, wled, wled_handler_strip, rh_wled and then did wget https://github.com/Kian-Wee/wled_handler_strip/blob/main/__init__.py All with the same result like in the first post.

Kian-Wee commented 6 months ago

All you should need to do is git clone https://github.com/Kian-Wee/wled_handler_strip in your plugins folder.

SrGalindo commented 6 months ago

I moved the prompt to the plugins folder and then did git clone https://github.com/Kian-Wee/wled_handler_strip as you said in the above comment and I still get the same error

[WARNING] Plugin 'wled' not imported (not supported or may require additional dependencies), ex: name 'false' is not defined

Are there any pre-requisites to install this plugin, any library? I already got installed wled 0.15.0.

Kian-Wee commented 6 months ago

No other libraries should be needed, at least nothing that wasn't installed through the standard rotorhazard installation. wled should not be needed either as the commands are sent via the json API.

Are you using the latest/dev rotorhazard build or stable build? Do other custom plugins work? Others have installed this and got it working before and I really cant replicate your error.

SrGalindo commented 6 months ago

It looks like I had another wled plugin and it was conflicting with this one. I don't know why actually. This is the other plugin