and the json file to: /config/caseta_192.168.1.5.json
But then I get this error in HASS:
2017-10-26 13:07:58 ERROR (MainThread) [homeassistant.setup] Error during setup of component caseta
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/setup.py", line 194, in _async_setup_component
component.setup, hass, processed_config)
File "/usr/lib/python3.6/asyncio/futures.py", line 331, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/caseta/__init__.py", line 46, in setup
integration = json.load(conf_file)
File "/usr/lib/python3.6/json/__init__.py", line 299, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Now that the official Caseta component was broken by Lutron updating the hubs what is the plan moving forward? We should at least work on getting @jhn’s implementation for the pro hub into here.
Perhaps we can call the components caseta_leap and caseta_pro. That way if we do ever get the key people with the pro hub are free to choose which they want to use (but who in their right mind would want to lose functionality).
It is always risky integrating with a system how we did with Caseta, documented APIs are much safer as IF they change it should be a simple path forward to fix it. However I doubt they would implement a breaking change to the API without at least giving warning first.
I’ve been using @jhn’s (thank you!) implementation for months with zero issues in an environment with quite a few caseta dimmers. Even using pico remotes as triggers for non-lutron devices. So for whatever it’s worth - I would welcome an official component for the pro hub.
Pico remotes show up as sensors on the Pro version using Upsert’s custom component. Can then use that to activate scenes or other stuff. I think its worth the price difference.
Another small difference is transition support for dimming or fading the lights. You can specify the fade or ramp time in seconds when changing a light level in Home Assistant.
The PRO hub is a little harder to find and more expensive, but I think worth it for the additional features enabled by its Telnet interface. The HA component for the non-PRO hub is also using an unofficial reverse engineered protocol that is a bit more likely to be broken by firmware updates when compared to the Telnet interface on the PRO bridge that is also used by third party integration partners.
Here is a demo of an automation to turn off a light with an 8 second fade to black when pressing button 1 on a 4-button pico (see the button map for the numbers):
My Pro Bridge arrived today… first thought: wow, that is incredibly small. Second thought… wow, that is incredibly easy to set up! Particularly copying the integration report and pasting it into the frontend. Thanks @upsert!
I’m curious about latency/response times when controlling non-caseta devices (i.e. using a pico to control a ge dimmer/switch)
for those that have this configuration, is it perceptibly about as fast as controlling the caseta wireless dimmers? surely it’s at least faster than hacking an amazon dash button?
My experience with the Picos is that their button presses are registered extremely quickly in HA (it feels immediate). So I’d imagine if you’re using them to trigger an automation it would fire instantly.
Nice, Thanks for feedback, Just ordered a Pro Bridge kit with dimmer and pico remote. probably just going to use the pico remote as a nightstand control for my bedroom lights which are controlled by a ge z-wave switch. My wife and I occasionally wake each other up telling alexa to control the lights.
I wish someone made a simple z-wave remote that looks like the pico or even hue dimmer remotes. But I like the look of lutron dimmers better than ge anyways, so I guess this works out.