Hi!
I build my own HVAC control interface using I/O card, some circuit and VB librairy. I would like to link my program to House Bot using the External Control dll.
I created a Device in HB using the External Control device, set a port and a password. Using the same Port and password value, I can connect using the doConnect function in VB. The return value is "OK". When I try to write the temperature property of my device, I see and Invalid Password error message in HB text box on the main screen. I double checked and password and port are good.
Example:
Dim srvHouseBot As HBControl
Dim sHB As Variant
Set srvHouseBot = New HBControl
sHB = srvHouseBot.doConnect(1234, "192.168.1.3", "hvac")
srvHouseBot.SetPropertyValue "Fournaise", "Temperature", Str(Signal(1))
Set srvHouseBot = Nothing
Thanks!
Externel Control Password issue in VB
Found it
Hi again,
If that could help people with the same problem.
I saw an error passing very quickly about IPC error... I found in the forum that this kind or error is caused by port used in more than one place.
I changed the port used by this device and it works... No more password issue and IPC issue.
Hope it could helps other peoples! :lol:
If that could help people with the same problem.
I saw an error passing very quickly about IPC error... I found in the forum that this kind or error is caused by port used in more than one place.
I changed the port used by this device and it works... No more password issue and IPC issue.
Hope it could helps other peoples! :lol: