Go Back   Android Forums > Android Discussion > Android Applications > Tasker

test: Reply
 
LinkBack Thread Tools
Old October 12th, 2012, 05:10 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Remote Monitor a Solar PV Array

I have a solar PV array which I want to monitor. The only problem is its a four hour drive from home.

So my funky idea is to use a phone stuck on the front of the inverter with velcro to take a picture once a day and email it to me. That way I can see if there is a problem and get someone to fix it. I had some success with Tasker - I got ity to periodically take a photo. But the photo is bigger than it needs to be and to keep costs down i want to compress it to jpeg quality 1.

So I did a crash course in Android programming and I now have an App that has a button on it - click the button, it takes a photo, compresses it, turns it to black and white, and stores it in the Pictures folder with a standard name.

From Tasker I can load the App, that works, but I can not see a way to simulate the click of that button. I also tried without success to use Send Intent
Action:android.intent.action.MAIN
Package:com.solar.satisfaction/.MainActivity
I can change the code to my hearts content if that helps. Or someone can point me at a better way.

I suspect I need to use the "data" field in Load App but I dont know a way forwards on that one. Ideally Id like to be able to "pass parameters" like the amount of compression required , whether to do black and white and so on.

Its a pity Android doesnt have a concept similar to a command line EXE that does a particular job and thats all.

My profile if I get it working would I think be useful for other things like monitoring a garden or a flower opening or even site security.

Advertisements
frankdownunder is offline  
Reply With Quote
sponsored links
Old November 4th, 2012, 03:31 AM   #2 (permalink)
New Member
 
Join Date: Nov 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 2 Times in 1 Post
Default

Have you tried using the dpad? You can highlight and press buttons by sending dpad commands in task>input>dpad. You'll just have to figure out which directional key(s) highlights your button then send the "press" command.
Hope that made sense
JoshuaJones is offline  
Reply With Quote
Reply
Tags
android, email, remote, tasker


Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:58 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.