Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CBUS CGate Driver
#21
Actually you can now reconfigure drivers, so you can do it without having to unload the driver.
Dean Roddey
Software Geek Extraordinaire
Reply
#22
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).

Mick
Reply
#23
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
Reply
#24
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.

Mick
Reply
#25
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.
Reply
#26
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
Reply
#27
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?

Thanks

Dave
Reply
#28
Read this thread on changes that need to be made to the Cgate.ini file. C-Gate will only accept connections from 127.0.0.1 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.

Mick
Reply
#29
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 127.0.0.1 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?
Reply
#30
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 127.0.0.1

also presuem your port is 20023
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  SNMP Driver wuench 115 255,789 01-01-2018, 05:18 PM
Last Post: Dean Roddey
  Sony Bravia TV Driver znelbok 6 188 12-27-2017, 08:03 AM
Last Post: jkmonroe
  Samsung SmartTV driver? sic0048 3 267 12-17-2017, 11:51 AM
Last Post: Dean Roddey
  Vantage Controls Driver for Infusion System KenC 3 869 10-23-2017, 12:10 PM
Last Post: Dean Roddey
  Another SMS Driver - SMS Global, one for everyone else znelbok 21 6,144 10-21-2017, 07:19 PM
Last Post: znelbok
  Monoprice Blackbird 4x4 HDMI Switcher - Driver request batwater 9 5,268 10-14-2017, 05:30 PM
Last Post: rtarver
  XBMC Driver wuench 419 124,530 07-02-2017, 11:04 AM
Last Post: Dean Roddey
  IMAP Email Driver whozeawhat 11 2,687 06-14-2017, 11:53 AM
Last Post: whozeawhat
  Which JVC Projector Driver indygreg 29 6,780 05-12-2017, 08:29 AM
Last Post: Dean Roddey
  Amazon Echo Hue Simulator Driver wuench 101 24,874 05-02-2017, 09:38 AM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)