lampe icon indicating copy to clipboard operation
lampe copied to clipboard

Turn on light with terminal

Open Cyberdr3am opened this issue 2 years ago • 4 comments

Hi,

When i use shell command in the terminal to turn on light i have got a error.

/usr/bin/lampe: ligne 493: {"state":{"on":true : erreur de syntaxe : opérande attendu (le symbole erroné est « {"state":{"on":true »)

I use the command

lampe -s 1 y

This must turn on the light with the number 1

When i use the gtk app no problem to toggle the light

Maybe i do something wrong ?

edity : After some other test the light turn on but just sometimes and the brightness is very low I try lamp -s 3 s 100 but don't work

Cyberdr3am avatar May 17 '22 14:05 Cyberdr3am

Which version of lampe are you using? I will investigate this after I finished my bachelor thesis.

poinck avatar Jun 23 '22 11:06 poinck

Thx for the help. I use the last AUR version. All my phillips hue are on the last update

Cyberdr3am avatar Jun 24 '22 19:06 Cyberdr3am

I don't know which version is currently packaged in the AUR. You can use the latest version from GitLab, https://gitlab.com/poinck/lampe

poinck avatar Jan 01 '24 18:01 poinck

Setting a brightness value in oneshot mode is currently not supported, only increments with "s" or "w" are possible.

I consider this now a future feature.

poinck avatar Jan 01 '24 18:01 poinck