question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Detailed Linux (Debian) install notes

See original GitHub issue

Okay, not really a question, just leaving some notes for really green Linux users.

# clone repo
git clone https://github.com/kroo/wyzecam.git && cd wyzecam

# Install python, pip and virtual environment
sudo apt-get install python3 python3-pip python3-venv -y

# create venv
python3 -m venv wyzetest
source wyzetest/bin/activate

# Install dependencies
pip install .
pip install requests
pip install opencv-python
pip install av

# Download, compile and install TUTK_IOTC
wget https://github.com/nblavoie/wyzecam-api/raw/master/wyzecam-sdk/TUTK_IOTC_Platform_14W42P1.zip
unzip TUTK_IOTC_Platform_14W42P1.zip
cd Lib/Linux/x64/
g++ -fpic -shared -Wl,--whole-archive libAVAPIs.a libIOTCAPIs.a -Wl,--no-whole-archive -o libIOTCAPIs_ALL.so
sudo cp libIOTCAPIs_ALL.so /usr/local/lib/
cd ../../..

# Set Wyze creds
export WYZE_EMAIL=johnd@example.com
export WYZE_PASSWORD=mypassword

# Set your camera name on line 20 of example:
nano examples/streaming_video.py

# run example
python examples/streaming_video.py

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:20 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
versamodulecommented, Jul 8, 2021

I would have been nice if they made a way for VLC to connect to it. VcXsrv Windows X Server, goes full screen which is kinda useless without being able to resize it.

Why don’t you just pipe it directly to VLC?

with wyzecam.WyzeIOTC() as wyze_iotc:
  with wyze_iotc.connect_and_auth(account, camera) as sess:
    for (frame,_) in sess.recv_video_data():
      sys.stdout.buffer.write(frame)

python myscript.py | VLC - --demux h264

Because I know to little about Linux, and know even less about Python. But I can copy and paste 😉 Thank you for the info though. I need to research more, as my goal now is to have a RPI board do this, and then (if possible) act as a streaming server so that on my PC I can use VLC to connect to the RPI board to receive the video feed.

1reaction
SomebodySysopcommented, Jun 25, 2021

OK, sorry everybody! I was ssh’d into my Ubuntu machine (I’m real old school). When I executed command from the machine terminal itself, boom, there I was in living color! Example works! Whoo-Hoo!

On to next leg of the journey!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install Notes on Linux - AddictiveTips
To start the installation of Notes on Debian, open up a terminal window by pressing the keyboard combination Ctrl + Alt + T...
Read more >
Debian GNU/Linux Installation Guide
This document contains installation instructions for the Debian GNU/Linux 11 system (codename bullseye), for the 64-bit PC (amd64) architecture.
Read more >
Install Standard Notes on Debian using the Snap Store
Enable snaps on Debian and install Standard Notes. Snaps are applications packaged with all their dependencies to run on all popular Linux ......
Read more >
How to install Debian Linux - Complete Guide | Ricmedia
Begin installation · After booting up Debian, select Graphical Install (default) using the up and down arrow keys · Select the Language you...
Read more >
How to install Notes on Linux - YouTube
Notes is a simple, open-source note -taking application for Linux. The app is open-source and focuses on giving users a place to jot...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found