Rafael
Forum Replies Created
-
AuthorPosts
-
December 7, 2023 at 11:54 am in reply to: Is it possible to filter packets when using Basics Station? #33602RafaelParticipant
Ok, thank you!
December 6, 2023 at 11:33 am in reply to: Is it possible to filter packets when using Basics Station? #33600RafaelParticipantHi Jason, thanks!
Apparently, TTI has not implemented it yet:
https://github.com/TheThingsNetwork/lorawan-stack/issues/3909
But they do mention this problem in the documentation:
“In general, a gateway will receive all other LoRaWAN and non-LoRaWAN traffic from neighbouring devices, and it will forward that traffic to the Network Server. When it comes to filtering unwanted sensor data at the gateway level, users might consider using a gateway with a whitelisting function. This function can effectively reduce data traffic and operational costs. Please contact your gateway’s manufacturer for additional info.”
Is there another method for filtering packets while using a cloud-based LNS?
RafaelParticipantIt worked! Thank you!
September 10, 2021 at 3:40 pm in reply to: Custom Node.js app on v5.3.3: downgrade or use node-red-custom-app? [MTCAP-L4E1] #32127RafaelParticipantHi Jeff,
Thank you!
So, just to make it clear: it’s not possible to downgrade from v5.3.3 to v5.2.x? (MTCAP-L4E1-868-001A)
Rafael
November 2, 2020 at 11:55 am in reply to: Custom App not starting automatically after installation/reboot [MTCAP-L4E1] #31291RafaelParticipantOk, so I did what you said:
run-app &
in theStart
script andnode app.js > /dev/null 2>&1 &
in therun-app
script. And now, after starting the app with app-manager, it runs in the background:admin@mtcap:/var/config/app/app-name$ sudo app-manager --command start --appid APPID AppCommand::executeStartScript: executing: /var/config/app/app-name/Start start Success! admin@mtcap:/var/config/app/app-name$
And these are the logs in
/var/log/messages
:2020-10-30T19:24:26.319473+00:00 mtcap APPMANAGER: AppCommand::getBasePathFor: unknown app type. Defaulting to custom 2020-10-30T19:24:26.319976+00:00 mtcap APPMANAGER: AppCommand::getBasePathFor: unknown app type. Defaulting to custom 2020-10-30T19:24:26.320385+00:00 mtcap APPMANAGER: AppCommand::getBasePathFor: unknown app type. Defaulting to custom 2020-10-30T19:24:26.333177+00:00 mtcap APPMANAGER: AppCommand::executeStartScript: executing: /var/config/app/app-name/Start start 2020-10-30T19:24:26.477978+00:00 mtcap APPMANAGER: AppDataDB::SetAppData: updating app info in /var/config/AppManager.json with appId: APPID 2020-10-30T19:24:26.486483+00:00 mtcap APPMANAGER: Exiting with success status
But the application still doesn’t start after rebooting the gateway (our main problem). Any other ideas on how to solve this problem?
Thanks,
Rafael
November 2, 2020 at 10:47 am in reply to: Custom App not starting automatically after installation/reboot [MTCAP-L4E1] #31289RafaelParticipantIt only runs another shell script:
function ExecuteStart { echo "ExecuteStart:" ./run-app }
And
run-app
looks like this:nohup node app.js &
Thanks,
Rafael
November 2, 2020 at 8:51 am in reply to: Custom App not starting automatically after installation/reboot [MTCAP-L4E1] #31284RafaelParticipantHi Jeff,
We don’t use an SDCard and the application is installed in:
/var/config/app/app-name
.Output of the app-manager start command:
admin@mtcap:~$ sudo app-manager --command start --appid APPID Password: AppCommand::executeStartScript: executing: /var/config/app/app-name/Start start
After that, the application runs correctly and there are no more logs. But it doesn’t run in the background. After running the start command, I can’t use the terminal anymore. I don’t know if that’s normal, in the Start script we run the node app using
nohup
.Thanks,
Rafael
October 30, 2020 at 3:33 pm in reply to: Custom App not starting automatically after installation/reboot [MTCAP-L4E1] #31282RafaelParticipantHi Jeff,
Here it is:
admin@mtcap:~$ cat /var/config/AppManager.json { "Apps" : [ { "AppDescription" : "...", "AppId" : "<APPID>", "AppInfo" : "Not Available", "AppName" : "app-name", "AppType" : "CUSTOM", "AppVersion" : "8.3", "AppVersionNotes" : "...", "Enabled" : true } ] }
Thank you,
Rafael
-
AuthorPosts