Page 5 of 16

Re: [App] libAmbiLight E/F/H

Posted: Thu Aug 30, 2018 1:53 pm
by bobiturboto
Check my post with the node mcu diagram GPIO 0 Gpio 2 are the ports

Sent from my D6503 using Tapatalk


Re: [App] libAmbiLight E/F/H

Posted: Thu Aug 30, 2018 3:55 pm
by WarLLe
adonis wrote: Mon Aug 20, 2018 9:48 am
Mubis wrote: Sat Aug 18, 2018 1:52 pm The same problem with F7000. TV hangs up after executing libAmbiLihgt.
libscreenshot works fine with samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so ALT
Hmmm... that's unfortunate if it only works with the ALT method correctly.
The ALT method grabs the screen as a compressed JPG. This means that the pixel information isn't directly accessible, instead it needs to be decoded, which isn't that easy.
Got the same problem with crashing my TV. Just only working with ALT method.
Any chance to get this working for ALT method?

EDIT:
Found some example code for jpeg decompression in memory with jpeglib.
Maybe it's possible to implement that jpg decompression with ALT method to get the color information back.

https://gist.github.com/PhirePhly/3080633

Re: [App] libAmbiLight E/F/H

Posted: Wed Sep 05, 2018 7:04 pm
by Allodo
Still I need Wlan on my ESP8266? And if, why?

Because I have trouble to connect with WinSCP everytime I put in my NodeMCU because it takes the same IP-Address of my TV.
I'm waiting for my WS2801 from Aliexpress because I first wanna try on my small TV in bedroom before I change everything in Livingroom.

Will Ambilight start when I put my TV on or do I have to make anything else?

Thx for your help :)

Re: [App] libAmbiLight E/F/H

Posted: Thu Sep 06, 2018 7:02 am
by bobiturboto
You need network connection because your TV will send requests to node mcu. To avoid ip address conflicts you can set up dhcp static address alias for NodeMcu from your router.
Before buying anything make sure your TV is H series because it seems is the only one which is confirmed to work with this lib.

Sent from my D6503 using Tapatalk


Re: [App] libAmbiLight E/F/H

Posted: Thu Sep 06, 2018 7:48 am
by Allodo
@bobiturboto
Thx :)

I have two H-Series (UE50H6470 and UE75H6470). I've bought them because of this I only have to make one Channellist and I've needed Scart for Ambilight in Livingroom. And after I've read this thread I bought the WS2801 again :)
You need network connection because your TV will send requests to node mcu.
Normally my TV is connected with Lan and not over WLan because signal in Bedroom is weak. Do I have to use only WLan?

Re: [App] libAmbiLight E/F/H

Posted: Thu Sep 06, 2018 9:15 am
by bobiturboto
For NodeMcu you have no choice because it has only wlan. For the tv it doesn't matter my is connected by LAN too

Sent from my D6503 using Tapatalk


Re: [App] libAmbiLight E/F/H

Posted: Fri Sep 07, 2018 7:15 am
by Allodo
Yesterday I've tried to make Screenshots as well for testing.

Here are my Results:

Code: Select all

samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so JPG 
No Picture, TV freezes

Code: Select all

samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so ALT 
Perfect Picture

Code: Select all

samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so
Picture is upside down

Re: RE: Re: [App] libAmbiLight E/F/H

Posted: Fri Sep 07, 2018 7:36 pm
by bobiturboto
adonis wrote:
Mubis wrote: Sat Aug 18, 2018 1:52 pm The same problem with F7000. TV hangs up after executing libAmbiLihgt.
libscreenshot works fine with samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so ALT
Hmmm... that's unfortunate if it only works with the ALT method correctly.
The ALT method grabs the screen as a compressed JPG. This means that the pixel information isn't directly accessible, instead it needs to be decoded, which isn't that easy.
Can we use the same approach like for J series
http://forum.samygo.tv/viewtopic.php?p=105310#p105310

Sent from my D6503 using Tapatalk


Re: [App] libAmbiLight E/F/H

Posted: Mon Sep 10, 2018 8:53 pm
by adonis
WarLLe wrote: Thu Aug 30, 2018 3:55 pm
Got the same problem with crashing my TV. Just only working with ALT method.
Any chance to get this working for ALT method?

EDIT:
Found some example code for jpeg decompression in memory with jpeglib.
Maybe it's possible to implement that jpg decompression with ALT method to get the color information back.

https://gist.github.com/PhirePhly/3080633
Hey... that looks promising... I am going to take a look at it at some point. I hope it works ;-)
Thank you for your research and your hint.

Re: [App] libAmbiLight E/F/H

Posted: Mon Sep 10, 2018 8:55 pm
by adonis
Allodo wrote: Fri Sep 07, 2018 7:15 am Yesterday I've tried to make Screenshots as well for testing.

Here are my Results:

Code: Select all

samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so JPG 
No Picture, TV freezes

Code: Select all

samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so ALT 
Perfect Picture

Code: Select all

samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so
Picture is upside down

Code: Select all

samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so
Since this works, you're good to go. Don't worry about the upside-down picture. The only important thing here, is that we get pixel data. You can ajust the pixel direction in the libAmbilight params.