Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Automated Irrigation System | 558 | 5 months ago | 9 | JavaScript | ||||||
This is the software of an open source automated irrigation system. The complete setup including hardware can be found in the README. | ||||||||||
Openiothub | 411 | a year ago | mit | HTML | ||||||
💖A free IoT (Internet of Things) platform and private cloud. [一个免费的物联网和私有云平台,支持内网穿透] | ||||||||||
Awesome Esp | 402 | 9 months ago | 1 | cc0-1.0 | ||||||
📶 A curated list of awesome ESP8266/32 projects and code | ||||||||||
Nodemcu Tool | 258 | 4 | 4 | 2 years ago | 22 | April 22, 2020 | 9 | mit | JavaScript | |
:wrench: Upload + Manage Lua files on NodeMCU | ||||||||||
Swifitch | 114 | 5 years ago | 6 | other | ||||||
Swifitch is ESP8266 based relay board that could be used to turn any light or any wall socket into smart one! | ||||||||||
Esp8266 | 97 | 6 years ago | Shell | |||||||
ESP8266 NodeMCU Workshop | ||||||||||
Devify Server | 78 | 2 years ago | 1 | March 10, 2016 | 1 | mit | JavaScript | |||
A set of lightweight IoT cloud server boilerplates. The simplest way to build isomorphic JavaScript IoT servers. | ||||||||||
Iot Spot | 74 | 5 months ago | 47 | mpl-2.0 | C++ | |||||
💡An amazing spot of 80+ projects to step your foot into this ocean of "Internet Of things". Dive deep and explore the fiesta of electronics. Broaden your vision at a single go.😎✔ | ||||||||||
Esp32 Eduroam | 65 | 13 days ago | 1 | mit | C++ | |||||
Examples with connection to eduroam powered university networks around the world and then to IoT services or self-hosted websites.. | ||||||||||
Blynk Library Lua | 42 | a month ago | 3 | mit | Lua | |||||
Blynk library for Lua. Works with Lua 5.1+, LuaJIT, NodeMCU. |
Note: The library has been updated for Blynk 2.0
If you like Blynk - give it a star, or fork it and contribute!
Blynk provides iOS and Android apps to control any hardware over the Internet or directly using Bluetooth. You can easily build graphic interfaces for all your projects by simply dragging and dropping widgets, right on your smartphone. Blynk is the most popular IoT platform used by design studios, makers, educators, and equipment vendors all over the world.
Blynk Mobile App:
Google Play |
App Store
Social: Webpage / Facebook / Twitter / Kickstarter
Documentation: https://docs.blynk.io
Community Forum: http://community.blynk.cc
Blynk for Business: http://www.blynk.io
local Blynk = require("blynk.socket")
local blynk = Blynk.new("your_auth_token")
-- callback to run when V1 changes
blynk:on("V1", function(param)
print("V1:", tonumber(param[1]), tonumber(param[2]))
end)
-- callback to run when cloud requests V2 value
blynk:on("readV2", function(param)
blynk:virtualWrite(2, os.time())
end)
local sock = getSocketConnection() -- omitted
blynk:connect(sock)
while true do
blynk:run()
end
You can run the full example:
lua ./examples/client.lua <your_auth_token>
virtualWrite
syncVirtual
setProperty
logEvent
Vn
, readVn
, connected
, disconnected
, redirect
TCP
and secure TLS/SSL
connection supportNodeMCU
or OpenWrt
opkg update
opkg install lua luasocket luasec
# openssl is needed for wget to handle https://
opkg install wget openssl-util libustream-wolfssl
# Get blynk-library-lua from github
cd /root
wget --no-check-certificate -qO- https://github.com/vshymanskyy/blynk-library-lua/archive/v0.2.0.tar.gz | tar xvz
cd blynk-library-lua-0.2.0
# Run it
lua ./examples/client.lua <your_auth_token>
It is very easy to get it running on NodeMCU (or any other ESP8266
/ESP32
-based device):
encoder
, TLS/SSL
modules.nodemcu.lua
example (put your auth token
and wifi credentials)nodemcu-tool
or any other method to transfer lua files to the device./
symbol nicely.nodemcu-tool upload -mck ./blynk.lua ./blynk/pipe.lua ./blynk/nodemcu.lua
nodemcu-tool upload ./examples/nodemcu.lua -n init.lua
dofile("init.lua")
blynk
object is global, so you can call it from the interactive console:
blynk:virtualWrite(1, tmr.time())
sudo apt-get install lua5.3 lua-sec lua-socket
The Timer
is included for demonstration purposes.
Here are also some handy functions:
local function millis()
return math.floor(socket.gettime()*1000)
end
local function delay(msec)
return socket.sleep(msec/1000)
end
This project is released under The MIT License (MIT)