Comments (14)
I see a motion event in the log, if you are using MQTT it may be related to issue #47 ?
from yi-hack-v5.
@X3fxKupaA6jaHX83Whnn3xcYWnUCYhmjr2e2A8T currently I have added that script to crontab and checking how it works roleoroleo/yi-hack-MStar#149 (comment)
maybe it's a good idea to implement as standard watchdog script @alienatedsec ?
from yi-hack-v5.
I'm not 100% sure but it looks like after changing hostname in config to blank (previous I've set custom one) in order to generate automatically and it looks like camera stops disconnecting from WiFi.. ;)
from yi-hack-v5.
I'm not 100% sure but it looks like after changing hostname in config to blank (previous I've set custom one) in order to generate automatically and it looks like camera stops disconnecting from WiFi.. ;)
@k3s4
Changing it to blank would generate another hostname based on the MAC address? Is that correct? Or have you made it blank somewhere else and not WebGUI?
from yi-hack-v5.
@alienatedsec blank in WebGUI - only changing in WebGUI.
from yi-hack-v5.
@k3s4 Has it changed the Hostname? to something around yi-7bc3
from yi-hack-v5.
@k3s4 Has it changed the Hostname? to something around yi-7bc3
yes
from yi-hack-v5.
I will look into this; however, on another note, I just checked if leaving the old Busybox will change the camera's responses. The original Busybox is at v1.20.2, and despite not supporting many functions and applets that are also buggy, I managed to run the hack.
BusyBox v1.20.2 (2016-01-25 13:29:17 CST) multi-call binary.
Copyright (C) 1998-2011 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.
Usage: busybox [function] [arguments]...
or: busybox --list[-full]
or: busybox --install [-s] [DIR]
or: function [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as.
Currently defined functions:
add-shell, addgroup, adduser, arp, arping, ash, awk, bootchartd, cat,
chmod, chown, chpasswd, cp, cryptpw, cttyhack, cut, date, dd, delgroup,
deluser, depmod, df, du, echo, egrep, fdisk, fgrep, find,
flash_eraseall, flashcp, free, fsync, getty, grep, halt, hd, hexdump,
hush, ifconfig, init, insmod, iostat, kill, killall, killall5, linuxrc,
ln, login, logname, ls, lsmod, lsof, lsusb, lzcat, lzma, md5sum, mesg,
mkdir, mknod, mkpasswd, modinfo, modprobe, more, mount, mpstat, mv,
netstat, passwd, ping, poweroff, ps, pwd, reboot, remove-shell, rm,
rmdir, rmmod, route, sed, sh, sleep, su, sulogin, sync, sysctl, tail,
tar, top, tr, udhcpc, umount, unlzma, usleep, vi, vlock, xargs
It was a dead-end to be fair
from yi-hack-v5.
still the same issue..
from yi-hack-v5.
Please check #70 as could be related
from yi-hack-v5.
@alienatedsec - I don't think its related as my camera don't respond to ping requested etc it's completely offline until reboot - for now I have added reboot command to crontab everyday for kind of workaround..
Thinking about some script for checking wifi connection and then try reconnect..
from yi-hack-v5.
Thinking about some script for checking wifi connection and then try reconnect
This could be useful, did you get a chance to write a script to do this?
I have a daily reboot on all cameras but my outdoor camera is crashing every hour if the stream is being viewed.
from yi-hack-v5.
Looks like script works fine (after little modification)
[Thu Jun 17 21:55:03 CEST 2021] Wifi OK
[Thu Jun 17 22:00:04 CEST 2021] Wifi OK
[Thu Jun 17 22:05:01 CEST 2021] CONNECTION KO. Reboot
[Thu Jun 17 01:10:00 CEST 2021] CONNECTION KO. Reboot
[Thu Jun 17 22:10:04 CEST 2021] Wifi OK
[Thu Jun 17 22:15:04 CEST 2021] Wifi OK
now=$(date +"%Y_%m_%d")
LOGFILE=/tmp/sd/watchdog/logs/wd_log_$now.log
if ping -c4 -q 192.168.1.1 > /dev/null ; then
echo '['$(date)'] Wifi OK' >> $LOGFILE
else
echo '['$(date)'] CONNECTION KO. Reboot' >> $LOGFILE
sync
sync
sync
killall httpd
sleep 1
reboot -f
fi
I have removed interface down/up lines as this was not working (for whatever reason) and camera reconnect to wifi only after reboot.
from yi-hack-v5.
if the issue persists, please update to 0.3.7
as I managed to fix many issues with crontab and other scripts
Closing as old and potentially no longer related to the latest version.
from yi-hack-v5.
Related Issues (20)
- ONVIF serice is not working properly HOT 6
- Missing a link to the binary on the sdcard ? HOT 1
- Xiaomi Indoor Wi-Fi Smart Camera - Supported?
- [REQ] WiFi Recovery Guide HOT 25
- BirdCam Settings HOT 1
- Stock firmware needed for Yi Outdoor Camera
- Camera support
- [Feature request]: Add motion detection switch HOT 1
- [feature request] add motion tracking switch HOT 2
- [feature request] add "enable/disable microphone" switch HOT 2
- Issues surrounding saving changes in Config pages (version 0.4.1) HOT 11
- Yi IoT VS Yi branded camera support? HOT 1
- Cannot run 0.4.1 on 65US model HOT 11
- Issues to save information also Empty data - 6CUS HOT 13
- No SSH, FTP and no config changes take effect after update to 4.1 HOT 35
- Region Locked Camera not recording and not connecting to the app with proxychains-ng HOT 1
- When i remove the SD card the web gui not open.. HOT 1
- recording to NVR disconnects HOT 4
- Can't See RTSP stream HOT 1
- 22EU Yi home 720p support HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yi-hack-v5.