当前位置: 首页 > news >正文

可以用自己的电脑做网站主机做网站都需要什么资料

可以用自己的电脑做网站主机,做网站都需要什么资料,可以制作试卷的app,网站建设人才简历搭建thingsboard物联网云平台花了大量时间#xff0c;从小白到最后搭建成功#xff0c;折磨了好几天#xff0c;也感谢网友的帮助#xff0c;提供了思路最终成功搞定#xff0c;特此记录。 一、thingsboard环境搭建#xff08;Ubuntu20.04LTS#xff09; 参考官方文档从小白到最后搭建成功折磨了好几天也感谢网友的帮助提供了思路最终成功搞定特此记录。 一、thingsboard环境搭建Ubuntu20.04LTS 参考官方文档按部就班操作即可 http://www.ithingsboard.com/docs/user-guide/install/ubuntu/ 二、thingsboard-gateway环境搭建 也是参考官方文档直接安装 Step 1. Download the deb file wget https://github.com/thingsboard/thingsboard-gateway/releases/latest/download/python3-thingsboard-gateway.debStep 2. Install the gateway using apt Install ThingsBoard IoT Gateway as package and run it as daemon use the following command:   sudo apt install ./python3-thingsboard-gateway.deb -yThe deb package will automatically install the necessary libraries for the IOT Gateway to work: System libraries: libffi-dev, libglib2.0-dev, libxml2-dev, libxslt-dev, libssl-dev, zlib1g-dev, python3-dev, python3-pip.Python modules: importlib, importlib-metadata, jsonschema, pymodbus, lxml, jsonpath-rw, paho-mqtt, pyserial, PyYAML, simplejson, pyrsistent. Step 3. Check gateway status systemctl status thingsboard-gateway 修改配置文件/etc/thingsboard-gateway/config/tb_gateway.json {thingsboard: {host: 127.0.0.1,port: 1883,remoteShell: false,remoteConfiguration: true,statistics: {enable: true,statsSendPeriodInSeconds: 3600,configuration: null},deviceFiltering: {enable: false,filterFile: list.json},maxPayloadSizeBytes: 1024,minPackSendDelayMS: 200,minPackSizeToSend: 500,checkConnectorsConfigurationInSeconds: 60,handleDeviceRenaming: true,security: {type: accessToken,accessToken: ke6h88w6f0fssjaq4s9e},qos: 1,checkingDeviceActivity: {checkDeviceInactivity: false,inactivityTimeoutSeconds: 200,inactivityCheckPeriodSeconds: 500},ts: 1721138363329},storage: {type: memory,read_records_count: 100,max_records_count: 100000,data_folder_path: ./data/,max_file_count: 10,max_read_records_count: 10,max_records_per_file: 10000,data_file_path: ./data/data.db,messages_ttl_check_in_hours: 1,messages_ttl_in_days: 7,ts: 1721138363329},grpc: {enabled: false,serverPort: 9595,keepaliveTimeMs: 10000,keepaliveTimeoutMs: 5000,keepalivePermitWithoutCalls: true,maxPingsWithoutData: 0,minTimeBetweenPingsMs: 10000,minPingIntervalWithoutDataMs: 5000,keepAliveTimeMs: 10000,keepAliveTimeoutMs: 5000},connectors: [{type: modbus,name: MODBUS CONNECT,configuration: modbus_serial.json}] } mqtt_modbus.json配置 {master: {slaves: [{type: serial,method: rtu,port: /dev/ttyS1,baudrate: 9600,timeout: 35,stopbits: 1,bytesize: 8,byteOrder: BIG,wordOrder: BIG,retries: true,retryOnEmpty: true,retryOnInvalid: true,pollPeriod: 5000,unitId: 1,deviceName: Modbus Temperature Sensor,sendDataOnlyOnChange: false,connectAttemptTimeMs: 5000,connectAttemptCount: 5,waitAfterFailedAttemptsMs: 300000,attributes: [{tag: 16int,type: 16int,functionCode: 4,objectsCount: 2,address: 3}],timeseries: [{tag: temperature,type: 16uint,functionCode: 4,objectsCount: 1,address: 1},{tag: humidity,type: 16uint,functionCode: 4,objectsCount: 1,address: 2}],attributeUpdates: [{tag: shared_attribute_write,type: 32int,functionCode: 6,objectsCount: 2,address: 29}],rpc: [{tag: setValue,type: 16int,functionCode: 6,objectsCount: 1,address: 1},{tag: getValue,type: 16int,functionCode: 3,objectsCount: 1,address: 2}]}]},id: 19c7e3fa-bfd8-4edb-9590-1fd570902b35 } 三、modbus slave配置 在命令行重启网关 sudo  systemctl restart thingsboard-gateway.service 云平台就会出现Modbus Temperature Sensor这个设备 四、新建调试界面对设备进行调试 终于通信成功
http://www.eeditor.cn/news/123126/

相关文章:

  • 美术馆网站的建设流程淘宝网站建设模板免费下载
  • 承德网站制作的流程个人网页设计需求分析怎么写
  • 如何制作企业网站策划公司怎么找客户
  • 常平网站关于产品网站建设的问题
  • 网址查询网站线上营销推广渠道
  • 上海建网站公司百度爱采购推广平台
  • 利用模板如何制作网站wordpress前端验证
  • 网站建设综合实训ppt怎么到国外网站去接模具订单做
  • 镭拓网站建设成都网站建设贴吧
  • 关于加强网站建设和管理的通知社交做的最好的网站有哪些
  • 建设网站需要的编程重庆网站建设挑夹夹虫
  • 便宜机票的网站建设做一个属于自己的网页
  • 建手机端网站什么叫网站前台
  • 集团网站风格建设个电商平台网站需要多少钱
  • 做外卖骑手用哪个网站邯郸做移动网站的地方
  • 网站建设业务越做越累长春个人网站制作公司
  • 兰州建设局网站wordpress指定分类文章列表
  • 做瞹瞹瞹视频免费网站像网站的ppt怎么做的
  • 常德红网官网网站做网站的开场白
  • 中集建设集团有限公司网站网站制作系统
  • 上传软件的网站白云区住房和建设水务局网站
  • 二手车网站模版怎么做高端网站
  • 怎么用优盘做网站登录密钥wordpress改网站地址
  • 小企业网站建设多少钱苏州知名高端网站建设机构
  • 做挂件的网站室内装修设计软件app
  • 网站做下子压缩文件的链接农林行业网站开发公司
  • 国外做任务的网站沙洋建设局网站
  • 海外转运网站建设c2c的典型代表有哪些
  • wordpress三站合一好用的企业邮箱
  • 计算机专业哪个专业比较好就业网站优化哪个公司好