Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CBUS CGate Driver
#1
Designed as direct replacement for the original CBus driver as I had a problem with timeouts on W7 64bit.

The manifest file from Rohans driver must now list all required groups though.

Set CGate to autostart your project in cgate config.

In manifest you must set the cgate server and project name all other fields will default if blank unless you have changed them in your setup you shouldn't need to configure

Version 0.4
- added CgateCommand to send commands directly to cgate for setting dlt text etc

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

[EDIT: Added a new version which removes socket binding calls, for 4.6 and beyond, where those calls are no longer desirable.]


Attached Files
.cqcdrvpack   CBus_CGate.CQCDrvPack (Size: 5.1 KB / Downloads: 28)
.cqcdrvpack   CBus-SocketBinding.CQCDrvPack (Size: 5 KB / Downloads: 13)
Reply
#2
martinmcc Wrote:The manifest file from Rohans driver must now list all groups though.

Thats a big manifest file if you have to add all the groups in. Why did you go doewn that path and not use a file(s) like previously. That then allows the reloading of the configuraiton.

Good to see some options here. This should allow the use of the CNI now as well and having the CQC server remote to the C-Bus interface.

Mick
Reply
#3
sorry I stated that wrongly - its not the manifest file its the translate.txt file
Reply
#4
Did you change the make/model in your manifest in some way? If not, it's goign to be the same as the other C-Bus driver and that will cause problems. Just do something like add -CGate to the model or something like that.
Dean Roddey
Software Geek Extraordinaire
Reply
#5
I have not loaded this yet, but a few questions

Are you planning to support multiple applications?
Are you planning to support multiple networks?
Scene Triggering (Yes by the looks of it)?

Polling of temp sensors has been a desire of mine for many years.

When I get a chance I will load up a new CQC and C-Gate in a VM and try this out through the CNI.

Mick
Reply
#6
Mick it's well down the priority list at the moment so I need volunteers to help out.

Wanted to get something up that showed it worked and could be done.
Reply
#7
Mike,

Just a thought - it may work by loading seperate instances of the new cbus driver each with a different application number. Only issue is we would need a translate file for each applications

Martin
Reply
#8
I edited first post with new version

Added support for trigger command as per original CBUS driver

usage write "<address> <action selector>" to the trigger command

Added option to manifest file to prompt for the name of the translate.txt file.
This should allow multiple instances of driver to load with a seperate translate.txt for each application you wnat to control.

I have not tested this as only use lighting application.

Please provide feedback.
Reply
#9
Dean,

Sorry missed your post yes the driver is called
"Clipsal C-Bus (CGate)"

Martin
Reply
#10
When you say all group must be listed in the translate file, do you mean all 256 groups, even if they are not used.

What about remote networks - I have a network bridge.

What is the C-Gate network number - is it the C-Bus network 254?

What is the event port?

Sorry, My C-Gate is very rusty, toolkit has done it all for me in the past.

Mick
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Amazon Echo Hue Simulator Driver wuench 115 38,364 11-08-2018, 06:49 AM
Last Post: karenlee
  RunTimer2 driver rbroders 14 3,765 10-15-2018, 11:45 AM
Last Post: rbroders
  Generic Modbus Driver - Serial & IP znelbok 25 11,823 10-09-2018, 08:59 AM
Last Post: Ron Haley
  Issues debugging IP based driver jnolting 5 350 09-24-2018, 11:52 AM
Last Post: Dean Roddey
  Enhance Driver Test Harness Field Monitor rbroders 1 188 09-24-2018, 10:49 AM
Last Post: Dean Roddey
  Koyo Click PLC Driver rbroders 75 27,812 09-23-2018, 01:18 PM
Last Post: rbroders
  Carrier Infinity HVAC Driver beelzerob 34 13,003 09-07-2018, 01:15 PM
Last Post: lleo
  Sony TV IP driver dogman 10 1,082 08-01-2018, 03:53 PM
Last Post: znelbok
  Sony Bravia TV Driver znelbok 12 1,997 06-11-2018, 09:19 AM
Last Post: Dean Roddey
  XBMC Driver wuench 427 160,135 05-29-2018, 03:02 AM
Last Post: znelbok

Forum Jump:


Users browsing this thread: 1 Guest(s)