Support only RM2 Pro (Read data from temperature sensor) and EAIR A1 (Temperature, Noise and etc.)
Next is switch for IR commands but there will be a problem because there is no push button in home assistant… Switch is not good idea for IR or RF remote commands
I will buy EAIR (I only hve RM2 pro).
At the moment I use the command below to activate Broadlink RM2 Pro RF command (on hardware electric swtiches) and works perfectly. I have still to test IR
switch:
platform: command_line
switches:
platter11_light:
command_on: "curl -X GET http://192.168.1.50:7474/?cmd=%7B%2...."
command_off: "curl -X GET http://192.168.1.50:7474/?cmd=%7B%22...."
Thanks very much for that…
Finally awesome!
Could not test yet because I am not home…
About the RF and IR sending capability… I think we could use a assumed_state switch. We could set two different commands for the same switch, such as POWER ON OFF, VOL UP DOWN, CHANNEL UP DOWN.
Besides, we do not need a graphical interface for remote controls, we just need integrate IR and RF commands on automation actions… we already have the e-control interface for that…which is very limited…
There is no need having a switch or a button on the UI, Just the possibility of turning the tv off if left on with nobody home… or turning the AC on a preset cold or hot based on the room temperature…
But need would like to abandon the Android bridge need…
In fact, there is no way to get status back from any IR device, unless you look at it, or check a sensor status changing, such as, turn on AC and check for the temperature variation…
On the other hand, we have RF devices as well, which can inform status or not. Most of them do not inform their status, therefore we need to use different RF signals for turning ON and OFF, what allows sending two or three times the same ON or OFF signal to make sure it had worked.
A RF device with toggle commands is useless for automation rules.
But that is a Whole RF/IR World problem!!!
For RF devices we have better alternatives, such as RFXTRX and RFLINK (which is already being added on HASS).
But for IR devices, Broadlink seems to be the best cost-benefit.
I think the problem about push, switch or assumed_state buttons should be solved later by creating a push button on HASS.
The best step forward will be let us free from android bridge.
The best way to control a IR device is and will allways be using the original remote control.
If we could just send a broadlink IR command throught as an automation action, would already be awesome!!! Even without a push button on the user interface.
I have a plenty of Livolo Switches (RF controlled with Toggle Button and OFF button - there is no ON Button), which I have controlled using switches.
I need two virtual switches for each lamp. One is toggle and the other is OFF.
The frontend interface is far from ideal, but it works… when everybody is out of home, I can turn all lights off (for sure) sending a toggle command twice for the OFF switches (I send twice to be sure it will work), and when Kodi pauses, I send a toggle command for the switch I want just once (sometimes it does not work).
At this stage unfortunately we will not have button.
For devices which some function are controlled with a single button (turn TV on/off) we can
set variables command_on and command_off with the same IR/RF packet.
command_on and command_off is a base64 encoded packet from broadlink (to be user friendly string ). To sniff packets please use this tool: http://pastebin.com/gFB66sVM
Only change ip_addr and mac_addr with your in this tool and in configuration.
If everything is ok I upload to github.
And again: Sorry for my bad English. I start learning in next month