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

做网站都需要什么资料湘潭市建设工程质量监督站网站

做网站都需要什么资料,湘潭市建设工程质量监督站网站,推广公司属于什么公司,重庆市建设工程信息网官网施工许可证查询搭建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.hkea.cn/news/14383089/

相关文章:

  • 网站升级应注意的问题做一个跨境电商网站
  • wordpress 门户网站源码wordpress 视频站模版
  • 东莞勒流网站制作简约网站版式
  • php mysql怎么编写视频网站网站更换标题
  • 网站增加权重吗游戏外包公司要不要去
  • 网站后台更新wordpress教程 数据库
  • 汕头潮阳网站建设精美软文句子
  • 顺德区建设局网站做们作业网站
  • 微信做的地方门户网站wordpress saharan
  • 网站建设电影wordpress 产品分类侧边栏
  • 织梦快速做双语网站网站新年特效
  • 京东网站的建设情况wordpress汽车主题
  • wordpress建站容易吗redis wordpress 内存
  • 外贸网站平台推广宜城网站开发
  • 图表生成网站临西网站建设电话
  • wordpress子目录404wordpress站内seo
  • 天津网站推广外包阜阳h5网站建设
  • 欣赏别人做的网站家装设计师培训学校
  • 网站为什么做等保专门做动漫的网站有哪些
  • 如何备份网站程序网站标题在线制作
  • 汇鑫小学网站建设网站开发看掉一些功能
  • 中国建设银行南京分行网站首页学做效果图的网站
  • 河源市住房和城乡建设局网站推广平台
  • 设计色彩的门户网站模板沈阳做网站企业
  • 网站建设空心正方形网页设计什么主题好
  • 唐山网站建设赫鸣科技模板网站建设价位
  • 盐城专业做网站的公司业务员怎样网上找客户
  • 淘宝网站建设特点聊城做网站的公司市场
  • 购物网站的建设时间西安网是科技发展有限公司
  • 深圳大型网站开发大连网站建设 仟亿