Cov txheej txheem:

Zwift Ambilight thiab Lub Plawv Tus Nqi Hauv Nroog Smartbulb Teeb: 4 Kauj Ruam
Zwift Ambilight thiab Lub Plawv Tus Nqi Hauv Nroog Smartbulb Teeb: 4 Kauj Ruam

Video: Zwift Ambilight thiab Lub Plawv Tus Nqi Hauv Nroog Smartbulb Teeb: 4 Kauj Ruam

Video: Zwift Ambilight thiab Lub Plawv Tus Nqi Hauv Nroog Smartbulb Teeb: 4 Kauj Ruam
Video: ZWIFT Led power zones 2024, Hlis ntuj nqeg
Anonim
Zwift Ambilight thiab Lub Plawv Tus Nqi Zos Smartbulb Teeb
Zwift Ambilight thiab Lub Plawv Tus Nqi Zos Smartbulb Teeb

Ntawm no peb txhim kho me ntsis txhim kho Zwift.

Koj muaj qhov kawg ntawm qhov tsaus ntuj rau kev lom zem dua hauv kev tsaus ntuj.

Thiab koj muaj lub teeb (Yeelight) rau koj lub plawv dhia hauv cheeb tsam.

Kuv siv ntawm no 2 Raspberry PI, yog tias koj xav tau tsuas yog Yeelight koj xav tau tsuas yog 1 PI yog tias koj xav tau Ua tiav Show koj xav tau 2 PI's

Cia peb pib nrog qee yam:

Kauj ruam 1: Kho vajtse

Kho vajtse
Kho vajtse

Koj xav tau rau Ambilight phau ntawv qhia no:

awesomepi.com/diy-breath-taking-ambilight-f…

Kuv tsis sau ntawv tshiab, vim qhov no zoo heev. Tab sis tsuas yog ua qhov kho vajtse teeb tsa thiab tsis yog Software

Kuv muab IMAGE npaj rau koj rau Software.

Muaj cov txuas mus yuav, tab sis koj tseem tuaj yeem yuav qee qhov ntawm www.reichelt.de

Kuv yuav kuv lub xov tooj thiab E27 Qhov (Socket) los ntawm qhov ntawd kuj tseem muaj lub zog txhawb nqa:

www.reichelt.de/NKES-150-SW/3/index.html?A…

www.reichelt.de/FASSUNG-E27W/3/index.html?…

Rau lub zog fais fab koj tuaj yeem siv

www.reichelt.de/Schaltnetzteile-bis-150-W/…

lossis zoo dua qhov kaw:

www.reichelt.de/Netzteile-Festspannung/MW-…

Lawv kuj tseem muaj txoj hlua txuas txuas thiab txuas kab txuas rau raspberry:

www.reichelt.de/Kupferlitze-isoliert/2/ind…

www.reichelt.de/Entwicklerboard-Zubehoer/D…

Thiab PI Bundle koj xav tau:

www.reichelt.de/Einplatinen-Computer/RASP-…

Yeelight kuv yuav los ntawm ebay.

Kauj Ruam 2: Software rau Ambilight TV

Software rau Ambilight TV
Software rau Ambilight TV
Software rau Ambilight TV
Software rau Ambilight TV
Software rau Ambilight TV
Software rau Ambilight TV

Nov yog cov duab ua ntej rau koj cov txiv pos nphuab nrog Kodi openelec duab:

www.quakeit.de/openelec_kodi_ambilight_rpi3…

thiab RGB Kev Ntsuam Xyuas:

www.quakeit.de/RGBTestSequence.zip

Tsuas yog hloov daim Duab nrog Diskimager yog tias koj siv Windows

Yog tias koj siv Windows thiab koj muaj openelec txuas rau koj lub network koj tuaj yeem xauj Folders

nrog qhov rais:

Muab tso rau hauv Folder Configfiles qhov hyperion Config:

www.quakeit.de/hyperion.config.json

tom qab ntawd rov pib koj lub openelec

Yog tias koj ua txhua txoj cai cov txiaj ntsig tau tshwm sim tom qab khau raj

Muab qhov RGB Test Sequence hauv Cov vis dis aus thiab txaus siab rau qhov ua yeeb yam.

Cia peb dhia mus rau qhov tseeb

Kauj Ruam 3: Software rau Yeelight ntawm Lwm PI

Software rau Yeelight ntawm Lwm PI
Software rau Yeelight ntawm Lwm PI
Software rau Yeelight ntawm Lwm PI
Software rau Yeelight ntawm Lwm PI

Nws ib txwm zoo kom muaj ntau dua 1 PI:)

Ntawm qhov 2. peb teeb tsa peb lub yeelight thiab Zwift kev sib txuas.

Qhov laj thawj yog, uas koj tsis tuaj yeem teeb tsa cov khoom ntawm openelec zoo li GIT thiab lwm yam.

Tsuas yog teeb tsa Duab los ntawm www.raspberry.org

tom qab ntawd nruab GIT

sudo apt-tau nruab git

tom qab ua raws ntawm no, kuv tau forked git kom yooj yim dua:

github.com/Landixus/ZWIFT_SMART_FAN

Kuv xaiv qhov no, vim tias koj tuaj yeem tswj hwm FAN, ua tsaug rau DKanjuh rau nws!

Txhawm rau tswj hwm lub teeb pom kev koj yuav tsum qhib lub LAN-Tswj ntawm koj lub suab, pom duab.

Ua raws li Cov Lus Qhia Kev Txhim Kho nyob ntawd, yog tias koj xav tswj tus kiv cua, ua rau koj kho vajtse thiab teeb tsa.

Yog tias koj tsuas yog xav tau qhov tseeb, qhib ZwiftYeelight_01.py nrog

sudo nano ZwiftYeelight_01.py thiab hloov kab

bulb = Bulb ("192.168.0.76", auto_on = True, effect = "smooth", duration = timeout) #IP Chaw nyob ntawm koj lub teeb yuav tsum tau hloov

#hloov koj Lub Hauv Paus Lub plawv Ntawm NoHerzfrequenz = 0Herzschwelle1 = 70Herzschwelle2 = 90Herzschwelle3 = 100

cli = Client ('YourMailAdress', 'YourPassword')

koj tuaj yeem kho cov xim ntawm no:

teeb.set_rgb (0, 255, 0)

Yog tias koj xav ntxiv thaj chaw koj tuaj yeem ntxiv Herzschwelle4, Herzschwelle5 thiab lwm yam….

ces koj ntxiv:

yog Herzfrequenz> = Herzschwelle4: bulb.set_rgb (255, 0, 0) time.sleep (1)

thiab ntxiv rau. Kuv ua haujlwm ntawm tsab ntawv kom ua rau thaj chaw ntau dua thiab yooj yim los lis thiab txhim kho.

Yog tias npaj tau, koj yuav tsum pib Zwift thiab nkag mus rau hauv kev tsav tsheb, tsis txhob hnov qab muab lub hauv siab pluaj rau lub plawv dhia.

Pib koj cov ntawv nyeem nrog:

sudo nab hab sej ZwiftYeelight_01.py

Yog tias koj muaj qee lub tsev qiv ntawv ploj lawm koj yuav tsum teeb tsa lawv nrog pip:

rau yelight ua

pip nruab yeelight

los yog

sudo pip nruab yeelight

Kauj ruam 4: Teeb meem Shooting

Teeb meem tua
Teeb meem tua
Teeb meem tua
Teeb meem tua

Cov xov hluav taws xob ntev ib txwm tsis zoo, sim siv cov xov hluav taws xob luv. Lub teeb liab HDMI yuav tsum tsis txhob hla cov kab hluav taws xob ntev dua

tiam 5 Meters. Txwv tsis pub muab HDMI Splitter nyob ze TV.

Ua ntej koj txiav cov kab txaij ua TEST rau hauv pem teb… Puas yog txhua txoj cai txuas nrog?

Lub hwj chim tsis zoo, tsis txhob siv koj lub xov tooj txawb! Siv lub zog ruaj khov nrog lub zog txaus!

Kuv muaj teeb meem nrog Ntug Connector Clips rau kab txaij, qhov uas koj tsis tas yuav siv dua.

Solder nws! Yog tias koj tsis tuaj yeem nug tus phooj ywg, kab txaij tau yooj yim rau txhua yam uas nyiam tshaj plaws rau cov laug.

Ntxuav koj lub TV ua ntej koj ntxiv Stripe.

Koj cuam tshuam nrog Lub Hwj Chim tiag tiag, yog li tua nws thaum koj ua haujlwm ntawm cov khoom siv muaj zog!

Nco ntsoov rau kuv! Ntxiv cov duab:)

Ntau cov duab ntxiv

Pom zoo: