New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hue power-on behavior #209

Merged
merged 11 commits into from Jan 13, 2019

Conversation

Projects
None yet
2 participants
@Chrischi-
Copy link
Contributor

Chrischi- commented Jan 13, 2019

PR as discussed here: Koenkk/zigbee2mqtt#746

Hue Bulb Firmware from Nov/Dev '18 is required.


{
  "hue_power_on_behavior": "on", //default, on, off, recover, default = on
  "hue_power_on_brightness": 125, //default, same values as brightness converter, default = 255
  "hue_power_on_color_temperature": 280 //default, same values as colo-temperature converter, default = 366
}

Chrischi- added some commits Jan 13, 2019

added Hue Power-on Converter
tested with GU10.
needs Firmware 1.46

hue_power_on_behavior
// default / enable / disable / configure hue_power_on_behavior, 
// default = 1
// on - lamps on after power loss with configured brightness, color temperature, color
// off - lamps off after power loss
// recover - lamps on after power loss with last state 

hue_power_on_brightness
// brightness when hue_power_on_behavior = on, same settings as brightness converter
// default = 255

hue_power_on_color_temperature
// color temperature when hue_power_on_behavior = on, same settings as colortemp converter
// default = 366

to-do:
hue_power_on_color (must be added by someone with appropriate bulb)
Hue specific settings
generic hue settings with power-on converter
@@ -1258,54 +1258,100 @@ const converters = {
cid: 'hvacThermostat',
type: 'devChange',
convert: (model, msg, publish, options) => {
return {

This comment has been minimized.

@Koenkk

Koenkk Jan 13, 2019

Owner

Could you remove these changes from this pr?

This comment has been minimized.

@Chrischi-

Chrischi- Jan 13, 2019

Author Contributor

Yes! It wasn't meant to be that way.

},
},
thermostat_att_report: {
cid: 'hvacThermostat',
type: 'attReport',
convert: (model, msg, publish, options) => {
return {

This comment has been minimized.

@Koenkk

Koenkk Jan 13, 2019

Owner

Also these

Chrischi- and others added some commits Jan 13, 2019

@Koenkk

This comment has been minimized.

Copy link
Owner

Koenkk commented Jan 13, 2019

Thanks!

@Koenkk Koenkk merged commit 5e4c0c3 into Koenkk:master Jan 13, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment