Announcement

Collapse
No announcement yet.

Proximity 2

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Proximity 2

    What is it?
    Proximity is a simple daemon that can perform any number of custom actions based upon the proximity of things. It can be used to sync with a home network when you get within range of your home AP or start your car when you walk up to it with cell phone in pocket.

    Features:
    - Wifi Proximity: will trigger events when Access points appear or disappear.
    -- Supports SSID and Hardware Addresses (MAC)

    - Bluetooth Proximity: will trigger actions based on the proximity of a bluetooth device such as your cellphone.
    - Works with and bluetooth device that supports SDP.

    - GPS Proxmity: will trigger actions based on your distance to a pre-defined lat/long point.
    - Uses the "Haversine equation" to calculate radius accurately.

    - DBus events: All "events" will notify via dbus to any listening app for further control and integration.

    - Simple XML-based event configuration.

    Download via svn:
    Code:
    svn co https://linuxice.svn.sourceforge.net/svnroot/linuxice/packages/proximity
    Documentation:
    http://wiki.openice.org/index.php?title=Proximity
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  • #2
    Kev000,

    Looks sweet (not sure how I missed your previous efforts) -- where can I give this a try? Been looking for a CL solution which isn't tied to a particular WM...

    Nasa

    Comment


    • #3
      I can use it too :-P
      Engineering: Where the rubber meets the road!
      RR Skin RED 2.0 http://www.mp3car.com/vbulletin/rr-s...red-2-0-a.html

      Comment


      • #4
        It's preinstalled in LinuxICE already (although, doesn't start by default yet). The src can be found in the linuxice svn repository, although it is a project which probably merits it's own repo outside of LinuxICE since it has applications that span outside of LinuxICE...

        Some guy was going to make a GUI for configuring it, but I don't know what happened .
        Former author of LinuxICE, nghost, nobdy.
        Current author of Automotive Message Broker (AMB).
        Works on Tizen IVI. Does not represent anyone or anything but himself.

        Comment


        • #5
          Would it be a problem if the GUI was in Gambas?

          I've been messing around a bit with it for the last few days and it's amazing how easy it is to make things work in so few lines.
          My project: double indash, Golf IV
          http://www.mp3car.com/vbulletin/showthread.php?p=841754

          Comment


          • #6
            If you see my bluetooth phone but not my better half's bluetooth phone, turn on certain radio station [NPR]. If she's in the car too, then offer a different selection of radio stations.

            [Note: my mini implements this by looking at which key turned on the ignition, and changing all kinds of settings, including the radio stations].

            Gary (-;
            OBDGPSLogger, for logging OBDII and/or GPS data
            OBDSim, an OBDII/ELM327 software simulator
            mp3car forums: obdgpslogger, obdsim

            Comment


            • #7
              Originally posted by eurocarpc View Post
              Would it be a problem if the GUI was in Gambas?

              I've been messing around a bit with it for the last few days and it's amazing how easy it is to make things work in so few lines.
              not a problem. As long as it looks good .
              Former author of LinuxICE, nghost, nobdy.
              Current author of Automotive Message Broker (AMB).
              Works on Tizen IVI. Does not represent anyone or anything but himself.

              Comment


              • #8
                Originally posted by chunkyks View Post
                If you see my bluetooth phone but not my better half's bluetooth phone, turn on certain radio station [NPR]. If she's in the car too, then offer a different selection of radio stations.

                [Note: my mini implements this by looking at which key turned on the ignition, and changing all kinds of settings, including the radio stations].

                Gary (-;
                That's actually pretty cool :P.
                Former author of LinuxICE, nghost, nobdy.
                Current author of Automotive Message Broker (AMB).
                Works on Tizen IVI. Does not represent anyone or anything but himself.

                Comment


                • #9
                  That is really cool. I hope to see this project go in that direction.
                  "stop with the REINSTALLS, what do you think we got some lame-o installer!!!" - mitchjs
                  RevFE
                  My Shop

                  Comment


                  • #10
                    Kev - I'm trying to get an old D-Link WiFi dongle to work on the Sheeva using WiFi proximity. There's no man page or help on the version you installed on my Sheeva. Where can I get docs on it?
                    Originally posted by ghettocruzer
                    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
                    Want to:
                    -Find out about the new iBug iPad install?
                    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

                    Comment


                    • #11
                      I need to push out a new version that actually runs on the sheeva. I'll get some docs as well if there aren't any...
                      Former author of LinuxICE, nghost, nobdy.
                      Current author of Automotive Message Broker (AMB).
                      Works on Tizen IVI. Does not represent anyone or anything but himself.

                      Comment


                      • #12
                        Update:

                        Started work on this again. Adding gps proximity capabilities. Here's a little xml that defines the gps stuff:

                        Code:
                        		<event type="gps" trigger="OnEnterRadius" latitude="12323.23" longitude="12323.23" radius="50">
                        			<command type="system" bin="/usr/sbin/nghost-cmd">
                        				<arg>media:null volume "10"</arg>
                        			</command>
                        		</event>
                        
                        		<event type="gps" trigger="OnLeaveRadius" latitude="12323.23" longitude="12323.23" radius="50">
                        			<command type="system" bin="/usr/sbin/nghost-cmd">
                        				<arg>media:null volume "50"</arg>
                        			</command>
                        		</event>
                        radius is in meters. lat/long are in degrees. All events will also be fired out through dbus, so any listening app can do stuff when the events trigger.
                        Former author of LinuxICE, nghost, nobdy.
                        Current author of Automotive Message Broker (AMB).
                        Works on Tizen IVI. Does not represent anyone or anything but himself.

                        Comment


                        • #13
                          Watching this thread and anticipating a Sheeva version as well....
                          Originally posted by ghettocruzer
                          I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
                          Want to:
                          -Find out about the new iBug iPad install?
                          -Find out about carPC's in just 5 minutes? View the Car PC 101 video

                          Comment


                          • #14
                            Just committed the gps proximity stuff. Initial tests have been successful. I'll hit up bluetooth next. I've also got it properly debianized and fixed arm support for the sheeva. Will have packages soon.
                            Former author of LinuxICE, nghost, nobdy.
                            Current author of Automotive Message Broker (AMB).
                            Works on Tizen IVI. Does not represent anyone or anything but himself.

                            Comment


                            • #15
                              Here's a little preview on what bluetooth will look like:

                              Code:
                              <event name="my cell phone" type="bluetooth" trigger="OnAdded" strengthMin="100">
                              Former author of LinuxICE, nghost, nobdy.
                              Current author of Automotive Message Broker (AMB).
                              Works on Tizen IVI. Does not represent anyone or anything but himself.

                              Comment

                              Working...
                              X