Comments (6)
You cat see your data on Device Data. Just as bellow:
from rak_common_for_gateway.
Hi Taylor,
Thanks for your reply. I can see it already.
But don't you think that it is quite troublesome that we always need to expand it to see the data?
Is there a way to see the data at a glance, like in a page?
I tried to use influxDB and Grafana. I am able to see the data in the table form. But the graph can't be plotted out. I don't know why. I am using Grafana v8.1.2.
Hope to hear from you soon.
Regards,
from rak_common_for_gateway.
I think you will find where you are looking at the data is intended for debugging purposes.
the RAK gateway forms a small part of a overall system, as does chirpstack.
What you are posting to in reference here is off topic, and should be placed elsewhere.
You need to look at designing a overall solution. you have the RF side working, you have chirpstack working. its time to take the data from chirpstack and store and retreive it. which are completely separate elements.
perhaps you should be asking in a influx or grafana community.
from rak_common_for_gateway.
Yes, influxDB and Grafana can do this work. You should decode your data into object data as https://github.com/RAKWireless/RUI_LoRa_node_payload_decoder
If you configure chirpstack integration with influxDB, the decoded data will be restored in infuxDB. Then you can use grafana connect influxDB and display the data.
from rak_common_for_gateway.
Hi Enric,
Thanks for your reply. I did as what you mentioned. Just that the data can't be plotted out in graph form. Could it be my javascript problem?
This is my javascript Decode function
function Decode(fPort, bytes, variables) {
if(bytes.length == 1) {
if(bytes[0] == 1) {
return {
'button': 'activated'
}
} else {
return {
'error': 'button action unknown'
}
}
} else {
var pkFreq = '';
var cnt;
for (cnt = 0; cnt < bytes.length; cnt++) {
if ((bytes[cnt] >= 48) && (bytes[cnt] <= 57)) {
pkFreq += String.fromCharCode(bytes[cnt]);
}
}
return {
'pkfrequency': pkFreq
}
}
}
Could it be something left out and causes the graph can't be plotted?
Regards,
from rak_common_for_gateway.
Hi Taylor, Enric and Scobber,
I found the cause of why graph can't be plotted.
It is because my variable pkFreq has to be in number. Currently it is in string form. That's why it can't be plotted.
I have to convert it to number like this
'pkfrequency': parseInt(pkFreq)
Then it can be plotted out.
Thanks so much for your guidance.
Regards,
from rak_common_for_gateway.
Related Issues (20)
- spam to syslog HOT 2
- systemd-timesyncd.service not working HOT 2
- RAK 2287 USB (current repo on RPi4B) - MCU version mismatch (expected: 00.02.06, got:V01.00.00) and a following ACK type error + read REQ_MULTIPLE_SPI ack HOT 3
- RAK2245 Pi Hat + Raspberry Pi 4 - Access Point HOT 6
- multi-homed configuration (to serve TTN v3 and Gateway_RS (helium) HOT 2
- rak-gateway password HOT 1
- RAK 2287 + PI Errors running forwarder HOT 3
- RAK2247 integration through SPI
- RAK7243 No EU 433Mhz Channel Plan option
- Configuration for US Channels (1-7, 64)
- Add unattended installer and setup HOT 1
- Update for Chirpstack v4
- RAK833 module won't power up when connected via mini PCI-E USB adapter to a Raspberry Pi 3B+ module. HOT 2
- Failed to disable unit: Unit file hciuart.service does not exist. HOT 2
- RAK5146 SPI AS923 enable LBT
- How to enable LTE on RAK-5146 with Raspberry
- Support for the WisLink Lora RAK2243 Ver A
- MQTT Integration with Chirpstack
- RAK5146 - Inconsistent Tx gain Look-Up-Table (LUT) values across AS923
- AP won't start
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rak_common_for_gateway.