Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can't create Advance Status Configuration

Featured Replies

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

Solved by Javi

Go to solution
  • Author

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>
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

  • Author

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

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...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.