openipcamera / openipc-firmware Goto Github PK
View Code? Open in Web Editor NEWOpenIPC Firmware for Wyze Cameras
Home Page: https://openip.cam
OpenIPC Firmware for Wyze Cameras
Home Page: https://openip.cam
The Xiao Fang and Wyze cameras both support two-way audio, via an app (Android and/or iOS). I understand this would take quite a bit of work, but it would be neat if this functionality could be replicated with OpenIPC.
Brand new V2, didn't update firmware from factory. Got the v2 image, loaded it up, went through the process. I can SSH to the device and login, but no HTTP or RTSP service. Indicator light on rear is yellow.
Anyone else getting this? Tested it on VLC 2.2.6 Windows 10, and VLC android(unsure of version).
I check my NVR at random times and see the video is not streaming. Check the cam and the snx_rtsp_server is not running. Any reason why this could be? I was going to run a cronjob to check every minute if the process is running, but it seems I cannot do that either.
Would be great for HomeAssistant users to have MJPEG streaming option instead of RSTP.
Hello guys,
I am having some issue with the downgrade. Tried basically everything.
`reading FIRMWARE_660R.bin
** Unable to read "FIRMWARE_660R.bin" from mmc 0:1 **
reading FIRMWARE_660R.bin
** Unable to read "FIRMWARE_660R.bin" from mmc 0:2 **
sd_update_fail: no FIRMWARE_660R.bin in the sd
Partition Map for MMC device 0 -- Partition Type: DOS
Partition Start Sector Num Sectors Type
1 2048 204800 b
2 206848 15316992 83
reading FIRMWARE_660R_F.bin
** Unable to read "FIRMWARE_660R_F.bin" from mmc 0:1 **
reading FIRMWARE_660R_F.bin
** Unable to read "FIRMWARE_660R_F.bin" from mmc 0:2 **
sd_update_fail: no FIRMWARE_660R_F.bin in the sd
ERROR: update FIRMWARE_F.bin from sd failed
`
What am I doing wrong?
I can't figure out how to get night vision working. It it supported in this version?
Possibly using git or curl
https://en.xiaomitoday.it/xiaofang-1s-e-la-nuova-ip-camera-di-xiaomi.html
Does this hack script support the newer Xiaofang 1s?
Can this be installed ”over” fang-hacks? Or di i need to reinstall my camera?
The RTSP stream is not secured. If a user would like to view the RTSP stream remotely, it would be open for anyone else to see. There is a way to secure the stream with a username and password. See here for instructions:
samtap/fang-hacks#6 (comment)
and here for the binary:
samtap/fang-hacks#6 (comment)
It would be nice if this binary (or similar) could be included with the base image. Then, it would be nice if the username/password could be defined via the web interface.
HTML5 Web Interface
Hello
I clean installed after using fang-hacks, the woman spoke, I did the sd card dance, heard the faint noise, green then blue flashing light, now solid light, but I cannot see it on the network
Any ideas please?
Cheers
Mark
this version suport xiaofang ?
Is it possible to setup a static IP on a v2?
Hi,
I have two Xiaomi Xiaofang Cameras. They have the little white button to press for setup rather than having to insert a pin so I think they are the 'newer' type?
I had tried to follow https://github.com/samtap/fang-hacks, then that hadn't worked and I had been left with a camera just flashing orange/blue.
Then I found and tried to follow https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks but was still in the same situation.
I have now found your site and seem to be in a better situation.
I have followed these steps using FIRMWARE_660R.bin renamed to 'demo.bin' as I cannot seem to find the .bin file you say to use:
Download and install Etcher or Win32 Disk Imager
Write the openipc_v0.2.4.img to your SDcard
Open the SDCard and edit the files .wifissid and .wifipasswd to match your network
Flash the firmware to the camera:
Can you tell me:
Would really appreciate a FULL idiot guide, step by step, of everything I have to do. Regardless of whether it is just your specific part of a long process, or a step that I have to do before hand from someone else.
Hi guys.
On Windows, Mac and RaspberryPi Zero i get this error when running the openipcscanwin.sh and openipcscan.sh:
openipcscan.sh: line 37: nmap: command not found
Second question When do i have to insert the SD Card. Before step one?
Great work w/ this fork thus far. Enjoy seeing thorough notations, instructions, and roadmaps for future improvements.
IR Heat Control, which fanghacks has some issue commentary, pulls, and a commit for
samtap/fang-hacks#61
samtap/fang-hacks#67
samtap/fang-hacks@01f302e
samtap/fang-hacks@47e320c
https://github.com/samtap/fang-hacks/blob/0d2913f11b6bcf471f97e7bb29e6d4b5777c1dbf/usr/bin/fang-ir-control.sh
and this pull request for a watchdog script for the RTSP server to help restart the server automatically if it should ever shut down or for those with needing to restart the RTSP server every few days (could be heat, but that's def not always the case).
Hi,
I've just flashed this to my camera and it is continuously flashing blue and orange which indicates no connection to wifi?
The camera was previously flashed with fang-hacks for several months with no issues, I reverted it back to stock firmware yesterday also with no issues connecting to wifi in both versions
I have configured my SSID and Wifi password as the only contents of the relevant files
My ssid contains an underscore if that could cause an issue but I changed it to not use it and it still couldn't connect
Is there a log thats readable? i see the binary log file on the sd card its around 1.2 mb but I cant read it
I can see the camera is taking video in the video folder on the sd card and pulling the sd card and reslotting it beeps as it should but no wifi
Also I tried the scanwifi script and it has a substitution error on line 24 on linux
My ssid is 27 characters long, the password is 20 characters long using WPA 2
After setting a proper ntp-server in setting, the time gets update properly, however after a power re-cycle the time is not getting synced after the devices booted up.
Need help, I was able to install the latest ver on Wyze cam V2. everything goes fine. when I go to my browser on Mac to watch the stream, it is extremely lagging. same thing on vlc on iPhone, ip cam app on iPhone swell. the light remains solid yellow? is that normal? I was able to ssh into the cam from terminal, but not sure where to go from there. Don't know much about programming.
All other scripts are running, but not the rtsp.
I press start rtsp in the plugins page, but does not start and remains orange.
first off let me say thanks for doing this work to make our camera more than they are. I'm having a problem where I cannot access the camera by rtsp. I'm able to access the camera webpage and have it set using the default setting is there something that I missed?
I followed the instructions for V2: flashed the SD card, inserted, light was blue after power on while holding down button, released the button. The camera rebooted and I heard the single click and the light is yellow now. I've had the openipcscanwin.sh running waiting for it to come on, gave it more than an hour, still nothing, light is still yellow.
How would I go about debugging this? I do believe the SSID and PW are correct, I disconnected my laptop and forgot it, used the same credentials I copied and pasted into the wpa file. Any thoughts?
FW version is 4.9.1.42 on the camera and I have connected it through the Wyze Cam app when I got it. It still works with the app if I pull out the sd card and reboot it.
Hello,
Is it possible to still enable local continuous recording (to microSD) when RTSP is turned on? I have my WyzeCam v1 running RTSP to enable HomeKit support thru homebridge but it would be nice to still have all the local recordings as well if I needed a specific event's video again in the future. Just wondering if this is possible or if one being on mutually excludes the other?
Thanks,
-Daniel Darnell
I was successful in installing Alpha V2 image onto to my WyzeCam v2. I was able to connect to Blue Iris using RTSP. However after sometime it will lose connection and the only way to connect back to Blue Iris is to reboot. Could you provide steps to debug this issue.
Was searching for anything related to audio under openipc to resolve my missing audio and saw your post: "Outside of a few minor modifications (wifi/remove rtsp audio)"
Can you clarify why rtsp audio was removed? I wanted to put a couple of these in bird houses and it would be nice to have the audio.
Thanks for your efforts and nice work! This setup method is significantly easier.
instructions, numerous SD cards, always the same. It acts like it's doing a first time setup with Wyze software, asking for "QR Code" no Chinese prompt. Several dozen times, it's always the same. I downgraded the firmware several times. Is there a specific firmware (wyze) that works best with this install?
Hey, I installed 0.24 on one of my cameras, and got it running after some hassle. I now get the screen asking about Xiao Feng hacks and other options, but none of the buttons seem to do anything. Whatever option Is elect (including reset) comes back to the same status screen. The screen is updated, but there are no additional options, etc.
Any ideas?
This firmware works without the sd card inserted?
When attempting to apply the hacks via the web interface, I get the errors:
Applying fang hacks scripts... Source file not found: '/media/mmcblk0p1/bootstrap/sdcard' Source file not found: '/media/mmcblk0p1/bootstrap/rc.local' Source file not found: '/media/mmcblk0p1/bootstrap/rcS' Source file not found: '/media/mmcblk0p1/bootstrap/fang_hacks.sh' Source file not found: '/media/mmcblk0p1/bootstrap/fang_hacks.cfg'
logs say:
Contents of /tmp/hacks.log: Thu Jan 1 08:00:08 GMT 1970 - /media/mmcblk0p1/snx_autorun.sh: Running (device: mmcblk0p1) Thu Jan 1 08:00:08 GMT 1970 - /media/mmcblk0p1/snx_autorun.sh: Created /tmp/www/cgi-bin Thu Jan 1 08:00:08 GMT 1970 - /media/mmcblk0p1/wlansetup.sh: WlanSetup via SD-Card - modified Thu Jan 1 08:00:08 GMT 1970 - /media/mmcblk0p1/snx_autorun.sh: Running (device: mmcblk0p1) Thu Jan 1 08:00:08 GMT 1970 - /media/mmcblk0p1/wlansetup.sh: WlanSetup via SD-Card - modified Thu Mar 29 06:26:29 GMT 2018 - /media/mmcblk1p1/snx_autorun.sh: Running (device: mmcblk1p1)
Any ideas?
EDIT: Ugh, realized my stupid mistake. Was getting my MAC addresses mixed up, so my camera was actually at another address. Chalk one up for user error]
Hey all, I have a Wyzecam v1 (WYZEC1) that I am trying to install 0.24 on. I've gotten as far as the nice chinese lady telling me that the camera is ready to scan, but no further.
I've tried:
For all of these, the device then joins my wifi network, but doesn't respond at the http://192.168.1.247/cgi-bin/status/ address. I get the blue flashing light.
So, I assume that I am not doing something right here, but I am not sure what.
Any ideas?
(I know the instructions say reboot, but I am not clear on what that exactly means. Is there another way to reboot except pulling the plug?
Hi!
OpenIPC looks very promising, and I think I have successfully setup by device (version 3.0.3.56).
But I'm getting 404 error on every reboot. Using the "Remove the sdcard and reinsert it. Shortly after this the camera will go "click click" again." solves this issue. And I am able to connect to http://[discoveredipaddress]/cgi-bin/status
Is it supposed to be like this at every reboot?
Next issue:
Opening the http://[discoveredipaddress]/cgi-bin/hello.cgi page shows the following:
"snx_autorun.sh
bootstrap
System Volume Information
FIRMWARE_660R.bin
time_lapse
record
log__s.txt
wlansetup.sh"
Is the sdcard mounted correctly?
Final issue:
Trying to change Network Settings -> Wireless Mode -> o Wireless Client does not work.
It shows that I am connected to my SSID, but Select Access Point list is empty. So I cannot change from Cloud to Wireless Client.
This is what the logs say:
Contents of /tmp/hacks.log:
Thu Jan 1 08:00:06 GMT 1970 - /media/mmcblk0p1/snx_autorun.sh: Running (device: mmcblk0p1)
Thu Jan 1 08:00:06 GMT 1970 - /media/mmcblk0p1/snx_autorun.sh: Created /tmp/www/cgi-bin
Thu Jan 1 08:00:06 GMT 1970 - /media/mmcblk0p1/wlansetup.sh: WlanSetup via SD-Card - modified
Fri Apr 6 14:25:58 GMT 2018 - /media/mmcblk0p1/snx_autorun.sh: Running (device: mmcblk0p1)
Fri Apr 6 14:25:58 GMT 2018 - /media/mmcblk0p1/wlansetup.sh: WlanSetup via SD-Card - modified
And finally, there is no SSH that I can connect to, but "start rescue telnetd" works and I can login.
Any suggestions / help will be very appreciated.
/mindtripper
You reference this file in the documentation. You tell us it has to be copied to the SD card. But it's not obvious where we should find this file.
Can we get a little help here?
Is there a way to reflash with factory/original firmware?
I received my V2 camera today. I was able to get the sdcard flashed and I think it is loading to the camera, but I'm currently getting the 404 error when I go to /cgi-bin/status.cgi. I tried removing and reinserting the card a few times. I get the "noise" but still get the 404 error afterwards.
hello.cgi gives me:
snx_autorun.sh
bootstrap
System Volume Information
FIRMWARE_660R.bin
time_lapse
record
wlansetup.sh
log_A4DA222A2FAC_20180410113909_s.txt
Any ideas on what I can do to get this working?
After successfully adding the camera (V2) to Synology Surveillance Station using the following values:
Port: 8554
Brand: [User Define]
Source path: /unicast
username: dafang
password: ismart12
Surveillance Station only records 1-second clips, and a lot of them.
If I try to change any settings under IP Camera
→ (camera) → Edit
, I get the following error:
Failed to load camera capabilities values.
I wonder if the problem reading values is causing the 1-second clips.
At night, there's essentially no IR, all i see is black. I've tried toggling the auto night mode/IR sensors on and off to no effect. Also, the 4 IR lights are on all the time, not sure that's related or not.
When the switch is in off state, the LED is on and vice versa.
Wyze Labs has stopped selling the Wyze Cam v1 and has started accepting pre-orders for the Wyze Cam v2. As of today they have stated that they are "expected to ship in 4-6 weeks." Until someone gets a Wyze Cam v2 in their hands and tests this on it, we can only speculate if the current Chinese base firmware will work on the updated hardware.
Wyze Cam v2 pre-order: https://www.wyzecam.com/product/wyze-cam-v2/
It doesn't sound like much is different, just a few sensor and software upgrades, as well as tweaking the camera's exterior appearance.
It would be great to test and officially support the Wyze Cam v2 once they ship, as you can no longer buy the v1 cams from Wyze Labs.
Changed video resolution from 1600x900 to 1280x720 and received the following error:
Video resolution set to -W1280 -H720 Restarting H264 RSTP server Starting v4l2rtspserver-master Invalid Argument ? Invalid Argument ? Invalid Argument ? Invalid Argument ?
I can't set the text color to white because it will blend into the sky, or black because it will not be visible at night. So it would be good to outline the text in a contrasting color.
I am following the instructions to the word but my camera does not seem to connect to the wifi. I even tried a different network with simpler password reqs and no dice. The camera sits there blinking yellow.
I notice there is a log on the SD card but it seems to be binary. Is there a way to decode that in order to help troubleshoot?
Is it possible to move the wifi setup step to a mobile app? I'd like to be able to bring the camera to a new place, and get it connected with an app instead of having to plug the ssd card into a computer.
Thanks for working on making an open version of the firmware for this camera.
I think I followed the instructions correctly, but I can't connect to WiFi. This is what I did:
.wifissid
and .wifipasswd
with my SSID and wifi password
At this point the status LED just blinks yellow-blue forever
I can connect to WiFi and get a solid blue led using the Mi Home app for Android. Then I can plug in the SD card and after hearing a "click click" I can accessss the /cgi-bin/status
page, but after rebooting it looses connect and blinks yellow-blue again.
I tried going to cgi-bin/network
and changing the Wireless mode from "cloud" to "Wireless Client", and selecting my WiFi SSID and entering the password. After clicking "connect" the light started blinking yellow-blue for a while and then blinking "blue". I could access cgi-bin/status
, but after going back to cgi-bin/network
the settings weren't updated.
I can start "rescue telnetd" but I don't know what the iSmartAlarm login name and password is. The username is "root" and the password is "ismart12"
I flashed 0.2.4, but the top of the page says "OpenIPC Version 0.2.2"
How do I set up the camera to connect to a wifi connection without using Mi Home? The changes I make in the cgi-bin
pages don't seem to have any affect.
"With button still depressed, plug in power to the camera while continuing to hold for another 10 - 12 seconds."
Change to:
With button still pressed, plug the power cable into the camera.
Continue to press the button for another 10 - 12 seconds until the connection light blinks back and forth between orange and blue.
Release the button.
If the light doesn't blink back and forth between orange and blue, what is the correct course of action?
"Press the button again and you should hear a Chinese voice prompt if successful."
What needs to be done if the chinese voice is not heard?
This line is very confusing:
Remove SDcard and reboot camera and reinsert after boot until you hear "click click".
Remove SDcard
Reboot camera
Reinsert (SDcard?) after boot
Until you hear "click click" - Do what until you hear "click click"?
What do I do when I hear click click?
Repeat Step 5 until you hear "click click"
Do I just keep keep reseting the camera and insert & ejecting the SDcard?
When do I get to use the camera?
"Run openipscan.sh or openipscanwin.sh if you're on windows/mac and find the IP address of your new OpenIP Camera. Note: MAC address will be changed to c0:6d:1a*"
I tried running this in MobaXterm shell on Windows and the script needs nmap.
I loaded nmap on my linux sandbox VM and the script ran, but did not find my camera - which is still blinking orange & blue.
https://github.com/openipcamera/openipc-firmware/blob/master/bootstrap/www/status
This line should be edited per release or the version number should be removed.
OpenIPC Version 0.2.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.