Hi, I have set up mcstemperature with TEMP08 and 1WIO relay module. It all works fine with sensing temeprature, but I connot figure out how to control the relays on the 1WIO card. Only temperayure devices pops up in Mcstemperature.
Announcement
Collapse
No announcement yet.
1wio
Collapse
X
-
cyberspaceTags: None
-
I think the 1WIO is implemented with a DS2405 or DS2406 and you should see these devices being dellivered from the Temp08. When mcsTemperature starts it issues a DIS command to the Temp08 which asks for the list of devices that it sees on the 1-wire. The DS2405 or DS2406 should show up in that list and if not then you have a problem with the connection of the WIO to the 1-wire.
To aid in isolation you can set the General Debug checkbox on mcsTemperatuer setup, restart Homeseer, and then capture the startup handshake between mcsTemperature and the Temp08. There will be a DIS and TMP commands sent by mcsTemperature and responses from the Temp08 after each. You can post this segment of the Homeseer log if the output does not help you understand.
-
cyberspace
Update
Hi, I do get this line the HS log: "Sensor 8100000000FFA129 is reported as Temperature sensor DS2408 but known by mcsTemperature as type V"
The Temp08 and 1WIO card is new, so I assume they got the latest software.
Shall Mcstemeperature create the relay devices for the 1WIO card automatically? Does the Relay05 settings in Mcstemperature control the 1WIO card or should it be disabled?
Comment
-
I was not aware of the DS2408 being handled by the Temp08. I will need to add that. To support this could you enabled the General Debug checkbox on the Interface setup page of mcsTemperature, restart Homeseer, and then post a segment of the Homeseer log that is spit out for the first few minutes after startup. If the 1WIO contains an input could you toggle it so the Temp08 report will be seen in the log file.
The settings for the Relay08 are only for that hardware and will not be used unless you have it.
Comment
-
cyberspace
I have now tested the TEMP08 and 1wio card from a termnal program. I can set the relays by using "RLY 01 ON" command. I can also set the relays from homeseer with commands like "HS.sendtocomport 2,"RLY 01 ON". The problem is when McsTemperature is loaded and holds up the comport. I can then not set the relays by commands from Homeseer. My questions is, how do I control the relays when HS is running with McsTemperature?
Comment
-
mcsTemperature needs to recognize the 1WIO device for you to be able to command it. When it is recognized then you will use commands such as hs.ExecX10 "^1", "ON" to turn it ON. You could also turn it on from the HS Device Status web interface with the ON button provided.
What I asked for in my prior response is the information that the Temp08 provides in response the DIS command. I do not have the 1WIO hardware and the MidonDesign site does not show the DIS response for this device. If you collect the data then I have some information to which to design.
Comment
-
cyberspace
-
The attached is my first attempt at doing the 1WIO. When it sees the DS2408 it should create 8 devices which will likely be all input switches. Change the type to Relay and then try to activate them from HS Device Status with ON/OFF buttons. You can also talk directly to the 1WIO by using the scripting method SetRelays. For example
Code:set mcs = hs.GetPlugins("mcsTemperature") mcs.SetRelays "RLY 01 ON"
Code:hs.ExecX10 "#41","ON"
If you have a problem then turn on General Debug and indicate what you tried to do that did not work.Attached Files
Comment
-
cyberspace
Tested
Great!!!, I can now control the relays by using the mcs.SetRelays "RLY xx ON" command. The new plugin created the switches with housecodes which I changed to Relays. When I click on/off in the status menu nothing happens, see log below.
<TABLE cellSpacing=2 cellPadding=0 width="100%" border=0><TBODY><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:51 </TD><TD class=LOGType0 align=left colSpan=3>mcsTemperature </TD><TD class=LOGEntry0 align=left colSpan=8>Temp05/08 Data: 04 81000800E94CE110 DS1820 OK P</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:28:51 </TD><TD class=LOGType1 align=left colSpan=3>mcsTemperature Debug </TD><TD class=LOGEntry1 align=left colSpan=8>BusyServicingInterrupt=False, Comm Status = 2, Comm Buffer = >|Update interval = 02 minutes|Temp display = C|Serial # display = On|Wind dirn reverse = Off|Debug = Off|Some temp sensors Parasitic powered|Qty of DS1820=02<</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:51 </TD><TD class=LOGType0 align=left colSpan=3>mcsTemperature </TD><TD class=LOGEntry0 align=left colSpan=8>Temp05/08 Data: </TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:28:51 </TD><TD class=LOGType1 align=left colSpan=3>mcsTemperature </TD><TD class=LOGEntry1 align=left colSpan=8>Temp05/08 Data: Update interval = 02 minutes</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:51 </TD><TD class=LOGType0 align=left colSpan=3>mcsTemperature </TD><TD class=LOGEntry0 align=left colSpan=8>Temp05/08 Data: Temp display = C</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:28:51 </TD><TD class=LOGType1 align=left colSpan=3>mcsTemperature </TD><TD class=LOGEntry1 align=left colSpan=8>Temp05/08 Data: Serial # display = On</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:51 </TD><TD class=LOGType0 align=left colSpan=3>mcsTemperature </TD><TD class=LOGEntry0 align=left colSpan=8>Temp05/08 Data: Wind dirn reverse = Off</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:28:51 </TD><TD class=LOGType1 align=left colSpan=3>mcsTemperature </TD><TD class=LOGEntry1 align=left colSpan=8>Temp05/08 Data: Debug = Off</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:51 </TD><TD class=LOGType0 align=left colSpan=3>mcsTemperature </TD><TD class=LOGEntry0 align=left colSpan=8>Temp05/08 Data: Some temp sensors Parasitic powered</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:28:52 </TD><TD class=LOGType1 align=left colSpan=3>mcsTemperature Debug </TD><TD class=LOGEntry1 align=left colSpan=8>BusyServicingInterrupt=False, Comm Status = 2, Comm Buffer = >|Qty of<</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:52 </TD><TD class=LOGType0 align=left colSpan=3>mcsTemperature </TD><TD class=LOGEntry0 align=left colSpan=8>Temp05/08 Data: Qty of DS1820=02</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:28:52 </TD><TD class=LOGType1 align=left colSpan=3>mcsTemperature Debug </TD><TD class=LOGEntry1 align=left colSpan=8>BusyServicingInterrupt=False, Comm Status = 2, Comm Buffer = > DS1822=00<</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:52 </TD><TD class=LOGType0 align=left colSpan=3>mcsTemperature Debug </TD><TD class=LOGEntry0 align=left colSpan=8>BusyServicingInterrupt=False, Comm Status = 2, Comm Buffer = >|Qty of<</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:28:52 </TD><TD class=LOGType1 align=left colSpan=3>mcsTemperature </TD><TD class=LOGEntry1 align=left colSpan=8>Temp05/08 Data: Qty of DS1822=00</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:52 </TD><TD class=LOGType0 align=left colSpan=3>mcsTemperature Debug </TD><TD class=LOGEntry0 align=left colSpan=8>BusyServicingInterrupt=False, Comm Status = 2, Comm Buffer = > DS18B2=<</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:28:52 </TD><TD class=LOGType1 align=left colSpan=3>mcsTemperature Debug </TD><TD class=LOGEntry1 align=left colSpan=8>BusyServicingInterrupt=False, Comm Status = 2, Comm Buffer = >00<</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:53 </TD><TD class=LOGType0 align=left colSpan=3>mcsTemperature Debug </TD><TD class=LOGEntry0 align=left colSpan=8>BusyServicingInterrupt=False, Comm Status = 2, Comm Buffer = >|Qty of<</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:28:53 </TD><TD class=LOGType1 align=left colSpan=3>mcsTemperature </TD><TD class=LOGEntry1 align=left colSpan=8>Temp05/08 Data: Qty of DS18B2=00</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:53 </TD><TD class=LOGType0 align=left colSpan=3>mcsTemperature Debug </TD><TD class=LOGEntry0 align=left colSpan=8>BusyServicingInterrupt=False, Comm Status = 2, Comm Buffer = > DS2438=01|SUN 03:54:51|><</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:28:53 </TD><TD class=LOGType1 align=left colSpan=3>mcsTemperature </TD><TD class=LOGEntry1 align=left colSpan=8>Temp05/08 Data: Qty of DS2438=01</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:53 </TD><TD class=LOGType0 align=left colSpan=3>mcsTemperature </TD><TD class=LOGEntry0 align=left colSpan=8>Temp05/08 Data: SUN 03:54:51</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:28:53 </TD><TD class=LOGType1 align=left colSpan=3>Info </TD><TD class=LOGEntry1 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S3 (R9) ON</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:54 </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S3 (R9) OFF</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:28:55 </TD><TD class=LOGType1 align=left colSpan=3>Info </TD><TD class=LOGEntry1 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S3 (R9) ON</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:56 </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S5 (R11) OFF</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:28:57 </TD><TD class=LOGType1 align=left colSpan=3>mcsTemperature Debug </TD><TD class=LOGEntry1 align=left colSpan=8>SendQueue=</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:57 </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S5 (R11) ON</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:28:58 </TD><TD class=LOGType1 align=left colSpan=3>Info </TD><TD class=LOGEntry1 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S5 (R11) OFF</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:28:58 </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S5 (R11) ON</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:29:01 </TD><TD class=LOGType1 align=left colSpan=3>Info </TD><TD class=LOGEntry1 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S6 (R12) ON</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:29:02 </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Speaker client connected from: 127.0.0.1</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:29:02 </TD><TD class=LOGType1 align=left colSpan=3>Info </TD><TD class=LOGEntry1 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S6 (R12) OFF</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:29:03 </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S6 (R12) ON</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:29:03 </TD><TD class=LOGType1 align=left colSpan=3>Info </TD><TD class=LOGEntry1 align=left colSpan=8>Speaker host added, Name: tinka IP address: 127.0.0.1</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:29:04 </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S6 (R12) OFF</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:29:17 </TD><TD class=LOGType1 align=left colSpan=3>Info </TD><TD class=LOGEntry1 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S1 (R7) ON</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:29:18 </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S1 (R7) OFF</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:29:19 </TD><TD class=LOGType1 align=left colSpan=3>Info </TD><TD class=LOGEntry1 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S2 (R8) ON</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:29:20 </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S2 (R8) OFF</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:29:21 </TD><TD class=LOGType1 align=left colSpan=3>Info </TD><TD class=LOGEntry1 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S7 (R13) ON</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:29:22 </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S7 (R13) OFF</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:29:24 </TD><TD class=LOGType1 align=left colSpan=3>Info </TD><TD class=LOGEntry1 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S0 (R6) ON</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:29:25 </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Device: Temperature Switch 8100000000FFA129S0 (R6) OFF</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:29:29 </TD><TD class=LOGType1 align=left colSpan=3>mcsTemperature Debug </TD><TD class=LOGEntry1 align=left colSpan=8>(0) OutsideBand Current=20,2, Lower=6, Upper=, Compare1=, Compare2=,trueConditions=1</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>19.03.2007 20:29:29 </TD><TD class=LOGType0 align=left colSpan=3>mcsTemperature Debug </TD><TD class=LOGEntry0 align=left colSpan=8>(0) SampleEventTriggered=True, Trigger Repeat Time=00:00:00, TriggerDwell=0, DwellStart=19.03.2007 20:28:20</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>19.03.2007 20:29:29 </TD><TD class=LOGType1 align=left colSpan=3>mcsTemperature Debug </TD><TD class=LOGEntry1 align=left colSpan=8>EvaluateDeviceAction DeviceActionCollection.Count=0, MonitoredEventCount=0</TD></TR></TBODY></TABLE>
Comment
-
I have been working with Mitch at Midon regarding using the TEMP08 to control DS2405s and DS3406s. The newer versions of TEMP08 software (2.05,2.06, and 2.07) seem to have problems controlling the DS2405 and 2406. I have decided to use the TEMP08 for temperature measuring only.
Steve QHomeSeer Version: HS3 Pro Edition 3.0.0.368, Operating System: Microsoft Windows 10 - Home, Number of Devices: 373, Number of Events: 666, Enabled Plug-Ins
2.0.83.0: BLRF, 2.0.10.0: BLUSBUIRT, 3.0.0.75: HSTouch Server, 3.0.0.58: mcsXap, 3.0.0.11: NetCAM, 3.0.0.36: X10, 3.0.1.25: Z-Wave,Alexa,HomeKit
Comment
-
The debug output shows that HS is never calling the plugin to set the state of the relays. The only reason I know of HS not doing this is that the .Interface property of the devices R8, R9 etc is not MCSTEMPERATURE. If you run the attached utility it will show information about the devices including their interface property. What is the value of the .Interface property for these 1WIO relay devices?Attached Files
Comment
-
cyberspace
Sorry to a novise at this, but how do I run the file you attached. I tried to execute it, but it came up with an error. I also put the file in the HS directory and restarted HS but no luck. Please advice?
Comment
-
cyberspace
I get this error message: Component MSDATAGRD.OCX or one of its dependencies not correctly registered: a file is missing or invalid
Comment
-
IT comes with VB6 and is a free download such as from http://www.ocxdump.com/download-ocx-.../download.html
Put it in your Windows \System32 folder and register it. You can register it with regsvr32 using the following command line command after you have navigated to the \System32 folder while at the dos prompt.
regsvr32 msdatgrid.ocx
HST includes many VB6 controls with the HS install, but this apparently is not one of them.
Comment
Comment