8000 GitHub - llluis/ld2410mqtt: Daemon for ld2410 sensor reporting through MQTT on the Raspberry Pi under python3
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Daemon for ld2410 sensor reporting through MQTT on the Raspberry Pi under python3

License

Notifications You must be signed in to change notification settings

llluis/ld2410mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ld2410mqtt

Daemon for ld2410 sensor reporting through MQTT on the Raspberry Pi under python3

  • This code uses the vjsyong's LD2410 Interface for Python code to communicate with the ld2410 sensor attached to a raspberry pi serial and report the results over MQTT.
  • MQTT daemon is a modified version of mqtt-hass-base.
  • The daemon uses pyyaml to read an .yaml file to get information on the MQTT server to contact.

I am currently running this code on a raspberry pi zero 2 W.

Requirements

  • Python 3.7+ (tested on 3.9 and 3.12)

See requirements.txt for the packages that are required beyond stock python3 to get this running.

Installation

Install the necessary system dependencies:

sudo apt-get install python3-venv python3-pip

Then run the install script:

script/setup

Running

Run script:

script/run

About

Daemon for ld2410 sensor reporting through MQTT on the Raspberry Pi under python3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0