PCA9685 timed dimming from FHEM

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
boerny_007
New user
Posts: 1
Joined: 25 Jan 2020, 03:29

PCA9685 timed dimming from FHEM

#1 Post by boerny_007 » 25 Jan 2020, 03:41

Hi Guys,

i've bought a PCA9685 for my stair lightning.
now i'd like to dim every channel up to 100% (4095 steps) from 0% in 2 seconds.
Thats what I can do by the normal pwm command (if i use the onboard GPIOs of the ESP)

Code: Select all

pwm GPIO#,4095,2000
.
As I've seen in the wiki there is no 3rd parameter for the timing and even when i set a higher step it wouldn't dim up - it sets this hard.
The command is

Code: Select all

pcapwm PIN,4095
So how could i do solve this? Any ideas?

The goal would be a command from FHEM to the ESP - connected to the PCA9685 which is dimming up smoothly from 0 to 100 % in 2 seconds.

Thanks
Börny

Vitalik
New user
Posts: 3
Joined: 23 Dec 2019, 08:37

Re: PCA9685 timed dimming from FHEM

#2 Post by Vitalik » 07 Feb 2020, 21:06

without an additional plugin there is no way to do this
You can add to the library
for this example
http://arduino.ru/forum/pesochnitsa-raz ... ent-473165

Rub87
Normal user
Posts: 28
Joined: 29 Nov 2020, 22:28
Location: Belgium

Re: PCA9685 timed dimming from FHEM

#3 Post by Rub87 » 04 Jul 2021, 21:59

Hi,

I found the same limitation for the pcapwm function.? It would be cool to have the same ‘fade’ possibility then if one was using an onboard pin.

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests