Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

12CN always yellow on #231

Closed
MoienBowen opened this issue Mar 23, 2020 · 2 comments
Closed

12CN always yellow on #231

MoienBowen opened this issue Mar 23, 2020 · 2 comments

Comments

@MoienBowen
Copy link

MoienBowen commented Mar 23, 2020

Firmware: 1.8.7.0C_201705091058
Model: 12CN


First case:

  • Format the whole TF-card
  • Put test + home inside
    -> yellow on without blink

Second case:

  • Only format the main zone (formatted by the MI Home app)
  • Put test + home inside
    -> yellow on without blink

Third case:

  • Without format
  • Put test + home inside
    -> yellow on with blink

In first and second cases, there won't be record and record_sub folders.


I find the issue #212.
But the case is even I turn the debug on, there is no new file comes out (with 15min waiting while yellow on).


ipconfig on win10:
IPv4: 192.168.178.x
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.178.1

yi-hack.cfg:
IP=192.168.178.40
NETMASK=255.255.255.0
GATEWAY=192.168.178.1
NAMESERVER=192.168.178.1
...
DEBUG=yes

wpa_supplicant.conf:
ssid="xxx_2.4GHz"
..
psk="rightpassword"

@kruschman
Copy link

This is an abandoned project. I wouldn't expect it to work in any case.

@MoienBowen
Copy link
Author

MoienBowen commented Mar 23, 2020

Solved:

  • Model: YHS-113 / 12CN
  1. create folder "test" at root folder
  2. create file "equip_test.sh" in "test"
#!/bin/sh
# Telnet
if [ ! -f "/etc/init.d/S88telnet" ]; then
    echo "#!/bin/sh" > /etc/init.d/S88telnet
    echo "telnetd &" >> /etc/init.d/S88telnet
    chmod 755 /etc/init.d/S88telnet
fi
dr=`dirname $0`
# fix bootcycle
mv $dr/equip_test.sh $dr/equip_test.sh.moved

echo "root:n00d1e5Yummy" | chpasswd
reboot
  1. copy "sd\test\rtspsvrM" to root folder
  2. insert the memory card back to camera
  3. plug-in
  4. from terminal, telnet camera_ip
  5. cp /tmp/hd1/rtspsvrM /home/rtspsvr
  6. set date and time date -s 'YYYY-MM-DD hh:mm(:ss)'

source: https://bbs.hassbian.com/thread-3402-1-1.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants