Cannot write to Xbee s2 via Connectport x2e ZB running xig_connectport_1.5.2-py2.7

25 views
Skip to first unread message

Paul Richardson

unread,
Mar 21, 2016, 7:04:25 PM3/21/16
to xbee-internet-gateway
Hi All, trying to move from windows internet gateway to Connectport X2e ZB.

I've queried my connectport which shows XIG under python tag but I cannot
write to a node with.

<sci_request version="1.0">
  <data_service>
    <targets>
      <device id="00000000-00000000-..."/>
    </targets>
    <requests>
      <device_request target_name="xig">
         &lt;at hw_address="...!" command="D0" value="5" /&gt;
      </device_request>
    </requests>
  </data_service>
</sci_request>

The above gives <error>No service to process message</error>

Seems maybe XIG isn't actually running. I've installed an rebooted may times.

This on  the other-hand the following works fine. Can someone share why?.
  <send_message>
    <targets>
      <device id="00000000-00000000-..."/>
    </targets>
    <rci_request version="1.1">
      <do_command target="zigbee">
        <set_setting addr="...">
          <radio>
             <dio0_config>4</dio0_config>
          </radio>
        </set_setting>
      </do_command>
    </rci_request>
  </send_message>

Any help is appreciated. ty

Rob Faludi

unread,
Mar 22, 2016, 9:20:07 AM3/22/16
to xbee-inter...@googlegroups.com
Does the system log show that xig.py is starting up successfully?


--
You received this message because you are subscribed to the Google Groups "xbee-internet-gateway" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xbee-internet-ga...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Paul Richardson

unread,
Mar 22, 2016, 1:10:05 PM3/22/16
to xbee-inter...@googlegroups.com
tks Rob... Everytime I rebooted I got this

Mar 21 20:31:12: Python autostart 1: Script 'xig.py' starting.

Mar 21 20:31:13: Python autostart 1: ERROR: script 'xig.py' exited unexpectedly (code:1)


Didn't know about the log file. Any thoughts. I don't mind using zigbee but would rather use xig so I can edit code and learn going forward.


--
You received this message because you are subscribed to a topic in the Google Groups "xbee-internet-gateway" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/xbee-internet-gateway/NMs-kKA3M9E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to xbee-internet-ga...@googlegroups.com.

Rob Faludi

unread,
Mar 24, 2016, 2:54:14 PM3/24/16
to xbee-inter...@googlegroups.com

Paul Richardson

unread,
Mar 27, 2016, 8:07:18 PM3/27/16
to xbee-inter...@googlegroups.com
Success...

I unloaded xig 1.5.2 and loaded xig 1.5.1 which starts up without issue.

This now works fine

<sci_request version="1.0">
  <data_service>
    <targets>
      <device id="..."/>
    </targets>
    <requests>
      <device_request target_name="xig">
         &lt;at hw_address="...!" command="D0" value="5" apply="true" /&gt;
      </device_request>
    </requests>
  </data_service>
</sci_request>


Thank you for the help and XIG...
Reply all
Reply to author
Forward
0 new messages