Giter VIP home page Giter VIP logo

openipc-firmware's People

Contributors

mrpatg avatar openipcamera avatar ph89 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openipc-firmware's Issues

Enable 2-way audio

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.

snx_rtsp_server stops running

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.

Cannot downgrade

Hello guys,

I am having some issue with the downgrade. Tried basically everything.

  • I accidentally clicked the upgrade button, so I am now on 3.3.3.25
  • I tried all the downgrade methods but always getting an error at the beginning of the boot saying "sd_update_fail: no FIRMWARE_660R.bin" (looked this on serial console)

`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
`

  • I also tried the serial console downgrade (renaming the file to 0.elf and copy over and run it locally), it seems working but instead of downgrading to 3.0.3.56 it actually goes to 2.8 something, where looks like there is a bug as here the sd card doesn't work.

What am I doing wrong?

Night vision?

I can't figure out how to get night vision working. It it supported in this version?

Secure RTSP server

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.

Blue Light after installing and nada

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

v2 0.2.5

this version suport xiaofang ?

Cannot seem to get setup - Hearing 'Waiting to connect'

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:

  1. Hold down the setup button for 10 seconds BEFORE connecting power
  2. With button still depressed, plug in power to the camera while continuing to hold for another 10 - 12 seconds.
  3. Release the button when the connection light blinks continually.
  4. Press the button again and you should hear a Chinese voice prompt if successful.
  5. Remove SDcard and reboot camera and reinsert after boot until you hear "click click".
  6. I now just hear 'waiting to connect' repeated in English over and over.

Can you tell me:

  1. Where do I download: 'openipc_v0.2.4.img' from?
  2. Are there any FULL instructions of what to do that basically include ALL steps that I need to do to get this working. I have no idea if yours require first having used the Xiaomi-Dafang-Hacks or what exactly. I'm fairly technical but I just cannot seem to get this camera working.

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.

openipcscan.sh: line 37: nmap: command not found

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?

Two features to make openIPC really stand out IR Heat Control & RTSP check service

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).

samtap/fang-hacks#338

Won't connect to wifi

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

RSTP stream with over 5 seconds of latency Wyze Cam V2

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.

I cannot seem to get the a rtsp://[discoveredipaddress]/unicast

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?

V2 cam, doesn't seem to work

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.

Run RTSP and still enable local continuous recording?

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

WyzeCam V2 loses Connection to Blue Iris

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.

rtsp audio

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.

OSD space character incorrect width

openipc-font

In the screenshot, there's a space between "1970-01-01" and "11:39:53" but it seems to be only a few pixels wide, not the same width as the other characters.

Cannot install on V1 Camera

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?

Version 0.24 installed, buttons don't work

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?

"Source file not found" when attempting to apply hacks to Xiaomi cam

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?

Trying to install, not getting through

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:

  • pulling the USB plug, reinserting plug.
  • removing Micro SD card, pulling plug, reinserting plug, reinserting micro SD card
  • pulling plug, removing micro SD, reinserting plug, reinserting microSD.

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?

Getting 404 error on every reboot (and other issues)

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

Where is openipc-v2_0.2.5.img?

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?

V2 arrived today

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?

#14

Synology only 1-second recordings

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.

Night mode not working properly

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.

Officially Supporting Wyze Cam v2

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.

Error when changing video size

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 ?

OSD font needs outline

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.

Cannot connect to Wifi. Is there a log?

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?

Using a mobile app for wifi setup

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.

Trouble connecting to WiFi

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:

  1. Flashed 0.2.4 using etcher
  2. edited .wifissid and .wifipasswd with my SSID and wifi password
    • I'm not sure if I was supposed to keep the original "SSID" and "password" text in the file, but I just replaced them
  3. Held down the "setup" button for 10 seconds (before connecting to power)
  4. Still holding the "setup" button, connected to power
  5. Let go of the button when the light blinks yellow-blue
  6. Pressed the "setup" button again for a moment
  7. Removed the SD card
  8. Unplugged the USB cable
  9. Plugged in the USB cable
  10. Wait for status light to blink yellow-blue
  11. Connect SD card
  12. heard "click click"

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.

Installation instructions are confusing.

"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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.