Trying to push code to my device using these instructions. The device is online but I am unsure where to clone the repo to. I am assuming that I go in to the Host OS terminal from the dashboard for the device. When I try to do so I get a Bash error that Git is not installed. Should I install or did I miss something?
You actually should push that code from your host machine rather than the device itself. I recommend you try our new
Deploy with balena button that’s available in the repo itself: https://github.com/balenalabs/balena-cam#getting-started, as that is a much friendlier workflow to deploy the project!
Please let us know how that works for you.
I was able to get through that.
The camera has worked once so far. I added the PYTHONWARNINGS and rotation variables then it stopped. Removed both, one at a time, but it is still not running. Restarted and rebooted.
I get the screen with the border for the BalenaCam but there is no video feed. What debugging operations would you suggest? I will try out the cam on another RPI to confirm it works in the meantime.
On what type of rpi are you running balenaCam? If you check dmesg in the hostOS terminal in the dashboard, do you see any errors there?
Running on a RPi 3B+. On restart I run
dmesg and get this output.
There seem to be some errors here.
Tried on Chrome, Firefox and Edge with same results.
Tested camera module on another Pi 3B+ and it worked fine.
Specific errors at:
[ 0.844659] Warning: unable to open an initial console [ 1.201988] udevd: Specified group 'render' unknown [ 1.202492] udevd: Specified group 'kvm' unknown [ 11.217655] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 [ 11.452775] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 [ 11.463229] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: May 2 2019 02:39:18 version 220.127.116.11 (r714225 CY) FWID 01-e539531f
Those are nothing to worry about. Can you share the uuid for the device and enable support access for it so we can look a little closer please?
You also need to
Grant support access from the
Actions side panel in the device dashboard page
Just granted access for 1 day.
Just extended it after realizing it was the weekend.
I’ve just checked the device and it does provide the video feed.
When you change the env variable, the supervisor restarts your app services on the device. Do you think you could try getting the feed before the service was ready after such a restart?
I’m not sure what you are asking me to do. Could you clarify the steps for doing that?
the application gets restarted when you update environment variables. This takes some time during which the application is down. The question Is whether it possible that you were trying to access it right after updating the environment variable when the application was still restarting?
Looking at the device right now it looks that the video feed works correctly.
I have been able to test it out on some different devices with mixed results:
Windows 10 - Build 19041
Does not work on any browser
Windows 10 - Build 15063
Works on Firefox only
Android Phone running Chrome browser - works
iPhone running Safari browser - works
I am wondering in the problem with my first PC might have something to do with the new Windows update.
I was just able to test the camera (Chrome on Ubuntu) at the external URL https://f0c5acc1c9925530f8b4c289882000f5.balena-devices.com/ and it worked properly. If you’re using the LAN address (10.0.0.192) it will be reachable only by devices on that subnet. Can you confirm you’re having issues with the public URL or just the LAN address?
I meant to add that the version of Windows shouldn’t matter – unless the new build has different security settings or something similar that need to be acknowledged. However, since the balenaCam project is accessible via port 80, permissions shouldn’t be necessary.
I’m using the public url in all cases.
Hello Steve, thank you for your message! It’s really strange that it’s not working on your Windows 10 (actually only it’s working on your Firefox).
Could you please check if your browsers have WebGL and other graphical requirements activated on the Firefox version that works?
WebGL seems to be enabled on both. There also does not seem to be much consistency on which devices work and which do not. The only device that consistently works is an Android phone running Chrome.