From: Joel D. <jr...@io...> - 2010-12-05 15:56:18
|
Karl- What type of serial port are you using to communicate with the Omnistat? As I recall the Omnistat serial i/f gets it power from one of the host port status lines, and some serial ports cheat and don't drive their status lines to the +/-12 or so volts in the rs-232 spec. I used to use a Moxa pci 8 port serial board with my rc-80 and it worked fine. Now I'm using a ByteRunner usb 8 port serial adapter and it too works ok. For starters you might try a different serial port if you can. Joel -- Joel Davidson Austin, TX On Sun, 5 Dec 2010, it would appear that Karl Suchy wrote: > Mickey, > > Thanks for sending that out. I will work that in once I get the OmniStat > Communicating with the computer. Do you recall having to do anything > special with the OmniStat 2 to get it to talk? My version does not have a > communication jumper on the pcb, instead there was a wire jumper between the > "N/C" and "black" pins as labeled on the pcb. In settings it is set up for > serial at 300 baud. I have tried using Realterm to send commands to the > Stat with no response back. > > Thanks > Karl > > On Sat, Dec 4, 2010 at 10:15 PM, Mickey Argo <mh...@ar...> wrote: > >> I didn't exactly code this for wide distribution...there are complications >> with my employer and areas they might be working on in the near future. If >> you want to clean this up for inclusion into the trunk code, please feel >> free and take the credit! Compare the attached Omnistat.pm with the trunk >> version. omnistat2.pl is in my code directory. I have the following in >> my private ini: >> >> Omnistat_serial_port=COM1 >> Omnistat_24hr=1 >> # disable internal program >> #Omnistat_non_program=[0,1] >> Omnistat_no_stat_log=3 >> Omnistat_stat_log=$config_parms{data_dir}/omnistatlog.txt >> omnistat_allowed_errors = 999999999999 >> hvac_allowed_errors = 999999999999 >> show_all_errors = yes >> >> >> Mickey Argo wrote: >> >> Karl, >> >> I have this working on my setup...I'll try to send out the code changes >> later today. I did add some new stuff, like changing the background color >> based on the outside air temperature. >> >> Mickey Argo >> >> On 12/3/10 12:11 PM, Karl Suchy wrote: >> >> Thanks for the feed back. The Omnistat is in the correct communication >> mode. I think I will start messing around with Omnistat.pm and trying to >> send simple get and set commands and see what I get back. >> >> Karl >> >> On Fri, Dec 3, 2010 at 12:46 PM, Marc MERLIN <ma...@me...> wrote: >> >>> On Fri, Dec 03, 2010 at 09:45:18AM -0800, Marc MERLIN wrote: >>>> On Fri, Dec 03, 2010 at 12:35:27PM -0500, Karl Suchy wrote: >>>>> I am trying to get a single Omnistat 2 functioning with MisterHouse. >>> Any >>>>> help will be greatly appreciated. >>>>> >>>>> When opening omnistat_setup_web.pl I get the following error message >>> "http >>>>> error in http eval of omnistat_setup_web.pl: 12/03/10 11:40:36 AM: >>>>> Omnistat[1]->send_cmd did not get ack reply to command 01 20 3b 0e 6a >>> () at >>>>> /opt/misterhouse/mh/bin/../lib/Omnistat.pm line 554, line 216." >>> >>> I should add that '()' shows that no reply at all was received from the >>> omnistat, so you may indeed have a basic communication problem. >>> >>> Marc >>> -- >>> "A mouse is a device used to point at the xterm you want to type in" - >>> A.S.R. >>> Microsoft is to operating systems & security .... >>> .... what McDonalds is to gourmet >>> cooking >>> Home page: http://marc.merlins.org/ >>> >>> ...snip... |