BroadlinkDiscoverer

Started by Tuicemen, December 28, 2019, 06:19:43 PM

Previous topic - Next topic

Tuicemen

Although HA-Bridge handles Broadlink sending very well I decided to try doing something from HG.
this mainly came about from my dog constantly going behind the sofa and knocking out the plugged in power supply for the Broadlink RM Pro I have.
one min my IR/RF commands worked from it a few mins later maybe not. I never thought to check this till I had spent hours trouble shooting B:(
I have this Included in the Buster PiX10Hub image along with a Broadlink sender program. However some may wish this that don't have the Buster PiX10Hub image.
There are some other needed steps required to use this.
From the command line interface type
1:  apt install python-pip
2: pip install broadlink
3: sudo  wget https://github.com/mjg59/python-broadlink/archive/master.zip
4: sudo unzip master.zip
5: sudo  mv python-broadlink-master broadlinkCtl
6: sudo rm -r master.zip
Now download and rename the file removing the txt extention(it should look like this 1018-DiscoverBroadlink.hgx ) and install the program in HG
enable it then add to the group you wish it displaying in.
Note: this uses the tuicemen.tools.info widget for proper display
This should work with any Broadlink device but I've only used it for the Broadlink RM Pro
>!

Please Read Topic:
General Forum Etiquette
Before you post!

Tuicemen

#1
If no Broadlink is found you should see something like this once you have enabled and added it to a group
Please Read Topic:
General Forum Etiquette
Before you post!

Tuicemen

I have a Broadlink sender program also created which I recently updated and included in the New Buster PiX10Hub image However for those that don't have that image and would like Broadlink control from HG you need to install the prerequisite files and Program mentioned in the OP.  As usual remove the TXT extention from the file name and install. Once that is done you can enter the info reported in the Broadlink discover then in each device enter the learned (IR or RF)codes for on and off .
>!
Please Read Topic:
General Forum Etiquette
Before you post!

Tuicemen

The discover routine returns a temperature value. Although in the case of a RM Pro it is just the internal temperature I thought it may be useful to see that value for something. For that reason I updated the Discover program and posted the updated program in the OP.
when the program finds a broadlink device the display should look something like this:
Please Read Topic:
General Forum Etiquette
Before you post!

SMF spam blocked by CleanTalk