I am very new in this comunity and have no experiences with IoT and Lora. But i want to install parking sensors with the TTN Gateway and the whole TTN Backend stuff for my master thesis.
Till now i activated and installed the gateway successfully. For another project I activated an temperature sensor and receive the temperature via the gateway, so itâs working. I could write the appEui and the appKey to the sensor via USB cable.
My problem is that the parking sensors havent got a USB Interface, so I cant write the keys on the sensors nor configure them. I ordered the parkins sensors from this page http://www.iotsens.com/sensors_en/smart-parking-sensor-road-surface/ and received them without any installation or configuration instruction. After research I found similar sensors (https://market.thingpark.com/iot-devices/parking-light-sensors/geomagnetic-vehicle-detector-surface-mount#) with a short documentation (https://drive.google.com/file/d/0B6TBYAxODZHHa2pFN0dMWWR6alE/view). The documentation says that the sensors are always sending 5 Bytes, but the gateway is receiving 18 Bytes?!
After activating a parking sensor it sends three times data and remains silent after that. It doesnt sent any join request to which I could reply. Following an example of the payload: â80 52 00 03 70 80 02 00 01 78 9D C8 A9 F2 99 BC 7C A8â.
I want to forward the payload to an application which will forward the data again to a HTTP-Server. Is this possible without a successful join?
Has anyone experience in working with parking sensors and lora or any idea I could get further?
What do you mean with strange story? From the seller?
I allready requested some documentation waiting for response. Maybe someone had similar issues or experiences with parking sensors?
yes ⌠you should get the documentation from this LoRaWAN (?) product.
hope you find/get it soon, without youâll never get it to work on the TTN network.
you probably need a kind of âbridgeâ between these devices and LoRaWAN
The seller replied to me with user manual (1.1 MB) and a table with codes for registering the devices. After registering, setting activation mode to ABP and performing the command
Many thanks for your responses.
I tried to setup a private routing environment and change the gateway sending his data to this backend. But I couldnât find any chance to change the server address except of the router. But I think its not the right way. I used
But I dont receive any up- or downlink at the bridge. After rebooting the gateway it has problems with the config.
Is there any way to use the official TTN gateway in a private environment? It has to be a private one because the TTN broker (I think) drops the the packets.
Hi, yes I contacted the manufacturer and they said that it is NOT possible to change the devAddr of the sensors.
Yes I read the tutorial carefully and get the environment running.
The last problem which was left is changing the gateway sending to my private environment. If this is not possible I have to use another gateway⌠Therefore I need a confirmation that I this is not possible.
So is it right that I can not use the parking sensors with a devAddr beginning with 70 and is it too right that I can not change the official TTN Gateway to use a private backend, which will not drop data from the parking sensors?
If both is right I will send the parkings sensors or the gateway back. I just need a confirmation from someone with experiences.
Correct. Those have not been assigned by the LoRa Alliance, so you could say theyâre âillegalâ. Of course, anyone can do whatever they want, but as soon as they are using the LoRaWAN logo they need to adhere to the rules of the LoRa Alliance.
Note that according to some messages at Slack, apparently Actility/ThingPark Wireless does support whatever DevAddr it gets. But: I would not rely on that unless they explicitly tell you they will keep doing that in the future:
Hey guys, just want to ask some help if someone can point me to a direction where to find the solution.
My problem is this TBS-220 Parking sensor running AS923.
I have a RAK831 gateway running in Raspberry Pi host, and it canât seem to get the data coming from the parking sensor.
I know the sensor is working because it is working in our âthingpark wirelessâ platform, but canât seem to make it work in TTN.
@cruzer I guess you considered this, but in case you did not: if you continue to use Actility then Iâd ask them about support of 0x70 addresses in the long turn, before getting more sensors. Just like TTN, they should only handle their own NetIDâŚ
I donât know:
Your attempts to use @brocaarâs lora gateway bridge with the TTN Gateway are wrong, as the TTN Gateway is simply not using the Semtech protocol, which is what that bridge expects.
I donât expect someone to write firmware for the TTN Gateway to support the Semtech protocol. (Also, right now, I would not know how to load such firmware into the gateway.)
Iâd expect the TTN Gateway to some day support private backends (if those support the protocol that the TTN Gateway uses). But I donât know if itâs already possible today. Maybe it is already possible.
@Dolsch, just for clarification, I would contact the manufacturer asking what is not possible: a) change the DevAddr by yourself, or b) upgrade the firmware of the sensor by yourself. I am just asking because if option b) is possible, then perhaps you could âcreateâ some DevAddr in the TTN console and ask the manufacturer to compile the firmware with those specific DevAddr-s and send them to you, so you could upgrade the sensors firmware by yourself. Of course there is still an option c): you create DevAddr-s in the TTN console and ask the manufacturer to send you sensors with these DevAddr-s programmed in the new sensors. I am almost sure that the manufacturer will happily do this exchange because negative comments in this forum are not really advantageous for businesses that would like to stay long enough in the LoRaWAN based IoT arena⌠But this is just my personal opinion.
And even if the manufacturer does not want to disclose the firmwareâs source code, maybe something like the following would still be an option to allow the user to replace the ABP details: