#How to send a brightness up command without using light.on?

1 messages · Page 1 of 1 (latest)

nocturne berry
#

Is there a way to increase brightness of a lamp without using light.on? It does not matter if it turns the light on as a side effect. But i only want to send the increase brightness, as csn also be done in zigbee2mqtt.

fiery sphinx
#

Not in HA, no

sharp lotus
#

Presumably you could send a custom MQTT message to trigger z2m but... why? what's wrong with light.turn_on?

fiery sphinx
#

Some bulbs support it, so that when you turn it on it's immediately at your desired brightness/temperature/whatever - which I agree is a pretty nice thing

sharp lotus
#

fair enough if you aren't triggering everything through HA i suppose

fiery sphinx
#

Even through HA, I've got some lights that will always come on at the previous settings and transition to the new one. So if you turn it on at 1% brightness, but it was at 100% before, you get a brief flash.

sharp lotus
#

oh wow, that sucks

#

lights is one of the few things i haven't played around with

nocturne berry
#

In zigbee2mqtt if i slide the brightness to where-ever, it stays on instead of turning off by itself.

#

It turns on when i slide the brightness but also stays on😂

nocturne berry
nocturne berry
#

how do i send a mqtt message to turn up brightness then?

fiery sphinx
#

With the mqtt.publish service

nocturne berry
#

yeah but how do i know what topic and message?

fiery sphinx
#

The Z2M docs have that

#

You'll also want something like MQTT Explorer to see what the topics and payloads on your broker are

nocturne berry
#

thanks!