Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CBUS CGate Driver
Actually you can now reconfigure drivers, so you can do it without having to unload the driver.
Dean Roddey
Software Geek Extraordinaire
I see that more as a workaround to an omission from the driver.

As I said it is trivial to add it (hey If I can do it my driver anyone can - I must be the worst there is at this stuff).

Version 0.3
- fixed bug which was causing the driver to fail if a new event was detected on a group that was not in translate file.
- added a forcereconnect field - this is only for debugging and will be dropped when we get to full release
Is there a way for the driver to determine if C-Gate is running.

I shut down C-Gate and the driver is still connected. It would be better if the driver went off-line when its connection to C-Gate was not available. That way it can re-connect if C-Gate is restarted for some reason.

yes its a problem for me to as I get a cgate exception every few days no idea whats causing it. That was why I added the forcereconnect flag. I'll look into some way of detecting that cgate is dead. In my cause I think the cgate connection doesnt actually disconnect.
note it will reconnect if you try to set a group in cgate with version 0.3 as the failure should cause it to realise cgate connection is gone
I can't get the driver to connect to cgate/bus.

I can connect to cgate via telnet onthe CQC cmd prompt and both control and monitor cbus perfectly. Toolkit also works fine.

I am running WS2003R2 Standard Edition and have cbus connected via a USB to DB9 converter, although surely this shouldn't make a difference as CQC isn't using the serial port, c-gate is.

The connection monitor on the driver says "Wait for Initialization" so it's doing something...

translate.txt has all the right groups, and I have checked and rechecked the driver config to make sure the settings are correct. I have even tried specifying the fields which have a default value (e.g. network 254).

Any ideas?


Read this thread on changes that need to be made to the Cgate.ini file. C-Gate will only accept connections from by default. If you are not putting in that address (ie the the CQC server and driver are on the same machine as C-Gate) then it wont work unless you make changes.

I don't have a cgate.ini file anywhere in my cbus installation. Cgate and CQC MS are on the same machine.

I have the IP address set as in the driver and in cgateconfig.txt, I have cgate set to default to my project and have deleted all the sample projects for good measure.

I have the network, etc explicitly specified in the driver (have tried both allowing the default and specifying.)

Confused... what am I missing? If I should have a cgate.ini file, where should it live? Presumably in the cgate folder?
have you logs?

See the logging to high on the driver and see what is output

also its access.txt in the cgateconfig folder

Is cgate on same machine as cqcserver?

Try the word localhost on the driver as I dont think i use

also presuem your port is 20023

Possibly Related Threads...
Thread Author Replies Views Last Post
  Koyo Click PLC Driver rbroders 71 26,490 Yesterday, 10:57 AM
Last Post: rbroders
  Carrier Infinity HVAC Driver beelzerob 34 12,192 09-07-2018, 01:15 PM
Last Post: lleo
  Amazon Echo Hue Simulator Driver wuench 113 35,379 09-02-2018, 07:24 AM
Last Post: TurboSam
  Sony TV IP driver dogman 10 620 08-01-2018, 03:53 PM
Last Post: znelbok
  Generic Modbus Driver - Serial & IP znelbok 24 10,829 07-20-2018, 01:21 PM
Last Post: znelbok
  Sony Bravia TV Driver znelbok 12 1,592 06-11-2018, 09:19 AM
Last Post: Dean Roddey
  XBMC Driver wuench 427 153,065 05-29-2018, 03:02 AM
Last Post: znelbok
  OpenHAB Driver whozeawhat 5 678 05-28-2018, 08:50 AM
Last Post: whozeawhat
  Pushbullet Driver whozeawhat 1 405 05-13-2018, 07:27 AM
Last Post: whozeawhat
  Monoprice Blackbird 4x4 HDMI Switcher - Driver request batwater 14 7,875 02-10-2018, 02:29 PM
Last Post: batwater

Forum Jump:

Users browsing this thread: 1 Guest(s)