Greetings everybody,
I started using HassIO a few weeks ago and I am having a blast with it. Everything just works. Everything BUT the LimitlessLED integration.
Before I go on, I really don’t think that this is a binding issue.
I have used the limitlessLED app to check my config and it works fine from both the phone app and the limitlessled EXE.
I even created my own hub using the instructions here (http://blog.christophermullins.com/2017/02/11/milight-wifi-gateway-emulator-on-an-esp8266/) and I had no issues getting it to work. Se eventually my plan B could be MQTT.
This is what I have in lights
light:
platform: limitlessled
bridges:
- host: 192.168.0.201
groups:
- number: 1
type: rgbw
name: Ecran
- number: 2
type: rgbw
name: Plafond
- number: 3
type: rgbw
name: Cuisine
fade: on
- number: 4
type: dimmer
name: Plafond2
At first, they were showing up under lights, but as I added stuff to my configuration file, they eventually disappeared.
I tried moving the code around with no luck.
I am running
- HassIO V.68.1
- PI3
Here’s the full configuration file
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 55.689
longitude: -63.8671
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 0
# 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: America/Toronto
# Customization file
customize: !include customize.yaml
# Show links to resources in log and frontend
# introduction:
# Enables the frontend
frontend:
# Enables configuration UI
config:
http:
# Secrets are defined in the file secrets.yaml
api_password: !secret http_password
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# base_url: example.duckdns.org:8123
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
# Discover some devices automatically
discovery:
enable:
- homekit
# 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:
# Enables a map showing the location of tracked devices
map:
# Track the sun
sun:
hide: true
# Weather prediction
sensor:
# - platform: yr
- platform: openweathermap
api_key: !secret openweathermap_api
forecast: true
monitored_conditions:
- temperature
- wind_speed
- platform: mqtt
name: "POW Draw"
state_topic: "tele/sonoffpow/SENSOR"
qos: 0
unit_of_measurement: "W"
value_template: "{{ value_json['ENERGY'].Power }}"
- platform: mqtt
name: "POW Voltage"
state_topic: "tele/sonoffpow/SENSOR"
qos: 0
unit_of_measurement: "V"
value_template: "{{ value_json['ENERGY'].Voltage }}"
- platform: mqtt
name: "POW Today"
state_topic: "tele/sonoffpow/SENSOR"
qos: 0
unit_of_measurement: "kWh"
value_template: "{{ value_json['ENERGY'].Today }}"
- platform: mqtt
name: "POW Current"
state_topic: "tele/sonoffpow/SENSOR"
qos: 0
unit_of_measurement: "A"
value_template: "{{ value_json['ENERGY'].Current }}"
- platform: mqtt
name: "POW Yesterday"
state_topic: "tele/sonoffpow/SENSOR"
qos: 0
unit_of_measurement: "kWh"
value_template: "{{ value_json['ENERGY'].Yesterday }}"
# Text to speech
tts:
- platform: google
# Cloud
cloud:
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
light:
platform: limitlessled
bridges:
- host: 192.168.0.201
groups:
- number: 1
type: rgbw
name: Ecran
- number: 2
type: rgbw
name: Plafond
- number: 3
type: rgbw
name: Cuisine
fade: on
- number: 4
type: dimmer
name: Plafond2
mqtt:
broker: core-mosquitto
username: !secret MQTTuser
password: !secret MQTTpwd
panel_iframe:
configurator:
title: Configurator
icon: mdi:wrench
url: http://192.168.0.177:3218
switch:
- platform: mqtt
name: "Sonoff4 Switch 01"
command_topic: "cmnd/sonoff4/power1"
state_topic: "stat/sonoff4/POWER1"
qos: 1
payload_on: "ON"
payload_off: "OFF"
- platform: mqtt
name: "Sonoff4 Switch 02"
command_topic: "cmnd/sonoff4/power2"
state_topic: "stat/sonoff4/POWER2"
qos: 1
payload_on: "ON"
payload_off: "OFF"
- platform: mqtt
name: "Sonoff4 Switch 03"
command_topic: "cmnd/sonoff4/power3"
state_topic: "stat/sonoff4/POWER3"
qos: 1
payload_on: "ON"
payload_off: "OFF"
- platform: mqtt
name: "Sonoff4 Switch 04"
command_topic: "cmnd/sonoff4/power4"
state_topic: "stat/sonoff4/POWER4"
qos: 1
payload_on: "ON"
payload_off: "OFF"
- platform: mqtt
name: "SonoffPOW"
command_topic: "cmnd/sonoffpow/power"
state_topic: "stat/sonoffpow/POWER"
qos: 1
payload_on: "ON"
payload_off: "OFF"
- platform: tplink
host: 192.168.0.163
media_player:
- platform: plex
- platform: yamaha_musiccast
host: 192.168.0.237
xiaomi_aqara:
discovery_retry: 5
gateways:
- key: !secret xiaomi_aqara_key
weather:
- platform: openweathermap
api_key: !secret openweathermap_api
homekit:
auto_start: False
Found the following in the logs:
2018-05-01 22:03:28 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform limitlessled
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 129, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/light/limitlessled.py”, line 120, in setup_platform
version=bridge_conf.get(CONF_VERSION, DEFAULT_VERSION))
File “/usr/lib/python3.6/site-packages/limitlessled/bridge.py”, line 109, in init
self._init_connection()
File “/usr/lib/python3.6/site-packages/limitlessled/bridge.py”, line 254, in _init_connection
self._socket.recv_into(response)
ConnectionRefusedError: [Errno 111] Connection refused
Thanks in advance guys
Chris