weather-monitor | A Raspberry Pi based Weather Monitor
kandi X-RAY | weather-monitor Summary
kandi X-RAY | weather-monitor Summary
A weather monitor using a Raspberry Pi, BMP085 and DHT22 sensor, uploading to IoT platform ThingSpeak and Slack using their web apis. After you've got it working you could set the filesystem to read only to save SD card wear (or like me just disable swap and log to RAM:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Open a file
- Send a pigpio command
- Convert a u to an integer
- Return the text for an error
- Callback function
- Return the difference between two values
- Set gpio level
- Set the watchdog timeout
- Issues a SIGPio signal
- Perform an SPI request
- Perform a custom 2 command
- Read i2c block data
- Activate wave
- Open an I2C device
- Send a shell command
- I2C block process call
- Get file list
- Set the hardware clock
- Add data to the pigpio device
- Set gpio frequency
- Open SPI channel
- Binary ZIP command
- Wave chain
- Add a pulse message
- I2CZ command
- The hardware PWM command
weather-monitor Key Features
weather-monitor Examples and Code Snippets
Community Discussions
Trending Discussions on weather-monitor
QUESTION
i try to setup the LPSTK-CC1352R Launchpad with Node RED and a bluetooth connection. the inbuild sensor is a hdc2080 sensor. I'm not a electronic engineer so the datasheets are a bit confusing to me. I made it to the point, where i have a connection to the MCU via bluetooth and get every second the temperature values. Unfortunately i get these values as a 4 dimensional hex array.
...ANSWER
Answered 2020-Oct-19 at 13:09You have to reorder the hex values from right to left, because the last hex value is not changing, which means it has to be little endian.
4hex are 32-bit
converted to IEEE-754 Floating Point:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install weather-monitor
Starting with Raspbian Jessie Lite, update the system:
Enable i2c by: sudo raspi-config and Interface Options > I2C > Enable And whilst you're in the config program, change your timezone Exit and reboot
Clone this repo and the BMP085 repo:
Install PIGPIO, a library for low level GPIO operations (this repo includes DHT22.py) (http://abyz.co.uk/rpi/pigpio/)
Turn on i2c: Run sudo raspi-config Use the down arrow to select 5 Interfacing Options Arrow down to P5 I2C Select yes when it asks you to enable I2C Use the right arrow to select the button Select yes when it asks to reboot
Install Python Slack Api wrapper:
Add your API keys to config.py
Update root crontab with the following lines to run the thingspeak script every 15 mins and slack update daily:
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page