Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Displaying/Archiving Data on Raspberry Pi  (Read 99 times)

tiffy

  • Kitizen
  • ****
  • Posts: 1077
Displaying/Archiving Data on Raspberry Pi
« on: September 16, 2021, 12:48:48 PM »

As a keen experimenter and big fan of everything "raspberry", my current project is running a data logger & graphical display on a RPI-3B+ (or RPi-4B).
With reference to many on line sources have managed to date to set up "Grafana" with "InfluxDB" as database and "Node-RED" as data bridge, currently just injecting numerical values from "Node-RED" to drive the system and prove operation.

I have a RPi-ZW configured with a BME-280 temperature, humidity & atmos pressure sensor collecting data currently just archieved to a spreadsheet, Wi-Fi connected to LAN.

The objective is to extract/collect the data from the RPi-ZW and input to the data logger for display/archieving.
The message broker of choice is "Mosquitto" MQTT broker, which should connect to the database (InfluxDB) via the data bridge (Node-RED).
Despite many hours of on line searching and experimenting can't establish a method to connect to/extract data from the RPi-ZW for application to the data logging system as described.

Have seen working examples of my requirements using Arduino's as a data source, however, I'am keen to utilise RPi-ZW's and feel that this should be possible, have other similar projects in mind such as domestic power monitoring if I can get the data link working, Grafana has fantastic display capabilities and is open source as are the other 3 packages.

Any help/suggestions appreciated as currently out of ideas!
Logged
Zen 40/10 - DSLStats/RPi3B - ZyXEL VMG1312-B10A Modem/VMG-3925-B10B Router Huawei Cab

Alex Atkin UK

  • Kitizen
  • ****
  • Posts: 2850
    • Thinkbroadband Quality Monitors
Re: Displaying/Archiving Data on Raspberry Pi
« Reply #1 on: September 16, 2021, 11:34:35 PM »

I have a RPi-ZW configured with a BME-280 temperature, humidity & atmos pressure sensor collecting data currently just archieved to a spreadsheet, Wi-Fi connected to LAN.

Interesting, as I was wanting to do this myself, bought a load of sensors then forgot which model they were by the time I was looking into using them. lol
Logged
INTAKE (ECI) 2xHome Hub 5A (OpenWRT) on Zen/Plusnet, 1xHauwei B535-232 on Voxi 4G, 1xHauwei H122-373 on Three 5G Router: pfSense (i5-7200U) WiFi: nanoHD (OpenWRT) + Honor Router 3
My Broadband History & Ping Quality Monitors

tiffy

  • Kitizen
  • ****
  • Posts: 1077
Re: Displaying/Archiving Data on Raspberry Pi
« Reply #2 on: September 17, 2021, 11:42:04 AM »

Making some limited progress using "Mosquitto MQTT Broker" installed on both RPi's, at least managed to establish bi-directional Wi-Fi communication with transferring basic numeric values and messages.

Found these two web sites very helpful regarding understanding and basic configuration of Mosquitto/MQTT protocol:
MQTT with RPi & Arduino
MQTT Tutorial

Still a long way to go but at least keeping the brain cells active!
Logged
Zen 40/10 - DSLStats/RPi3B - ZyXEL VMG1312-B10A Modem/VMG-3925-B10B Router Huawei Cab