controllerx: [BUG] Issues with E1810 Controller

Bug report

Smoth power on does not work with Zigpy and E1810. Brightness long press does not increase/decrease brightness with E1810 Both features works with E1473 on the same lighs

Sorry for report this again, I finally had sometime to try various combinations and try sort this out.

Description

This is same as #24 but now, I have more information.

Smooth power on does not work with E1810 controller. I have two of them, assigned to two different set of lights but both do not work with smooth power on.

Behavior: all single press works (toggle lighs, bright up/down and change color temp).

  • lights off, single press to bright up, turn light on with minimal bright.
  • lights off, single press to bright down, does nothing
  • lights off, single press to left, does nothing
  • lights off, single press to right, does nothing

All long press does not work.

  • lights on, minimum brightness, long press to bright up button, does nothing. Expected to bright up continuously
  • lights on, maximum brightness, long press to bright down button, does nothing. Expected to bright down continuously
  • lights on, middle of color temp scale, long press to left or right buttons, does nothing. Expected to change color temp continuously.

With controller E1743:

  • lights off, long press up, smooth turn on
  • lights on, long press up, continuously bright up
  • lights off, long press down, nothing happens
  • lights on, long press down, continuously bright down

Additional information

Notice that light.kitchen_master is a light group. We already talked about that light.group might not work, but it works with E1473 controller. I also changed the above to a single light device and group of lights (instead light group). All configurations presented same behavior.

  • Devices involved:
    • Model: E1810 (presenting issues)
    • E1473 working as expected
  • Integration: Choose from zha with bellows for radio interface
  • AppDaemon version: 4 0.2.1
  • ControllerX version: 2.3.1 (hand installed
  • Home Assistant Core version: v0.106.1

AppDaemon app configuration

kitchen1_controller:
  module: controllerx
  class: E1810Controller
  controller: cc:cc:cc:xx:xx:xx
  integration: zha
  smooth_power_on: true
  light: light.kitchen_master

kitchen2_controller:
  module: controllerx
  class: E1743Controller
  controller: 14:b4:57:xx:xx:xx
  integration: zha
  smooth_power_on: true
  light: light.kitchen_master

Logs

2020-02-28 16:27:09.144879 WARNING AppDaemon: ------------------------------------------------------------
2020-02-28 16:27:10.149001 WARNING AppDaemon: ------------------------------------------------------------
2020-02-28 16:27:10.150253 WARNING AppDaemon: Unexpected error in scheduler loop
2020-02-28 16:27:10.151342 WARNING AppDaemon: ------------------------------------------------------------
2020-02-28 16:27:10.152895 WARNING AppDaemon: Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/appdaemon/scheduler.py", line 421, in loop
    next_entries = self.get_next_entries()
  File "/usr/lib/python3.8/site-packages/appdaemon/scheduler.py", line 335, in get_next_entries
    next_exec = datetime.datetime.now(pytz.utc).replace(year=3000)
ValueError: day is out of range for month

This log started to happen today, don’t think it is related to the problem.

  • There are no logs from the ZHA when long presses are done with lights off.

  • With lights on, ZHA emits:

2020-02-28 16:30:19 WARNING (MainThread) [zigpy.zcl] Data remains after deserializing ZCL frame
2020-02-28 16:30:22 WARNING (MainThread) [zigpy.zcl] Data remains after deserializing ZCL frame

One at the start of the long press, another on the release. Nothing more (I set log leve for debug).

Additional Context

Thanks for your good work. If you need any other information, I will gladly provide.

Best regards.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 76 (63 by maintainers)

Most upvoted comments

Awesome Xavi - will test tonight when I get home!

it takes the values from the first light of the group and changes the attributes according to that light,

I did not know this – this is so cool!

Thanks @xaviml - you’re the best! 💯