-
Notifications
You must be signed in to change notification settings - Fork 19
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
light spot version #16
Comments
New logs dont have much data, you could count how many per day / hour and how many failed. For showing the single witnesses at least there is RSSI and SNR data available.
|
I am also seeing the witness list report stopped working since light miner deployment. |
@inigoflores will have to adjust his script to the new log format But as I said above there is not a lot of information anymore like before, since no more dialing challengers. All your miner is doing is submitting a witness once to a validator. |
Thanks @steakneedy. Hope the script does get adjusted. |
It is unsuccessful if in the following lines in the log you find this: In the failed line you can compare the RSSI SNR to the "sending witness at" line before (-126 / -10.5). So this has to be implemented in the script to check if submitting the witness has failed. |
Thanks for the input, very useful. I am waiting to gather some data in the logs to make sense of what can be used before I start coding. I agree that, unfortunately, it's not much. I'll try to have a beta version ready in the next 24 hours. In the meantime, depending on your hotspot brand/model, this may work https://github.com/inigoflores/lora-packet-forwarder-analyzer . |
I have now made the changes that will allow the tool to work on light hotspots. Let me know if you find any issues. I will try to add more features if I discover any other useful stuff in the logs. |
That was fast 😄 Great job, can confirm its working with Sensecap logs. Thanks for your efforts. |
Great job, works with controllino just fine. |
How did you install php on Sensecap. I can't figure this out. |
You have to run it inside the container. Instructions here #10 (comment) |
That worked, thank you! |
Hi, Thanks for the script it is very helpful. How easy would it be to add the spreading Factor (SF) variable from a witness? This will help to see if the SNR is actually decent compared to the SF that was used e.g. SF7 used for close hotspots as it provides the best data speeds 5470bps and thus less air time but the min RSSI -125 and SNR -7.5. Where as a witness using SF12 would only have a bit rate of 250 bps but can travel further and min RSSI -137 and SNR -20. In the console logs it appears as the following SF7BW125, SF8BW125,SF9BW125,SF10BW125,SF11BW125,SF12BW125 https://www.thethingsnetwork.org/docs/lorawan/rssi-and-snr/snr-demodulation-limits.png |
I will add the spreading factor to the list (the new miner versions seem to produce more useful log data). However, if I'm not mistaken, PoC beacons are only transmitted using SF12BW125 data rate (I'm in Europe, not sure if it's different in other regions). Please provide log examples of a different data rates for received witnesses (data packets can use any). Thanks |
I think you may be right, I was using the following command "grep -i '{<<"freq">>,' /mnt/data/docker/volumes/x_miner-log/_data/console.log" and I could see lots of SF7 and a few SF12. The SF12 ones match up with witnesses. I think maybe the SF7 traffic was possibly for data transferred packets for IOT devices or P2P. |
I ran a grep on my data and compared it with your results, and apparently you're not capturing everything. With grep I got 235 witness reports, but with your php only 217. I have copies of the output, so you can see the missing items. I highlighted the first 3 that I found missing from your report in an excel spreadsheet. php-data.txt shows the output of your program, so you can compare the output which might help you debug it. Initially, I used the following command, but when I saw a discrepancy in the count, I dug deeper. I hope you find this helpful. I don't know php at all, so I can't really help with the code directly. |
Hello,
There will be a light hotspot version of this analyzer?
Thank you.
The text was updated successfully, but these errors were encountered: