Wireless VINT hub5000 and No Network Phidgets Detected
Posted: Wed Feb 12, 2025 7:05 pm
Hi Folks,
I am currently running a hub5000 on WiFi, and accessing it through a Windows computer on Ethernet running Python 3.10.
I have no issues connecting and polling my hub5000 in Python. Here is my code:
All of this looks great and works perfectly. I can even get the Hub Control Panel working through my browser via the IP:

HOWEVER, I cannot get Desktop Phidget Control Panel to show my Phidget. Even exiting and re-opening the application doesn't detect my Phidget.

Any advice? I also cannot get enableServerDiscovery to detect any Phidgets, I have to manually enter an IP address every time...
I am currently running a hub5000 on WiFi, and accessing it through a Windows computer on Ethernet running Python 3.10.
I have no issues connecting and polling my hub5000 in Python. Here is my code:
Code: Select all
from Phidget22.Phidget import *
from Phidget22.Net import *
from Phidget22.Devices.Log import *
from Phidget22.LogLevel import *
from Phidget22.Devices.TemperatureSensor import *
import time
#Create your Phidget channels
Net.addServer("hub5000", "192.168.2.222", 5661, "", 0) #"servername", "ip", port, "password"
Log.enable(LogLevel.PHIDGET_LOG_INFO, "phidgetlog.log")
#Create your Phidget channels
t0 = TemperatureSensor()
#Set addressing parameters to specify which channel to open (if any)
t0.setDeviceSerialNumber(745542)
t0.setHubPort(5)
t0.setChannel(0)
try:
t0.openWaitForAttachment(10000)
for i in range(30):
print("Temperature: %f" % t0.getTemperature())
time.sleep(1)
except PhidgetException as e:
print("Phidget Exception %i: %s" % (e.code, e.details))
print("Connection Error, exiting....")
readin = sys.stdin.read(1)
exit(1)
t0.close()
HOWEVER, I cannot get Desktop Phidget Control Panel to show my Phidget. Even exiting and re-opening the application doesn't detect my Phidget.
Any advice? I also cannot get enableServerDiscovery to detect any Phidgets, I have to manually enter an IP address every time...
Code: Select all
from Phidget22.Phidget import *
from Phidget22.Net import *
import time
def onServerAdded(self, server, kv):
print("Server: " + str(server))
print("Kv: " + str(kv))
net = Net()
# Register for event before calling open
net.setOnServerAddedHandler(onServerAdded)
Net.enableServerDiscovery(PhidgetServerType.PHIDGETSERVER_SBC)
while True:
# Do work, wait for events, etc.
time.sleep(1)