Jump to content

Ping to Wireless Tag


garybixler

Recommended Posts

Hi

I was wondering if anyone has been able to ping a wireless tag on the wireless tag system using the ISY network module?

http://wirelesstag.net/

I have copied their API into the ISY for doing that but it may be hung up on expecting a login which I haven't been able to get to work either.

As their sensing a previously out of range tag may take a long time I would like to do a ping using the ISY to considerably reduce that time. Basically I would like to do a ping on missing tags (restoring in range and sending a rest command to the ISY) that are located in vehicles when the driveway sensor is tripped thus immediately being able to respond with some actions.

Thanks

Gary

Link to comment

Gary-

 

To me, ping implies a 2 way transaction requiring a response. At the moment, the ISY network module is xmit only. Do you have a method in mind for receiving a reply?

 

-Xathros

Link to comment

The rest part does work. When I test the API from the ISY I get 'TCP client read response failed' (Net Module rule 67)

They also state that the ping and other commands require a login. When trying to do that from the ISY I just get 'Request Failed'

So this is about as far as I can go with this not knowing if responses are necessary or not.

Thanks

Link to comment

It will just add to the headers section - i think it's position is predetermined by HTTP rules and the ISY will just put it where it needs to go. I've never had to move one once added.

 

-Xathros

Link to comment

-Xathros

 

I have found out from wireless tag that the logon to the tag manager requires a cookie and won't accept the basic authorization header. This was the response from wireless tag:

"Just call the signin API and get the cookie and attach that cookie to ping method. Any browser will automatically do this you just need to find how to support cookie from ISY."

Checking the forum I found that the ISY does not support cookies.

It seems that logins always foil my attempts to automate across platforms. So much for open architecture. ;) Not even sure why login would be necessary for local requests to the tag manager as no ports are open to the tag manager from the outside anyway.

However the system does have great potential for tracking vehicles. A tag in the vehicle could be powered with larger parallel 3V batteries to greatly extent the battery life or even power it from the car battery. Sensing the vehicle is gone takes about 3 min if Auto-Update is set for 1 min. That amount of time is fine. The issue that I have is that it doesn't sense the return of the vehicle for maybe 15 min. even though the search time is set for 5 min. That it why I was hoping the ISY could reduce that time to seconds and execute immediate actions.

So I guess I will continue in this direction and hope that something can be worked out between the tag manager and the ISY in the near future.

Gary

Link to comment

Hi Gary-

 

There was another thread here a week or two back regarding building an Insteon beacon out of Triggerlinc for just this purpose. Once my schedule settles down a bit, I am going to pursue that route and see how it works out.

 

-Xathros

Link to comment

Hi Xathros

Yes, that is one way I was going to go and in fact I have all the parts to do that.

1. A timer that can be adjusted for pulsing and pulse duration to trigger the trigger link. Runs on 12v

2. The trigger link or open/close sensor. Runs on 1.5v

3. Power converter to go from 12v to the 1.5 for the trigger link. Hasn't arrived yet.

 

The only think I don't know yet is how many milliamps this setup will draw.

 

Another that I have the parts for is a mini Ethernet to Wi/Fi module using the USB power converter for use in the car.

The problem is the ISY can't send and receive a ping command at least maybe until version 5.

The other problem is that it draws 95 mA. which would be a little high especially if you don't drive your car for several days.

 

I really like the wireless tag over the others because there would be a lot of things the ISY could control making it a really robust system. Plus the battery drain would be negligible.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...