Comments (9)
If you get the ircut init failed error the gpio pins 14 and 15 are not enabled.
This can be fixed with
echo "14" > /sys/class/gpio/export echo "15" > /sys/class/gpio/export
Currently I also get the pwm init failed error, not sure why, the device file /dev/ftpwmtmr010 exists and should not be used by any Mijiao services as they are all disabled.
from mijia-720p-ctrl.
Hi,
OK I had some time too test this a little bit more.
First I identified what prevent pwm to init. It was ir_sample that was running on my cam to auto toggle the night vision.
I also modified the code a little bit to catch some init errors and if there are still something left that could not be initialized it will only disabled the commands that are not working without it. I will do a PR with the changes today.
from mijia-720p-ctrl.
./mijia_ctl
pwm dev open failed
pwm init failed
how to resolv the issue ? :) thnaks
from mijia-720p-ctrl.
now i had : ircut init failed :(
from mijia-720p-ctrl.
You can try kill the miio processes before running the executable.
killall restartd
killall miio_avstreamer
killall miot_devicekit
from mijia-720p-ctrl.
seems working but breaks this hacks : https://github.com/ghoost82/mijia-720p-hack/blob/master/README.md
how to run the two project ?
thnaks
from mijia-720p-ctrl.
# killall restartd
killall: restartd: no process killed
# killall miio_avstreamer
killall: miio_avstreamer: no process killed
# killall miot_devicekit
killall: miot_devicekit: no process killed
# ./mijia_ctrl
ircut init failed
I also use ghoost82 mijia 720p hack. Has anybody got a solution?
from mijia-720p-ctrl.
Can someone give some some advice on how to access motor control. I have similar IP cam based on GM8135s i can control IR with this mod, but cant access the motor. /dev/motor not found. I have np_motor_t.ko on my IP camera. Tried to edit the code of mijia_ctrl with np_motor_t.ko. No initialization error, but after sending MOVE comand, motor does not move.
from mijia-720p-ctrl.
Can someone give some some advice on how to access motor control. I have similar IP cam based on GM8135s i can control IR with this mod, but cant access the motor. /dev/motor not found. I have np_motor_t.ko on my IP camera. Tried to edit the code of mijia_ctrl with np_motor_t.ko. No initialization error, but after sending MOVE comand, motor does not move.
See https://github.com/ghoost82/mijia-720p-hack/issues/3
from mijia-720p-ctrl.
Related Issues (5)
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 mijia-720p-ctrl.