Jump to content

Can't create Advance Status Configuration


tmorse305
Go to solution Solved by Javi,

Recommended Posts

Posted

Hi @Javi,

I can't create advance status configuration for the 4 tiles that have Nano in the description.  No trouble with any other that I know of.  Those tiles are associated with the MQTT plugin.  Maybe that's the issue?

 

Thanks,

Tim

Photo Jul 30 2025, 4 17 53 PM.png

Photo Jul 30 2025, 4 23 47 PM.png

Photo Jul 30 2025, 4 24 07 PM.png

Posted

Looks like the Node Server is missing a value.

Please post the output of http://192.168.XX.XX:8080/rest/profiles/family/10/files. where 192.168.XX.XX is the local ip address

Posted

Thanks @Javi,

 

Here you go:

<profiles>
<profile family="10" id="1">
<files dir="nls">
<file name="en_us.txt"/>
</files>
<files dir="editor">
<file name="editors.xml"/>
</files>
<files dir="nodedef">
<file name="nodedefs.xml"/>
</files>
</profile>
<profile family="10" id="2">
<files dir="nodedef">
<file name="nodedefs.xml"/>
</files>
<files dir="editor">
<file name="editors.xml"/>
</files>
<files dir="nls">
<file name="en_us.txt"/>
</files>
</profile>
<profile family="10" id="3">
<files dir="editor">
<file name="editors.xml"/>
</files>
<files dir="nodedef">
<file name="nodedefs.xml"/>
</files>
<files dir="nls">
<file name="en_us.txt"/>
</files>
</profile>
<profile family="10" id="4">
<files dir="editor">
<file name="udmobile.xml"/>
<file name="hometele.xml"/>
<file name="custom.xml"/>
<file name="editors.xml"/>
</files>
<files dir="nls">
<file name="en_us.txt"/>
</files>
<files dir="nodedef">
<file name="hometele.xml"/>
<file name="nodedefs.xml"/>
</files>
</profile>
<profile family="10" id="5">
<files dir="editor">
<file name="editors.xml"/>
</files>
<files dir="nls">
<file name="en_us.txt"/>
</files>
<files dir="nodedef">
<file name="nodedef.xml"/>
</files>
</profile>
<profile family="10" id="6">
<files dir="editor">
<file name="editors.xml"/>
</files>
<files dir="nls">
<file name="en_us.txt"/>
</files>
<files dir="nodedef">
<file name="nodedefs.xml"/>
</files>
</profile>
<profile family="10" id="7">
<files dir="nodedef">
<file name="nodedef.xml"/>
</files>
<files dir="nls">
<file name="en_us.txt"/>
</files>
<files dir="editor">
<file name="editor.xml"/>
</files>
</profile>
<profile family="10" id="8">
<files dir="editor">
<file name="editors.xml"/>
</files>
<files dir="nodedef">
<file name="nodedefs.xml"/>
</files>
<files dir="nls">
<file name="en_us.txt"/>
</files>
</profile>
<profile family="10" id="9">
<files dir="editor">
<file name="editors.xml"/>
</files>
<files dir="nodedef">
<file name="nodedefs.xml"/>
</files>
<files dir="nls">
<file name="en_us.txt"/>
</files>
</profile>
<profile family="10" id="10">
<files dir="nls">
<file name="en_us.txt"/>
</files>
<files dir="editor">
<file name="editor.xml"/>
</files>
<files dir="nodedef">
<file name="nodedef.xml"/>
</files>
</profile>
<profile family="10" id="11">
<files dir="nls">
<file name="en_us.txt"/>
</files>
<files dir="nodedef">
<file name="nodedefs.xml"/>
<file name="custom.xml"/>
</files>
<files dir="editor">
<file name="editors.xml"/>
<file name="custom.xml"/>
</files>
</profile>
<profile family="10" id="12">
<files dir="editor">
<file name="editors.xml"/>
</files>
<files dir="nls">
<file name="en_us.txt"/>
</files>
<files dir="nodedef">
<file name="nodedefs.xml"/>
</files>
</profile>
</profiles>
Posted
13 hours ago, tmorse305 said:

<profile family="10" id="12">

<files dir="editor">
<file name="editors.xml"/>
</files>
<files dir="nls">
<file name="en_us.txt"/>
</files>
<files dir="nodedef">
<file name="nodedefs.xml"/>
</files>
</profile>
</profiles>

Perfect, Please post output of these 3 files:

NodeDef, needed to get the editor ID from node def ID:

http://192.168.XX.XX:8080/rest/profiles/family/10/profile/12/download/nodedef/nodedefs.xml

Editor, needed to verify missing min/max or subset values: 

http://192.168.XX.XX:8080/rest/profiles/family/10/profile/12/download/editor/editors.xml

Node:

http://192.168.XX.XX:8080/rest/nodes/nodeAddress. where nodeAddress is the node address of any one of the nodes with the issue. Needed to get the Node Def ID

Posted

Hi @Javi,

Here you go:

Editor.txt Node Def.txt

n012_sonoff2 is the node:

 

<nodeInfo>
<node flag="0" nodeDefId="MQSW">
<address>n012_sonoff2</address>
<name>NANO bit0</name>
<family instance="12">10</family>
<hint>4.2.0.0</hint>
<parent type="1">n012_mqctrl</parent>
<type>4.2.0.0</type>
<enabled>true</enabled>
<deviceClass>0</deviceClass>
<wattage>0</wattage>
<dcPeriod>0</dcPeriod>
<startDelay>0</startDelay>
<endDelay>0</endDelay>
<pnode>n012_mqctrl</pnode>
</node>
<properties>
<property id="ST" value="0" formatted="Off" uom="78" name=""/>
</properties>
</nodeInfo>

  • Solution
Posted

Node Def:

<nodeDef id="MQSW" nls="SWITCH">
	<editors/>
	<sts>
		<st editor="ONOFF" id="ST"/>
	</sts>
	<cmds>
		<sends>
			<cmd id="DON"/>
			<cmd id="DOF"/>
		</sends>
		<accepts>
			<cmd id="QUERY"/>
			<cmd id="DON"/>
			<cmd id="DOF"/>
		</accepts>
	</cmds>
</nodeDef>

Editor:

<editors>
	<editor id="BOOL">
		<range subset="0,1" uom="2"/>
	</editor>
	<editor id="ONOFF">
		<range uom="78"/>
	</editor>
	<editor id="TEMPF">
		<range max="176" min="-40" prec="2" uom="17"/>
	</editor>
	<editor id="HUM">
		<range max="100" min="0" prec="2" uom="22"/>
	</editor>
  ........
</editors> 

Summary: Editor ID "ONOFF" is missing  min/max or subset

Added pull request for developer

https://github.com/Trilife/udi-mqtt-pg3x/pull/16

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...