Many unbranded cameras from AliExpress etc comes with bad or close to no instructions so you’re sometimes left to yourself to figure it out. As I just went through this painful process myself, I’ve written down some notes till next time. Scroll down if you wish to see the easy solution, or continue reading for a little more in-depth process.
First step would be to get the cameras IP address. Login to your router and find the device in your DHCP list. If it’s configured to use a static address, check the instructions or use an IP scanner utility to find it.
Once you have the IP address, verify and try to login the usual way at http://xxx.xxx.xxx.xxx (i.e. http://192.168.1.88). The camera will typically have a web server running giving you some administration/settings. Sometimes you must also enable media streaming / RTSP.
Anyway, I’m gonna pretend everything works out of the box. You have the IP address. Now you can open it in VLC (keyboard shortcut CTRL+N to open a Network media stream).
Enter the URL and click Play. If necessary, a password prompt will ask for admin/password combination. Default login tends to be admin/admin or admin/123456 etc.
If you’re not sure what the URL should be, try one of the following. One of them will hopefully work:
Obviously replace <ipaddress> with the cameras IP address, and <username>/<password> with… yes, the username/password. You could also try switching the channel=1 to 2.
Hopefully one of the URLs will work, and voila! You can stream the camera!!
Let’s continue on with the easy solution:
Find IP address and stream directly using ONVIF Device Manager
ONVIF Device Manager is a great open source project which offers plenty of features for managing your IP cameras/CCTVs including network discovery, live stream and PTZ controls. It’s pretty much plug n play, just install the software and let it find your cameras automatically.
So a colleague just bought a new PC and it came pre-installed with “Windows 10 in S mode”. This is a locked down version of Windows where you can only install apps from the app store. Regular exe files etc are blocked.
Luckily you can disable the locked down mode rather easily. However, as of today, there’s no way to reactivate it again, so keep that in mind. Your 85 y/o grandma might be better off having it enabled as it’s a good way to block potential viruses.
The annoying thing is that in order to disable S mode, you actually have to “download” or run an app from the app store, and this requires a Microsoft account. So, for those of us who likes to use a local user account instead of logging on with a Microsoft account, we still have to login in order to run the app from the Microsoft Store.
Steps for disabling Windows 10 S mode:
1: Open Settings
2: Go to Updates & Security
3: Open the Activation tab.
You will see that your current Windows edition is set to “Windows 10 X in S mode” (where X is probably Home or Pro).
4. Click on the Go to the Store button. This will open the necessary “app” you need to run in order to unlock the regular Windows mode.
5. Run the app. Login with your Microsoft account when prompted (or create a throwaway account). Your PC is now unlocked.
This is a neat little function you can use as a filter in Vuejs to partially censor emails so for instance firstname.lastname@example.org will show as m****l@e*********m. In other words, show the first and last letter before and after the @ delimiter.
That will output a number like “123456” as “123 456”. But I also want it to skip decimals. Using .toFixed(0) doesn’t work as that only accept Float variables. Casting the Intl variable to Float using parseFloat() around it didn’t work either.
The solution was to use .toLocaleString() instead, like this:
Update 2020-10-02: A reader just informed me this is no longer accurate. Please see his comment:
The settings are no flags anymore, it’s now an switch in the normal preferences setup called “Always show full URLs” under brave://settings/appearance
I’m currently playing around with the Brave browser and so far I like it a lot. However I’m not fond of the trend of hiding parts of the URL which some browsers do. I prefer simply reading the URL scheme myself instead of depending on some vague SSL lock icons or whatever. Here’s a quick tutorial for showing the complete URL bar in Brave.
Open a new tab and enter brave://flags or chrome://flags (doesn’t matter which, both work since both are based on the Chromium project).
In the filter/search bar, enter “hide”, this will bring up the relevant flags you need to edit.