Best way to turn RaspberryPi become Dashboard - raspberry-pi

I am new with this Pi device and just got an Pi 3 Model B. I would like to make a small project with it by turning it to become a dashboard to display some data which get from the server. To do this I have a server running on my laptop which will provide the data. Then I create an html page to draw the dashboard, I draw using highcharts tool. Finally I display the result on the Pi (connected with a monitor using HDMI cabel) by just using its web browser and access to the html page and then the result will be displayed on the monitor.
But what I realise at the end is that I just use the web browser of the Raspberry Pi to display the dashboard and this was not dealing much with the programming of the Raspberry Pi. Therefore I would like to ask that is there any other ways to program with the Pi so that it can connect with the server, get the result and then display the result in a chart as a dashboard. This sound better than my solution as using the Pi as a programming tool instead of displaying tool.
Thank you so much

Related

Is it possible to bypass the Wi-Fi confirmation pop-up for this Raspberry Pi application

I tried to articulate my question better but that was my best. Basically I want to make a headless setup for a Raspberry Pi and want it to connect Wi-Fi automatically to be used for an MQTT application.
My challenge is, I most of the time work in a cafe shop and it requires user to push/confirm a button(no password needed) as shown below, to be able to connect to internet. And after certain hours it will drop you from internet you need to repeat the same again.
In this case is there any setup that would by pass this step?

How do I create a Near Edge computing system? (Send sensor data with Raspberry Pi/DHT11 sensor)

I am working on edge computing for IoT applications and expected to create a system that acts as a near edge computer with the use of a raspberry pi hooked up to a dht11 sensor. How do I send this data over to a computer that is at the edge? Ideally I want to use my PC as this device but I have no clue how to send this data over in real time.
So far I have created the circuit and can view the temperature and humidity readings on the raspberry pi in python. Unsure of what the next steps are - I don't want to send this data over to the cloud just yet.
Side note: I believe i may be missing knowledge regarding this but is the raspberry pi an edge device because it is hooked up to the sensor directly?
Any help is greatly appreciated.
You need to think this through a bit more. What will you do with the temperature and humidity data that you receive?
For example, if you're just experimenting and want to just see the readings in a console on your PC, you can use netcat to send the console output of your Python program from the RPi to PC. No SW development needed, they just have to be in the same network. Not particularly useful for anything else, either.
Otherwise you need to set up some client-server solution between the RPi and your PC. There's a ton of possible solutions, all depending on what you plan to do with the data. You can use MQTT, HTTP, a straight database connection (MySQL, PostgreSQL), etc. You have to supply both sides of the connection. The Python code on client side which connects and sends data; and the server side thing that accepts the samples and stores them somewhere. Plus all the networking, authentication etc.
Or you can just download the Python client libraries for your favourite cloud solution and set that up according to a tutorial. TBH, this sounds a lot less work to me.

Application design recommendations for embedded Raspberry Pi with screen reading GPIO & i2c

I am creating a simple car dashboard cluster using a Raspberry Pi 4 with a 7in screen and using an 8 channel ADC hat and the GPIO pins for sensor input.
The GPIO pins will be used to read the state of various switches in the car using a step down converter so that when a switch is on 12v from that switch will be converted to 3.3V and send to a GPIO pin so it will be high.
The ADC will be used to read the values of various 5V sensors in the car like oil pressure, coolant temp etc.
The screen is a basic HDMI 7in screen with the Pi mounted behind it and I plan to 3D print a new gauge cluster bezel to fit everything into the stock location. I have a Mausberry power controller so that the Pi will turn on with key on and turn off again with key off. I have modified the Pi so it boots from SSD and starts up pretty quickly.
I have used simple Python programs to read the data from the ADC over i2c and the GPIO pins and output it, no issues there. I have found a nice Javascript based library called Justgage which looks like a great way to display my data in a simple HTML page and have designed my page layout with the various gauges and lights that will eventually have the data read from the ADC or GPIO pins.
What I need some advice on is how best to architect the overall solution, I have all the various parts but need to integrate them. I want to minimise the amount of software running on the Pi so it boots quickly.
At the moment when the Pi boots it auto loads Chromium and opens my page I have created but I need a method to be able to read the i2c and GPIO data and then refresh the elements in the HTML page. The Justgage library supports refreshing the data so that I don't have to refresh the page and would like a method to read the data every second or so and then call the Justgage refresh function.
All the examples of this sort of model I can see online use a webserver running on the Pi but as the screen is directly connected to the Pi I don't actually need a webserver and would like to minimise the amount of software running for reliability and boot times.
Sorry for the long first post and appreciate any guidance. Happy to post the HTML if that would be of any help.
Cheers
Matt.

Raspberry Pi Home Automation (HUB)

I have been experimenting with home home automation and want to turn my raspberry pi 3 into a hub not something my devices manually connect to e.g from the gpio pins. In many unsuccessful attempts I have tried OpenHab. I would like to mount a touchscreen with a GUI so I can e.g turn the lights on from this control panel instead of via phone or other hubs available like Google Home. If anyone knows how I might do this it will be much appreciated.
It seems like home-assistant with floorplan would work for this. It takes a little bit of configuring but well worth it.

Raspberry Pi Touchscreen Chromium Gestures

I have a Raspberry Pi 3, running Raspian OS and connected to the official 7" Raspberry Pi touchscreen. The Pi is used to display a information dashboard, built using the Dashing framework. The dashboard is displayed in Chromium and made full screen using the F11 key.
As it stands, the dashboard Pi works well. However, I would like to utilise the touchscreen more. My thoughts are to display multiple Dashing dashboards within a single instance of Chromium, each dashboard being displayed in a different tab, and use touchscreen gestures to switch between them. Something like a 3-finger swipe to switch between Chromium tabs, and hence dashboards, would be ideal.
Any thoughts on how I can do this? A quick google shows very little to do with gestures with the Raspberry Pi touchscreen.
Mark