Will this be updated for 2022?

thumpinc
Posts: 42
Joined: Sat May 11, 2013 5:50 am

Will this be updated for 2022?

Post by thumpinc »

Great plugin. Any thoughts about updating it for Indigo 2022 plugin requirements?Would hate to lose the feature set. Hope you are still around, dev!
User avatar
Hackencrash
Posts: 251
Joined: Wed Dec 16, 2015 7:05 am
Location: UK

Re: Will this be updated for 2022?

Post by Hackencrash »

Yes/No?
User avatar
DaveL17
Posts: 6828
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: Will this be updated for 2022?

Post by DaveL17 »

This plugin has a GPL license which means that the author has to either change the license to MIT or remove the license entirely before Indigo will add it to the Open Source plugin library. Otherwise, another developer will have to fork the plugin and continue with the existing license. I believe that Matt & Jay have reached out to TwitchCaptain but, as far as I know, they haven't heard back.
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
User avatar
jay (support)
Site Admin
Posts: 18310
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Will this be updated for 2022?

Post by jay (support) »

Licensing on this plugin is especially odd since it's licensed with GPL 2 but it contains GPL 3 library. Given the scattered interpretations of GPL licenses in general, we avoid putting those into our open source repo. This does not mean that it can't be forked and updated as Dave points out - but whomever does it would need to host it themselves. We can make the appropriate adjustments in the plugin store if someone were to do that to make any updates available.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
User avatar
FlyingDiver
Posts: 7285
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Will this be updated for 2022?

Post by FlyingDiver »

I will also point out that the current version is using a 5 year old library for the Broadlink devices. There is a current version of that library, that supports many more devices, but is considerably more complicated. Between that and the license issue, it would probably be easier to start over using the current library.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
mundmc
Posts: 1064
Joined: Fri Sep 14, 2012 4:34 pm

Re: Will this be updated for 2022?

Post by mundmc »

This has been one of those plug-ins keeping me from updating to 2023- I was surprised how straightforward it was with the Hardware and I am now someone dependent on it.
User avatar
Hackencrash
Posts: 251
Joined: Wed Dec 16, 2015 7:05 am
Location: UK

Re: Will this be updated for 2022?

Post by Hackencrash »

Me too,, I’m not upgrading.
User avatar
mundmc
Posts: 1064
Joined: Fri Sep 14, 2012 4:34 pm

Re: Will this be updated for 2022?

Post by mundmc »

Hackencrash wrote:Me too,, I’m not upgrading.
We need 19-year-old users who can convert a github repo to an indigo plug-in for 200 bucks for beer money.
User avatar
Hackencrash
Posts: 251
Joined: Wed Dec 16, 2015 7:05 am
Location: UK

Re: Will this be updated for 2022?

Post by Hackencrash »

My fix for getting Broadlink working again without this down level plugin was to create new Action Groups with Embedded Python Scripts for each IR/RF command.

First, you have to issue this Terminal command (only once) to install the Python library:

Code: Select all

pip3 install broadlink
Then, use a script similar to my "Blind Close" RF command as follows:

Code: Select all

import broadlink
device = broadlink.hello('192.168.26.42')
device.auth()
blind_close_hex = "b20088020f0d0f0d16220f0d152315220f0d0f0d0f0d0f0d0e0e0e0d0f0d1622162215230e0d1622162216220e0e0e0d0f0d16221622151f13d3478a162216220e0e0e0e15220f0d0f0d16220f0d0e0d16220f0d16220f0d0f0d15220f0d0f0d16220e0e0e0e152216220f0d0f0d0f0d0e0e1522162216220f0d1622152216220f0d0f0d162215220f0d1622152216220f0d0f0d162215220f0d0f0d16220e0e152216220f0d0f0d0f0d0e0d0f0d0f0d0f0d1622152216220f0d1622162216210f0d0f0d0f0d16211622161f12d3478a162216220f0d0e0e16210f0d0f0d16220f0d0f0d16220e0d16220f0d0f0d16220e0e0e0d16220f0d0f0d162215220f0d0f0d0f0d0f0d1622152216220f0d1622152216220f0d0f0d162216210f0d1622162215220f0d0f0d162215220f0d0f0d16220f0d152216220f0d0f0d0f0d0f0d0e0e0e0d0f0d1622162216220e0d1622162216220e0e0e0d0f0d16221622151f12d4478a162216220e0d0f0d16220f0d0f0d16220e0e0e0d16220f0d15220f0d0f0d16220f0d0e0e16210f0d0f0d162215230e0d0f0d0f0d0f0d1622162215220f0d1622152315220f0d0f0d162116220f0d1622152315220f0d0f0d162215220f0d0f0d16210f0d162216220f0d0f0d0e0d0f0d0f0d0f0d0f0d1622152216220f0d1622152216220f0d0e0d0f0d16221622151f13d3478a162216210f0d0f0d16220f0d0f0d15220f0d0f0d16220f0d15230e0d0f0d16220f0d0f0d15220f0d0f0d162216210f0d0f0d0f0d0f0d1622152216220f0d1523152216220e0e0e0e152216220f0d1522162216220f0d0e0e152216220f0d0e0e15220f0d162215220f0d0f0d0f0d0f0d0e0e0e0d0f0d1622162216220e0e1522162216210f0d0f0d0f0d16221523161e120005dc"
blind_close_bytes = bytes.fromhex(blind_close_hex)
device.send_data(blind_close_bytes)
The device command hex you can literally cut and paste from this old plugin commands or learn them again by following this thread: https://github.com/mjg59/python-broadlink
User avatar
mundmc
Posts: 1064
Joined: Fri Sep 14, 2012 4:34 pm

Will this be updated for 2022?

Post by mundmc »

I don't tune in here enough, but duuuuuude thank you for the inspiration and I am going to check this out.

I gotta say, broad link has a really straightforward API (to me as a non-programmer) so maybe this will be my first stab at a plug-in finally.
User avatar
durosity
Posts: 4381
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Will this be updated for 2022?

Post by durosity »

mundmc wrote:
Hackencrash wrote:Me too,, I’m not upgrading.
We need 19-year-old users who can convert a github repo to an indigo plug-in for 200 bucks for beer money.
Or some AI bot that can do it for free!


Sent from my iPhone using Tapatalk Pro
Computer says no.
Post Reply

Return to “Broadlink Devices”