Garage Door Opener - G1 - G1 Android Development

Hey guys, I found this http://brad.livejournal.com/2397080.html and I was wondering if anyone has done it yet? and how is it working? Looks pretty cool, I think im going to give it a shot.

You do understand this is for a proprietary home automation system and not a traditional opener right?

@MomentaryLapse:
Yeah first you need a garage door opener with a web server! Is that a standard feature these days? I don't have a garage right now...
That said, this same process (Detect/Connect to a pre-determined WiFi network and automatically load a URL or run some other process) could easily be re-used for a variety of other functions using FOSS home auto software such as MisterHouse.
For example you could have it turn on an X10/Insteon switch (turn on the lights as you approach the house?).
Or configure a music player in your house to play "Hail To The Chief" as you walk in the door....which is such an awesome idea, I'm going home to work on it right now!
You may even be able to do the opposite...that is once the pre-determined WiFi AP is out of range, connect via EDGE/3G and launch a URL... Plug the iron into an Insteon appliance module and then you don't have to worry about whether you remembered to unplug it.
You could potentially also use location-specific triggers (does locale already do that?) or perhaps triggers upon discovery of bluetooth beacon.
Just throwing out some ideas for potential extensions of this concept that might not seem all that useful at a glance.

oh... I thought it was for an average opener.. nvrm

Related

[Q] Android device cluster, networking or screen sharing

In short: Is it possible to cluster, network or push device output from one device to another, share storage devices and network/gps interfaces?
The long version: I have been wanting to build an in-car device that would store media and act as a gps and what not, but haven't found a way that I want to implement it yet. I was thinking if I found a x86 port of android, got most of the voice stuff working, I could have a headless device that I could store music on and use as navigation. I know the phones are capable of that, but if I want to keep say 500 gb of music on me, how does one do that?
My thoughts were if it were possible to either cluster or network an installed android powered unit to an android powered phone, I could always have network access from the unit in the car and share the gps from the phone, or have the phone access the storage from the device (not through dlna, but the music app seeing it as physical storage) and allow me to push the output from the in car device to the phone and let me interact with the system how ever I need to I could accomplish a form of in-car entertainment.
I figured that there could be apps written that would let the in-car device act as a headless unit, with its only interface being audio, it could store navigation directions/maps and what not, so if I didn't have the phone that day, I could still navigate to where I needed to. The phone and the device could constantly be in communication with each other if the car was parked by a wifi hotspot or something, so if I chose to navigate somewhere when I was at home, the car would already have the directions. I could also have it pull any media changes through wifi, and always have an updated media library.
I know the phones are fully capable of doing this, but for most of it, you have to have a window holster for the car to use the gps, and wires running for audio and charging and what not, but if there were a way that the in-car device could be hardwired to the audio system and left alone, the phone could stay in my pocked, be linked via bluetooth and I could have a small button-pad or something that would allow me to initiate google voice search, control the media player and interact with navigation. The whole thing with linking the phone and device together would be so the mobile network could be shared between android devices and the incar device could pull the information it needed. The thought of the display sharing was in case I needed to interact with the incar device.
I know what I am going on about is specific to me, but my thoughts behind it were if it were possible to do at least the network sharing (with out tethering or mobile hot spot blah blah blah) that android phone and tablet owners could do the same thing. They could share their mobile network through their tablet and have a tablet that would be always connected, would share mailboxes with the phone and basically act the way the Blackberry playbook is proposed or how the Palm Foleo was supposed to work. If the devices had a network ability of some level, the tablet could pull text messages, email messages, contacts or any other sync-able item.. That way, this wouldn't just be done for my benefit, but it would take tablet and phone owners to another league. Two devices that share the same information from one source and don't have to sync with the same servers twice. It would take a lot of redundancy out.
I hope you guys can see usefulness in my idea, and can shed some light for me.
Sorry from bringing this back from the dead, but since I never got any responses I'll add a bit more..
Does android have anything that would work like blackberry bridge between two android devices?
Droid Vnc server and androidvnc works fine for screen sharing. What I really like is the hpc aspects to CPU cycle sharing over wifi/nfc. Really interesting possibilities.
What I am looking for is to have the ability to use two separate android devices, but have them communicate via wifi/bluetooth or what ever and act as the same device in the sense that when the device with the data plan gets a text message or phone call, the notification goes through the other device that would be physically docked to audio equipment or what ever...
I have a Droid X, Droid Incredible, Droid Pro and a first gen Droid laying around.. Currently the Droid Pro is my in use phone.. The rest are just laying here. I want to be able to dock one of the others in my car, turn the GPS on, link it to my droid pro and have the other phone use the droid pro's active data connection for guidance/searches etc, and it would be docked to car audio, so it would need to access the pro's sd card, and have access to the pro's phone audio, or the ability to route calls from the pro to the other device via bluetooth or whatever, not by call forwarding.. This way it would be a sort of infotainment/telematics system..
Think of the possibilities this would open up for android tablets etc. If You could reply to text messages from your tablet because the tablet is linked/bridged to the phone in your pocket... That would make these tablet/laptop combos more appealing because it would the perfect convergence between tablet and phone.
Oh, and I guess, the other thing is that I have multiple cars, so one device would go in each car, and then when I got in the car, the one in that car would link with my phone, and everything would be the same, car to car, or device to device...
I guess another way to bump this:
Would it be possible for an app to do ADB to ADB via bluetooth or something, because then an app could be written like pdanet that would allow the network to be shared at least?
I dont remember the name of the app I think the name of it is Dashboard? and it will store/push all texts/emails etc. to every device u have dashboard installed on...Best buy has an app kinda like that too...Like the Idea of the screen sharing is that kinda like remote desktop/control?
I just search how to neywork cluster android came across your post ..... if you use the Google apps like Google play music/maps as well Google hangouts since with Google voice you can easily do what you want with out the need for both devices being together you can upload 50000 songs 9n play music for free and any device with ur hangouts and voice will receive ur calls and email notifications .....just need to make sure have Internet

advice needed for mini pc project

I want to design a program that will run on an Android Mini PC. It'll be connected to any monitor so that when the monitor is turned on, it'll power up the android mini pc via USB (monitor will be required to have USB port) and then the program will start automatically and display on the monitor.
The program itself is a visual acuity chart (like at your eye doctor's office). So it will run all day as you use an RF remote to flip through the images.
Sound easy? I'm trying to figure out if Android or Raspberry Pi would be best for this.
Thanks
Pretty cool idea. The only thing I can think of is Android on the Android sticks allows a customizable boot animation which would be cool to create your own for marketing. The Android sticks are also faster and boot quicker so less wait.
You can also remote desktop into a more powerful machine to offload some work. Essentially have a server as the mainframe.
Android will also require you program it to run at startup. I'm not sure how you do this without a 3rd party app, but I know some apps that load on startup.
Both units are tiny and the android sticks include wifi and there are some Bluetooth models. The Raspberry Pi has neither. And boots slower and isn't powerful.
I think its an easy choice.
Sent from my Nexus 7 using XDA Premium HD app
player911 said:
Android will also require you program it to run at startup. I'm not sure how you do this without a 3rd party app, but I know some apps that load on startup.
Click to expand...
Click to collapse
ok, so it would at least be possible but I'd need some intricate coding and extra apps which is ok with me. thanks
You need to look at the power requirements of the Android Mini PC as well. Often they draw more power than is available through TV and monitor USB ports. You might get enough power to run the mini PC but if you have wifi, wireless keyboard/mouse, bluetooth and other devices the power draw might exceed the output of the monitor. This is something I am interested in as well as I am trying to resolve the power on/off problem on these mini PCs. The probox has a remote with a power button but I've heard the remote has problems with distances more than 1M.
strongsad said:
You need to look at the power requirements of the Android Mini PC as well. Often they draw more power than is available through TV and monitor USB ports. You might get enough power to run the mini PC but if you have wifi, wireless keyboard/mouse, bluetooth and other devices the power draw might exceed the output of the monitor. This is something I am interested in as well as I am trying to resolve the power on/off problem on these mini PCs. The probox has a remote with a power button but I've heard the remote has problems with distances more than 1M.
Click to expand...
Click to collapse
I won't need BT, wifi, or really anything. I need to find someone that thinks he can tackle this project. Any good places to hire someone for this type of work?
apparker said:
I won't need BT, wifi, or really anything. I need to find someone that thinks he can tackle this project. Any good places to hire someone for this type of work?
Click to expand...
Click to collapse
Couldn't you use tasker or locale or something similar to run an app on startup? Just an idea...

[Q] Radio on my phone?

I've got a Sony Xperia z, and I want to start playing around with what I can do with it. One idea that occurred to me was expanding its radio capabilities. I basically want to turn it into a mobile ham station. I want to be able to scan HF, VHF, and UHF frequencies and transmit on them... I have a basic idea of how to make the hardware for this project to work, but I have no idea what to do on the software side. I know the Z comes with the built in ability to listen to FM radio and it uses your headphones as an antenna, so I'm making two assumptions with that in mind: the input source comes in through the headphone jack, and this source can be expanded to other frequencies depending on what I plug into it. The wall I run into is I suck at java development. It's been years since I've used any programming language, and I know even less about hard ware/software integration on a mobile platform. Can anyone point me in the right direction to pursue this project?
Ok, how about this: I'm willing to pay someone to dev the app for me. I started looking into what it would take for me to program this and it's way beyond the scope of my skills. I was looking at buying a laptop just to work on this project, but I would rather spend the money on a quality product. Here's exactly what I want it to do:
A. Receive
1) Receive radio signals in the medium wave (mw) band all the way up to the VHF band.
2) scan a range of frequencies, with step options (I.e. Start a scan at a user in putted freq and then stop at another inputted freq and have the option to step up in increments as low as 0.001hz as the user desires)
3) store frequencies into a scannable Database or store freqs into a database of freqs to skip over
I'm assuming this would all be done by pulling in a signal from either the headphone jack or micro USB port.
B. Push a signal back out through the same port. So basically a receive or transmit mode. I get that phones don't have a built in transceiver. I can do the hardware as long as I have a signal going in one direction or the other and an app to interpret it.
So with pushing a signal back out I would like the option to either broadcast a stored file or directly from the microphone.
Now as for pay I was looking at spending 300 on a laptop so I could push that cost to a developer instead. Any mods after the initial app is finished would come with additional pay. Add on mods that is, not debugging issues. Any takers?
BranSidhe said:
Here's exactly what I want it to do:
A. Receive
1) Receive radio signals in the medium wave (mw) band all the way up to the VHF band.
Click to expand...
Click to collapse
Have you seen detailed specs on the radio? All I can find is that they identify if as "FM radio", so it is most probably just the VHF commercial broadcast band (88-108MHz). It is very unlikely that they would include a more expensive multi-band radio. A single-band VHF-FM broadcast band receiver would be much smaller than a multi-band receiver.
2) scan a range of frequencies, with step options (I.e. Start a scan at a user in putted freq and then stop at another inputted freq and have the option to step up in increments as low as 0.001hz as the user desires)
Click to expand...
Click to collapse
I think this part would be native code -- C language.
3) store frequencies into a scannable Database or store freqs into a database of freqs to skip over
Click to expand...
Click to collapse
And this would probably be handled by an Android application in Java.
I'm assuming this would all be done by pulling in a signal from either the headphone jack or micro USB port.
B. Push a signal back out through the same port. So basically a receive or transmit mode. I get that phones don't have a built in transceiver. I can do the hardware as long as I have a signal going in one direction or the other and an app to interpret it.
So with pushing a signal back out I would like the option to either broadcast a stored file or directly from the microphone.
Click to expand...
Click to collapse
I don't think I understand you completely but it is very unlikely that this radio has a transmitter. It is very likely only the VHF-FM single-band receiver, 88-108MHz in the US. With a rooted device you could probably create software which will scan and otherwise select frequencies but it would be useless to make the steps any smaller than 200kHz, unless you wanted to listen for very low power interstitial transmissions. It almost certainly will not transmit.
Again, do you have detailed specs on the radio? This job isn't for me though -- I don't have the device and I no longer have a suitable working environment for this kind of work.
Frank
ADDED:
Also, FM is essentially useless below 6-meters, although there is some rare Ham usage in HF.
Frank
Oh the phone def doesn't have a transmitter native to it. My thought process is to hook the phone up to a transmitter through either the USB port of the headphone jack and have it transmit that way.
I want the phone to be the interface of the system. I was thinking something like this: techlib.com/electronics/allband (it's .htm, I can't post full links yet) inline with the antenna and the phone (I.e. Antenna -> receiver/transceiver -> phone). The biggest problem I run into is I don't know how to make the phone work with whatever I plug into it.
And yeah, I accidentally left the g off of .002ghz so 2000 kHz is completely accurate.
BranSidhe said:
Oh the phone def doesn't have a transmitter native to it. My thought process is to hook the phone up to a transmitter through either the USB port of the headphone jack and have it transmit that way.
I want the phone to be the interface of the system.
Click to expand...
Click to collapse
That is reasonable. You could even use the device to work some of the data modes on a suitable tranceiver. I think I've seen this done with the Palm, so the Palm might be a source for some of the code.
The biggest problem I run into is I don't know how to make the phone work with whatever I plug into it.
Click to expand...
Click to collapse
I have not looked at the USB interface yet -- my last serial work was RS-232 -- so I don't know what these things will let us do.
These Linux/Android devices have been out for several years and there might already be some software for this -- have you looked?
Seven more posts.
Frank
I have been looking around for quite a while now. There is a ton of software for turning a computer into a controller station(SDR), but not a lot for mobile devices. Wolphi .com is the best I've seen so far, but their device isn't what I'm looking for. I don't want to have a full separate radio, just an inline receiver/transceiver and have all other "radio" functions controlled by the phone. I dunno maybe I'm reaching here.
Thanks for all the input so far btw
BranSidhe said:
There is a ton of software for turning a computer into a controller station(SDR), but not a lot for mobile devices. Wolphi .com is the best I've seen so far, but their device isn't what I'm looking for. I don't want to have a full separate radio, just an inline receiver/transceiver and have all other "radio" functions controlled by the phone. I dunno maybe I'm reaching here.
Click to expand...
Click to collapse
Back in 2003 and 2004 I wrote a controller on Windows NT for my FT-897, and that was not a difficult task because I wrote it as a command line program -- no GUI. Are you intending to build your own radio, or just an interface for the phone/radio connection?
I looked at a few of the applications at wolphi.com and they all use only audio input and decode the audio signal. To control the device you would need USB, as you said. If no one has done this yet for any radio then maybe there is something in the USB implementation which limits it. I would probably have tried it by now if I were still licensed and had a radio to try it with, so I'm really surprised that a controller hasn't already been written.
I'm pretty sure I saw a controller written for a Palm PDA to control the Yaesu portable low power HF radio. I don't recall if it actually did any keying and transmitting though.
I don't think you are reaching too far. It seems to me that this can be done and it would be very useful if you do accomplish it.
Frank
ADDED 07:42:
After thinking back I recall that I had two or three connections between my radio and computer. An RS-232 serial cable connection was used to send commands to the radio and to receive replies from it. There was also one or two connections to send and receive audio; this was through two ports on the computer but I can't recall if it was separate connections or a combined connection on the radio.
The program I wrote had several options and one of them was to function as an echo repeater: it recorded a signal when the squelch broke and then retransmitted that recording when the transmitting station's carrier ceased. It was handy for other hams to hear what their station sounded like. An Android controller would probably use the same dual connection; for example, a command is sent through USB from Android to radio to key the transmitter then outgoing audio is sent through the headphone port; then the radio is unkeyed through the USB port.
The Android application will be a fairly typical Android application, except that is would communicate with a native Linux application that communicates with the USB port. This does not seem difficult to me and I'm really surprised it hasn't been done.
SGH-I717(AoCP6.4), SM-N900V/MI9(dlV), XDA Premium

lock and unlock Windows via Bluetooth

Hi there,
there are tools out there to lock your Windows when bluetooth connection to a device is lost and unlock when its established again.
That would be a nice feature for the Smartwatch (better than mobilephone) because its always with me.
I cant connect the watch via Bluetooth to the pc.
Any ideas how to do this.
Maybe we have a good app-developer here
Thanks alot!!
Daniel
I am quite lost with your approach.
Anyways, if you are looking for a tool that keeps your phone unlocked when it is connected to the watch. Try PhoneLocator
Sent via Phone.
I think he wants to lock a PC with windows...
you can't do this because it doesn't exist an app to conect both etc...
sowed said:
I think he wants to lock a PC with windows...
you can't do this because it doesn't exist an app to conect both etc...
Click to expand...
Click to collapse
Yes thats what i mean. If the bluetooth connecton to the pc is lost (out of reach) it locks itself. Back to the pc it unlocks. There are tools for windows you can realize that with a mobile phone. But i often leave it at the desk. The watch is always with me.
The problem is i cant connect the watch to the pc.
Sorry if the first post was misleading.
Is there any possibility to get the watch connected to a pc. More is not needed to realize this.
Thx.
painkillerde said:
Yes thats what i mean. If the bluetooth connecton to the pc is lost (out of reach) it locks itself. Back to the pc it unlocks. There are tools for windows you can realize that with a mobile phone. But i often leave it at the desk. The watch is always with me.
The problem is i cant connect the watch to the pc.
Sorry if the first post was misleading.
Is there any possibility to get the watch connected to a pc. More is not needed to realize this.
Thx.
Click to expand...
Click to collapse
If you can't connect the watch to the PC, how a tool (if there is one) will know that the watch is connected and perform an action. Logically and programmatically, is impossible.
Secondly, why such watch should be connectable to a PC? it wasn't made for this purpose.
iT iS Me said:
If you can't connect the watch to the PC, how a tool (if there is one) will know that the watch is connected and perform an action. Logically and programmatically, is impossible.
Secondly, why such watch should be connectable to a PC? it wasn't made for this purpose.
Click to expand...
Click to collapse
I see what you mean. But isnt xda a developer Forum too? Maybe MAYBE its possible to make an app that could make the watch connectable to a PC via bluetooth or the watch os itself.
Its just an idea - im not a developer and i dont know about what is possible and what is not. But its an android running on the watch and we are in a developer forum so why not!!
I would like this feature...
Technically it should be possible but it may not be worth the effort. I think the Windows program would have to try to connect every minute or every 30 seconds and lock the screen if it cannot. Then keep scanning to unlock when it can connect.
That would be so cool! If only the watch worked with a computer.
Sent from my Galaxy Note 10.1 (N8000).
badplanet said:
Technically it should be possible but it may not be worth the effort. I think the Windows program would have to try to connect every minute or every 30 seconds and lock the screen if it cannot. Then keep scanning to unlock when it can connect.
Click to expand...
Click to collapse
The software is ready to go - the problem is to connect the watch. Sadly...
http://www.howtogeek.com/67556/how-to-unlock-your-pc-by-being-nearby-with-a-bluetooth-phone/
badplanet said:
Technically it should be possible but it may not be worth the effort. I think the Windows program would have to try to connect every minute or every 30 seconds and lock the screen if it cannot. Then keep scanning to unlock when it can connect.
Click to expand...
Click to collapse
There is a Windows tool 'BtProx', which can lock the PC when the bluetooth device is disconnected. I used this with hands free headset.
However, as mentioned earlier if Windows cannot see the watch, how the application will act??!
BtProx
http://btprox.sourceforge.net/
Sent via Phone.
painkillerde said:
The software is ready to go - the problem is to connect the watch. Sadly...
http://www.howtogeek.com/67556/how-to-unlock-your-pc-by-being-nearby-with-a-bluetooth-phone/
Click to expand...
Click to collapse
I love this idea, totally useful. Isn't the problem really on the watch side though? It will only pair with one device at a time (the phone) and then is no longer visible. On the PC side just being able to see the watch would trigger the unlock, no need to actually pair. I am probably missing something as I am not a developer.
Fred
ffarber said:
I love this idea, totally useful. Isn't the problem really on the watch side though? It will only pair with one device at a time (the phone) and then is no longer visible. On the PC side just being able to see the watch would trigger the unlock, no need to actually pair. I am probably missing something as I am not a developer.
Fred
Click to expand...
Click to collapse
Yes I also think something like a ping would be enough - but it seems the Lock/Unlock Software wants a paired device and the watch isn´t visible after pairing with the phone.
So it seems we have no option to get it work.
painkillerde said:
Yes I also think something like a ping would be enough - but it seems the Lock/Unlock Software wants a paired device and the watch isn´t visible after pairing with the phone.
So it seems we have no option to get it work.
Click to expand...
Click to collapse
Don't give up so fast. I think there might be a way...
How about if the unlock software would unlock the PC when the phone was connected but only if the watch was connected to the phone? That would probably take a small amount of coding on the Android side to inform the PC whether the watch were connected or not. This way both the phone and watch would have to be connected to their respective pairings. I think it still solves your problem of walking away from your desk and the phone which would lock the PC and when you brought the watch back the PC would unlock.
Do you think the PC lock software folks would be interested in such a scheme? Have you been in contact with them? This would work for all types of smartwatches with only coding done on the phone and PC.
Cheers,
Fred
Yeeeeehaaaaa
ffarber said:
Don't give up so fast. I think there might be a way...
How about if the unlock software would unlock the PC when the phone was connected but only if the watch was connected to the phone? That would probably take a small amount of coding on the Android side to inform the PC whether the watch were connected or not. This way both the phone and watch would have to be connected to their respective pairings. I think it still solves your problem of walking away from your desk and the phone which would lock the PC and when you brought the watch back the PC would unlock.
Do you think the PC lock software folks would be interested in such a scheme? Have you been in contact with them? This would work for all types of smartwatches with only coding done on the phone and PC.
Cheers,
Fred
Click to expand...
Click to collapse
GOT IT
I give me the needed idea.
You need
Tasker + Secure Settings + your Mobile.
Mobile is connected via bluetooth to PC. Software locks on connection lost to mobile.
Now i made a task which disconnects the bluetooth connection to PC when connection to the watch is lost. -> PC locked
You may also use the notification message of the Smartwatch - try it later.
An other task reconnects the mobile to PC when watch reconnects to mobile. -> PC unlocks but it takes a little time (but for me the lock was the important thing).
If you take away your mobile it also locks the PC. What more do you want!!!!
I would say - Mission accomplished...good:
Now its time to play arround with tasker a little bit more :fingers-crossed:
Damn it was tricking me. the Phone reconnects after a few seconds so the lock timer has to be extrem short ... working on it
Any ideas how to prevent autoconnect to the Computer but stay paired?
painkillerde said:
Damn it was tricking me. the Phone reconnects after a few seconds so the lock timer has to be extrem short ... working on it
Any ideas how to prevent autoconnect to the Computer but stay paired?
Click to expand...
Click to collapse
I am not sure what you mean. When does the phone reconnect when you don;t want it to? Seems like your idea should work. I am not a tasker user but are there any timer tasks built into it that would stop the unintended activity for a period of time?
Fred
ffarber said:
I am not sure what you mean. When does the phone reconnect when you don;t want it to? Seems like your idea should work. I am not a tasker user but are there any timer tasks built into it that would stop the unintended activity for a period of time?
Fred
Click to expand...
Click to collapse
When the watch disconnects it triggers the disconnect (via tasker) between mobile and computer but the mobile connects again after a few seconds. So btprox or btproximity (software im using to lock the pc when bluetooth disconnects) has not enough time to lock. I have to set the interval btprox looks for the connection to under 10 sec. Thats to short and i think it will give bigger battery drain on the mobile.
So i need a way preventing the mobile from reconnecting again to the pc unless the watch is reconnected. but this seems harder than i thought.
Played a lot arround with tasker - even tried t find a way to send a cmd to the pc and lock it over command line when watch is out of reach from mobile. so i could use this way if watch is away from pc and the "bluetooth out of reach" way when mobile is away. but i didnt found an app to use with tasker which is able to do so.
But after getting so far i wont give up
painkillerde said:
When the watch disconnects it triggers the disconnect (via tasker) between mobile and computer but the mobile connects again after a few seconds. So btprox or btproximity (software im using to lock the pc when bluetooth disconnects) has not enough time to lock. I have to set the interval btprox looks for the connection to under 10 sec. Thats to short and i think it will give bigger battery drain on the mobile.
So i need a way preventing the mobile from reconnecting again to the pc unless the watch is reconnected. but this seems harder than i thought.
Played a lot arround with tasker - even tried t find a way to send a cmd to the pc and lock it over command line when watch is out of reach from mobile. so i could use this way if watch is away from pc and the "bluetooth out of reach" way when mobile is away. but i didnt found an app to use with tasker which is able to do so.
But after getting so far i wont give up
Click to expand...
Click to collapse
Well, I am not a tasker user but I do use an old app I started using years ago named Settings Profile (I have no idea if you can still download it). SP has variable time delays between actions so you could turn off bluetooth on the phone for a minute (or as long as you think you need to wait) after the watch disconnected and then turn bluetooth back on so that the phone would reconnect to the PC while you were gone and then when you got back the watch would reconnect to the phone and all would be good. Tasker seems like it has way more capability than my old app (that I am too lazy to change). I am sure buried somewhere in Tasker is a delay you could use like that.
Let me know if you get it to work and maybe I will make the leap, though I am sure I have better things to do with my time than get lost in Tasker
Fred
ffarber said:
Well, I am not a tasker user but I do use an old app I started using years ago named Settings Profile (I have no idea if you can still download it). SP has variable time delays between actions so you could turn off bluetooth on the phone for a minute (or as long as you think you need to wait) after the watch disconnected and then turn bluetooth back on so that the phone would reconnect to the PC while you were gone and then when you got back the watch would reconnect to the phone and all would be good. Tasker seems like it has way more capability than my old app (that I am too lazy to change). I am sure buried somewhere in Tasker is a delay you could use like that.
Let me know if you get it to work and maybe I will make the leap, though I am sure I have better things to do with my time than get lost in Tasker
Fred
Click to expand...
Click to collapse
Disable bluetooth would work but i dont like this option - i did it an other way.
I got it Working now with "Remote Launcher"+"Tasker".
Made a task locking the PC via Remote Launcher if watch disconnects from Mobile after 30 seconds.
If Mobile disconnects bt from PC the btprox software locks the PC.
Not exactly what i want but works...
Unlocking seems to be not possible...
ffarber said:
I love this idea, totally useful. Isn't the problem really on the watch side though? It will only pair with one device at a time (the phone) and then is no longer visible. On the PC side just being able to see the watch would trigger the unlock, no need to actually pair. I am probably missing something as I am not a developer.
Fred
Click to expand...
Click to collapse
While this is an old thread here a small hint:
There is a Win Software "BTProximity" that will lock / unlock the PC when discovering a BT device with a given BT address - without the need for actually ever pairing the bt device with the PC.
This approach should work just fine with every BT enabled smartwatch. Unfortunately I am not yet allowed to post links here. Google for "guidingtech auto lock win 8 bluetooth" ... the first result will link you to the tool.
Comments appreciated.

[Q] Home Automation, security using old android phone

Hello,
First, I’m not an expert on logic controllers, or PLC stuff, just getting my feet wet for a home DYI project.
I have an idea for using my old android phone for a home automation type project.
First project I would like to try is a security ip camera, (that’s the easy enough), however I would like to also use the phone for certain outputs remotely. Like controlling my garage door opener. . Basically I would mount my old phone in my garage, so I can log into the ip camera, see if my garage door is open or closed, then I could remotely close using my current phone or PC from work or other location. The tricky part is how to use my old phone as a bridge to control a relay board. I know there are wifi, and Bluetooth relay boards out there, but they are smart boards and I want my old phone “smart” part of the equation.
If successful, I would eventually like to automate the process using the camera seeing the door open and closing automatically after a set amount of time.
My end goal is to turn an old smart phone into a home automation and or security hub. I thought about building a weather proof secure enclosure, mounting outside a business or home, then people could use the touch screen to unlock doors either using facial recognition or pass code, and the phones front facing camera could take a picture of the person interfacing with it, or even a two way communication for access. Many possibilities, but my limited knowledge of what hardware is need for controlling locks, switches and so forth is slowing me down.
Any help or ideas would be appreciated.
Thanks
Semper Fidelis

Categories

Resources