Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem uploading lua files #43

Closed
covra opened this issue Aug 28, 2018 · 5 comments
Closed

Problem uploading lua files #43

covra opened this issue Aug 28, 2018 · 5 comments

Comments

@covra
Copy link

covra commented Aug 28, 2018

I am trying to build a single channel lora gateway with a Lorago dock v1.1 board(ESP8266 and SX1276) and trought ttn I arrived to this repository. It seems exactly what I want, but, I found some problems:

  • I am uploading lua files with ESPlorer tool, because I dont know how python works very well... Should have I a problem using this tool?

  • I gave 4 "succes uploading" (one for each lua file in src folder), but when I reset the board I get:

"Node custom build by....... ......no config found, use default values" ... and nothing else...

any idea? thank you in advance!

@JaapBraam
Copy link
Owner

Have you done the configuration steps described in the Readme?

@covra
Copy link
Author

covra commented Aug 29, 2018

The only step I had to change was the uploader software, I used ESPlorer tool instead

nodemcu-uploader.py

even I could see the 4 files uploaded, but "...no config found, use default values" message repeated.... ;(

Other question: I have been reading the "1 channel gateway" posts and it is said that TTN doesnt support 1cgw's (one channel, SF, downlink messages.. etc) ... this firmware works anyway? i am getting mad cause I have two nodes for testing and I have not none gateway near. This code is "my last chance" (I tried other codes and this seems the most complet)

thank you again!

@JaapBraam
Copy link
Owner

Have you configured the wifi connection as described in 'Register your wifi network'? When the gateway starts it first connects to your wifi network. It will not show any responses until a succesfull connection is made.

It looks like your gateway cannot establish a connection to your network. Check your wifi credentials...

@covra
Copy link
Author

covra commented Aug 29, 2018

OOOhh! Thank you very much!! I wasnt able to undestand the "readme" filr :(. In addition I didnt know how lua scripts work. All ritght, I set the lua wifi comands and, at least! I have a gateway on green connected :)
Now I have to configure well two gps beams (TTGO T-beam & DeuxVis/Lora-TTNMapper-T-Beam) in order to link them with the gw...

One more question... Should I see the way to modify the firmware of these nodes to work only in one channel? they use lmic, arduino library

Thanks in advance!!!

@JaapBraam
Copy link
Owner

It should not be necessary to modify your nodes. Just be aware that this gateway will not be able to receive all messages. When using OTA on your node, it will transmit on one of 3 frequencies, so you will have a chance of 1 in 3 that your gateway will receive the OTA request. Your node will try all three frequencies, so be patient, it will get activated.
When your gateway receives the OTA request TTN will send an OTA respose to the node using your gateway. Your will be connected to TTN now, and will start sending messages. It typically will use one of 8 frequencies of which only one will be received by your gateway so you will have a chance of 1 in 8 that your gateway receives the message. Again: be patient, some messages will be received.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants