computergeek1507 / fpp-plugin-tplink

MIT License
5 stars 0 forks source link

Can't get it to run on K8-Pi on a Pi 4B #12

Closed SopherConklin closed 1 day ago

SopherConklin commented 1 month ago

FPP 7.5 Install plugin - Discovery works I make the dummy controller (I call it KASA-2plug) in xLights and assign a single line single light to it. I FPP Connect and send that sequence to FPP At this point I get image I get this even if I have a different sequence selected. At this time

  1. Commands presets all work image
  2. Pinging the KASA plug from the Channel Outputs page works
    image
  3. Pinging plug from SSH shell works
    image

I got no errors on the plugin install.

Next I figured I had an error that was fixed with the update so I Update Plugin There are no errors in the update
image

Now Discovery does nothing image Command presets still turn the plug on and off Pinging the plug from the Output Channels still works
image

I still get the message that it can't ping the plug, and running the sequence doesn't turn the plug on and off

I'm a bit over my head in terms of what all you are doing and in terms of linux. Can we do a Zoom and you can help me query the system to see what is going on?

Thanks for any help you can give.

computergeek1507 commented 1 month ago

You don't setup the plugs as a DDP output.

SopherConklin commented 1 month ago

I didn't do that manually - it happened when I uploaded the sequence - do I just delete that DDP output?

SopherConklin commented 1 month ago

I deleted the plug DDP output and

  1. Discovery still doesn't work
  2. Pinging error message is gone
  3. Playing the playlist does not turn the plugs on and off Should I go back to just installing and not upgrading (when Discovery still worked) and upload the sequence, then delete the DDP output?
SopherConklin commented 1 month ago

Here is my controller file

0 0

Did I do something wrong that I don't see? Here is my controller in xLights - I don't see a difference from yours, but I might have missed it. image

SopherConklin commented 1 month ago

oops - my controller file image

SopherConklin commented 1 month ago

Is the IP address in the dummy controller the IP of the plug or is it the IP of the FPP which I installed the plugin to?

SopherConklin commented 1 month ago

Changed the IP of the dummy controller to be the IP of the controller I installed the plugin to, but no change.

SopherConklin commented 1 month ago

I noticed that in xLights you do have the controller which you installed the plugin to. This is also the controller that we will use the IP address for the dummy controller. I have both the controller which the plugin is installed to and the dummy controller in xLights and they both have the same IP address. In xLights in the Dummy Controller settings, the IP is RED, which I suppose is due to 2 different controllers having the same IP address. Can I not have my show player controller in xLights if I use that same address for the dummy controller? Does that mean that I need a dedicated controller than only hosts the plugin?

SopherConklin commented 1 month ago

Oops - in xLights you do NOT have the controller you installed the plugin to (...5.84)- this means you don't have the IP conflict that I have, but I need that controller to run my show - should I dedicate a pi to just host the plugin and become a "dummy controller" and use a different pi to run my K8-Pi?

computergeek1507 commented 1 month ago

You would setup you main show controller as the "dummy" controller

SopherConklin commented 1 month ago

How does the "dummy" controller run my K8-Pi? How do I assign props to various outputs of my show controller if it is a "dummy" with no ports? I'm pretty new at this but I don't understand

computergeek1507 commented 1 month ago

You wouldn't create a "dummy" controller. You have to assign the single lined Model in xLights to an unused port in the k8, it can be the dmx port if needed, then change the channel number in the Kasa Config tab to match it

SopherConklin commented 1 month ago

Okay, great - that worked. I am very grateful to you for writing this plugin, which solves a problem for me, but the documentation isn't clear to a beginner like me.

SopherConklin commented 1 month ago

Also, it appears either an Off effect or no effect turns the plug off. Thanks again for your help.

SopherConklin commented 1 month ago

I would suggest something like this works for newbies like me. FPP TP-Link KASA plugin by Scott Hanson.txt

computergeek1507 commented 1 month ago

I understand it's not easy to configure, I personally only use commands. Due to limitations in xLights/FPP, plugins and non standard output types can't use Auto layout/visualizer and upload. I have thought about tying outputs to models to help with the start channel issue. When no effect is "on" FPP will send a zero which will turn it off. Anything above 127 will turn it on.

SopherConklin commented 1 month ago

I think it's great that this is possible - I intend to turn the 12 foot skeleton/pumpkin and the giant spider on and off at various times within my Halloween sequences, so this is great.

P.S. I didn't upgrade the plugin since the Discovery and everything else works now and Discovery doesn't work after the upgrade and I don't know if everything else would work or not!

Thanks again for making this plugin - it will really add to my sequences and it would be completely impossible for me to do myself!