Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

services power-bi
platforms raspberry-pi
author sirui-sun

Building a Real-time IoT Dashboard with Power BI: A Step-by-Step Tutorial

This sample code will read from a DHT22 sensor wired to a Raspberry Pi running Raspbian, and send data to a Power BI dashboard for display. Full walkthrough here.

Running this sample locally on Raspbian

Clone the repository

git clone https://github.com/Azure-Samples/powerbi-python-iot-client

Install dependencies

sudo apt-get install build-essential python-dev
git clone https://github.com/adafruit/Adafruit_Python_DHT.git && cd Adafruit_Python_DHT && sudo python setup.py install

Update uploadDHT22Data.py with your REST API push URL

REST_API_URL = " *** Your Push API URL goes here *** "

Run script

python uploadDHT22Data.py

About

Power BI sample demonstrating use of Python for sending data from IoT devices to Power B dashboards

Resources

Code of conduct

Stars

25 stars

Watchers

10 watching

Forks

Releases

Packages

Contributors

Languages