All Projects → IoTServ → McuNode-server

IoTServ / McuNode-server

Licence: MIT license
McuNode 私有服务器

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
lua
6591 projects
HTML
75241 projects
go
31211 projects - #10 most used programming language
shell
77523 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to McuNode-server

Automated Irrigation System
This is the software of an open source automated irrigation system. The complete setup including hardware can be found in the README.
Stars: ✭ 442 (+1281.25%)
Mutual labels:  nodemcu
Esp8266scheduler
ESP8266 Co-operative Multitasking
Stars: ✭ 93 (+190.63%)
Mutual labels:  nodemcu
Openmqttgateway
MQTT gateway for ESP8266, ESP32, Sonoff RF Bridge or Arduino with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility, SMS & LORA.
Stars: ✭ 2,413 (+7440.63%)
Mutual labels:  nodemcu
Nodemcu Firmware
Lua based interactive firmware for ESP8266, ESP8285 and ESP32
Stars: ✭ 6,884 (+21412.5%)
Mutual labels:  nodemcu
Nodemcu Espress
Ultra-Lightweight and modular Node.js express like http server for NodeMCU. web - ESP8266
Stars: ✭ 39 (+21.88%)
Mutual labels:  nodemcu
Esp8266
ESP8266 NodeMCU Workshop
Stars: ✭ 109 (+240.63%)
Mutual labels:  nodemcu
Nodemcu Httpserver
A (very) simple web server written in Lua for the ESP8266 firmware NodeMCU.
Stars: ✭ 369 (+1053.13%)
Mutual labels:  nodemcu
Esp Lisp
Beta: A small fast lisp interpeter for a ESP8266 as alternative to lua on the nodemcu.
Stars: ✭ 236 (+637.5%)
Mutual labels:  nodemcu
Nodemcu Arduino Pixel Driver
Streaming Led pixel control
Stars: ✭ 81 (+153.13%)
Mutual labels:  nodemcu
Esp8266 wifi captive portal
🔑 WiFi captive portal for ESP8266 for phishing WiFi passwords
Stars: ✭ 165 (+415.63%)
Mutual labels:  nodemcu
Openwifidetectoresp8266
MASLOW: an Open WiFi Detector with ESP8266
Stars: ✭ 15 (-53.12%)
Mutual labels:  nodemcu
Nodemcu Pyflasher
Self-contained NodeMCU flasher with GUI based on esptool.py and wxPython.
Stars: ✭ 948 (+2862.5%)
Mutual labels:  nodemcu
Swifitch
Swifitch is ESP8266 based relay board that could be used to turn any light or any wall socket into smart one!
Stars: ✭ 117 (+265.63%)
Mutual labels:  nodemcu
Esp Mqtt Json Digital Leds
(OBSOLETE) ESP8266 MQTT JSON Digital LEDs for Home Assistant
Stars: ✭ 503 (+1471.88%)
Mutual labels:  nodemcu
Lorawangateway
A LoRaWan Gateway in LUA
Stars: ✭ 197 (+515.63%)
Mutual labels:  nodemcu
Openiothub
💖A free IoT (Internet of Things) platform and private cloud. [一个免费的物联网和私有云平台,支持内网穿透]
Stars: ✭ 371 (+1059.38%)
Mutual labels:  nodemcu
Docker Nodemcu Build
Docker image to build NodeMCU firmware for the ESP8266 on your machine
Stars: ✭ 106 (+231.25%)
Mutual labels:  nodemcu
Nodemcu Tool
🔧 Upload + Manage Lua files on NodeMCU
Stars: ✭ 248 (+675%)
Mutual labels:  nodemcu
Awesome Esp
📶 A curated list of awesome ESP8266/32 projects and code
Stars: ✭ 212 (+562.5%)
Mutual labels:  nodemcu
Configmanager
ESP8266 Wifi connection and configuration manager.
Stars: ✭ 149 (+365.63%)
Mutual labels:  nodemcu

Please use https://github.com/OpenIoTHub/OpenIoTHub for remote control

当前项目已经封存,请使用 https://github.com/OpenIoTHub/OpenIoTHub 来获得esp8266等的设备的远程访问能力

McuNode-server

Free servers who use this program list :

McuNode server side,McuNode私有化服务端(ThreeFileVersion Recommend)

powered by BeeGo Firmwork

运行需要同时把对应架构的二进制程序和static与views两个文件夹放在同一个文件夹中

MCUNODE连接此服务端的8001

浏览器打开 http://127.0.0.1:<80/8080>/ 或者对应的公网ip

NODEMCU推荐使用https://github.com/IoTServ/McuNode-Lib 连接,该库集成了两种功能在一起并存

 当然你也可以使用分开的程序来定制自己的程序,https://github.com/IoTServ/McuNode

树莓派请使用LinuxArm和两个文件夹 或者你使用单文件的版本

##McuNode简介:

总览:

McuNode是一个主要针对于NodeMcu的服务端(包含在NodeMcu上运行的支持库),使用者可以运行自己的服务端为自己nodemcu提供云支持,当然你也可以将此服务端提供给他人使用,当前服务端由go语言编写理论上一般单核服务器可以支持多达几万的nodemcu同时连接提供服务。本项目主要支持如下功能:

  • 提供在线IDE功能(IDE提供一个基于web的云串口功能,完全实现原本的串口的lua解释器的访问功能;并且提供远程Lua程序升级功能实现基于互联网的完全的控制能力) image image
  • 提供一个类似于Nginx的web代理功能,它可以通过一个可以通过互联网访问的服务器访问nodemcu提供的网页,以此nodemcu编写的web server不仅可以在局域网可以访问,更重要的是McuNode-Lib还提供了一个很棒的文本框架帮助你完成这项工作,包括参数获取和模板文件的渲染等 image image

使用方法:

local mcunode = require "mcunode"
mcunode.connect("<id>","<server-ip>","<ssid>","<wifi-password>")  --自定义ID和使用的服务器地址(域名或ip),然后就是连接的热点信息

复杂一些的例子:

local mcunode = require "mcunode"

--url:http://mcunodeserver-ip/proxy/<your-id>/gpio?pin=1&val=0
--return:status=success
mcunode.handle("/gpio",function(req,res)
	local pin = req.getParam("pin")
	local val = req.getParam("val")
	if( pin ~= nil) and (val ~= nil) then
		print("pin: "..pin .." , val: " ..val)
		gpio.mode(pin, gpio.OUTPUT)
		gpio.write(pin, val)
		res.setAttribute("status","success")
	end
	return res
end)
mcunode.handle("/test",function(req,res)
	local name = req.getParam("name")
	res.setAttribute("name",name)
	res.body="wodename:{{name}}"
	return res
end)
--url:http://mcunodeserver-ip/proxy/<your-id>/index.html?name=farry&work=student
mcunode.handle("/index.html",function(req,res)
  local name = req.getParam("name")
  res.setAttribute("name",name)
  local work = req.getParam("work")
  res.setAttribute("work",work)
  res.file = "indextpl.html" -- ... <h1>{{name}}</h1> ...
  return res
end)
mcunode.connect("<id>","<server-ip>","<ssid>","<wifi-password>")

以上的复杂一些的例子需要一个模板文件indextpl.html,内容如下:

<h1>HELLO Farry</h1>
{{name}}:{{work}}
<h1>HELLO Farry</h1>
<h1>HELLO Farry</h1>
<h1>HELLO Farry</h1>
<h1>HELLO Farry</h1>
<h1>HELLO Farry</h1>

这个模板会被注册为/index.html的地址所使用,持续中先从URL中获取两个参数然后将两个参数又渲染到模板反馈给用户

而且以上两个程序已经同时支持了在线IDE的功能

非常希望 有人能提供运行本服务端的实例给大家使用,如果有请与我联系,我将在这里提供相关信息

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].