Skip to content
  • 版块
  • 最新
  • 标签
  • 热门
  • 用户
  • 群组
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠
品牌标识

AIRIOT智慧系统搭建平台经验交流

  1. 主页
  2. 设备接入
  3. 关于数据接口驱动指令不生效问题

关于数据接口驱动指令不生效问题

已定时 已固定 已锁定 已移动 设备接入
帖子 发布者 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • Y 离线
    Y 离线
    yunmoo
    写于 最后由 编辑
    #1

    数据接口设置了指令,能执行成功但是不生效,帮忙看下是什么原因
    f3267dbd-eeea-4b91-9295-3f4f0426a10c-image.png
    05cc1535-01f6-402c-babe-f85e8adf9baf-image.png
    aa09fd98-26a8-4a28-8424-0724a3ee4626-image.png

    1 条回复 最后回复
    0
  • Zhang书书Z 离线
    Zhang书书Z 离线
    Zhang书书
    写于 最后由 编辑
    #2

    点一下调试,发送指令看看右侧信息
    image.png

    1 条回复 最后回复
    0
  • Y 离线
    Y 离线
    yunmoo
    写于 最后由 编辑
    #3

    image.png
    2025-03-14 14:00:31 DEBUG 执行指令 msg="执行指令: 设备表=物联网杀虫灯,设备=njef1qDvEfaDoO982024082706866986,指令={"form":[{"arrayValue":null,"defaultValue":null,"ifRepeat":null,"ioway":"表单写入","mod":null,"name":"adjustLight","objectValue":{"schema":{"form":["style",""],"key":"root","listFields":["style"],"name":"modelProperties","properties":{"style":{"canOrder":false,"config":"选择器","createShow":true,"dataType":"string","descriptionType":"tooltip","editShow":true,"enum1":["on","off"],"enum_title1":["开","关"],"fieldType":"select","invalid":false,"key":"style","listFields":true,"metricStore":false,"need":false,"numRange":null,"selectFace":"flatten","selectType":"single","size":"middle","title":"style","type":"string","widthInForm":"24"}},"required":[],"title":"根对象","treeKey":"root","type":"object"}},"objectValue2":null,"select":null,"select2":null,"tableValue":null,"tableValue2":null,"tag":null,"tagValue":null,"type":"object"}],"formSchema":{"schema":{"form":["style",""],"key":"root","listFields":["style"],"name":"adjustLight","properties":{"style":{"canOrder":false,"config":"选择器","createShow":true,"dataType":"string","descriptionType":"tooltip","editShow":true,"enum1":["on","off"],"enum_title1":["开","关"],"fieldType":"select","invalid":false,"key":"style","listFields":true,"metricStore":false,"need":false,"numRange":null,"selectFace":"flatten","selectType":"single","size":"middle","title":"style","type":"string","widthInForm":"24"}},"required":[],"title":"adjustLight","treeKey":"root","type":"object"}},"id":"adjustLight","name":"adjustLight","ops":[{"key":"adjustLight","param":"adjustLight"}],"params":{"adjustLight":{"style":"on"}},"showName":"杀虫灯开关","tag":null,"title":"adjustLight","writeOut":{"arrayValue":null,"defaultValue":null,"ifRepeat":null,"mod":null,"objectValue":null,"objectValue2":null,"select":null,"select2":null,"tableValue":null,"tableValue2":null,"tag":null,"tagValue":null}}"
    2025-03-14 14:00:31 DEBUG 执行指令 msg="执行指令: 表=物联网杀虫灯,设备=njef1qDvEfaDoO982024082706866986,流水号=67d3c5ffc233d4cf4168f344,指令内容={"form":[{"arrayValue":null,"defaultValue":null,"ifRepeat":null,"ioway":"表单写入","mod":null,"name":"adjustLight","objectValue":{"schema":{"form":["style",""],"key":"root","listFields":["style"],"name":"modelProperties","properties":{"style":{"canOrder":false,"config":"选择器","createShow":true,"dataType":"string","descriptionType":"tooltip","editShow":true,"enum1":["on","off"],"enum_title1":["开","关"],"fieldType":"select","invalid":false,"key":"style","listFields":true,"metricStore":false,"need":false,"numRange":null,"selectFace":"flatten","selectType":"single","size":"middle","title":"style","type":"string","widthInForm":"24"}},"required":[],"title":"根对象","treeKey":"root","type":"object"}},"objectValue2":null,"select":null,"select2":null,"tableValue":null,"tableValue2":null,"tag":null,"tagValue":null,"type":"object"}],"formSchema":{"schema":{"form":["style",""],"key":"root","listFields":["style"],"name":"adjustLight","properties":{"style":{"canOrder":false,"config":"选择器","createShow":true,"dataType":"string","descriptionType":"tooltip","editShow":true,"enum1":["on","off"],"enum_title1":["开","关"],"fieldType":"select","invalid":false,"key":"style","listFields":true,"metricStore":false,"need":false,"numRange":null,"selectFace":"flatten","selectType":"single","size":"middle","title":"style","type":"string","widthInForm":"24"}},"required":[],"title":"adjustLight","treeKey":"root","type":"object"}},"id":"adjustLight","name":"adjustLight","ops":[{"key":"adjustLight","param":"adjustLight"}],"params":{"adjustLight":{"style":"on"}},"showName":"杀虫灯开关","tag":null,"title":"adjustLight","writeOut":{"arrayValue":null,"defaultValue":null,"ifRepeat":null,"mod":null,"objectValue":null,"objectValue2":null,"select":null,"select2":null,"tableValue":null,"tableValue2":null,"tag":null,"tagValue":null}}"
    2025-03-14 14:19:40 DEBUG 启动驱动 msg="读取设备数据: 设备表=物联网杀虫灯,设备:njef1qDvEfaDoO982024082706866986,周期=3600s"
    2025-03-14 14:19:40 DEBUG 启动驱动 msg="存数据点: 设备表=物联网杀虫灯,设备=njef1qDvEfaDoO982024082706866986,数据={"id":"njef1qDvEfaDoO982024082706866986","cid":"","source":"device","fields":{"battery_percent":69,"battery_voltage":11.5,"is_lighting":0,"is_online":1,"latitude":"30.680581650462","led_voltage":0,"longitude":"114.32987566655","outer_temperature":17,"rain_ctl_state":1,"run_day":3},"time":1741933180663,"fieldTypes":null}. 保存数据成功"
    2025-03-14 14:46:51 DEBUG 执行指令 msg="执行指令: 设备表=物联网杀虫灯,设备=njef1qDvEfaDoO982024082706866986,指令={"form":[{"arrayValue":null,"defaultValue":null,"ifRepeat":null,"ioway":"表单写入","mod":null,"name":"adjustLight","objectValue":{"schema":{"form":["style",""],"key":"root","listFields":["style"],"name":"modelProperties","properties":{"style":{"canOrder":false,"config":"选择器","createShow":true,"dataType":"string","descriptionType":"tooltip","editShow":true,"enum1":["on","off"],"enum_title1":["开","关"],"fieldType":"select","invalid":false,"key":"style","listFields":true,"metricStore":false,"need":false,"numRange":null,"selectFace":"flatten","selectType":"single","size":"middle","title":"style","type":"string","widthInForm":"24"}},"required":[],"title":"根对象","treeKey":"root","type":"object"}},"objectValue2":null,"select":null,"select2":null,"tableValue":null,"tableValue2":null,"tag":null,"tagValue":null,"type":"object"}],"formSchema":{"schema":{"form":["style",""],"key":"root","listFields":["style"],"name":"adjustLight","properties":{"style":{"canOrder":false,"config":"选择器","createShow":true,"dataType":"string","descriptionType":"tooltip","editShow":true,"enum1":["on","off"],"enum_title1":["开","关"],"fieldType":"select","invalid":false,"key":"style","listFields":true,"metricStore":false,"need":false,"numRange":null,"selectFace":"flatten","selectType":"single","size":"middle","title":"style","type":"string","widthInForm":"24"}},"required":[],"title":"adjustLight","treeKey":"root","type":"object"}},"id":"adjustLight","name":"adjustLight","ops":[{"key":"adjustLight","param":"adjustLight"}],"params":{"adjustLight":{"style":"on"}},"showName":"杀虫灯开关","tag":null,"title":"adjustLight","writeOut":{"arrayValue":null,"defaultValue":null,"ifRepeat":null,"mod":null,"objectValue":null,"objectValue2":null,"select":null,"select2":null,"tableValue":null,"tableValue2":null,"tag":null,"tagValue":null}}"
    2025-03-14 14:46:51 DEBUG 执行指令 msg="执行指令: 表=物联网杀虫灯,设备=njef1qDvEfaDoO982024082706866986,流水号=67d3d0dbc233d4cf4168f347,指令内容={"form":[{"arrayValue":null,"defaultValue":null,"ifRepeat":null,"ioway":"表单写入","mod":null,"name":"adjustLight","objectValue":{"schema":{"form":["style",""],"key":"root","listFields":["style"],"name":"modelProperties","properties":{"style":{"canOrder":false,"config":"选择器","createShow":true,"dataType":"string","descriptionType":"tooltip","editShow":true,"enum1":["on","off"],"enum_title1":["开","关"],"fieldType":"select","invalid":false,"key":"style","listFields":true,"metricStore":false,"need":false,"numRange":null,"selectFace":"flatten","selectType":"single","size":"middle","title":"style","type":"string","widthInForm":"24"}},"required":[],"title":"根对象","treeKey":"root","type":"object"}},"objectValue2":null,"select":null,"select2":null,"tableValue":null,"tableValue2":null,"tag":null,"tagValue":null,"type":"object"}],"formSchema":{"schema":{"form":["style",""],"key":"root","listFields":["style"],"name":"adjustLight","properties":{"style":{"canOrder":false,"config":"选择器","createShow":true,"dataType":"string","descriptionType":"tooltip","editShow":true,"enum1":["on","off"],"enum_title1":["开","关"],"fieldType":"select","invalid":false,"key":"style","listFields":true,"metricStore":false,"need":false,"numRange":null,"selectFace":"flatten","selectType":"single","size":"middle","title":"style","type":"string","widthInForm":"24"}},"required":[],"title":"adjustLight","treeKey":"root","type":"object"}},"id":"adjustLight","name":"adjustLight","ops":[{"key":"adjustLight","param":"adjustLight"}],"params":{"adjustLight":{"style":"on"}},"showName":"杀虫灯开关","tag":null,"title":"adjustLight","writeOut":{"arrayValue":null,"defaultValue":null,"ifRepeat":null,"mod":null,"objectValue":null,"objectValue2":null,"select":null,"select2":null,"tableValue":null,"tableValue2":null,"tag":null,"tagValue":null}}"

    1 条回复 最后回复
    0
  • Zhang书书Z 离线
    Zhang书书Z 离线
    Zhang书书
    写于 最后由 编辑
    #4

    看着是发送成功了,但是目前是表记录上的的这个状态没变是吗?
    截图看一下指令里面的对象具体是如何配置的

    1 条回复 最后回复
    0
  • Y 离线
    Y 离线
    yunmoo
    写于 最后由 编辑
    #5

    这个是指令配置

    image.png
    这个是指令里对象的配置

    image.png
    这个是数据接口里的配置

    image.png

    1 条回复 最后回复
    0
  • Zhang书书Z 离线
    Zhang书书Z 离线
    Zhang书书
    写于 最后由 编辑
    #6

    外网访问地址私发我一下

    1 条回复 最后回复
    0

  • 登录

  • 没有帐号? 注册

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 版块
  • 最新
  • 标签
  • 热门
  • 用户
  • 群组