[FARMWARE] Selfie

Hey @etcipnja back from holidays? :slight_smile:

@etcipnja are you still with us? Would be very sad if not… :disappointed_relieved:

Yeah, I am back trying to catch up with things …

1 Like

It was even funny today, I clicked to water, went away, saw that it didn´t move any more but just saw the last log entry pin bla bla on and jumped directly out because I thought it would flood my garden; but it was just the log not logging each message and the script stopped somewhere in between, with closed valve; so there´s still some work ahead with the log messages, as already known…
This was for MLH, sorry for xssing the threads, but as I understood the basis with all is the same, right?

Thanks very much for your good work!!!

Hey Eugene,

I too am catching up with things. I tried the latest version of Selfie with v1.3 hardware. The Farmware took all of the pictures successfully but I could not find the amalgamated selfie picture. Where should I look to find it? I did scour your documentation and the forum, but was unsuccessful.

did you calibrate your camera?
first you need to calibrate the camera so every time you take a picture - it is displayed in Farm Designer tab.
The full selfie will be built there as well from multiple individual shots.

Note: if camera calibration is not accurate - shots will not come together
also, if your plants are tall - you won’t see the nice picture either

Thank you,
Eugene

Hey @etcipnja: mine is not working even with calibrated cam:

Busy Image Watcher trying to upload /tmp/images/rotated_1533379717.jpg 0, 130, 0.17 Aug 4, 12:48pm
2

Info Uploading: /tmp/images/rotated_1533379717.jpg 0, 130, 0.17 Aug 4, 12:48pm
1

Success Image Watcher successfully uploaded: /tmp/images/rotated_1533379717.jpg 0, 130, 0.17 Aug 4, 12:48pm
2

Error CS Failed: [execute_script] - “Farmware failed” 0, 130, 0.17 Aug 4, 12:48pm
2

Warn #Farmware<Selfie(1.0.7)> completed with exit status: 1 0, 130, 0.17 Aug 4, 12:48pm
1

Error [Selfie] HTTP error 500 {“status”:500,“error”:“Internal Server Error”} 0, 130, 0.17 Aug 4, 12:48pm
2

Success #Farmware<take-photo(1.0.2)> completed without errors. 0, 130, 0.17 Aug 4, 12:48pm
3

Busy Image Watcher trying to upload /tmp/images/rotated_1533379717.jpg 0, 130, 0.17 Aug 4, 12:48pm
2

Info Uploading: /tmp/images/rotated_1533379717.jpg 0, 130, 0.17 Aug 4, 12:48pm
2

Busy Beginning execution of #Farmware<take-photo(1.0.2)> 0, 130, 0.17 Aug 4, 12:48pm
2

Info [TAKE A PHOTO] - Sequence Executing: TakePhoto 0, 130, 0.17 Aug 4, 12:48pm
2

Busy [TAKE A PHOTO] - Sequence init. 0, 130, 0.17 Aug 4, 12:48pm
1

Info [Selfie] Executing sequence: TAKE A PHOTO(8680) 0, 130, 0.17 Aug 4, 12:48pm
1

Success Movement to (0.0, 130.0, 0.0) complete. 0, 130, 0.17 Aug 4, 12:48pm
1

Busy Moving to (0.0, 130.0, 0.0) 0.4, 0, 0.17 Aug 4, 12:48pm
1

Info [Selfie] Moving absolute: {‘y’: 130, ‘x’: 0, ‘z’: 0} 0.4, 0, 0.17 Aug 4, 12:48pm
1

Info [Selfie] Selfie cache will be saved to tool id 45466 0.4, 0, 0.17 Aug 4, 12:48pm
1

Info [Selfie] {‘action’: ‘real’, ‘stepsize’: (380, 500), ‘bottomleft’: (1250, 1250), ‘topright’: (0, 130), ‘default_z’: 0} 0.4, 0, 0.17 Aug 4, 12:48pm
2

Busy Beginning execution of #Farmware<Selfie(1.0.7)> 0.4, 0, 0.17 Aug 4, 12:48pm

Any idea?

Your server is giving 500 error. Basically it rejects the commands sent by the farmware

Thank you,
Eugene

I haven’t had a chance to return to this, but the answer is ‘no’ as I had recently upgraded to v1.3 of the hardware. Oversight on my part: the calibration data was erased during the firmware flash. I will try again this evening or tomorrow during the next golden hour.

Same here! As I said before @connor please have a look into deletion of farmwares and calib parameters after firmware flash!

Hoi @etcipnja:
There must be something specific to whatever I am using here. Basically the bot is connected to the internet, no problem. Whenever I start the selfie farmware, it´ll take the first picture but spit out that error when it should take the second error.

So you cannot tell me that the bot always uses just in that millisecond the internetconnection when it is supposed to take the second picture?!

So what else could be the problem?

Cheers
Klim