Support for RFLink Gateway

I used the AIO script to install HA on Jessie. Will the pip3 command work ?

I don’t know about the AIO script. Can you point me to it?

It’s here: https://home-assistant.io/getting-started/installation-raspberry-pi-all-in-one/ my question is related to the virtualenv part.

In that case you should use the pip in the virtualenv:

/srv/hass/hass_venv/bin/pip3 install --upgrade --user https://github.com/aequitas/home-assistant/archive/rflink.zip

This command is just a guess, but i think it should work.

Thanks ! That worked minus the --user part. I see sensors in the logging, how do I add them ?

Cool.

I currently maintain the documentation in the pullrequest description: https://github.com/home-assistant/home-assistant/pull/4547

I can’t find anything in the documentation about adding devices. My config (section) looks like this:

rflink:

port: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_95432313837351416120-if00

light:

  • platform: rflink

sensors:

  • platform: rflink

switch:

  • platform: rflink

I’ve been playing around with the Mqtt rflink gateway and have fixed a few issues I had with stability and Mqtt authentication. I’ve submitted pull request to get my fixes implemented.

Hello new to all this.

Trying to set up rflink gateway in Home assistant 0.38.1

But the initial port set up is not being recognised, I have used

rflink:
port: /dev/serial/by-id/usb-1a86

I am not sure if USB-ID is correct, I got it from doing

pi@Home_Assistant:~ $ ls /dev/serial/by-id/
usb-1a86_USB2.0-Serial-if00-port0

What am I doing wrong.

Also my rflink also has capability to use 2,4ghz and can control milight bulbs, will they work? how do I control RGB?

Hi, you need enter the full usb ID, so:

rflink:
    port: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0

2,4ghz and milight are not yet supported. I do not own these devices or configuration. But if you are able to provide output from the rflink command I could look into it: https://github.com/aequitas/python-rflink rflink -vv

Hi

Thanks very much, tried that and it has stopped the error, now to the next stage

Sorry to be a pain,

been trying to add switches all afternoon but can not get thew syntax that the system finds acceptable
this is what I have, which I believe is same as documentation.

“”"

  • platform: rflink
    device_defaults:
    fire_event: true
    signal_repetitions: 2
    devices:
    newkaku_001802be_1
    name: Router
    newkaku_001820be_2
    name: TV Amplifier
    newkaku_001820be_3
    name: Lounge TV
    icon: mdi:tv
    “”"
    Tried various spacing, commas etc but always get various errors in log file such as.

17-02-12 17:55:43 ERROR (Thread-1) [homeassistant.util.yaml] mapping values are not allowed here
in “/home/hass/.homeassistant/configuration.yaml”, line 108, column 13

What am I doing wrong???

Its best to use the preformatted text option when pasting config as it preserves the whitespaces. But from what I can see it you miss a color ‘:’ at the end of the device names (eg, newkaku_001802be_1).

Hi,

Thanks the colon’s sorted it. Also had to remove the ‘icon:’ as it is not allowed but is shown in documentation.

Thanks for the help and the tip on the preformatted text, will do next time.

Will now look into Milights and if I can get them controlled.

I would definitely love to see the MilIghts work with RFLink. It has some clear advantages over the official controller (control unlimited individual bulbs, intercept the remote to keep things in sync)

Furthermore, it looks like the people at RFlink are already working on the newer Milight bulbs. Something that seems difficult using the original controller.

So getting the Milight bulbs to work with RFLink might solve multiple problems at once.

I don’t own milight devices so I am unable to test. But if you could provide debug output for what is and isn’t working I can add support. According to: http://www.nemcon.nl/blog2/protref the same protocol is used for milights. Don’t know if pairing is mandatory before being able to control? Brightness and color setting are currently not implemented and should be added.

First off let me thank you for making the RFlink work!!! I`m very happy with it!

Regarding the milights. The indeed need to be paired. When you turn on the light bulbs they go into pairing mode for a few seconds. Normally you would then press a “on button” on the remote, pairing the bulb to that button (zone) of the remote. The official controller and remote are limited to 4 zones. According to the RFlink docs, the RFlink should not have this limit.

If I start hass I can see the following passing by in the output while I use the official remote. No sign from the bulbs, but as far as i can see, they only receive signals.

Im not a programmer, so i can not really asses what exact information you would need. But im more that happy to provide whatever i can to get this working :slight_smile:

EDIT: I just noticed the remote controls popping up in the front-end. At least the on/off switches for the 4 zones and the main on/off switch. Missing are brightness and color control, and the “modes” (disco mode etc, 0-8 ).

packet {‘switch’: ‘00’, ‘node’: ‘gateway’, ‘command’: ‘mode8’, ‘id’: ‘6222’, ‘rgbw’: ‘3b78’, ‘protocol’: ‘milightv1’}

I can control these with with my remote. The bulbs however, seem to only react to the remote. For example: when i pair my bulbs to zone2 on the remote, i can control them with my remote, en hass picks up on that, but i can not use the hass switch to control the bulb.

Does someone know how to hide the connection status panel? :sweat:

Already tried (without sucess):
rflink.connection_status: hidden: true

Please see https://github.com/home-assistant/home-assistant/pull/6475 for now its easier just to have the feature removed.

1 Like

Thanks for the information. I think that should be usable. I will be keeping the status on my progress here: https://github.com/home-assistant/home-assistant/issues/5965

1 Like