Coder Social home page Coder Social logo

hetaoos / espeasy Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 12.0 1.83 MB

Easy MultiSensor device based on ESP8266 https://github.com/letscontrolit/ESPEasy

C++ 91.16% C 7.74% Shell 0.20% Processing 0.26% CMake 0.18% Makefile 0.03% Ruby 0.04% Python 0.29% Objective-C 0.09%

espeasy's Introduction

ESPEasy

Easy MultiSensor device based on ESP8266 https://github.com/letscontrolit/ESPEasy

How To

修改内容

合并

补丁

控制器

系统

  • 将控制器名称大小从26改为64,因为百度MQTT的用户名比较长!!相关提交
  • MQTT 配置支持设置 Client Id,因为百度MQTT要求Client Id 比较特殊,自动生成的无效或者不方便配置。相关提交
  • 将默认设备最大数量DEVICES_MAX从50改为60 相关提交
  • 将默认每个任务的最大输出变量数VARS_PER_TASK从4改为8 相关提交
  • 增加传感器类型SENSOR_TYPE_*,也就是标明传感器有多少个输出数据的定义:SENSOR_TYPE_PENTASENSOR_TYPE_HEXASENSOR_TYPE_HEPTASENSOR_TYPE_OCTA相关提交

如何编译源码

配置编译环境

PS:主要是对Tutorial Arduino Firmware Upload的简要说明

  • 下载和安装 Arduino IDE
  • 文件-首选项 中,修过附加开发板管理器网址http://arduino.esp8266.com/stable/package_esp8266com_index.json
  • 工具-开发版"xxxx"-开发板管理器 中,搜索 ESP8266 ,选中esp8266 by ESP8266 Community,并选择最新安装。
  • 工具-开发版"xxxx" 中,选择NodeMCU 1.0 (ESP-12E) Module
  • 工具-端口"xxxx" 中,寻找接入NodeMCU后识别的串口。

编译源码

  • 下载或者 clone 源码到本地
  • Libraries 目录下的全部文件拷贝到 文档\Arduino\Libraries目录下
  • 双击打开 ESPEasy\ESPEasy.ino 即可打开 Arduino IDE
  • 更新完成源码后,点击项目-上传,即可编译固件并推送到开发板上

启用自定义设置(可选)

  • 将工作目录下的 Custom-sample.h 复制并命名为 Custom.h
  • 打开 %UserProfile%\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\platform.txt 文件
    • 找到 build.extra_flags 该行
    • 在后面添加参数 -DUSE_CUSTOM_H
    • 注意:路径名根据版本不同,又有些许变化

espeasy's People

Contributors

hetaoos avatar krikk avatar psy0rz avatar td-er avatar thomastech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

espeasy's Issues

arduino Verify / complie fail

作者你好

當我依照readme將library放入對應目錄
然後直接打開ESPEasy.ino
開發板選擇NODEMCU
接著檢查程式時就跳出下列錯誤
感覺應該是分類有問題 但我不清楚該如何修正
可以給個建議方向嗎? 謝謝

WARNING: Category 'LED' in library CHT16K33 LED Matrix Library is not valid. Setting to 'Uncategorized'
WARNING: Category 'Input' in library MechInputs is not valid. Setting to 'Uncategorized'
WARNING: Category 'Input' in library SerialSensors is not valid. Setting to 'Uncategorized'
WARNING: library LiquidCrystal_I2C claims to run on (avr) architecture(s) and may be incompatible with your current board which runs on (esp8266) architecture(s).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.