www.homeseer.com    
 

Go Back   HomeSeer Message Board > 3rd Party Plug-Ins/Scripts > Plug-ins by Author > Click Here for List of Author Forums > MCS Plug-Ins and Scripts > MCS Temperature

MCS Temperature Discussions relating to the MCS Temperature plug-in.

Reply
 
Thread Tools Display Modes
  #1  
Old June 2nd, 2009, 05:29 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,111
2 Water Meters using dual HB Counter

Hello Michael,

I am having some issues getting the two reads from two water meters hooked up to a dual Hobby-Boards counter.

I have the dual counter hooked up to my Temp08. I have the Temp08 set for lightning. I am seeing two values in Temp08 (using a terminal). The Temp08 is the main device plugged into MCS Temperature. The first counter comes up fine. The second counter comes up briefly with the same device number as the first one. When I change it and assign it a DB value it gives me some errors and disappears.

Here are some pictures. I am not sure of the process to add the dual counter. I am not sure if I should be using the lightning sensor and I am wondering why the second device doesn't stick.
Attached Images
    
__________________
- Pete

Automator

HS3 Pro & Lite Edition Beta 3.0.0.435

HS3 Wintel Touch | Ubuntu 16.04 64 bit | Oracle Windows Virtual Box ==> for Wintel only SAPI and HS3 plugins | Speech - Microsoft SAPI - Neospeech - Amazon Echo | Hardware | Haswell Intel iSeries 3 - 16Gb | Pine64 - 2Gb computers | Openpeak Intel Atom SoC tabletop touchscreens (15 HS tabletop tablets) | Touchscreens - Windows embedded POE connected |Light switches - X10,UPB, ZWave and Zigbee | Firewall - PFSense - 2 WAN plus 4 LAN interfaces | Network - Gb managed switches / POE WAP(s) | CCTV - Zoneminder IPHD cams - variety | Audio - Russound - AB8SS | Security - Leviton HAI Omni Pro 2 | Weather - Davis Vantage Vue - MeteoStick - WeeWx | 1-Wire - AAG, Midon and HB | OWFS - Mosquitto - Node Red - Python - RPi Stretch - OpenWRT
Reply With Quote
  #2  
Old June 2nd, 2009, 06:00 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,629
Originally the Temp0x supported only one DS2423 counter channel. but the software has been updated to handle two. I believe that it may be confused if you set the same type to both counters. Whichever one is connected to your water meter set the Type of sensor within mcsTemperature to a Water Meter to provide gallons per day readings. Dont confuse this with the sensor type assigned to the Temp08 which will always be lightning as this is the only form used to provide count per pulse.
Reply With Quote
  #3  
Old June 2nd, 2009, 09:13 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,111
Thank you Michael. Yes the main water meter is connected to one channel and the sprinkler system water meter is connected to the second channel of the Hobby Boards counter. I assumed it was set to lightning and that was what I set it to via the terminal when first plugging it in. I see the two values incrementing when running the sprinkler system. The main water meter has created two variables (gallons and rate) but haven't seen the sprinkler water meter yet (will wait until it runs thru one cylcle) Guess I was waiting for "instant" variable creation. (the age)....
Reply With Quote
  #4  
Old June 3rd, 2009, 12:46 AM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,629
I looked at the code and saw at one time I had 2 counter supported, but now it was only one. I added the second one back with 5.16.3. The original design for the Temp05 allowed a device to be only of one device type. This was fine until the second counter was added for the Temp08. While both counters will now count, then cannot be setup to count the same type of thing. For your case you will need to make one a wattage counter to give you daily accumulations just like the water counter does daily. This awkwardness does not exits with xapmcs1wire.
Reply With Quote
  #5  
Old June 4th, 2009, 08:29 AM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,111
Setting up with newest version with Temp08 worked but the plugin grabbed the second counter in the "real" lighting sensor first. I didn't even know there was a second counter on the sensor. I haven't ran the sprinkler system yet so the water meter on the setup hasn't counted much yet (other than my testing). I will try with the XapMCS1wire plugin next. I currently only have one 9097 running. Moving the XAPMCS1wire 9097 from com13 to com2 has alleviated weird "freezes" that I was having with the plugin. I only have the combo light, temp & humidity sensor on it so adding the dual counter will be easy.
Reply With Quote
  #6  
Old June 4th, 2009, 10:39 AM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,111
I connected the dual counter to a separate 9097 connected to COM1. Running the plugin as a second instance in a separate directory by itself (without HS running) it appears to be doing OK at this time. Ideally though I would like to move this over to Com port 13 or 16 or 18 instead of com port 1 which is my test analog port on the HS server.

BTW when I go to the Help link on the MCSTemperature plugin it HS Server tries to open a PDF file up. (I do not have Adobe Reader running on HS though and see the following screen)
Attached Images
  
Reply With Quote
  #7  
Old June 4th, 2009, 11:00 AM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,111
Turned on sprinkler system to get two water meter counts. Attached pics show 1-wire console window and browser window - need a water rate icon..
Attached Images
  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 09:05 PM.


Copyright HomeSeer Technologies, LLC