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
  Sony Bravia TV Driver znelbok 12 727 06-11-2018, 09:19 AM
Last Post: Dean Roddey
  XBMC Driver wuench 427 141,737 05-29-2018, 03:02 AM
Last Post: znelbok
  OpenHAB Driver whozeawhat 5 253 05-28-2018, 08:50 AM
Last Post: whozeawhat
  Pushbullet Driver whozeawhat 1 185 05-13-2018, 07:27 AM
Last Post: whozeawhat
  Monoprice Blackbird 4x4 HDMI Switcher - Driver request batwater 14 6,892 02-10-2018, 02:29 PM
Last Post: batwater
  LIFX Driver bobskie708 9 893 01-30-2018, 12:34 PM
Last Post: jkmonroe
  SNMP Driver wuench 115 262,354 01-01-2018, 05:18 PM
Last Post: Dean Roddey
  Samsung SmartTV driver? sic0048 3 634 12-17-2017, 11:51 AM
Last Post: Dean Roddey
  Vantage Controls Driver for Infusion System KenC 3 1,477 10-23-2017, 12:10 PM
Last Post: Dean Roddey
  Another SMS Driver - SMS Global, one for everyone else znelbok 21 7,398 10-21-2017, 07:19 PM
Last Post: znelbok

Forum Jump:


Users browsing this thread: 1 Guest(s)