Open hjojohan opened 6 years ago
Hi
I'm not able to test this out just now as the kit I was using to generate the temperature feed had to be re-purposed for another project.
I take it you are connecting to your own TTN application? I guess I'd look first at the type/length of data that is being sent with the message. If your happy to share your application and key I will try and debug it from this end.
Cheers
Dave
Hi Ekwus, Here is my key’s, keep them to yourself for testing purposes.
ttn-account-v2.lvRF636iuGJi5Z7RC8GxAh513QnwIVr4RlwlBAKoTFY Application ID : sensor_swe_demo
Let me know if you if the reason why I am failing. I don’t fully understand the MQTT concept at TTN, is it only possible to subscribe to ONE TTN application and the sensors devices within, that would be a serious limitation!
I have successfully managed to use the HTTP integration and receive data that way, but I find MQTT a better if it supports multiple applications
All the best / Johan
[GPSLogik_email_signatur] GPSLogik AB Johan Ansgariusson Gothia Science Park | Box 133 | 54123 Skövde | Sweden. Cell: +46(0)733-165 100 | Tel : +46(0)500-6000 22 | SKYPE : hjojohan@skype.commailto:hjojohan@skype.com johan@gpslogik.commailto:johan@gpslogik.com?subject=GPSlogik.se | http://www.gpslogik.sehttp://www.gpslogik.se/ | Kart applikationhttp://map.gpslogik.se/ | Gilla oss på FBhttps://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fgpslogik&width=292&colorscheme=light&show_faces=true&border_color=%23fff&stream=false&header=false&appId=208999289166602
GPSLogik AB är ett företag som under lång tid arbetat fram en GPS-positioneringsplattform anpassad för den svenska marknadens behov. GPS Logiks kartsystem XTRAKK ger dig alltid svar på frågor som innehåller ord som –Vem, -Vart, -När och – Hur.
[hajfajv]
From: ekwus [mailto:notifications@github.com] Sent: den 6 augusti 2018 23:50 To: ekwus/ALoRa Cc: Johan Ansgariusson; Author Subject: Re: [ekwus/ALoRa] The provided sample code goes into BREAK mode when data arrives from TTN (#3)
Hi
I'm not able to test this out just now as the kit I was using to generate the temperature feed had to be re-purposed for another project.
I take it you are connecting to your own TTN application? I guess I'd look first at the type/length of data that is being sent with the message. If your happy to share your application and key I will try and debug it from this end.
Cheers
Dave
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ekwus/ALoRa/issues/3#issuecomment-410863907, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGCz6mepCjqy9W1Qes5dLgi4VET0EUIWks5uOLn3gaJpZM4Vv3JJ.
I also implemented your library, as far as I can see it works properly, also when new data arrives.
Sometimes it breaks on parsing an empty datetime object @ekwus. Made a screenshot of it here: https://i.imgur.com/2AAAYrF.png
Reason is a gateway which is not returning a value for "time": https://i.imgur.com/qQKnbDY.png
I've used this solution and it's working properly now. I will add it to this repository 👍 .
Hey Guys
Thanks for the update, the new Nuget package has been published so you can update and test again if your not using the source code directly.
I've got the test console app running just now with the keys from above and I'm receiving data from TTN without any issues. Do you know what the failure period was roughly?
I've also ordered replacement hardware so should get the test/demo feed back online in the next few days.
Cheers
Dave
Hi I tried your Alora , unfortunately the provided sample code stops executing when new data from TTN arrives. Error message "Your app has entered a break state, but there is no code to show because all threads were executing external code (typically system or framework code)."
Send me a email to johan.stenstrm@telia.com if you know how to fix this ?