Lightwave RF Suport

273 views
Skip to first unread message

Bob Pugh

unread,
Dec 15, 2015, 2:12:04 PM12/15/15
to Home Assistant Dev
Hi, Excellent job with hass.  I have Lightwave RF kit in my house and am looking to integrate it into Home Assistant.
I have some tests working with command_switch and the switches and relays work fine.
MQTT looks to be a better option as a comprehensive bridge and I have managed to cludge a quick and dirty solution for a dimmer but I cannot work out how to get the gui to display a brightness control, I assumed this would work if I used this type of definition:

light:
  platform: mqtt
  name: "Office Light RGB"
  state_topic: "office/rgb1/light/status"
  command_topic: "office/rgb1/light/switch"
  brightness_state_topic: "office/rgb1/brightness/status"
  brightness_command_topic: "office/rgb1/brightness/set"
  rgb_state_topic: "office/rgb1/rgb/status"
  rgb_command_topic: "office/rgb1/rgb/set"
  qos: 0
  payload_on: "ON"
  payload_off: "OFF"
  optimistic: false

The above produces a standard light card in the UI with a switch but no slider to set the brightness etc.
(I am sending back
office/rgb1/brightness/status messages)

As it stands my dimmer works by clicking the lamp switch UI multiple times to cycle through levels, but the UI is not very slick.
I assume the phillips hue component has the "correct" UI so the Polymer elements must be in there somewhere :-)
Have I missed something or is this a "future" item?
Any help or suggestions would be appreciated.



Paulus Schoutsen

unread,
Dec 16, 2015, 11:21:55 AM12/16/15
to home-assi...@googlegroups.com
A brightness slider will be shown for a light if the state contains brightness. Have a look in the UI -> Developer tools -> States (<> icon) and look at your light entity.

--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/f29263f3-aaa0-4a27-a051-6e784262e926%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
It's nice to be important but it's more important to be nice.

Chirag

unread,
Jan 30, 2016, 8:47:34 AM1/30/16
to Home Assistant Dev
Hi Bob,

I have lightwave integrated with my home-assistant. I created a lightwave.py file which sits in the lights components folder. It works great, with dimming etc.

I didnt use MQTT at all.

The code isn't a complete solution (you need to manually hard code the devices), but once you have it all works a treat. Let me know if the code is of interest to you.

Kind Regards,

Chirag

Stuart Lea

unread,
Feb 6, 2016, 6:00:05 AM2/6/16
to Home Assistant Dev
Hi Chirag

I would be interested in seeing your code to connect directly to Lightwave RF. How are you doing this - is it through RFXCom?

Thanks

Stuart
Reply all
Reply to author
Forward
0 new messages