jbrzusto / TO_DO

sensorgnome / motus TODO list for jbrzusto
0 stars 0 forks source link

register missing Lotek receivers with motus #26

Closed jbrzusto closed 8 years ago

jbrzusto commented 8 years ago

There are 63 Lotek receivers for which sensorgnome.org has data, but only 42 of these are listed by the Motus listsensors API. The remaining 21 receivers are:

 [1] "SRX600-6157" "SRX600-6283" "SRX600-6295" "SRX600-6296" "SRX600-6297"
 [6] "SRX600-6303" "SRX600-6462" "SRX600-6463" "SRX600-6531" "SRX800-220" 
[11] "SRX800-221"  "SRX800-224"  "SRX800-225"  "SRX800-279"  "SRX800-280" 
[16] "SRX800-6352" "SRX800-6457" "SRX800-6458" "SRX-DL-8121" "SRX-DL-8198"
[21] "SRX-DL-8282"

Trying to register each of these gives an error:

Response code: 400

Request: {"serno":"SRX600-6283","hash":"C33181E51975ADDD46B90014D11068FE5298E476","date":"20160825124914","format":"jsonp","login":"john","pword":"XXX","secretKey":"YYY","macAddr":null}

Parsed request: {"date":"20160825124914","secretKey":"YYY","serno":"SRX600-6283","format":"jsonp","pword":"XXX","login":"john","hash":"C33181E51975ADDD46B90014D11068FE5298E476","macAddr":null}

Response: {"errorCode":"invalid-key","errorMsg":"Sensor registration failed. The sensor may already be registered with a different secret key."}
denislepage commented 8 years ago

listsensor API changed to show undeployed sensors

jbrzusto commented 8 years ago

just tried the listsensor API and got Error: Internal Server Error

denislepage commented 8 years ago

Try again?

From: John Brzustowski [mailto:notifications@github.com] Sent: August-25-16 4:15 PM To: jbrzusto/TO_DO Cc: Denis Lepage; State change Subject: Re: [jbrzusto/TO_DO] register missing Lotek receivers with motus (#26)

Reopened #26https://github.com/jbrzusto/TO_DO/issues/26.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/jbrzusto/TO_DO/issues/26#event-768009982, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUIfDky_25voar3YckcMD3RZwCNmZ-dXks5qjffJgaJpZM4JtCoG.

jbrzusto commented 8 years ago

same error.

denislepage commented 8 years ago

Again?

From: John Brzustowski [mailto:notifications@github.com] Sent: August-25-16 4:22 PM To: jbrzusto/TO_DO Cc: Denis Lepage; State change Subject: Re: [jbrzusto/TO_DO] register missing Lotek receivers with motus (#26)

same results.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/jbrzusto/TO_DO/issues/26#issuecomment-242524829, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUIfDq5AYvaTBSeMVenrTnpvG2rtf3hSks5qjflggaJpZM4JtCoG.

jbrzusto commented 8 years ago

still the same error.

But now I'm getting a motus api error email:

Response code: 500

Request: {"serno":"SG-0815BBBK1352","hash":"1E80E86463409923F811E33391E8892B3A7B6BFB","date":"20160825205210","format":"jsonp","login":"john","pword":"X","projectID":null,"year":null,"serialNo":null}

Parsed request: {"date":"20160825205210","serno":"SG-0815BBBK1352","year":null,"format":"jsonp","pword":"X","login":"john","projectID":null,"hash":"1E80E86463409923F811E33391E8892B3A7B6BFB","serialNo":null}

Response: {"errorCode":"unknown-error","errorMsg":"An unknown server error occurred"}

denislepage commented 8 years ago

I know it doesn’t look like it, but I’m making progress… ☺

Hopefully one last time… again?

Denis

From: John Brzustowski [mailto:notifications@github.com] Sent: August-25-16 4:52 PM To: jbrzusto/TO_DO Cc: Denis Lepage; State change Subject: Re: [jbrzusto/TO_DO] register missing Lotek receivers with motus (#26)

still the same error.

On Thu, Aug 25, 2016, at 17:49, denislepage wrote:

Again?

From: John Brzustowski [mailto:notifications@github.com] Sent: August-25-16 4:22 PM To: jbrzusto/TO_DO Cc: Denis Lepage; State change Subject: Re: [jbrzusto/TO_DO] register missing Lotek receivers with motus (#26)

same results.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/jbrzusto/TO_DO/issues/26#issuecomment-242524829, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUIfDq5AYvaTBSeMVenrTnpvG2rtf3hSks5qjflggaJpZM4JtCoG.

You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/jbrzusto/TO_DO/issues/26#issuecomment-242535952

-----------------------------------

John Brzustowski

Wolfville, NS Canada

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/jbrzusto/TO_DO/issues/26#issuecomment-242536496, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUIfDs3WaZmdB6MbXspppJMTvxTxoQ1lks5qjgBegaJpZM4JtCoG.

jbrzusto commented 8 years ago

still an error, but now with the motus API error email:

Response: {"errorCode":"unknown-error","errorMsg":"An unknown server error occurred"}

jbrzusto commented 8 years ago

Working now - all 63 Lotek receivers are returned. Thanks!

J.

denislepage commented 8 years ago

I stupidly forgot to save my changes before pushing to server. I just tested a query myself and it worked.

Are you ready for me to change the serial numbers on the Lotek units as well?

Denis

From: John Brzustowski [mailto:notifications@github.com] Sent: August-25-16 4:55 PM To: jbrzusto/TO_DO Cc: Denis Lepage; State change Subject: Re: [jbrzusto/TO_DO] register missing Lotek receivers with motus (#26)

still an error, but now with the motus API error email:

Response: {"errorCode":"unknown-error","errorMsg":"An unknown server error occurred"}

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/jbrzusto/TO_DO/issues/26#issuecomment-242537555, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUIfDlxRey02e5f2_FpXtK4Q-u5HJDvoks5qjgE_gaJpZM4JtCoG.

jbrzusto commented 8 years ago

sure.

On Thu, Aug 25, 2016, at 18:09, denislepage wrote:

I stupidly forgot to save my changes before pushing to server. I just tested a query myself and it worked.

Are you ready for me to change the serial numbers on the Lotek units as well?

Denis

From: John Brzustowski [mailto:notifications@github.com] Sent: August-25-16 4:55 PM To: jbrzusto/TO_DO Cc: Denis Lepage; State change Subject: Re: [jbrzusto/TO_DO] register missing Lotek receivers with motus (#26)

still an error, but now with the motus API error email:

Response: {"errorCode":"unknown-error","errorMsg":"An unknown server error occurred"}

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/jbrzusto/TO_DO/issues/26#issuecomment-242537555, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUIfDlxRey02e5f2_FpXtK4Q-u5HJDvoks5qjgE_gaJpZM4JtCoG.

You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/jbrzusto/TO_DO/issues/26#issuecomment-242541406

-----------------------------------

John Brzustowski

Wolfville, NS Canada