Comments (20)
@robot-army @webtop you can try the master branch now and re-open this (or other) if any issues occur.
from balena-cam.
@robot-army which balenaOS version are you using? Also did the throttling work for you?
from balena-cam.
Was using BalenaOS version balenaOS 2.32.0+rev1 . Throttling in that way didn't work, I made a new issue for that. It was one of the GPU memory settings.
from balena-cam.
@robot-army do yo mind updating to the latest version
from balena-cam.
@robot-army you can do this by clicking on your device > Actions (it's on the left side of the dashboard) > BalenaOS Update > click update BalenaOS
from balena-cam.
Hmmmm.... I get this when trying to update?
from balena-cam.
On my Pi Zero, it's the latest version, it seems!
from balena-cam.
@robot-army some versions of the OS got retracted recently because of an issue. The latest recommended is 2.32 for the RPi zero. I am currently testing to see if balenaCam works on this version. In general the last time I added a commit everything was working for the 2.4x versions of the OS.
from balena-cam.
hey @robot-army I pinpointed the issue, you can check my response on balena forums https://forums.balena.io/t/balena-cam-raspberry-p-v4l-cant-open-camera/52485/19
from balena-cam.
Ahh OK cool, looks like the right solution for now is to wait a couple weeks for v2.4x for the Pi Zero. Should we keep this issue open until then?
from balena-cam.
@robot-army yes let's keep it open and confirm the results when the v2.4x for the pi zero rolls out.
from balena-cam.
I'm running v2.38 and was having the same issue. I uncommented that line you mention in the post, nothing else, and it's working as far as it loads, but I just get a blank view. I see the application framework, but the camera feed is just blank.
Are these issues related or should I start a new thread?
FYI: I'm just running this locally, so trying to access the app though the device IP.
printenv output
LC_ALL=C.UTF-8
BALENA_SUPERVISOR_VERSION=9.15.7
BALENA_DEVICE_TYPE=fincm3
HOSTNAME=0b76c61
BALENA=1
RESIN_SUPERVISOR_VERSION=9.15.7
RESIN_DEVICE_TYPE=fincm3
RESIN=1
BALENA_SERVICE_NAME=balena-cam
RESIN_APP_LOCK_PATH=/tmp/balena/updates.lock
BALENA_APP_NAME=Observer
BALENA_APP_ID=1567959
BALENA_DEVICE_UUID=0b76c6181fdcb542178bca69a76f59b3
USER=root
BALENA_SERVICE_HANDOVER_COMPLETE_PATH=/tmp/balena/handover-complete
PWD=/usr/src/app
HOME=/root
RESIN_SERVICE_KILL_ME_PATH=/tmp/balena/handover-complete
DEBIAN_FRONTEND=noninteractive
RESIN_DEVICE_UUID=0b76c6181fdcb542178bca69a76f59b3
RESIN_DEVICE_NAME_AT_INIT=still-feather
RESIN_HOST_OS_VERSION=balenaOS 2.38.0+rev1
TERM=xterm
BALENA_HOST_OS_VERSION=balenaOS 2.38.0+rev1
RESIN_APP_ID=1567959
RESIN_APP_NAME=Observer
SHLVL=1
BALENA_DEVICE_NAME_AT_INIT=still-feather
RESIN_SERVICE_NAME=balena-cam
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
UDEV=off
BALENA_APP_LOCK_PATH=/tmp/balena/updates.lock
from balena-cam.
@webtop yes as you are running 2.38 there is an issue with the camera libs that will be fixed in balenaOS version 2.4x when it comes out for the piZero.
from balena-cam.
Thx Marios.
from balena-cam.
Hey Marios,
I just pulled down the latest master and rebuilt. No issues in the build process, but once the app started, I get this issue:
[Logs] [3/18/2020, 6:42:34 PM] Started service 'balena-cam sha256:a01d0483066dcbbf558f7400897337219a44d1dd38004a2d8c008c03764fbf7d'
[Logs] [3/18/2020, 6:42:39 PM] [balena-cam] Video device is not ready
[Logs] [3/18/2020, 6:42:43 PM] Service exited 'balena-cam sha256:a01d0483066dcbbf558f7400897337219a44d1dd38004a2d8c008c03764fbf7d'
[Logs] [3/18/2020, 6:42:45 PM] Restarting service 'balena-cam sha256:a01d0483066dcbbf558f7400897337219a44d1dd38004a2d8c008c03764fbf7d'
[Logs] [3/18/2020, 6:42:47 PM] [balena-cam] Trying to load bcm2835-v4l2 driver...
[Logs] [3/18/2020, 6:42:51 PM] Service exited 'balena-cam sha256:a01d0483066dcbbf558f7400897337219a44d1dd38004a2d8c008c03764fbf7d'
[Logs] [3/18/2020, 6:42:52 PM] Restarting service 'balena-cam sha256:a01d0483066dcbbf558f7400897337219a44d1dd38004a2d8c008c03764fbf7d'
[Logs] [3/18/2020, 6:42:55 PM] [balena-cam] Video device is not ready
[Logs] [3/18/2020, 6:42:58 PM] Service exited 'balena-cam sha256:a01d0483066dcbbf558f7400897337219a44d1dd38004a2d8c008c03764fbf7d'
[Logs] [3/18/2020, 6:43:00 PM] Restarting service 'balena-cam sha256:a01d0483066dcbbf558f7400897337219a44d1dd38004a2d8c008c03764fbf7d'
I'm doing this all locally with the CLI, but just realized I'm still running 2.38...how do I update to 2.4 from local CLI? I can't find any info, and "balena device os-update" expect a UUID not a host IP.
Thx :)
from balena-cam.
FYI: I ssh'd into the device, and tried:
balena-engine engine update --version v2.46.1+rev3.dev
but got
unable to access local containerd: failed to dial "/run/containerd/containerd.sock": context deadline exceeded
from balena-cam.
@webtop why not just use the balena Dashboard to update? On the device page, you go to Actions (bottom left side)?
from balena-cam.
And if you want to use the cli you can do what you say and acquire the uuid from balena scan
.
In general it's always recommended to use the dashboard to do a hostOS update.
from balena-cam.
Hey! It's all good now. I have inadvertently tried to flash an incorrect device image, which then bricked the device. I ended up just reflashing the device with the latest update.
My devices are local dev devices, not connected to the dashboard. Are you saying, just perform an attach, then an update, then a detach? If so....good idea :)
from balena-cam.
@webtop is your device provisioned on balenaCloud? If yes, then even though you have a dev flavour of the balenaOS and you are using local mode you can just, as you say, disable local mode for a while, perform the update and re-enable it. In general with a device running a dev version of balenaOS, provisioned on balenaCloud, you can do the same things as with a device running a production version of the OS. Plus with dev balenaOS images you can do extra stuff like local mode and local push, so you can have fast development cycles/iterations.
from balena-cam.
Related Issues (20)
- Suitable as use for a block
- ValueError uncaught webrtc bug HOT 1
- Pi Zero W and Pi 3A+ all connect to the cloud but all return "nothing is listening on port 80" errors on the public URL. HOT 1
- Main branch does not build HOT 1
- Stable Rasberry Pi Zero W config? HOT 2
- No video, probable WebRTC problem on Pi4 HOT 4
- Cannot build: No matching distribution found for av<7.0.0,>=0.5.3 (from aiortc==0.9.11) HOT 3
- Show date and time in stream HOT 2
- Flag to disable "Anonymize local IPs exposed by WebRTC" is expired in Chrome 86 HOT 1
- User would like to get live stream feed via public url HOT 4
- Change video resolution HOT 1
- "Blank" screen in web browser HOT 4
- Error with Raspberry Pi 4 & Camera Module v2 HOT 1
- Cannot build: balena.yml is not a valid contract HOT 1
- Error with "VIDIOC_STREAMON: Invalid argument" HOT 1
- Update references to balenaCloud application HOT 2
- Maybe not an issue but worth asking
- Should offer API to get a single picture HOT 1
- Main Branch Does not Build HOT 1
- Doesn't run successfully when pushed to balena; syntax error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from balena-cam.