Giter VIP home page Giter VIP logo

yi-hack's People

Contributors

alpha14 avatar fritz-smh avatar garvarma 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yi-hack's Issues

Lock down access to camera

Currently anyone on the network can open the camera download files etc, each feature should be able to be locked down with a password or turned off.

The best way to achieve this would be to have a settings link on the web-server that requires a user to log in, and all settings are managed there.

Cant connect to wifi...

Sorry about this but I've been trying a lot of times without success.
I tried a few wifi broadcasts, and although I'm absolutely sure of the pswd etc, I can't managed to get the camera through.
Among possible issues, I wondered about two possibilities :

  • do the passwords have to respect the (tedious) passport rules of Yi? Not likely, but I wonder.
  • do the gateway addresses have to end with 255 ?
    In fact my Gateway addresses are always ending by 1. (as given in line 8 of the yi-hack). Not by 255. I wonder if this could be the issue.
    In fact when I look at the log indeed in the ra0 section, I read :
    ra0 Link encap:Ethernet HWaddr B0:D5:9D:63:E3:5C
    inet addr:192.168.8.121 Bcast:192.168.8.255 Mask:255.255.255.0
    inet6 addr: fe80::b2d5:9dff:fe63:e35c/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:343 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:78315 (76.4 KiB) TX bytes:0 (0.0 B)
    Why is this broadcast at 192.168.8.255?
    (the full log is attached if needed).
    Any suggestion welcome.

log.txt

Caméra non connectée

Bonjour,

Toutes les étapes ont été faite, la caméra au démarrage passe par les 3 étapes décrites jusqu'à l'étape LED bleue allumée en continu.
Mais impossible de se connecter à la caméra et l'IP de la caméra n'est pas présente sur le réseau.
Modèle de la caméra : YHS-113

Pour revenir "a zéro", comment faire ? J'ai reset la camera mais je n'arrive pas à la connecter à l'application MiHome.

Merci pour votre aide

Pas d'accès web telnet ok

Bonjour

Sur une version chinoise avant novembre 2015 et avec version 1.8.6.1A.201602241619

Connexion Telnet ok ping Internet ok date ok accès Web ko

Cannot contact the camera

Hi !

I tried to install the firmware. I placed the files on a micro sd, edited the 2 configuration files. The camera blinks and the stabilize.

I can see the camera with nmap but not with http, ftp or ping. I have no sound.

I attached the log file and the yi-hack.cfg file.

My camera were shipped on 09/08/2015.

Thank you !

log.txt
yi-hack.cfg.txt

Pas d'accès web telnet ok

Bonjour

Sur une version chinoise avant novembre 2015 et avec version 1.8.6.1A.201602241619

Connexion Telnet ok ping Internet ok date ok accès Web ko

Voici mon log

Installation problems

Good day, when I start yi camera with the memory card inserted the LED just stay stuck on orange and nothing happens. I have already configured the wifi and network configs.

Any other advice how to get this project running or how to debug this problem? Thanks in advance

Pas d'accès à la caméra

D'abord merci pour ce hack :)

J'ai bien suivie la procédure, la caméra se connecte bien au wifi (et je la vois sur le réseau) mais la page html n'est pas accessible via navigateur (Chrome/IE).

La caméra enregistre bien les mouvements détectés par contre.

J'ai activé le mode debug mais rien de notable à première vue (log_http & log_rtsp sont vides).

Not storing any video files

Hi,

The stream works perfect but the camera won't store video files on the SD card or the system via ftp.

Also the time starts everytime at 1969/12/31 22:00:00. I already changed the time server but it didn't work.

Xiaomi ants 2 ?

Hi,

Is this hack usable with the second version of the xiaomi ants ?

Regards,

Motion Detection

Hi,

After installing the hack, the motion detection and subsequent file creation seemed to work at first, but later the camera stopped creating video logs for motion detection despite there being movement in front of it. It acted as if no motion was detected. One possibility is that we were working on the FTP connection, but we'd prefer if both worked. Do you have any advice on what could be causing the motion detection issue?

(I'm not sure whether its a relevant issue, but the timestamp displays year 1970; record files indicate 1980).
image

Thanks.

Timezone off 2hrs

I am on Rome time, which is pretty much the same of Paris; using the given string for Paris, which is the exact same for Rome when checking the referral website from yi_hack.cfg, I always get my real time -2hrs. Tried different ntp servers, from two different places.
I appear to not be able to get the time right, I might just put there the timezone of a city normally two hours ahead of Rome, but that would be a quite ugly workaround :)

Timestamp

Hi,

is there any way to add a parameter to disable timestamp?

thx :)

Impossible de se connecter à la caméra

Bonjour,

Il m'est impossible d'accéder à la caméra (ni ftp, http ou rstp). Pourtant la caméra se connecte au wifi (lumière bleue fixe) et je peux la pinger. Elle enregistre d'ailleurs dans le répertoire sur la sd.
J'ai l'impression que le firmware 1.8.6.1B n'est pas downgradable..

Voici mon fichier log 👍
Starting to log...
Hardware version informations :
hwplatform=2
Software version informations :
[sys]
version=1.8.6.1B_201603181307
[kernel]
version=3-0.8
provider=18e
devtype=18e
Firmware letter is : 'B'
The RTSP server binary version which will be used is the 'I'
The HTTP server binary version which will be used is the 'J'
Check for some files size...
-rwxr-xr-x 1 root root 144885 Mar 28 2016 /home/hd1/test/http/serverJ
-rwxr-xr-x 1 root root 144912 Mar 28 2016 /home/hd1/test/http/serverM
-rwxr-xr-x 1 root root 121932 Mar 28 2016 /home/hd1/test/rtspsvrI
-rwxr-xr-x 1 root root 39572 Mar 28 2016 /home/hd1/test/rtspsvrK
-rwxr-xr-x 1 root root 39580 Mar 28 2016 /home/hd1/test/rtspsvrM
The blue led is currently blinking
Debug mode = yes
Check for wifi configuration file...*
/home/wpa_supplicant.conf
Start wifi configuration...

Status for wifi configuration=0 (0 is ok)
Do network configuration 1/2 (ip and gateway)
Done
Configuration is :
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

ra0       Link encap:Ethernet  HWaddr B0:D5:9D:1D:94:6C  
          inet addr:192.168.1.121  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::b2d5:9dff:fe1d:946c/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:815 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:186460 (182.0 KiB)  TX bytes:200 (200.0 B)

Do network configuration 2/2 (DNS)
Done
Get time from a NTP server...
But first, test the NTP server '0.uk.pool.ntp.org':
PING 0.uk.pool.ntp.org (87.81.181.2): 56 data bytes
64 bytes from 87.81.181.2: seq=0 ttl=51 time=83.049 ms

--- 0.uk.pool.ntp.org ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 83.049/83.049/83.049 ms
Previous datetime is Sun Apr 24 15:30:40 GMT 2016
Done
New datetime is Sun Apr 24 15:30:40 GMT 2016
Start blue led on
Start ftp server...
Check for ftp process :
1191 root 1716 S tcpsvd -vE 0.0.0.0 21 ftpd -w /
Start http server : serverJ...
Check for http server process :
Start rtsp server : rtspsvrI...
Check for rtsp process :
1268 root 2244 S < ./rtspsvrI
Processes after startup :
PID USER VSZ STAT COMMAND
1 root 1708 S init
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW [kworker/u:0]
6 root 0 SW [rcu_kthread]
7 root 0 SW< [khelper]
8 root 0 SW [kworker/u:1]
143 root 0 SW [sync_supers]
145 root 0 SW [bdi-default]
146 root 0 SW< [kintegrityd]
148 root 0 SW< [kblockd]
161 root 0 SW [khubd]
174 root 0 SW< [cfg80211]
175 root 0 SW [kworker/0:1]
257 root 0 SW< [rpciod]
260 root 0 SW [kswapd0]
314 root 0 SW [fsnotify_mark]
322 root 0 SW< [nfsiod]
331 root 0 SW< [crypto]
405 root 0 SW [mtdblock0]
410 root 0 SW [mtdblock1]
415 root 0 SW [mtdblock2]
420 root 0 SW [mtdblock3]
425 root 0 SW [mtdblock4]
430 root 0 SW [mtdblock5]
435 root 0 SW [mtdblock6]
438 root 0 SW [romblock0]
441 root 0 SW [romblock1]
444 root 0 SW [romblock2]
447 root 0 SW [romblock3]
450 root 0 SW [romblock4]
453 root 0 SW [romblock5]
456 root 0 SW [romblock6]
591 root 0 SW< [kpsmoused]
600 root 0 SW [kworker/u:2]
616 root 0 SW [mmcqd/0]
620 root 0 SWN [jffs2_gcd_mtd4]
624 root 1712 S /bin/sh /etc/init.d/rcS
636 root 872 S < udevd --daemon
642 root 1704 S /bin/sh /etc/init.d/S80network
656 root 0 SWN [jffs2_gcd_mtd5]
657 root 1708 S /bin/sh ./init.sh
664 root 0 SW [flush-mtd-unmap]
675 root 1712 S /bin/sh /home/hd1/test/equip_test.sh
677 root 0 SW [flush-179:0]
682 root 1704 S telnetd
686 root 984 S /home/log_server
798 root 0 SW [RtmpTimerTask]
799 root 0 SW [RtmpMlmeTask]
800 root 0 SW [RtmpCmdQTask]
801 root 0 SW [RtmpWscTask]
931 root 0 SW [hidog]
969 root 1164 S ./peripheral
970 root 1144 S < ./dispatch
971 root 1068 S ./exnet
1106 root 3140 S /home/wpa_supplicant -B -i ra0 -c /home/wpa_supplica
1169 root 1708 S ntpd -q -p 0.uk.pool.ntp.org
1185 root 97580 S ./rmm
1191 root 1716 S tcpsvd -vE 0.0.0.0 21 ftpd -w /
1252 root 1708 S /bin/sh /home/hd1/test/check_motion.sh
1268 root 26836 S N ./rtspsvrI
1275 root 1700 S sleep 30
1371 root 904 S /home/led_ctl -boff -bon
1374 root 1708 R ps

Quelqu'un peut éclairer ma lanterne ?
Merci d'avance.

Not able to flash firmware

Hello,
I've tried everything, but can't seem to get the firmware flashed. I put the files on a fat32 formatted drive and restarted the camera with it in, reset the camera, followed the downgrade instructions, but it isn't changing off the firmware the camera came with, 1.8.5L. I've tried download the official M firmware, but that doesn't seem to do anything either. Has anyone gotten over this issue? I'm using the US version

Have to reset it every time i unplug it

Hi,
Thank you for your work this is very good for the owners of this camera.
The thing is that i don't always have the camera plugged and i dont have it always on the same place.
So every time i unplug it and plug it on another place i have to reset the camera for it to work. Is this normal?

Another thing wich i don't think it's related to this hack is that the camera works without any problems near my wifi router but if put it for example one room away the wifi signal that it gets it's not good at all and sometimes i can't watch the rstp. Other wifi devices work without problems there.

Improvement

Will you add the ability to save videos on nas?

Cam non visible sur réseau

hello
je pense que j'ai un soucis niveau réseau.
Dans les logs le wifi semble pourtant ok.
mais on voit bien que le stp est ko puisque pas de mac de la date
j'imagine que j'ai loupé un truc.
voici mon log.txt

`
Starting to log...
Hardware version informations :
hwplatform=2
Software version informations :
[sys]
version=1.8.5.1M_201512011815
[kernel]
version=3-0.8
provider=18e
devtype=18e
Firmware letter is : 'M'
The RTSP server binary version which will be used is the 'M'
The HTTP server binary version which will be used is the 'M'
Check for some files size...
-rwxr-xr-x 1 root root 144885 Mar 28 2016 /home/hd1/test/http/serverJ
-rwxr-xr-x 1 root root 144912 Mar 28 2016 /home/hd1/test/http/serverM
-rwxr-xr-x 1 root root 121932 Mar 28 2016 /home/hd1/test/rtspsvrI
-rwxr-xr-x 1 root root 39572 Mar 28 2016 /home/hd1/test/rtspsvrK
-rwxr-xr-x 1 root root 39580 Mar 28 2016 /home/hd1/test/rtspsvrM
The blue led is currently blinking
Debug mode = no
Check for wifi configuration file...*
/home/wpa_supplicant.conf
Start wifi configuration...

Status for wifi configuration=0 (0 is ok)
Do network configuration 1/2 (ip and gateway)
Done
Configuration is :
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

ra0       Link encap:Ethernet  HWaddr B0:D5:9D:24:B1:BA  
          inet addr:192.168.1.121  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::b2d5:9dff:fe24:b1ba/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:417 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:86954 (84.9 KiB)  TX bytes:400 (400.0 B)

Do network configuration 2/2 (DNS)
Done
Get time from a NTP server...
But first, test the NTP server '0.fr.pool.ntp.org':
Previous datetime is Thu Jan 1 02:00:49 GMT 1970
Done
New datetime is Thu Jan 1 02:01:19 GMT 1970
Start blue led on
Start ftp server...
Check for ftp process :
1729 root 1716 S tcpsvd -vE 0.0.0.0 21 ftpd -w /
Start http server : serverM...
Check for http server process :
1768 root 1408 S ./serverM 80
Start rtsp server : rtspsvrM...
Check for rtsp process :
1815 root 2644 D ./rtspsvrM
Processes after startup :
PID USER VSZ STAT COMMAND
1 root 1708 S init
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW [kworker/u:0]
6 root 0 SW [rcu_kthread]
7 root 0 SW< [khelper]
8 root 0 SW [kworker/u:1]
143 root 0 SW [sync_supers]
145 root 0 SW [bdi-default]
146 root 0 SW< [kintegrityd]
148 root 0 SW< [kblockd]
161 root 0 SW [khubd]
174 root 0 SW< [cfg80211]
175 root 0 SW [kworker/0:1]
257 root 0 SW< [rpciod]
260 root 0 SW [kswapd0]
314 root 0 SW [fsnotify_mark]
322 root 0 SW< [nfsiod]
331 root 0 SW< [crypto]
405 root 0 SW [mtdblock0]
410 root 0 SW [mtdblock1]
415 root 0 SW [mtdblock2]
420 root 0 SW [mtdblock3]
425 root 0 SW [mtdblock4]
430 root 0 SW [mtdblock5]
435 root 0 SW [mtdblock6]
438 root 0 SW [romblock0]
441 root 0 SW [romblock1]
444 root 0 SW [romblock2]
447 root 0 SW [romblock3]
450 root 0 SW [romblock4]
453 root 0 SW [romblock5]
456 root 0 SW [romblock6]
591 root 0 SW< [kpsmoused]
600 root 0 SW [kworker/u:2]
616 root 0 SW [mmcqd/0]
620 root 0 SWN [jffs2_gcd_mtd4]
624 root 1712 S /bin/sh /etc/init.d/rcS
636 root 872 S < udevd --daemon
642 root 1704 S /bin/sh /etc/init.d/S80network
656 root 0 SWN [jffs2_gcd_mtd5]
657 root 1708 S /bin/sh ./init.sh
664 root 0 SW [flush-mtd-unmap]
675 root 1712 S /bin/sh /home/hd1/test/equip_test.sh
677 root 0 SW [flush-179:0]
680 root 1704 S telnetd
686 root 984 S /home/log_server
798 root 0 SW [RtmpTimerTask]
799 root 0 SW [RtmpMlmeTask]
800 root 0 SW [RtmpCmdQTask]
801 root 0 SW [RtmpWscTask]
931 root 0 SW [hidog]
969 root 1164 S ./peripheral
970 root 1144 S < ./dispatch
971 root 1060 S ./exnet
1087 root 3172 S /home/wpa_supplicant -B -i ra0 -c /home/wpa_supplica
1715 root 97480 S ./rmm
1729 root 1716 S tcpsvd -vE 0.0.0.0 21 ftpd -w /
1768 root 1408 S ./serverM 80
1805 root 3360 S ./record_event
1806 root 14728 S ./mp4record 60
1807 root 1708 S /bin/sh /home/hd1/test/check_motion.sh
1815 root 27252 S N ./rtspsvrM
1819 root 1700 S sleep 30
1952 root 904 S /home/led_ctl -boff -bon
1954 root 1708 R ps

`

Configuration NTP

Serait-ce possible de paramétrer un serveur NTP spécifique dans le fichier de config ?
Celà permet d'utiliser un NTP local et non publique.
Merci

Compatible Synology ?

Tout d'abord merci pour le boulot effectué !

Petite question, est ce que c'est compatible avec un Synology ?

J'ai bien flashé la caméra avec le firmware, j'arrive bien à accéder à l'interface web 👍

Merci de ta réponse :)

ntp server problem and blue state led off

HI,
congratulations for your work.
I have a problem with the NTP server, brings me the wrong date (1970/01/01 /), can you help me?
Also can I turn off the blue LED by default?
Thanks.

Pb avec les flux RTSP

Bonjour
merci pour le boulot et pour le partage ! :)
j'ai utilisé ton package et je suis parvenu à downgrader et passer en firmware M.
Je parviens à pinguer ma cam , et j'ai accès à la page YI HTTP Server.
Par contre lorsque je clic sur les 3 liens pour avoir accès aux flux SD HD ou audio j'ai une erreur sur la page.
J'ai testé de visualiser le flux directement avec VLC mais ça ne passe pas ..
avez vous des idées pour orienter mes recherches ? :)
merci pour vos retours

Camera file system changed to read-only!

Bonjour,

for the last 24 hours I was wondering why no new motion files have been recorded. I thought maybe it's a disk space issue... so I telneted into the cam and it turns out that the file system was read-only for some reason.

I rebooted the device... and voilá... I was able to write on the file system again.

How could that have happened?

HTTP Server does not start

Everything looks good in the log. Debug is on. log_http.txt is empty. 'ps' does not show serverJ running. I can not browser to camera's IP address.

Start http server : serverJ... Check for http server process :

If I manually run ./serverJ 80
# ./serverJ 80 Segmentation fault

Start/Stop motion detection and Start/Stop recording

Bonjour Fritz,

Excellent travail, tout fonctionne comme décrit.

J'aurais aimé avoir 2 fonctions en plus:

  • start/stop la détection de mouvement via http par exemple (j'ai peur de faire mal à la carte SD, donc activer cette fonction uniquement quand personne à la maison)
  • start/stop l'enregistrement: simple enregistrement sans détection

Qu'en penses-tu ?

Performance improvements

Hi,

Thanks a lot for this hack ! It's sooooooooooo good ! I'm using this camera in a robot, it was a bit slow to be able to drive the robot (1.5s lag). Since the hack, the lag is reduced under 1s.

Do you think it can again be improved by removing some other features from the camera:

  • Keep only one video stream
  • Remove audio stream
  • Remove motion detection ...

Thanks a lot for this project ! 👍

1.8.6.1 B FW doesn't seems to be able to downgrade

I tried to downgrade using querex files and procedure, then applying the hack. My Camera is on the good IP, I can access it via FTP, but not any other access. And Firmware is still 1.8.6.1 B. Any chance to have the hack working for 6.1 FWs?
Thx
elembee

Camera not in the local network

Hello guys,

I am not able to see the camera in my network.
I have a recent CN version of the camera.
I enable the log

Check for wifi configuration file...*
/home/wpa_supplicant.conf
Start wifi configuration...
Successfully initialized wpa_supplicant rfkill: Cannot open RFKILL control device Could not read interface ra0 flags: No such device WEXT: Could not set interface 'ra0' UP ra0: Failed to initialize driver interface
Status for wifi configuration=0 (0 is ok)
Do network configuration 1/2 (ip and gateway)
Done
Configuration is :
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Do you have any idea ?

Thank you in advance for your help

the camera does not record video

help
Everything works fine but the camera does not record video

Yet she has 000.qui FOUND create a folder contains a file
FILE 0000.CHK

thank you in advance for your help

Jacques L.

pas de flux video

bonjour j'ai acheté le modèle chinois et suivi la procédure
j'arrive bien sur la page web, mais ensuite quand je click sur un lien de streaming je suis redirigé vers : rtsp://192.168.1.167:554/ch0_0.h264 et je reçois un message d'erreur sous IE

sous Chrome, rien ne se passe je ne suis redirigé nul part....

Samuel

Pas d'accès à la caméra

Hello,

Merci pour le boulot effectué !
Je n'ai malheureusement pas d'accès à la caméra.

Pourtant la connexion wifi semble bien se passer, elle est détectée par ma box, par contre mon gateway est en 192.168.1.1 et elle semble être en dur à la valeur 192.168.1.255, si j'en crois les logs. Ou alors c'est parce que je me suis trompé la première fois et du coup c'est gravé quelque part ?

Le serveur FTP semble attendre des connexions entrantes sur le port 0.0.0.0
Le serveur RSTP fait état d'une "unknown operation 0x1 error"
Quand à la log HTTP elle essaie de faire un bind sur une adresse qui est déjà utilisée, or je n'ai pas de 192.168.1.128 d'utilisé.

Pas de mise à jour de l'heure non plus.

Je joints mes logs :

log_rtsp.txt
log.txt
log_ftp.txt
log_http.txt

Merci pour le coup de main :)

PS : je me sentirai bête si j'ai "juste" à faire un reset de l'engin, mais j'ai tellement galéré pour la faire fonctionner par défaut avec mon smarphone que je n'ose pas ;)

cron to startup

Can you add cron to the startup? I tried adding 'crond &' to 'equip_test.sh but the camera would not boot after I did. I also trying adding /etc/init.d/S89crond. I would like to use crontab to check if the network is up and if it is not up reboot the camera.

comportement bizarre

Hello,

Merci bcp pour ce super boulot!
J'aimerai bien pouvoir en profiter mais je rencontre quelques problèmes :-)

lorsque je démarre la CAM avec la carte SD la led passe par les états suivants
jaune fixe
bleu clignotant
bleu fixe
et puis la led s'eteint

Ci-joint mon fichier de log mais la j'avoue être un peu déconcerté...
log.txt

J'essaie de la pinger mais rien n'y fait.

Si quelqu'un a une idée, je suis preneur :-)
Merci

Yi-Hack + Appli Xiaomi

Bonjour,
Quels sont les fichiers à éditer afin de pouvoir profiter d'un coté du Yi-Hack, et de l'autre pouvoir toujours utiliser l'appli Xiaomi ?
Je trouve pratique le fait de pouvoir visualiser les moments où un mouvement à été detecté, ce que malheureusement, ton hack ne propose pas (encore :)).

Merci de ta réponse
@+

Camera connot connect to the internet

The camera cannot update his time/date because he can't connect to the internet.

I tried to Ping to 8.8.8.8 in tellnet but it gives me 100% packageloss. Is there a way where i can configure internet acces?

Region ban still an issue?

Cameras produced after 11 Nov has a region ban while using firmware newer than "L" version.
I saw that you removed cloud feature so region ban will not happen after flashing with your firmware?

Mise à l'heure GMT

Bonjour,
Une mini question à propos de la mise à l'heure : GMT-2 veut-il dire Paris/Madrid par exemple : GMT + 2, ou bien GMT - 2... Ce qui ne correspondrait à aucun pays...
Dans les autres firmwares il y avait un calcul bizarre à faire et je n'avais pas trop compris comment m'y retrouver. Si on mettait 0 c'était l'heure principale de la Chine, et il fallait faire la différence entre les deux...

J'habite sur le fuseau horaire Paris/Madrid justement. Si GMT-2 est bien comme par défaut, je laisse comme ça :-)

Merci d'avance.

copy_to_ftp.sh

please can you provide the full path where to copy the copy_to_ftp.sh.

Thank you

European Version

Hello,

first, this is not an issue.

I have the European version of the camera and I'm wondering if I could help a little bit by offering remote access to the camera's console via Internet.

Regards, Paul

accès caméra en http et de l'extérieur

Bonsoir,
j'ai suivi avec intérêt ce magnifique tuto , et quel travail ? Bravo et merci.
tout a fonctionné pour moi, l'installation, la config et l'utilisation sur mon réseau local en accédant à la caméra avec une adresse interne en 192 en protocole rtsp.
J'ai mis l'url rtsp://198...:554/ch0_0.h264 dans VLC et ça marche très bien.
Par contre je n'y accède pas en http avec l'adresse indiquée : http://198...:554/ch0_0.h264
Et donc, je pense que c'est à cause de cela que je n'y accède pas de l'extérieur vers mon ip fixe.
Mon routeur (srf, virgin mobile) me permet des translations de port uniquement en tcp et udp . Est-ce lié ?
En fait je ne comprends pas grand chose au réseau.
Merci de votre aide
Barny80

How can I remount the filesystem as rw when connected via telnet - ?

Bonjour,

short question: I've tried to remount the record folders with read/write (rw) option in order to delete the video file via telnet (or via FTP, which results in a ERR 550 (Permission denied)).

This is what happens when I rm -rf the hell out of the directory:

rm: can't remove '2016Y06M22D08H': Read-only file system
rm: can't remove '2016Y06M22D09H/20M00S.mp4': Read-only file system
rm: can't remove '2016Y06M22D09H/21M00S.mp4': Read-only file system
rm: can't remove '2016Y06M22D09H/32M00S.mp4': Read-only file system
rm: can't remove '2016Y06M22D09H/33M00S.mp4': Read-only file system
rm: can't remove '2016Y06M22D09H': Read-only file system

Listing the mount points gives me the following:

mount -v | grep "^/" | awk '{print "\nPartition identifier: " $1  "\n Mountpoi
nt: "  $3}'

Partition identifier: /dev/root
 Mountpoint: /

Partition identifier: /dev/mtdblock5
 Mountpoint: /home

Partition identifier: /dev/hd1
 Mountpoint: /tmp/hd1

Partition identifier: /dev/hd1
 Mountpoint: /tmp/hd1/test/http/record

All "mount -o remount,rw /partition/identifier" commands fail...

Which folder is the correct one for deleting files?

I don't have the latest version yet, therefore I don't have the "delete_old_videos.sh" file... but shouldn't that script fail as well?

IR illuminator doesn't seem to turn on

First, thank you for all of your work on this project! This distribution of hacks seems to be the best combination of all the changes out there for the camera.

My problem is that the IR illuminator has stopped turning on. I can enable and disable the IR filter via sendMQ mask commands and can verify as I can hear the filter clicking in and out:

http://en.miui.com/thread-135585-1-1.html

However, I can't seem to turn the IR illuminator LEDs manually using those commands and they don't come on anymore when it is dark. I know they used to work when I ran the original firmware from the manufacturer, as I verified these using another camera pointed at the front of the Yi camera.

Is there a sequence I need to set them up with? (eg leave them off before I reboot the camera) Or is there something I can do to help debug this issue?

probleme config

bonjour
je n'arrive pas a trouver le ip de la ANTS nul part.

j'ai flasher la camera em firmware B et en suite fait le yi-hack.
mais impossible de la trouver dans mes router.

le led bleu rest allumer elle capture les mouvements. mais je ne la trouve pas.

merci d'avance

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.