Home > Blockchain >  Programming a "welcome home" message (as you get home)
Programming a "welcome home" message (as you get home)

Time:12-08

I'd like to able to hear a "welcome home" from my computer as I enter my home, preferably without assistance from motion sensor technology or smart home applications. The best I could come up with is using windows own trigger function to link to an .mp3 at a certain time/event, but I wanted something more accurate.

My first thought was to create a trigger event where this mp3 file is played upon windows finding my cellphone through the wireless network, but I could use some guidance in programming this (if doable)

If you have any other ideas, please share. Thank you. PS: I also have a usb bluetooth adapter that could be used for this purpose, since the range of the network probably extends well beyond the entrance.

CodePudding user response:

Having both Android development and Backend development backgrounds, there's an easy idea to come in mind; develop an application that does the following:

1- Detect when your device is connected to your Wi-Fi network.

2- Make sure your device is stationary, the motion sensors aren't reading

if both are true, it'll communicate with a [localhost] server, a very simple one, that has an API to play the welcome sound you want. I suggest Node.js since it's very simple to develop and deploy.

According to this, seems like it's possible to play a sound from a node instance.

Android motion reference: Here

You can keep me updated, since this is interesting!

CodePudding user response:

I'll leave this as is since the question has been down-rated twice. My 1st post no less, much obliged; and last one I'm sure. Happy holidays.

  • Related