TheThingsArchive / ttn

The Things Network Stack V2
https://www.thethingsnetwork.org
MIT License
461 stars 276 forks source link

Downlink to LoRa devices #686

Closed mazareth closed 6 years ago

mazareth commented 6 years ago

Hi everybody. This is a question for an integration.

What do you want to do? use a watteco temp/hum sensor

What steps did you take? Add the device on thethingnetwork, thats work

What went wrong or what is missing? 1 - I don't understand why thethingnetwork send a message with empty payload after the temp or hum frame. Where this message come from? 2 - I want to send configuration message to my device but i don't understand how to do. I try in the dowlink tab... that appear in application data but nothing more... Do you have explanation?

Do you have Screenshots? image

image

image

What kind of OS/Browser/Gateway are you using? Which version? packet_forwarder on pi with picoGW drive thethingnetwork by chrome on windows 7

What are the IDs and EUIs of your Device/Gateway? (if applicable) gateway : eui-414456414e54454e

johanstokking commented 6 years ago

@mazareth thanks for reporting.

  1. Payload on FPort 0 are MAC commands, these are sent by the network server as per LoRaWAN specification;
  2. Seems like you do the configuration right. You can send the downlink by pressing the button. You will see it appear scheduled in the Application Data, and then sent off the next time there's an opportunity to send
mazareth commented 6 years ago

Hi Johan, Thanks for 1.

For 2 - Do you know where the opportunity to send is calculated? What's the Fport change? What's the confirmed checkbox change?

EDIT 11h28 : I think my message was send but 1h13 after... I "think" because i wanted a responce from my device that's not comming... image

johanstokking commented 6 years ago

@mazareth yes, on class A the network has an opportunity to send only directly after an end device's uplink transmission.

I'm closing this issue as I think it is resolved.

Did you know that there's a #support channel on our Slack? Also, there's the public forum.

mazareth commented 6 years ago

@johanstokking no i don't know where i can't ask question. Could you give me a link?

And how can i change the class of the network? One of my device is a class C : http://support.nke-watteco.com/thr/

The others are class A so i have to wait emited frame to send 2 messages, http://www.rfwireless-world.com/Tutorials/LoRaWAN-classes.html

thks.

EDIT : i found the forum EDIT2 : i found youtube video too. EDIT3 : good video, thanks johan

johanstokking commented 6 years ago

Class C is experimental in TTN Stack V2 (this version), but class B and C will be generally available in TTN Stack V3, launched 2018 Q1.

sunfmin commented 6 years ago

Where can I get more information about when TTN Stack V3 will be released? Thanks! @johanstokking

htdvisser commented 6 years ago

See this post on the forum