Tuesday, May 31, 2011

So coding on hold

So coding on hold, trying to contact a friends kmotion v2 server in his loft ... not even a response to a ping ... mmm ...

Sunday, May 29, 2011

A little more coding and a few more refinements

A little more coding and a few more refinements to the GUI. I used to wonder why it took so long to develop software, now I know :),


What you see is just the shop front, there is nothing driving it yet. I will polish the GUI a little more, add some more options then dive into the back end to make it actually do something, then back to the GUI. I find if I work too much on one end or the other I can get out of sync.

Saturday, May 28, 2011

The suggestions list ... please feel free to comment

- please don't remove frame mode, keep the options open!

Don't worry, I have had a re-think, frame mode is staying

I really like the idea of a panic button and mobile interface though and would like to see them graduate to the feature list! :)

Panic button, yes it will be implemented, mobile interface will stay on the maybe list - its a lot of work.

-synchronized playback from multiple cameras with color coded motion timeline graphs (the ultimate feature IMO)

I think I might implement it but want to get all the other changes done first because its a lot of code changes in the most complex part of kmotion.

-revamp playback controls so all buttons are visible at once (currently user must click "Click for frames" to get to frame+- and event+- buttons).

In kmotion3 I am enlarging the config / non live screen area so there would be enough screen real estate but I am concerned about too many buttons causing confusion, it has to be intuitive.

-add play/pause button and option to auto-play events or not (specifically not)

Noted, I am re-thinking archive playback, I was going to leave it largely unchanged but looks like it is going to be re-written.

-option to sort events by date descending (newest first)

As above :)

-option to disable login prompt

Not sure how useful this would be, you can formulate the URL to contain the username and password for LAN use and any WAN access will need a login prompt.

-keep aspect ratio true to camera resolution (currently 1280x720 gets squished into 4:3)

That could get messy, especially with different camera aspect ratios in the same view ... unsure how to handle that one so putting it on ice.

-include all motion detection settings in kmotion interface as opposed to config files

That would be very difficult, there are a lot of motion options and locking the GUI in that closely would mean that any changes in motion would completely break kmotion. I have gone with the rational that the GUI is for common options that are used 95% of the time. The more advanced stuff is for the config files. There is also the point that to add all the option in the GUI would take a long long time :)

-need a better way to switch between event and display modes, maybe a toggle button? or potentially
display both at the same time?

As above, having an archive re-think.

Anyhow got to go, got some free time and want to push kmotion3 on a bit further ...

Thursday, May 26, 2011

I'm still here ...

Still here, still running ragged, longing for the weekend when I can unwind and do some coding ...

I had an anonymous comment on the kmotion3 feature list, a lot of useful feedback - some suggestions would take an age to code but others are definitely going to be included, so thank you anonymous commenter wherever you are .... :)

Tuesday, May 24, 2011

A little code and a lot of running around

A little code and a lot of running around, My wife is not so well, flu I think, so running round shopping, cooking, going to chemist ... running a little ragged !!

Saturday, May 21, 2011

Sneaked an hour, did some easy changes for motion errors and server load ... started to make more kmotion3 GUI changes but have to go ...


Friday, May 20, 2011

Tuesday, May 17, 2011

Next few days ....

Have some relatives coming over from Oz, going to be so great to see them but coding will be zip for a few days ... <wish> if only I could code for a living </wish>

Monday, May 16, 2011

Mind numbing code audit and tidy up

Mind numbing code audit and tidy up to let the new config page enable / disable AOK, it takes soooo long and is soooo boring but this page is done now.

Sunday, May 15, 2011


OK did a bit more, does not look that different but apart from it being px perfect now it has been converted from .png's to .svg's

Saturday, May 14, 2011

Managed to hack a bit of code


Managed to hack a bit of code on the config GUI, its pretty rough but have posted a screenshot

On call this weekend

Well guys, on call this weekend, working 9:00 - 21:00 so not a lot of chance to code, you never know though - very very occasionally its quiet.

Friday, May 13, 2011

Mask "All", "Invert", "none" buttons done

Mask "All", "Invert", "none" buttons done and working, kind of need them now there is a 15 x 15 mask grid, they work a treat.

kmotion3 proposed feature list

Here is the proposed feature list, please have a read and let me know what you think, If you have any suggestions now is the time to let me know :)


PRETTY DEFINITE LIST

Increase the size of the config pages .... will need the extra room
Remove camera buttons and replace with camera name scroll
Add extra info line to camera display, ie "outside temp 22C"
Add audio alerts as per flame2, ie "Fire door opened", "Motion
detected in vault" possible link to user events
Remove frame mode, just have .swf (simplifies config, code and makes
sense when trying to save a movie + browsers have now moved on)
Add "save movie" option to Archive to save to hard drive
Increase mask resolution + add full, invert & none buttons
Change mask priority so user can define one in virtual_motion_config
Add PAL & NTSC options
Add full scheduling GUI for motion and snapshot recordings + audio
alerts + email if included
Add zoom to PTZ
Change all PNG's to SVG's allows real time color changes in themes and
hover modes, complete new theme
Add "hover highlighting" on buttons
Add user defined theme with full GUI, will be able to define all colours
Add multi lingual support
Add auto detect size screen size changes as per flame2
Animated kmotion logo
Add HDD limits per camera  in kmotion_rc

MAYBE LIST, DEPENDING ON HOW DIFFICULT THE ABOVE IS :)

Add global "panic" button to record all cameras
Add tours to PTZ without needing external script
Add email on motion option with frame of max motion
Add color control for cameras - maight be problematic
Add basic mobile phone interface

Wednesday, May 11, 2011

Hacking away ...

Enlarged config screen, started to hack HTML to add options for mask & PAL / NTSC, good night :), hey if anyone is reading this please say hi ;)

Tuesday, May 10, 2011

Low hanging fruit ...

So just fixed a bug where incorrect shutdown is not reliably detected, haven't tested it yet, instead busy wrestling with my company about overtime payments :)

Sunday, May 8, 2011

Motion Mask

Increased the motion mask granularity from 10x10 to 15x15 and moved from 'override' to 'default' section to allow custom motion masks in 'virtual_motion_mask', tested AOK

Working till late tomorrow night, no coding possible :(

Well its a start :)

So my first act, move those ever growing list of HOWTO's to the 'docs' dir ... giving myself an easy start

Back developing kmotion3

Why am I back and developing kmotion3 ? Well I have had a good break, worked on some other projects and am looking for something to sink my teeth into, its kmotion3 or an Android project. Guess I am a bit lazy Android = learn Java. So here is to kmotion3 :)