Search found 6 matches
- Mon Jan 11, 2010 10:53 pm
- Forum: DomotiGa Forum
- Topic: Implementing support for devices that had lots of endpoints
- Replies: 5
- Views: 4679
Re: implementing support for devices that had lots of endpoints
Rather then define a generic limit for the modbus devices, how would it work if one defines two devices for a giving modbus. 1): Define the modbus bus itself . This would be defined as the port that given bus is running on. This in the future could be divided into a couple of catagories: a) modbus s...
- Fri Jan 01, 2010 4:27 am
- Forum: DomotiGa Forum
- Topic: Implementing support for devices that had lots of endpoints
- Replies: 5
- Views: 4679
Implementing support for devices that had lots of endpoints
When evaluating how I might add modbus support to domotiga, I was wondering if there are plans/support in the database design to support modules that have more then 4 endpoints at a given address? For example, the temco tstat 5E has 5 analog inputs, 5 digital outputs, 2 digital inputs all address vi...
- Thu Dec 17, 2009 12:05 am
- Forum: DomotiGa Forum
- Topic: Handling long running items without pausing the main loop
- Replies: 6
- Views: 7946
Re: Handling long running items without pausing the main loop
I have some working perl code that I have used to talk to modbus devices already as well as the different sources that one can find on the net... That part isn't the problem.. The biggest thing that I wanted to do is to make sure that I handle it correctly so that later on it can extended to support...
- Wed Dec 16, 2009 10:13 pm
- Forum: DomotiGa Forum
- Topic: Handling long running items without pausing the main loop
- Replies: 6
- Views: 7946
Re: Handling long running items without pausing the main loop
I saw the fact that gambas can call functions in th external shared libraries hence why I was thinking about using libmodbus.. The issue I see is that libmodbus appears to use blocking io for talking to the devices which messes with the loop. Using an external program and network sockets was one of ...
- Wed Dec 16, 2009 8:46 pm
- Forum: DomotiGa Forum
- Topic: Handling long running items without pausing the main loop
- Replies: 6
- Views: 7946
Re: Handling long running items without pausing the main loop
I haven't seen a lot of issues yet, but I am looking into writing a driver for some modbus products from temco controls products (http://www.temcocontrols.com/).. I too have come from using misterhouse and am most likely carrying around The things were I see issues is that modbus is a polling based ...
- Wed Dec 16, 2009 12:09 am
- Forum: DomotiGa Forum
- Topic: Handling long running items without pausing the main loop
- Replies: 6
- Views: 7946
Handling long running items without pausing the main loop
After reading through the good, it appears that DomotiGa uses a single loop that runs most of modules, etc. What does a person need to do to prevent long running jobs/modules from causing the main loop to pause? Is there some sort of plan on the roadmap for that? If not, here are some of the ideas I...