https://github.com/erictsangx/nodemcu2mqtt-si7021
A zigbee2mqtt-like mqtt-tls client for NodeMcu and Si7021
https://github.com/erictsangx/nodemcu2mqtt-si7021
lua mqtt nodemcu secure si7021 tls zigbee2mqtt
Last synced: 7 months ago
JSON representation
A zigbee2mqtt-like mqtt-tls client for NodeMcu and Si7021
- Host: GitHub
- URL: https://github.com/erictsangx/nodemcu2mqtt-si7021
- Owner: erictsangx
- License: apache-2.0
- Created: 2019-03-21T06:06:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-21T06:52:40.000Z (over 6 years ago)
- Last Synced: 2025-01-24T22:11:59.563Z (9 months ago)
- Topics: lua, mqtt, nodemcu, secure, si7021, tls, zigbee2mqtt
- Language: Lua
- Size: 156 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nodemcu2mqtt-si7021
A zigbee2mqtt-like mqtt-tls client for NodeMcu and Si7021Since I am running [zigbee2mqtt](https://github.com/Koenkk/zigbee2mqtt) and [home-assistant](https://github.com/home-assistant/home-assistant)
on a Raspberry Pi for controlling my IoT devices.It use [MQTT topics and message structure](https://www.zigbee2mqtt.io/information/mqtt_topics_and_message_structure.html) similar to zigbee2mqtt.
i.e. nodemcu2mqtt/nodemcu-si7021 {"humidity":76.67,"temperature":28.60}
## Quick Start
Use dev [nodemcu-firmware](https://github.com/nodemcu/nodemcu-firmware/tree/dev) or you may not able to connect to the mqtt broker with tls support.Edit config-template.lua and rename it to config.lua
Upload all lua files and you are good to go
Read home-assistant.yaml if you need home-assistant configurations
## Pin connections
NodeMcu| Si7021
----|------
3.3v | 3.3v
GND | GND
6 | SDA
5 | SCL
