I have a Phidgets wireless VINT hub connected to some temperature sensors. This is in wireless mode and is on the local network. Using a laptop running Ubuntu 18.04 on the wireless network, I installed the Phidgets libraries and Python packages. The phidget22admin program successfully identifies the network hub and attached Phidgets. A short Python script to get the temperatures works fine.
Also, the Phidget control panel software running on a Mac laptop on the local network has no problem finding the hub.
The point is to get the Raspberry Pi to check the temperatures, so I installed the Phidgets libraries and Python package on the Pi using the same procedure as for the laptop. Here is the OS information for the Pi:
Code: Select all
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
Code: Select all
Net.enableServerDiscovery(PhidgetServerType.PHIDGETSERVER_DEVICEREMOTE)
Code: Select all
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pi/.local/lib/python3.7/site-packages/Phidget22/Net .py", line 143, in enableServerDiscovery
raise PhidgetException(result)
Phidget22.PhidgetException.PhidgetException: PhidgetException 0x1c (Unexpected Error)
Something unexpected has occured. Enable library logging and have a look at the log, or contact Phidgets support.
I tried installing the libraries on the Pi both with apt-get and also building from source. The result was the same.
Unfortunately the only Phidget device I have at the moment is the network VINT hub, so I don't have anything I can connect via USB.
Any suggestions? I am actually not sure what is meant by 'enable library logging' in this message, but 'contact Phidgets support' is pretty clear...
thanks,