Page 5 of 20

Re: [App] libSambilight E/F/H (MST-only)

Posted: Wed Dec 01, 2021 12:39 pm
by schybiorz
So I might have flashed all successfully.

ENDLog from oneshot

[Sambilight] Serial opened /dev/ttyUSB0 @921600
[Sambilight] Grabbing started
[Sambilight] Sambilight ended
[Sambilight] lib_deinit

But like u mentioned it only save a Black screen due to Image capture broken.

Would it be possible to get an arduino sketch files with also wifi Support like fastled when TV is not on or to test if LEDs are working

Re: [App] libSambilight E/F/H (MST-only)

Posted: Wed Dec 01, 2021 8:56 pm
by tasshack
New version released for fixes on H. Unfortunately TV Remote feature is currently not supported on H, you need to set TV_REMOTE=0; on init file to make it work.
Also testing is a bit different from E/F. You need to call two commands for pattern rendering and capturing for testing.

Re: [App] libSambilight E/F/H (MST-only)

Posted: Wed Dec 01, 2021 9:07 pm
by schybiorz
Hi.

Testpattern is working
SpoilerShow
Image
But second command I got error samyGOso: invalid option -- 'H'

/mnt # 
/mnt # samyGOso -d -H -B -l /mnt/opt/privateer/usr/libso/libSambilight.so H_LEDS

:35 V_LEDS:19 BOTTOM_GAP:7 START_OFFSET:68 CLOCKWISE:1 CAPTURE_POS:0 COLOR_ORDER

:RGB BAUDRATE:921600 TEST_FRAMES:1 TEST_PATTERN:0 TEST_PROFILE:0 TEST_SAVE_CAPTU

RE:1
samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015
samyGOso: invalid option -- 'H'
usage: samyGOso [-p PID | -n procname | -A | -T | -D ] [-B ] {-c CONFIG | -l /full/path/to/inject.so [-r (=resident)]} [-d (=debug on)] [-a (=add libc addressoffset )] [arg0,...,argN]
/mnt # 

Re: [App] libSambilight E/F/H (MST-only)

Posted: Wed Dec 01, 2021 9:30 pm
by tasshack
schybiorz wrote: Wed Dec 01, 2021 9:07 pm Hi.

Testpattern is working
SpoilerShow
Image
But second command I got error samyGOso: invalid option -- 'H'

/mnt # 
/mnt # samyGOso -d -H -B -l /mnt/opt/privateer/usr/libso/libSambilight.so H_LEDS

:35 V_LEDS:19 BOTTOM_GAP:7 START_OFFSET:68 CLOCKWISE:1 CAPTURE_POS:0 COLOR_ORDER

:RGB BAUDRATE:921600 TEST_FRAMES:1 TEST_PATTERN:0 TEST_PROFILE:0 TEST_SAVE_CAPTU

RE:1
samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015
samyGOso: invalid option -- 'H'
usage: samyGOso [-p PID | -n procname | -A | -T | -D ] [-B ] {-c CONFIG | -l /full/path/to/inject.so [-r (=resident)]} [-d (=debug on)] [-a (=add libc addressoffset )] [arg0,...,argN]
/mnt # 
Sorry it's my bad. It should be

Code: Select all

samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libSambilight.so H_LEDS:35 V_LEDS:19 BOTTOM_GAP:7 START_OFFSET:68 CLOCKWISE:1 CAPTURE_POS:0 COLOR_ORDER:RGB BAUDRATE:921600 TEST_FRAMES:1 TEST_PATTERN:0 TEST_PROFILE:0 TEST_SAVE_CAPTURE:1

Re: [App] libSambilight E/F/H (MST-only)

Posted: Wed Dec 01, 2021 9:33 pm
by schybiorz
Yes.

Screenshot is now also saved but led,s won't work. Will look after them tomorrow or at the weekend.

Re: [App] libSambilight E/F/H (MST-only)

Posted: Wed Dec 01, 2021 9:35 pm
by tasshack
schybiorz wrote: Wed Dec 01, 2021 9:33 pm Yes.

Screenshot is now also saved but led,s won't work. Will look after them tomorrow or at the weekend.
Your leds count should match with the sketch, you need to send correct parameters V_LEDS, H_LEDS, BOTTOM_GAP, CLOCKWISE

Re: [App] libSambilight E/F/H (MST-only)

Posted: Wed Dec 01, 2021 9:45 pm
by schybiorz
Yes but none of them light up.

Old setup esp8266 with eftdi serial adapter 3,3v jumper

I now have the arduino micro pro connected via USB and only connected data line also to pin 14 from led stripe. Rest of stripe is powered via ac adapter.

Maybe I've setup something wrong in arduino, but I don't think so.

The info files are the same for both setups correct?

Sry when I ask to much.

Also I have ws2812b led stripe. Also changed pin to pwm pin but none is lightning

My setup of led mount is:

Left/right each 24 led
Top 48
Bottom none.

Offset 24 and grb

Mount counter CLOCKWISE. Starts down Front right side.

Re: [App] libSambilight E/F/H (MST-only)

Posted: Fri Dec 03, 2021 8:32 am
by schybiorz
Ok. Seems that my led stripe is broken or something is wrong there. Flashed back another arduino sketch but none led wont light up. Will have to look into it the other days.

Re: [App] libSambilight E/F/H (MST-only)

Posted: Sun Dec 05, 2021 12:13 pm
by schybiorz
Ok. I managed to repair my stripe. First led Was broken. Now wled and mclightning are working. Will test later your in sketch and report.

So ino sketch works. Led came up to live.
Colors don't match all testpattern fields or is it because of the reduced img size in post prozess?

Will try livepicture later.

Re: [App] libSambilight E/F/H (MST-only)

Posted: Mon Dec 13, 2021 11:15 pm
by schybiorz
Thanks you for Super support.

Now it is working. All I had to do was also to connect ground from led strip to arduino pro micro.

Now all is working like it should.

Some minor colour dispatch (gamma) lightblue seems like turkies
But it's a new dimension of looking TV.

I'm happy.