Comments (10)
Hello dmolner,
You need to update to the latest firmware(only sdcard). This error means that you are using a old binary.
Greating
from xiaomi-dafang-hacks.
Hello @whuang1965,
Thanks for your report. I suspect that there is some process/driver which is taking so much power. Also the CFW-1.1 is based on the firmware 5.5.1.177 which may include an older kernel. I have released a CFW-1.2 which is based on the 5.5.200 Firmware. I hope that it will consume lesser power. Can you please update and measure again?
Many thanks
Greating
Elias
from xiaomi-dafang-hacks.
Thanks for the new firmware, really appreciate your effort and time to make this thing working.
Just had a chance to install the latest CFW, cfw-1.2.bin, and did the measurement with the same condition in my previous post. The power consumption is around 2.0 - 2.1 watts. There is a noticeable improvement. From the top command, the idle is still almost 0% and nice uses up all the CPU time.
Mem: 30688K used, 68952K free, 0K shrd, 2944K buff, 10492K cached
CPU: 0.0% usr 1.6% sys 0.0% nic 98.3% idle 0.0% io 0.0% irq 0.0% sirq
Load average: 2.30 2.31 2.40 1/55 219
BTW, [Kill A Watt model P4482] is used for the power measurement.
Regards,
Wade
from xiaomi-dafang-hacks.
@whuang1965 I beleive you are reading it wrong, here is how you should read the top result : .
CPU:
0.0% usr
1.6% sys
0.0% nic
98.3% idle
0.0% io
0.0% irq
0.0% sirq
So your CPU is 98.3% idle which is very reasonable 😄
nic represents the low priority processes, and is at 0%
Only the system is using 1.6% which is normal
from xiaomi-dafang-hacks.
If you use the motor, the amperage increases from 200mAh up to more than 1000mAh and it doesn't drop until reboot :-(
Isn't there a motor power-off command?
BTW: very good work - thanx very much !!!
from xiaomi-dafang-hacks.
There is some driver option to "reset" the motor:
https://github.com/EliasKotlyar/Xiaomi-Dafang-Software/blob/master/drivers/misc/sample_motor/motor.c
I suppose that it may decrease the power consuption.
from xiaomi-dafang-hacks.
Hey,
I have intregrated a option to "stop" the motors:
Run it with following command(after you are done rotating)
/system/sdcard/bin/motor -d s
@guteSeite : Could you please have a test if this helps to decrease power consumption?
from xiaomi-dafang-hacks.
@EliasKotlyar : I test the instruction but no change.
I have a 0.6A if move to right and 0.8A move to left, after move the consumption not decrease.
If I type the command
/system/sdcard/bin/motor -d s
the consumption is the same.
In the terminal I have the message
Invalid Direction Argument
from xiaomi-dafang-hacks.
Hi Elias, it's great! With the command "motor -d s" after camera moving the amperage is back to 130 mAh. The lowest value I ever had!
from xiaomi-dafang-hacks.
So yeah, its the motors which are causing the high demand on power. I hope it could resolve your issue.
from xiaomi-dafang-hacks.
Related Issues (20)
- Configure RTSP HOT 1
- Downgrade Wyze v2? HOT 1
- Discovered MQTT entities with a name that is equal to the device name HOT 12
- General question any camera (mine T10 Sannce)
- Ability to disable IR lighting for "night mode" - feature required for night viewing through windows HOT 4
- What other cameras can we hack?? HOT 1
- smbclient outdated cannot connect with SMB2 protocol HOT 1
- How can I set the gateway? HOT 2
- Dafang camera keeps rebooting after getting an IP address HOT 1
- MQTT Control issues with newer Home Assistant HOT 1
- no audio in .h264 files. Dafang T20 and Xiaofang 1s T20
- reset
- Add tor/onion service capability
- onvif_srvd started' when rendering template `{{ ((value|int)/(700/100))|round }}` but no default was specified
- Ignored file by accident when upgrading HOT 1
- ONVIF not starting HOT 1
- OSD always shows system info, snapshots include red recording icon HOT 1
- Calibrate on start
- I cannot find any reference to $groupname, appears to be null
- Any way to mount SDCard from serial? (working with partially borked device) HOT 1
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 xiaomi-dafang-hacks.