Giter VIP home page Giter VIP logo

Comments (9)

ghoost82 avatar ghoost82 commented on June 12, 2024 3

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.

ghoost82 avatar ghoost82 commented on June 12, 2024 1

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.

max5962 avatar max5962 commented on June 12, 2024

./mijia_ctl

pwm dev open failed
pwm init failed

how to resolv the issue ? :) thnaks

from mijia-720p-ctrl.

max5962 avatar max5962 commented on June 12, 2024

now i had : ircut init failed :(

from mijia-720p-ctrl.

cck56 avatar cck56 commented on June 12, 2024

You can try kill the miio processes before running the executable.

killall restartd
killall miio_avstreamer
killall miot_devicekit

from mijia-720p-ctrl.

max5962 avatar max5962 commented on June 12, 2024

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.

shexbeer avatar shexbeer commented on June 12, 2024
# 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.

hrch3k avatar hrch3k commented on June 12, 2024

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.

sunflowerABB avatar sunflowerABB commented on June 12, 2024

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