Comments (4)
I'm having similar struggles with the RM4 Pro...I was able to get it connected to my Wifi network with the Broadlink app, but the docker Broadlink Manager keeps throwing errors when I try to use it to learn codes. I tried a similar endeavor as you (creating my own devices.json file), and Broadlink Manager is able to connect to and successfully ping my device, but I tried each of the device types for RM4 pro devices and I consistently receive an error when I click "Learn IR Code" or "Learn RF Code". Did you ever figure this out?
from broadlinkmanager-docker.
Hi @sameleff and @surfrock66. Excuse me for the direct contact but you both seem to have got further than myself in getting this working and so would it be possible to help me a little by providing some intro steps of how you got to the point for the webpage to be up and running on this thread: #74
Thanks in advance
from broadlinkmanager-docker.
I never actually fully got it working; instead though the broadlink integration into homeassistant works great, I've been using that. If you use homeassistant, the guide is here: https://www.home-assistant.io/integrations/broadlink/
from broadlinkmanager-docker.
@surfrock66 I ended up doing the same thing!
@rodpestell here are the exact steps that eventually worked for me.
- Connect the Broadlink device to my WiFi network without using the app.
The only method that worked here was to install the python broadlink module and leverage those commands directly. The instructions at the link worked for me (the Broadlink WiFi SSID was different, but it's intuitive enough to choose the one that says "Broadlink"!); you only need to perform items 1 & 2. I have python on my home computer already, so this was the easiest option for me. If you don't want to mess with python, you should be able to use the Broadlink app to provision the device, then proceed with steps I outline below. - Install the Broadlink integration in Home Assistant (linked by surfrock66 above). From now on, this is by far the easiest and most functional. Even after manually determining the correct device type and creating a manual
devices.json
file, I could not get broadlink manager to work correction. - I wrote myself a quick script and created some helpers to automate the process of learning IR codes using the Home Assistant GUI. You obviously don't have to do all this, but it makes the process a lot easier when you have a lot of buttons to learn. I plan to upload all this to my github (but it'll have to be after the holidays) since this is honestly the first time I've done something other's might benefit from, so forgive the crudeness of the version below.
Create the following helpers:
- IRCommandName, input_text
- IRDeviceList, input_select
Set the list option to the name of the Broadlink entity you just created. In my case, this is "remote.ht_controller".
- IRDeviceName, input_text
- IRServiceList, input_select
Set the list options to include the following "remote.learn_command", "remote.send_command", "remote.delete_command"
Create the following script:
alias: Broadlink Training Ops Script
sequence:
- service: "{{ states('input_select.irservicelist') }}"
target:
entity_id: "{{ states('input_select.irdevicelist') }}"
data:
device: "{{ states('input_text.irdevicename') }}"
command: "{{ states('input_text.ircommandname') }}"
mode: single
icon: mdi:remote
Create the following manual card:
square: false
type: grid
cards:
- type: entities
entities:
- entity: input_select.irservicelist
name: Select Mode (learn, send, delete)
- entity: input_select.irdevicelist
name: Select IR Transmitting Device
- entity: input_text.irdevicename
name: Input IR Device Name
- entity: input_text.ircommandname
name: Input IR Command Name
title: IR Remote Training
- show_name: true
show_icon: false
name: Run script
type: button
tap_action:
action: call-service
service: script.broadlink_training_script
target: {}
columns: 1
When you want to execute a Broadlink command, use the card to do so. Tell it what you want to do (IRServiceList), what Broadlink device to send the command from (IRDeviceList), what device the command is for (IRDeviceName), and the name of the command (IRCommandName).
As mentioned in the Broadlink integration help, you can see the codes you have learned in the file created in the .storage folder of your Home Assistant.
from broadlinkmanager-docker.
Related Issues (20)
- No interface or no devices HOT 5
- Add Broadlink manager to Home Assistant panel HOT 1
- New Version - does not have WebUI HOT 1
- RM4 Mini 0x5216 not supported HOT 1
- Exposing the Broadlink RM 4 in BroadLink Manager is possible only after I change location/room in the Broadlink app.
- Unsupported upgrade request
- Device Not Supported - 0x5216 - RM4 Mini HOT 1
- Home Assistant repo added but add-on not found
- "Authentication failed" HOT 1
- typo in GitHub project description HOT 1
- Where can i find my device id ? I got one from aliexpress that supports 300 + 433mhz ir and rf
- Warning in HA Supervisor Logs
- More details in readme for beginners
- Unable to Learn IR/RF Codes
- Add mac address format string filtering for devices.json
- Enhancement: add github repo link to UI
- Enhancement: Add code learn log
- Enhancement: Provide both hex and base64 codes when learning
- RM4 Pro RF codes not learned - frequency set required?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from broadlinkmanager-docker.