Jump to content

ISY rest/nodes returns old polyglot nodes after moving to Polisy


BVan der Linden

Recommended Posts

I moved from a Raspberry NodeServer to Polisy. I didn't do the recommended approach of backup and restore configuration, instead created new NodeServers and deleted the old ones in ISY admin console. The end result is a mixed bag, possibly caused by operator error.

But, for instance, http://isy/rest/nodes returns both the below items. Slot 5 is used by my Sun NodeServer while slot 9 is used by a different NodeServer. I choose the Sun NodeServer as the simplest example but it is not specific to the Sun NodeServer.

While the ISY admin console doesn't get confused, my program get confused because there are two nodes with the same name but with different addresses. Note also that several fields are different in the output below (not just the address).

<node flag="128" nodeDefId="SUNCTRL">
<address>n005_sunctrl</address>
<name>Sun Position</name>
<family instance="5">10</family>
<parent type="3">60742</parent>
<type>0.0.0.0</type>
<enabled>true</enabled>
<deviceClass>0</deviceClass>
<wattage>0</wattage>
<dcPeriod>0</dcPeriod>
<startDelay>0</startDelay>
<endDelay>0</endDelay>
<pnode>n005_sunctrl</pnode>
</node>
 
<node flag="128" nodeDefId="controller">
<address>n009_sunctrl</address>
<name>Sun Position</name>
<family instance="9">10</family>
<type>1.1.0.0</type>
<enabled>true</enabled>
<deviceClass>0</deviceClass>
<wattage>0</wattage>
<dcPeriod>0</dcPeriod>
<startDelay>0</startDelay>
<endDelay>0</endDelay>
<pnode>n009_sunctrl</pnode>
<ELK_ID>L11</ELK_ID>
</node>
 
How can I clean this up? And where does this come from to begin with?
 
Thanks,
Bert
Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...