Skip to content
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

Please add option: If bright request present with on, only send dim #1171

Closed
sbormann opened this issue Jan 1, 2020 · 15 comments · Fixed by #1266
Closed

Please add option: If bright request present with on, only send dim #1171

sbormann opened this issue Jan 1, 2020 · 15 comments · Fixed by #1266
Assignees
Milestone

Comments

@sbormann
Copy link

sbormann commented Jan 1, 2020

As discussed here: #923 (comment)

Please add option to only send dim, even if bright request is made with on
(because in some circumstances alexa asks for both, on and dim, so a light bulb goes first to 100% (on-request) and then to the requested dim-level).

Thanks and best regards!

@SelmaUrban
Copy link

@bwssytems
if it is not too much effort, it would be cool to find this function in v5.3.1 Final

@St4tikk
Copy link

St4tikk commented Jul 26, 2020

Will this one make it into an RC in the near future? It's the only thing preventing me from switching over to Ha-Bridge for local control vs the flaky alexa skill implementation of my hub software. Thanks for this software I've been running it since the beginning for certain devices and it's incredible how far it has come!

@bwssytems
Copy link
Owner

I'll look into the current RC for this

@bwssytems bwssytems added this to the 5.3.1 milestone Aug 17, 2020
@bwssytems
Copy link
Owner

So, I believe I have the setup for this: use "On when Dim is present" set to false and "On with First Dim" set to false in the next RC4 release.

@St4tikk
Copy link

St4tikk commented Dec 5, 2020

Thanks! Can't wait to try it out when RC4 releases! 👍

@bwssytems
Copy link
Owner

The implementation will actually be another switch called "Dim only when on present". It didn't work the way I described above.

@bwssytems
Copy link
Owner

RC4 is released and this is now in that release

bwssytems added a commit that referenced this issue Dec 14, 2020
Dev branch 5.3.x to create v5.4.0

#1044 Alexa app, error "Device doesn't support requested value" bug question
#1118 Device status update in Alexa App is not working correctly for ha-bridge devices bug duplicate question
#1126 Can't get XY ColorData into URL enhancement question
#1127 Can't get separate hue, saturation and brightness enhancement question
#1128 Wrong color calucation in HS mode bug question
#1131 Changing color temperatur is not working correctly bug question
#1132 Conversion from CIE to RGB incorrect bug question
#1139 Device ID creation fails bug question
#1150 Home Assistant gets null exception during initialization bug question
#1170 Alexa not sending the correct color codes duplicate
#1171 Please add option: If bright request present with on, only send dim enhancement
#1184 Alexa will not discover HABridge question
#1191 When "Use UPNP Address Interface Only" is selected, echo cannot find ha-bridge bug
#1210 [Enahnacement] Have link button timeout be configurable enhancement
#1215 Alexa unable to discover recently added devices to ha-bridge duplicate question
#1227 Feature request: ${intensity.previous} value passing control enhancement
#1239 HA-Bridge has suddenly given up itself - Exception in thread "main" java.lang.NullPointerException bug question
#1243 Alexa device discovery now broke question
#1253 HABridge hue ColorDecode 0 0 0 bug question
#1256 Homeassistant devices not appearing bug question
@MattL0
Copy link

MattL0 commented Jan 7, 2021

ha bridge 5.4 is still sending an on command when a dim command is called. I tried the flags with no luck

@MattL0
Copy link

MattL0 commented Jan 8, 2021

The only way tom make the dim action not send an on value is to set the payload of the on action to ''on'' . if this is set to anything else it does not work.

When the payload is set to ''on'' in the on action of ha bridge.... ha bridge is send a 100 instead of On

  • setting the off command to off send nothing .

2
1

@MattL0
Copy link

MattL0 commented Jan 8, 2021

adfter some testing.... it seems like the on and dim command needs to be a number, and if there is nothing in the on command when setting the light to on , the dim will be sent

@MattL0
Copy link

MattL0 commented Jan 8, 2021

And when all on/off dim are used. with no flags

The off command will send a 0, the dim command will send a on command 2 times and a dim value number , and the on command will send a ( in this case 122, and a 100 value)
1

@MattL0
Copy link

MattL0 commented Jan 8, 2021

of value received
2

@MattL0
Copy link

MattL0 commented Jan 8, 2021

dim commands received
3

@MattL0
Copy link

MattL0 commented Jan 8, 2021

on commands received :
4

@MattL0
Copy link

MattL0 commented Jan 8, 2021

this is with the device flag Dim only when On present (If dim is present and the on request is present, the on request will not be sent. This is overriden by the above settings.) set to true.

1st pic is a dim command . Second pic is a on command
1




2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants