Limitlessled

Hello everybody,
I am new here an have no experience with Home Assistant,
The last days i installed HA for the first time (but several times on my bpi :wink: ) Now i would like to connect my MiLight LED Bulbs to HA as described on the component web page under LimitlessLED. The Bulbs work great with the WiFi Gateway an the Android App.
For my understanding I have tried everything. However, the lights do not want to show in the interface.

Here the code of my lights.yaml file

  • platform: limitlessled
    bridges:
    • host: 192.168.0.24
      version: 5
      port: 8899
      groups:
      • number: 1
        type: rgbw
        name: rom1
      • number: 2
        type: rgbw
        name: rom2
      • number: 3
        type: rgbw
        name: rom3
      • number: 4
        type: rgbw
        name: rom4

I would be very glad if someone could help me …

Did you link your lights.yaml file to your configuration.yaml file? Also, are you using hyphens and not bullet points?

Maybe it’ll help if you copy and paste your code using the code tags: [ code ] [/code]

Ops…
here the text with the format such as in the file

code
- platform: limitlessled
  bridges:
  - host: 192.168.0.24
    version: 5
    port: 8899
    groups:
    - number: 1
      type: rgbw
      name: rom1
    - number: 2
      type: rgbw
      name: rom2
    - number: 3
      type: rgbw
      name: rom3
    - number: 4
      type: rgbw
      name: rom4
 /code

Yes the i insert lights.yaml (File in the same folder)with the line :
light: !include lights.yaml

In my configuration, “- host” is indented below bridges. Could that be your issue? I’m still a bit unclear about how YAML treats whites-pace.

light:
  - platform: limitlessled
    bridges:
      - host: 192.168.1.24
        version: 5
        port: 8899
        groups:
        - number: 1
          type: rgbw
          name: Office RGBW
        - number: 2
          type: rgbw
          name: Playroom Accent

adjusted. but still nothing happens.

my configuration.yaml:

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: 47.1417
  longitude: 7.2576
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 443
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Europe/Zurich

# Show links to resources in log and frontend
introduction:

# Enables the frontend
frontend:

http:
  # Uncomment this to add a password (recommended!)
  # api_password: PASSWORD

# Checks for available updates
updater:

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time.
history:

# View all events in a logbook
logbook:

###  Lights  ###
light: !include lights.yaml

# Track the sun
sun:

# Weather Prediction
sensor:
  platform: yr

and my lights.yaml:

- platform: limitlessled
  bridges:
    - host: 192.168.0.24
      version: 5
      port: 8899
      groups:
      - number: 1
        type: rgbw
        name: rom1
      - number: 2
        type: rgbw
        name: rom2
      - number: 3
        type: rgbw
        name: rom3
      - number: 4
        type: rgbw
        name: rom4

any idea?

Can you post what your log says? You can find it in the about section in the GUI

No errors have been reported.

I have no idea then. It all seems ok?

Try removing the optional fields like version and port? See if that makes a difference?

I’ve already tried… i think its not an error in the code. Maybe the all-in-one installer works not correctly on my banana pi M3.
I am waiting now for the rasperry which i have already ordered… ;/

Just an FYI, I’m using the AIO on an rPi3.

If it was just failing, I’d expect that you’d see an error. Just checking the basics - if you load http://192.168.1.24/ in your browser (default user & pass = “admin”), do you see the bridge’s firmware update page?

From your Pi, can you ping the bridge (you may need to sudo ping).

Login to milight bridge over browser an ping from Pi also works…

Do the lights show up as

light.rom1
light.rom3

under states in the developer tools menu on the left or do they just not show up in the main view with a slider to turn them on/off?

I have mine light: !include light.yaml rather than lightS.yaml

I have a version 4 bridge and my file is

- platform: limitlessled
  bridges:
  - host: 192.168.1.90
    version: 4
    port: 8899
    groups:
    - number: 1
      type: rgbw
      name: Kitchen
    - number: 2

The only other thing I can think of - is the address or your HASS server 192.168.0.X or is it in a different IP range to the bridge because of a WiFi access point or something?

Hey Guys. Its run! I reinstalled raspian and HA 0.30.1.
Unfortunately no idea what was wrong… :confused:

Many thanks all for the support!

2 Likes

Glad you got it working! :slight_smile:

Hi there,

I’m new to Home Assistant, just installed in om my RP3 and I can’t get all my lights to show up in HA.
At the moment I have 5 lamps (4 x rgbw + 1 x white). The 4 rgbw lamps show up and work great using the following syntax in configuration.yaml:

light:
  platform: limitlessled
  bridges:
    - host: 10.0.0.144
      groups: 
      - number: 1 
        name: Living Room
      - number: 2
        name: Diner Table
      - number: 3
        name: Hall way
      - number: 4
        name: PC

I don’t know how to setup the white lamp though.
If I just add another number 1 lamp than I get the following error:

Line 73:

  • host: 10.0.0.144
    Line 84 is my second “numer: 1” line.

Can someone please help me out?

P.S: I’m using the same bridge to communicate with all 5 lamps and that’s working fine (with the app and also by sending UDP commands through Tasker)

You just need to specify light type rgbw or white - see below

  platform: limitlessled
  bridges:
    - host: 10.0.0.144
      groups: 
      - number: 1 
        type: rgbw
        name: Living Room
      - number: 2
        name: Dinner Table
        type: rgbw
      - number: 4
        type: rgbw
        name: PC
      - number: 1
        type: white
        name: Foyer

Thanks for your reply!

Unfortunately that doesn’t work, probably because 1 group can only contain 4 lamps. When I add a fifth lamp, I get the following error:

Code:

light:
  platform: limitlessled
  bridges:
    - host: 10.0.0.144
      groups: 
      - number: 1 
        name: Living Room
      - number: 2
        name: Diner Table
      - number: 3
        name: Hall way
      - number: 4
        name: PC
      - number: 5
        type: white
        name: Bed Room

Error:

Solved!

I guess it was a little easier than I thought it would be :slight_smile:

light:
  platform: limitlessled
  bridges:
    - host: 10.0.0.144
      groups: 
      - number: 1 
        name: Living Room
      - number: 2
        name: Diner Table
      - number: 3
        name: Hall way
      - number: 4
        name: PC
      - number: 1
        type: white
        name: Bed Room

Hey there :slight_smile:

I would love, if someone could explain me, how I can run HA on a Banana Pi. I tried it with the manual installation and Hassbian and so on, but it won’t work for me :unamused:

Hi, happy to help! Go ahead and make a post in https://community.home-assistant.io/c/installation