I have hass.io running on a raspberry pi. I installed and configured three TP-Link (LB100) bulb and have them working well in the KASA app. I also had them working well in my HA. The configuration.yaml and includes are as follows:
# Includes
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
device_tracker: !include device_tracker.yaml
light: !include lights.yaml
sensor: !include sensors.yaml
notify: !include notify.yaml
lights.yaml
- platform: tplink
host: 192.168.1.110
name: The Love Nest
- platform: tplink
host: 192.168.1.111
name: Boys Lamp
- platform: tplink
host: 192.168.1.113
name: Couch Lamp
After the 0.59 upgrade, I noticed that I could no longer do anything with the TP-Link lights from HA. They still work fine in the KASA app and from my Google Home that has them linked through the KASA app. I have checked my router to insure that the IP’s have not changed. But from the HA info button I get 100’s of the following errors as the HA attempts to connect with the lights.
Could not read state for Couch Lamp: Communication error
1:20 PM components/light/tplink.py (WARNING)
Could not read state for Couch Lamp: Communication error
1:19 PM components/light/tplink.py (WARNING)
Could not read state for Boys Lamp: Communication error
1:19 PM components/light/tplink.py (WARNING)
The home-assistant.log file has similar errors.
2017-12-12 13:29:27 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds. 2017-12-12 13:29:28 WARNING (MainThread) [homeassistant.setup] Setup of light is taking over 10 seconds. 2017-12-12 13:29:28 WARNING (MainThread) [homeassistant.setup] Setup of device_tracker is taking over 10 seconds. 2017-12-12 13:29:32 WARNING (SyncWorker_1) [homeassistant.components.light.tplink] Could not read state for Boys Lamp: Communication error 2017-12-12 13:29:32 WARNING (MainThread) [homeassistant.setup] Setup of tts is taking over 10 seconds. 2017-12-12 13:29:37 WARNING (SyncWorker_14) [homeassistant.components.light.tplink] Could not read state for Couch Lamp: Communication error 2017-12-12 13:29:42 WARNING (SyncWorker_8) [homeassistant.components.light.tplink] Could not read state for The Love Nest: Communication error 2017-12-12 13:30:07 WARNING (SyncWorker_2) [homeassistant.components.light.tplink] Could not read state for The Love Nest: Communication error 2017-12-12 13:30:10 WARNING (SyncWorker_5) [homeassistant.components.light.tplink] Could not read state for Boys Lamp: Communication error 2017-12-12 13:30:15 WARNING (SyncWorker_14) [homeassistant.components.light.tplink] Could not read state for Couch Lamp: Communication error 2017-12-12 13:30:17 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform cast is taking over 10 seconds. 2017-12-12 13:30:20 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform cast is taking over 10 seconds. 2017-12-12 13:30:36 WARNING (SyncWorker_6) [homeassistant.components.light.tplink] Could not read state for Boys Lamp: Communication error 2017-12-12 13:30:41 WARNING (SyncWorker_13) [homeassistant.components.light.tplink] Could not read state for The Love Nest: Communication error 2017-12-12 13:30:46 WARNING (SyncWorker_1) [homeassistant.components.light.tplink] Could not read state for Couch Lamp: Communication error 2017-12-12 13:31:06 WARNING (SyncWorker_12) [homeassistant.components.light.tplink] Could not read state for Boys Lamp: Communication error
I was getting some different errors before I upgraded the firmware on the bulbs but I didn’t save the logs so I can’t show them. Is anyone else experiencing a similar problem with your TP-Link bulbs?