Skip to content

pastukhov/nodemcu-mqttpir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodemcu-mqttpir

An app for esp8266 mcu with nodemcu firmware It send temperature/humidity from DHT22 sensor and alerts from PIR motion sensor like this. Keep in mind that this sensor use 3.3v logic level, but should be powered from 5v.

##To get it working you should:

  • Define SSID and password in init.lua.
  • Define broker in mqttpir.lua.
  • Wire DHT22 to GPIO5 and PIR sensor to GPIO4 or any other chosen in mqttpir.lua at pir and dht22 variables.

##Upload To upload files you can use Makefile provided, just type make upload

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published