[App] libAmbiLight E/F/H (MST-only)

Here are software that related with Samsung H series TVs.
Please don't create any new topic here unless you have software to post/release.

bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [App] libAmbiLight E/F/H

Post 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

adonis
SamyGO Project Donor
Posts: 49
Joined: Tue Dec 19, 2017 8:59 pm

Re: [App] libAmbiLight E/F/H

Post 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
adonis
SamyGO Project Donor
Posts: 49
Joined: Tue Dec 19, 2017 8:59 pm

Re: [App] libAmbiLight E/F/H

Post by adonis »

New version out! v2
- Removed ambilight_runner.sh (which was slow and unreliable)
- moved loop to the C-code
- runs smooth
adonis
SamyGO Project Donor
Posts: 49
Joined: Tue Dec 19, 2017 8:59 pm

Re: [App] libAmbiLight E/F/H

Post 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!
bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [App] libAmbiLight E/F/H

Post by bobiturboto »

I have ordered my NodeMcu, I hope will be delivered soon.
I am really looking forward using your lib.
bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [App] libAmbiLight E/F/H

Post 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

bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [App] libAmbiLight E/F/H

Post 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
You do not have the required permissions to view the files attached to this post.
adonis
SamyGO Project Donor
Posts: 49
Joined: Tue Dec 19, 2017 8:59 pm

Re: [App] libAmbiLight E/F/H

Post 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?
bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [App] libAmbiLight E/F/H

Post by bobiturboto »

I have downloaded them yesterday
Ino file is from your gitlab


adonis
SamyGO Project Donor
Posts: 49
Joined: Tue Dec 19, 2017 8:59 pm

Re: [App] libAmbiLight E/F/H

Post 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?

Post Reply

Return to “[H] Software”