Page 3 of 16

Re: [App] libAmbiLight E/F/H

Posted: Tue Jul 17, 2018 8:00 am
by bobiturboto
Last question do you have any problems with black bars from some movies? I remember needed to tweak hyperion in order to handle it.

Sent from my D6503 using Tapatalk


Re: [App] libAmbiLight E/F/H

Posted: Tue Jul 17, 2018 8:29 am
by adonis
bobiturboto wrote: Tue Jul 17, 2018 8:00 am Last question do you have any problems with black bars from some movies? I remember needed to tweak hyperion in order to handle it.

Sent from my D6503 using Tapatalk
Nope, I don't.
Because I don't grab exactly the outer-edge pixels. As I said, I grab a 96x54 pixel image, and found out that the black-borders are 6 pixels height. So i skip 10 pixels from top and bottom and I also skip 5 pixels from left and right. ;-) This means, your LEDs colors won't match the edges of the image, but they still change in color when the images changes ... and that's the whole point :P :D

Re: [App] libAmbiLight E/F/H

Posted: Tue Jul 17, 2018 1:56 pm
by adonis
New version out! v2
- Removed ambilight_runner.sh (which was slow and unreliable)
- moved loop to the C-code
- runs smooth

Re: [App] libAmbiLight E/F/H

Posted: Tue Jul 17, 2018 2:22 pm
by adonis
zoelechat wrote: Sun Jul 15, 2018 1:16 pm Well I see no reason except something in code. You should make a huge cleanup in lib to see clearer imho, and keep only what you need. Huge beginner white elephant, it was :D
while-loop works ... :D Everything fine now!

Re: [App] libAmbiLight E/F/H

Posted: Tue Jul 17, 2018 7:50 pm
by bobiturboto
I have ordered my NodeMcu, I hope will be delivered soon.
I am really looking forward using your lib.

Re: [App] libAmbiLight E/F/H

Posted: Tue Aug 07, 2018 2:47 pm
by bobiturboto
I have got the hardware I have flashed the software could you point me which pins from nodemcu to connect to LED WS2801
I am using AMICA board
Image

I guess we need D0 and D2
Thank you


Re: [App] libAmbiLight E/F/H

Posted: Wed Aug 08, 2018 8:54 pm
by bobiturboto
I solved my pins problem regarding to this diagram and now my blink test is working
Image
2 = D4
0 = D3
Now other problem is happening when I start the test inject my tv is crashing
The only way is to plug it out from the mains.
I have started this command

Code: Select all

root@tv:/mnt $ samyGOso -d -T -B -r -l /mnt/opt/privateer/usr/libso/libAmbiLight.so H_LEDS:14 V_LEDS:8 SERVER_IP:192.168.1.200 SERVER_PORT:5050 OFFSET:17 REVERSE:0
samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015
Injecting '/mnt/opt/privateer/usr/libso/libAmbiLight.so' resident: '1'
mprotect: 0x41e96f80
dlopen: 0x42310c5c
dlclose: 0x42310cf0
dlsymaddr: 0x42310d50
pc=4203c660 lr=4203c644 sp=be9d71e0 fp=80
r0=3ca6524 r1=80
r2=1 r3=0
stack: 0xbe9b7000-0xbe9d8000 length = 135168
executing injection code at 0xbe9d7034
library injection completed!
Succeeded.
Please find logs attached
AmbiLight.log

Re: [App] libAmbiLight E/F/H

Posted: Thu Aug 09, 2018 4:26 pm
by adonis
bobiturboto wrote: Wed Aug 08, 2018 8:54 pm I solved my pins problem regarding to this diagram and now my blink test is working
Image
2 = D4
0 = D3
Now other problem is happening when I start the test inject my tv is crashing
The only way is to plug it out from the mains.
I have started this command

Code: Select all

root@tv:/mnt $ samyGOso -d -T -B -r -l /mnt/opt/privateer/usr/libso/libAmbiLight.so H_LEDS:14 V_LEDS:8 SERVER_IP:192.168.1.200 SERVER_PORT:5050 OFFSET:17 REVERSE:0
samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015
Injecting '/mnt/opt/privateer/usr/libso/libAmbiLight.so' resident: '1'
mprotect: 0x41e96f80
dlopen: 0x42310c5c
dlclose: 0x42310cf0
dlsymaddr: 0x42310d50
pc=4203c660 lr=4203c644 sp=be9d71e0 fp=80
r0=3ca6524 r1=80
r2=1 r3=0
stack: 0xbe9b7000-0xbe9d8000 length = 135168
executing injection code at 0xbe9d7034
library injection completed!
Succeeded.
Please find logs attached

AmbiLight.log

when have you downloaded the files from my first post? have you downloaded them freshly or did you use some older ones?

Re: [App] libAmbiLight E/F/H

Posted: Thu Aug 09, 2018 6:48 pm
by bobiturboto
I have downloaded them yesterday
Ino file is from your gitlab



Re: [App] libAmbiLight E/F/H

Posted: Thu Aug 09, 2018 6:51 pm
by adonis
bobiturboto wrote: Thu Aug 09, 2018 6:48 pm I have downloaded them yesterday
Ino file is from your gitlab
hmm... ok... ino-file is OK.
crashing is mostly caused by libAmbilight.so

what model of TV do you have?