Home/Support/Support Forum/Python error "Adapter is not a XBeeSensorLTHadapter"

Python error "Adapter is not a XBeeSensorLTHadapter"

0 votes
I am using an XStick as a API coordinator with two LTH Xbee sensors. I have downloaded the DigiXBeeDrivers.zip file and attempted to run the LTHbattery_example.py while changing the address to that of one of the sensors.

I am now receiving the error

raise ValueError, "Adapter is not a %s" % (GetXBeeProductName(XBeeSensorLTHAdapter))

I have looked online and found that making sure the DD value in XCTU for the sensor is 3000D may work. This was not the case. Any suggestions?
asked Mar 31, 2016 in RF Solutions and XBee by icorley94 New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
Have you looked at the following forum post?

answered Apr 7, 2016 by userid0 Veteran of the Digi Community (2,158 points)
I appreciate the help, however, this does not solve my situation. All that person did was change the xbeelt.py script to work as the xbeelth.py by telling the xbeeprodid.py script to check if it was an LTH adapter, which it was.

My LTH sensor's Digi Device value is set to 3000D as is indicated to be for LTH devices from


I am unable to run the script due to it telling me my device is not an LTH device even though it is and has the correct value as indicated in the xbeeprodid.py script. Any suggestions? I am literally banging my head against the wall here.