maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   pyKake - DSLR Remote control (https://talk.maemo.org/showthread.php?t=50204)

Yabba 2010-08-01 20:44

Re: pyKake - DSLR Remote control
 
1 Attachment(s)
Hello, sorry to take so long, I had so much works to do. As I see from those files, the reason is that somewhy those config files are linked wrong. The paths should be "/opt/pykake/cameras/*" not "/user/MyDocs/pykake/cameras/*". I think some other app has caused these errors and as I look the configure file of my own, I think the reason is Irreco/qtIrreco (because paths to shutters config files are also wrong in those outputs and those should be also in /opt/*). Somewhy it is changing those already existed config paths to wrong ("/opt/*" is changed to "/user/MyDocs/*"). So, the solution for this is (as now at least):

  1. Install nano from extras (or extras-testing) or if you know how to use Vi, install it from extras.
  2. go to terminal as a root and type: nano /etc/lircd.conf or use Vi
  3. change those pykakes conf file paths from /user/MyDocs/pykake/* to /opt/pykake/* and save (ctrl+x, y to confirm)
  4. reload the lirc/restart lirc in terminal: /etc/init.d/lircd start or reload
  5. Try pyKake, if not working try after reboot
  6. Tell me, did this work :rolleyes:
I hope this will work. I attach a screenshot of my config file (in nano) so you can see how it should look like.

EDIT: Fixed the link of Nano from maemo-tools to extras.

aepock 2010-08-06 14:48

Re: pyKake - DSLR Remote control
 
Quote:

Originally Posted by barchan (Post 733155)
Good work. Works fine with my canon 350D.

Can you add timelapse function to pyKake? (making N photos every X minutes/seconds).
Look at film gallery made this way.

Hi Barchan, Pls guide me how to make pykake work on my 350D? thanks.

Mebore 2010-08-06 20:19

Re: pyKake - DSLR Remote control
 
God job! Works on Nikon D5000 (have only tested singel shot and not bulb fkt)

deanmz 2010-08-09 18:34

Re: pyKake - DSLR Remote control
 
Quote:

Originally Posted by Yabba (Post 772385)
Hello, sorry to take so long, I had so much works to do. As I see from those files, the reason is that somewhy those config files are linked wrong. The paths should be "/opt/pykake/cameras/*" not "/user/MyDocs/pykake/cameras/*". I think some other app has caused these errors and as I look the configure file of my own, I think the reason is Irreco/qtIrreco (because paths to shutters config files are also wrong in those outputs and those should be also in /opt/*). Somewhy it is changing those already existed config paths to wrong ("/opt/*" is changed to "/user/MyDocs/*"). So, the solution for this is (as now at least):

  1. Install nano from maemo tools repo or if you know how to use Vi, install it from extras.
  2. go to terminal as a root and type: nano /etc/lircd.conf or use Vi
  3. change those pykakes conf file paths from /user/MyDocs/pykake/* to /opt/pykake/* and save (ctrl+x, y to confirm)
  4. reload the lirc/restart lirc in terminal: /etc/init.d/lircd start or reload
  5. Try pyKake, if not working try after reboot
  6. Tell me, did this work :rolleyes:
I hope this will work. I attach a screenshot of my config file (in nano) so you can see how it should look like.


Wow! Thank you so much Yabba!
is now working perfectly!
Yupiiiiii

:D

rantom 2010-08-26 16:14

Re: pyKake - DSLR Remote control
 
Since this is in Extras-Testing I'll just ask the same what I already asked from Shutter-thread. Is it possible to implement the Canon's Wireless Delay technology to the pyKake? If so, how about remote flash as well?

Yabba 2010-08-30 16:03

Re: pyKake - DSLR Remote control
 
Quote:

Originally Posted by rantom (Post 799223)
Since this is in Extras-Testing I'll just ask the same what I already asked from Shutter-thread. Is it possible to implement the Canon's Wireless Delay technology to the pyKake? If so, how about remote flash as well?

Yeah, that looks nice idea, but in current state of pyKake (I try to get time to push it into the level 1.0) I can't promise any early adaptation of remote flash, but maybe we will see it there at some point.

Fedmahn Kassad 2010-09-02 21:31

Re: pyKake - DSLR Remote control
 
Hey guys, I have an idea. I use a Pentax K-7 and people are always excited when they see the automatic bracketing with 5 images I use for HDR. It seems that not every camera has advanced bracketing and also the K-7 ist limited to 5 images.
So the idea would be, if the light sensor or the camera of N900 could be used for measuring exposure for bracketing via remote control. Then it would be possible to have automatic bracketing with 7 or 9 images that is really nice for HDR. Since there is HDR software is out there for N900, some algortihms may be easily adapted. What do you thing about remote control with HDR function?

Fumanchu 2010-09-08 17:08

Re: pyKake - DSLR Remote control
 
I would also like to request support for the Canon EOS 350D please :)

Yabba 2010-09-09 14:49

Re: pyKake - DSLR Remote control
 
Quote:

Originally Posted by Fedmahn Kassad (Post 805684)
Hey guys, I have an idea. I use a Pentax K-7 and people are always excited when they see the automatic bracketing with 5 images I use for HDR. It seems that not every camera has advanced bracketing and also the K-7 ist limited to 5 images.

In Olympus (e-420) this is limited in 3 photos.

Quote:

So the idea would be, if the light sensor or the camera of N900 could be used for measuring exposure for bracketing via remote control. Then it would be possible to have automatic bracketing with 7 or 9 images that is really nice for HDR. Since there is HDR software is out there for N900, some algortihms may be easily adapted. What do you thing about remote control with HDR function?
The main question is, can your camera receive all that information needed to change exposure trough the infra red? I think it can't, so I had to say that that is impossible to do with pyKake, so sorry.

BTW, if you use Raw format while you take those 9 images (and if you can choose that the change of exposure is more than 0,5-1,0 (prefer 2-3) per photo) you in fact could get almost 50 photos to use (raw images stores much more info about light than jpegs, so you can change the value of brightness of photo in +-2 levels whitout problems (so in fact from one photo, you can get 3 to 5 independent photos). Of course, this means that you need a darkroom application, example in Linux: UFRaw, Rawstudio and of course Gimp. In Win/Mac: Is there own app from Pentax (Olympus had Olympus Master and Studio)? And of course The Photoshop. And to create HDR's => Qtpfsgui (there is also newer version of it Luminance, but I heard this older one is better).

Quote:

Originally Posted by Fumanchu (Post 810844)
I would also like to request support for the Canon EOS 350D please :)

All, I can say is, that I don't know why that won't work. Because quick googling with "Canon EOS 350D"+"RC-1" gives a few pages which told that the remote control is RC-1/5 (the config files in use is for RC-1). So I would suggest to check from the manual that all needed to take remote photos are correct and test it once more. It is also plausible that there is some firmware updates for the camera which may help.

Fedmahn Kassad 2010-09-09 15:40

Re: pyKake - DSLR Remote control
 
Quote:

Originally Posted by Yabba (Post 811756)
The main question is, can your camera receive all that information needed to change exposure trough the infra red? I think it can't, so I had to say that that is impossible to do with pyKake, so sorry.

Why need that? I was thinking about setting aperture and using the bulb mode. In bulb pykake can control the exposure time for every image in the bracketing. So just input aperture and iso in pyKake and some algorithm will find out the exposure times and then using buld for every shot. pyKake would use the N900 light sensor for calculating the exposure time. There is already a light meter there for N900:
http://maemo.org/packages/view/luxus/

Yabba 2010-09-09 16:33

Re: pyKake - DSLR Remote control
 
Quote:

Originally Posted by Fedmahn Kassad (Post 811799)
Why need that? I was thinking about setting aperture and using the bulb mode. In bulb pykake can control the exposure time for every image in the bracketing. So just input aperture and iso in pyKake and some algorithm will find out the exposure times and then using buld for every shot. pyKake would use the N900 light sensor for calculating the exposure time. There is already a light meter there for N900:
http://maemo.org/packages/view/luxus/

Yeah, I use luxus too.

I just didn't think that in that way as you thinked it and now as I read what you think that could be possible - at the some point, but not in next version which already includes pretty big changes (I'm currently rewriting the Gui and I will probably rewrite parts of the executional code too), but maybe in the later one.

Of course, if someone can create that algorithm to count the exposures, then I could try to get it in the next version. (Or even better, if it is script or class (hopefully in python) to include in the code, it would made it much easier to add in.)

Fedmahn Kassad 2010-09-09 22:04

Re: pyKake - DSLR Remote control
 
Quote:

Originally Posted by Yabba (Post 811826)
Of course, if someone can create that algorithm to count the exposures, then I could try to get it in the next version. (Or even better, if it is script or class (hopefully in python) to include in the code, it would made it much easier to add in.)

Thanks a lot. Maybe a a manual list of exposure times for 5, 7 and 9 images would be a starting point. That would be still useful because the user can find out the exposure times for every image by the camare, then program pykake. In such way one can avoid shaking the camera when talking adavnced HDRs since he don't need to change exposure time manually while camera is mounted on tripod right within a HDR session.

Fumanchu 2010-09-10 21:27

Re: pyKake - DSLR Remote control
 
Thanks Yabba, after closer inspection and a fair bit of distance testing... Turns out it does indeed work, although from a distance of about five inches and no more, which is still very useful.

Yabba 2010-09-11 10:04

Re: pyKake - DSLR Remote control
 
Quote:

Originally Posted by Fumanchu (Post 813033)
Thanks Yabba, after closer inspection and a fair bit of distance testing... Turns out it does indeed work, although from a distance of about five inches and no more, which is still very useful.

Even you aim the ir sensor directly to the cameras sensor? Because I can shoot photos all the way to 2-3 meters (~6-9 foot, I haven't tested longer distances), so is the problem in differences of sensors in cameras or differences in quality of sensor used in N900.

So the questions for users of pyKake:
How far can you take a photo?
What is your camera?
And is there some changes in distance when you take photos inside, outside, dark and light?

Yabba 2010-09-16 14:01

Re: pyKake - DSLR Remote control
 
Hello, the new gui is now ready, so the next thing is move and update the old functionality to work with it. This means the future is bright to get the new version (0.7) out before the month is end :D

To read more about the state of pyKake and see some screenshots about new Gui, se my blog :)

faraz_ks2009 2010-10-22 21:33

Re: pyKake - DSLR Remote control
 
hi there guyz i m new here ... i was trying to install pykake from my application manager but it says "some application packages required for the installation are missing"....

plz help me out.. how can i install thiss app ???

Yabba 2010-10-23 11:24

Re: pyKake - DSLR Remote control
 
Quote:

Originally Posted by faraz_ks2009 (Post 848285)
hi there guyz i m new here ... i was trying to install pykake from my application manager but it says "some application packages required for the installation are missing"....

plz help me out.. how can i install thiss app ???

Which package is missing? This info would help me to help you. (Just press the pyKake section in the app manager long enough you got the Info pop-up open, where you (should) find out the name of missing package(s).)

lennartb 2010-10-24 11:15

Re: pyKake - DSLR Remote control
 
Hey, great job on the application! I haven't had the chance to make some real photos with it yet, but it ofcourse works on my Canon 350D!

I was thinking about a cool feature for pyKake: an Interval-o-meter!

I'm no programmer but I think it wouldn't be hard to make. Just set the interval to a specific time (like 1 minute), and let the the N900 send out a signal every minute. Keep this going for 25minutes and you've got a one second timelapse!

I think this would be a really useful feature, and if I'm not wrong, not a hard one to implement :)

Yabba 2010-10-24 18:04

Re: pyKake - DSLR Remote control
 
Quote:

Originally Posted by lennartb (Post 849368)
Hey, great job on the application! I haven't had the chance to make some real photos with it yet, but it ofcourse works on my Canon 350D!

I was thinking about a cool feature for pyKake: an Interval-o-meter!

I'm no programmer but I think it wouldn't be hard to make. Just set the interval to a specific time (like 1 minute), and let the the N900 send out a signal every minute. Keep this going for 25minutes and you've got a one second timelapse!

I think this would be a really useful feature, and if I'm not wrong, not a hard one to implement :)

Thanks :)

And guess what? The timelapse / Interval-o-meter is already in it :D I just kicked the new version 0.7.0 to the extras-devel, whit new Qt Gui and all. So if you feel brave, go and take it to use, but first, read this (at least the disclaimer), so you do it for your own risk ;)

For more info about the release 0.7 at here. And as you can read, I won't kick it to the extras-testing, so if you want to play safe, use the 0.6 (except the same rules in extras-testing as in extras-devel). And voting the app could be nice too, but only if it fill the criteria.

Yabba 2010-10-24 18:50

Re: pyKake - DSLR Remote control
 
Ok, if you don't want to reflash you device, do not install 0.7.0, or at least don't update to it, do the fresh install, I'm not sure does that work better, but at least, if you update from 0.6 to 0.7, you can't remove it (apt-manager crashes). I don't know yet why, but that is the truth.

But anyways, it is in Extras-devel, you should know the risk ;)

Edit: The error is in post-install script and it may get fixed in later update (tomorrow). I belive that when updating app, it should also updates the install/removing scripts and if this is done by maemo, then this bug will be fixed in update, if maemo won't do that, then the update system is bad. If you have already have install 0.7, don't remove it, that will cause the damage, wait the update (all but remove app should work perfectly :P).

barchan 2010-10-26 05:51

Re: pyKake - DSLR Remote control
 
pykake segfaul in 1.3 firmware.


Nokia-N900-51-1:~# /opt/pykake/pykake.py
Segmentation fault

Yabba 2010-10-27 08:20

Re: pyKake - DSLR Remote control
 
Quote:

Originally Posted by barchan (Post 851357)
pykake segfaul in 1.3 firmware.


Nokia-N900-51-1:~# /opt/pykake/pykake.py
Segmentation fault

Yeah, I know, it is in this code and I have tracked it in QApplication, but I don't know how to fix it:

Code:

print "a"
app = QApplication(sys.argv)
print "b"
MiscFunctions().loadSettings()
print "c"
MiscFunctions().controlLircd("start")
print "d"

main = MainWindow()
print "e"
if USEFULLSCREEN == True:
    print "f"
    main.showFullScreen()
else:
    print "g"
    main.show()
print "h"
app.exec_()
MiscFunctions().exitFunction()

(The print commands are not in released version)

Yabba 2010-11-02 08:48

Re: pyKake - DSLR Remote control
 
The problem with Pr 1.3 is solved and pyKake should now work, except startup may be a little slow (At least it was when I tested python scripts in my device), I'm not sure if this slowdown is in released application, but if it is it maybe caused by Pr 1.3 or bad coding by myself, or it is just in my device, but I will track it down as soon as possible and do what I can for it. But for now, be patient, it takes some time (yeah I know, multiple seconds) to start, but after that it should work.

Oh jeah, version rised up from 0.7.0 to 0.7.1 :D

evan 2010-11-02 09:22

Re: pyKake - DSLR Remote control
 
Great. It starts now. from the moment I press the program icon to the moment I press Done for the message it is 3 secs and then instantly I have the buttons. I do not find that slow at all.
I don't have my camera at the moment to test it.

Update: works fine with my canon dslr, although It did not seem to work until after I installed shutter also.

tungram 2010-11-03 07:22

Re: pyKake - DSLR Remote control
 
pykake is great stuff. it used to work until the recent updates. noticed it first 1 version before 1.3 was released. it does not "click" - shutter doesn't work. I am using pentax. shutter widget works fine for me.

any idea?
thanks

Yabba 2010-11-03 17:30

Re: pyKake - DSLR Remote control
 
Quote:

Originally Posted by tungram (Post 861804)
pykake is great stuff. it used to work until the recent updates. noticed it first 1 version before 1.3 was released. it does not "click" - shutter doesn't work. I am using pentax. shutter widget works fine for me.

any idea?
thanks

If I understand you correctly, you updated pyKake before Pr 1.3 (the new version of pyKake was 0.7.0) and it worked. Then you updated the firmware in N900 to Pr 1.3 and it stoped working at all (the window won't load etc)? In this case, just update to 0.7.1 and it should work. You can see the current version from AppManager => Remove => long press over pyKake => Info. The version 0.7.1 is in extras-devel.

Else If you already had 0.7.1, and it runs correctly (you see the tabbed window), then first check that your settings are correct, so go to the settings dialog and check that you have "Pentax and Samsung" selected (yes they both work with same remote). This lose of old settings is caused by change from GTK to Qt. In that change I also changed the settings saving system (from GConf to QConfig), so the settings from previous pyKake (0.6) won't work with new (Qt) version, you had to set them again in setting dialog, which should had been popped up in the first run.

If not one of those then try these:
1. Check that does the IR sensor send the signal (take your camera and watch trough the live view the sensor while you press the shutter button, it should blink).

2. Run in terminal python /opt/pykake/pykake.py , use it and then post the outcomings here.

tungram 2010-11-03 17:58

Re: pyKake - DSLR Remote control
 
ok, obviously I did not explain it well.

when I first installed pykake in September it worked.
Then one (or two) pykake updates before 1.3 was released
it did not work anymore.
Then the new version 0.7.1-1 was released. I tried again.
Still doesn't work.

Program starts
Settings are correct
Test of infared port with the shutter widget was good.
Shutter widget triggers my Pentax to take a picture

started pykake from shell as you suggested:
>irsend: could not connect to socket
>irsend: connection refused

Well, maybe I messed up my system. But then, why can i take
a picture with the shutter widget?
Strange

Yabba 2010-11-04 08:44

Re: pyKake - DSLR Remote control
 
It's looks like it fails to start LIRCd at the beginning of the application, the output should look like this:
python /opt/pykake/pykake.py
> Unsupported date format character at 1 (%-d.%-m.)
> Starting lirc daemon: lircd.
> Stopping lirc daemon: irexec lircmd lircd.
And I think I know where the problem is. There is rootsh instead of sudo (used in debugging) in Lirc controlling commands, and this maybe the cause of the problem. And this was already in 0.7.0 (which didn't work for you, probably because you don't have rootsh installed, right?), so it was all my fault, sorry :o I will fix it right now and kick the update to the autobuilder, so it should work after that.

Thank you for finding and inform about this bug! Otherwise it would have stayed there long, because it didn't cause problems for me (or anyone else, who had rootsh installed) :D

PS, I think this is also the reason causing slow startup (up to 10 seconds, at least for me), because now it "only" takes about 3 seconds (let see what I can do for that) :p

And the next thing I start to work is debugging system to get some "log" it has wait too long.

Yabba 2010-11-04 15:16

Re: pyKake - DSLR Remote control
 
And the second update for today:

- Replacing reboot notification from startup with zenity notification in post-install (zenity new in dependencies).
- New help dialog.
- Long text entrys moved to separate files.
- Added some prints to ease bugtracking

tungram 2010-11-04 18:36

Re: pyKake - DSLR Remote control
 
Thank you Yabba
now it works

irameltzer 2010-11-09 19:01

Re: pyKake - DSLR Remote control
 
Hi Man great app,,,,,,,,,,,,:)
was wondering if there's any way to take continuous shooting?????
I've got Canon EOS 7d and the app works on it.
looked everywhere, and couldn't figure out if the camera can even do such a thing with any remote (original).........
other then that maybe adding a half press button for focusing only can be grate....
Thanks a lot
Ira

Yabba 2010-11-10 13:13

Re: pyKake - DSLR Remote control
 
I have already think to add continuously shooting as a opinion in timed mode. I'm not sure about time table for it yet, but probably in next big release it is in there(0.8.0).

About focus button, I don't know is that possible at all, but currently I can't add it. Because there is no IR signal for that possibility in any of configure files for remotes I use (they are only ones). Still, I have some small memory bites (about the time I worked around with remotes as searching info), that in some of those remotes had that half-press function to focus, but it isn't in the configs I had, and because I don't own real remote (reason why I started to work with pyKake at the begining), I can't do configs by myself. And anyways, if there is possibility for this tomorrow, it may still wait till the 1.0 is out.

lennartb 2010-11-11 12:15

Re: pyKake - DSLR Remote control
 
Works great with a 5D Mark II here!! Time-lapsy goodness!

pcekper 2010-11-28 21:30

Re: pyKake - DSLR Remote control
 
Is crashing for me the last version and pr1.3, to reproduce:
* Set in bulb mode.
* Add time
* bulb on
* when time reaches 0 it crashes.

Also crashes with timed mode.

I ran it in a console and it segfaults. with the above.

I will file a proper bug once I know what produces the bug, maybe run a strace.

Yabba 2010-11-30 11:41

Re: pyKake - DSLR Remote control
 
I confirm the bug.

(I think) it is caused by the player class in code to play the sounds. I will release bugfix as soon as possible.

Ginge52 2010-11-30 11:53

Re: pyKake - DSLR Remote control
 
Great App, will any more cameras be supported in the future? (I currently have a Fujifilm Finepix).

Yabba 2010-11-30 16:36

Re: pyKake - DSLR Remote control
 
Quote:

Originally Posted by Ginge52 (Post 886160)
Great App, will any more cameras be supported in the future? (I currently have a Fujifilm Finepix).

Any cameras will be supported, if there is a Lirc config file for its remote, so if you have remote for that camera, Linux and want to help, take a look at here and create a config for the remote, or if you find out that your camera is compitable with remote from other manufacturer (like Pentax and Samsung), tell that to me, so I can add it in as an offical.

Yabba 2010-11-30 18:24

Re: pyKake - DSLR Remote control
 
Ok, bug is fixed. The cause of it was just combination of small changes and bad testing (I forgot that I had changed the name of one function and the result was call for nonexistent function and crash caused by QThread).

SSLMM 2010-12-16 04:43

Re: pyKake - DSLR Remote control
 
Congratulations for you'r app. It's indeed extremely helpfull when taking time lapses or self portraits.

Is there any possiblity to add a control mode via usb, now that we have usb HostMode? I'm asking this because there are cameras that don't have the IR receiver, but can be controled through usb via pc.

Just asking and thanks again for this awesome app :)

misusri 2010-12-16 09:57

Re: pyKake - DSLR Remote control
 
Hi Yabba,

Thanks for the great app. I am using Sony alpha camera, and I found on another forum people using Minolta RC3 file for Sony alpha 350. Could you possible include it and I can test it on my alpha 330?

Thanks,
Misu


All times are GMT. The time now is 13:25.

vBulletin® Version 3.8.8