Announcement

Collapse
No announcement yet.

xapmcs1Wire Questions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • xapmcs1Wire Questions

    Michael:

    I now have xapmcs1wire, xapmcsDatabase, xapmcsChart, and xapmcsHub all installed and running on my W7-64 bit PC.

    Now it's time to make sure I understand each program.

    xapmcs1wire is pretty obvious but I have several questions about some of the fields in the OneWire setup page.

    In the sensor page, does the "Name" field do anything special for me, or is it just a way to make each sensor more recognizable? Is this name passed via xap message to any other xap node?

    I am assuming the Cal and Rev field are the same as the ones in mcsTemperature. I can add a plus or minus offset to the received sensor reading with the Cal field. The Rev field is for switch polarity.

    The next section with questions is the User-Defined Types. What can I do with these?

    Counter calibrations look pretty self explanatory.

    A few questions in the formatting section. If I check the Homeseer Header box how does this program know how to find the homeseer header. What about the exclude banner checkbox? I am trying these checkboxes checked both ways but I am not sure I see any changes in the web page from one state to the other. What about the Title of Footer checkbox.

    In the xAp / HTTP section, what does the Included DisplayText Key checkbox do? In the SendBSC.Info every __ minutes, it defaults to 0. What exactly happens if that is not zero.

    Query Devices button. It says "Report Status of All Devices via XapBSC Schema" Does that mean it sends the current values , states, or whatever of each accepted device as it currently is, or does it force a 1wire poll of all the accepted devices and report those values. When would I want to use this button?

  • #2
    In the sensor page, does the "Name" field do anything special for me, or is it just a way to make each sensor more recognizable? Is this name passed via xap message to any other xap node?
    The name forms part of the xAP address for the device and is use for ease of identification. The serial number of the device is also part of the address and it is used as a unique id by xapmcsDatabase.

    I am assuming the Cal and Rev field are the same as the ones in mcsTemperature. I can add a plus or minus offset to the received sensor reading with the Cal field. The Rev field is for switch polarity.
    Generally correct. There is some averaging options and there is the control point(s) for the switch types that are part of the temperature devices

    The next section with questions is the User-Defined Types. What can I do with these?
    I dont use them myself so dont remember too much about them. The basic concept is a way to label a widget on the chart with something meaningful

    A few questions in the formatting section. If I check the Homeseer Header box how does this program know how to find the homeseer header. What about the exclude banner checkbox? I am trying these checkboxes checked both ways but I am not sure I see any changes in the web page from one state to the other. What about the Title of Footer checkbox.
    This requires the xap application to run on the same computer as HS so HS API calls can be made to get the header. The other display options are a result of user requests and I would need to research to determine what each does.

    In the xAp / HTTP section, what does the Included DisplayText Key checkbox do? In the SendBSC.Info every __ minutes, it defaults to 0. What exactly happens if that is not zero.
    DisplayText is an optional xapBSC schema key. It correlates to the HS DeviceString.
    Normally changes of sensor value are sent with xapbsc.event. Current value can also be requested with xapbsc.query schema sent from the requesting node and the target of the request uses xapbsc.info to report current values. They will often do that when they startup so they get the state of data from other applications that they use. The SendBSC tells xapmcs1wire to send xapbsc.info periodically.

    Query Devices button. It says "Report Status of All Devices via XapBSC Schema" Does that mean it sends the current values , states, or whatever of each accepted device as it currently is, or does it force a 1wire poll of all the accepted devices and report those values. When would I want to use this button?
    It is a manual SendBSC as described above. I use it when testing and I also use it when adding a new sensor that needs to be included int he database and then used for charting. Since updates to database only occur upon data receipt I will want to send it now rather than waiting for when the next change in the sensor occurs.

    Comment


    • #3
      Thanks very much.

      Now my next task is to get the HS2 xap plugin installed and get mcsTemperature running with all the xap nodes.

      You have been very helpful over the last week. I am pretty there will be a few more question in the coming days.

      Thanks again

      Bob

      Comment


      • #4
        Hi FedMan,
        I have been following your posts and I understand how hard is to have it running. I know there are lot of documentations, plug-in and etc. but maybe too many :-) Michael has been great to help during issues but I do not want to end up with other several posts about installing it. Would it be possible for you when done with this exercises to write a quick documentation and where you have found all the new plug in and etc.
        Last but not least, it seems that I can run both MC-Temperature and XAP at the same time, the thing that is confusing me is about the com port that I have right now attached to MCTemp. Would I need to reconnect it to XAP to work?
        I hope one day to have it functioning as well.
        Thanks,
        Aldo

        Comment


        • #5
          Mike,
          I just now have the opportunity to convert from mcsTemperature to xapmcs1Wire using the newer HS xapmcs plugin.

          I notice that xapmcs1wire is reporting units (ie:
          This is not a problem so long as I know this is to be the format going forward. The reason I ask is that I use the data in these device strings in several scripts. In the past, using mcsTemperature and the previous xapmcs plugin, I had to strip these characters in order to make use of the data. The current format, while it looks plain in the devices is actually much easier for me to deal with. I have yet to check whether or not the DeviceValues have been populated. If so, this would make my life even easier, especially if the units were to be included in the DeviceStrings in future.

          Thanks.

          Edit: I see the Device Vaues are indeed populated, but rounded. For what it's worth, could these perhaps be presented as an integer multiplied by 10 or 100?
          Real courage is not securing your Wi-Fi network.

          Comment


          • #6
            Aldo:

            Would it be possible for you when done with this exercises to write a quick documentation and where you have found all the new plug in and etc.
            It just so happens that I have been keeping a running log of my experiences with xap. What I am doing right now is setting up a test case with plans on building a new more powerful HS server box and then re-install all my working systems including xap apps. I hope to have enough detail in my document so that when I install on the new server, it all goes smooth and no new surprises.

            You might want to remind me in a few weeks about the documentation.

            Comment


            • #7
              it seems that I can run both MC-Temperature and XAP at the same time, the thing that is confusing me is about the com port that I have right now attached to MCTemp. Would I need to reconnect it to XAP to work?
              Aldo,

              I am using both MCSTemperature (connected to one Temp08), one instance of the MCSXAP1-wire application connected to two 9097s's and one instance of the MCSXAPTemp0X running connected to a Temp05. In addition using the XAP hub to get data over to HS for more 1-wire sensors connected to a remote(s) 1-wire MCS XAP running out there in networklandia.

              If its just one device connected to one serial com port you will have to move the device over from using it in MCSTemperature to using it in the MCSXAP application. Once you've moved it though you can get the XAP data into MCSTemperature like a regular connected device.
              - Pete

              Auto mator
              Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU - Mono 6.4X
              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.4X

              X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

              Comment


              • #8
                Additional to the above; you can now run MCSSprinklers on a separate little box like the Sheeva Seagate Dockstar or Pogoplug appliance like and remote it via XAP from Homeseer MCS XAP.
                Attached Files
                - Pete

                Auto mator
                Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU - Mono 6.4X
                Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.4X

                X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

                Comment


                • #9
                  Greg,

                  I just changed one instance of the 1-wire application (running on a non homeseer PC) over to C from F, MPH to KPH and I do see the correct values (numerics) in HS and being broadcast via the XAP viewer. I just don't see the C for temperature or the KPH for speeds in the Homeseer variables.
                  - Pete

                  Auto mator
                  Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU - Mono 6.4X
                  Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.4X

                  X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

                  Comment


                  • #10
                    Originally posted by Pete View Post
                    Greg,

                    I just changed one instance of the 1-wire application (running on a non homeseer PC) over to C from F, MPH to KPH and I do see the correct values (numerics) in HS and being broadcast via the XAP viewer. I just don't see the C for temperature or the KPH for speeds in the Homeseer variables.
                    Thanks for the verification. Are you saying you do see them when not using Metric? If this is the case, then Mike will likely "fix" it on me so I'd best leave the parsing routines intact in my script. I was about to start removing this to streamline my script. I remember I did have them with the older plugin. That "degree" symbol was presented differently than it was from mcsTemperature and gave me quite a bit of grief.
                    Real courage is not securing your Wi-Fi network.

                    Comment


                    • #11
                      I see the numbers metric numbers/values correctly. I do not see the whether the numbers are MPH or KPH or F or C or icons from the "remotely" running mcsxaptemp0x 1-wire application; but do see them with the mcsxap1-wire application.

                      The way I have it configured as Wind gust or speed in the sensors set up; it should also then show up in the variables as MPH or KPH with the icons and it doesn't. That's my guess though.

                      Its the MCSXAPTemp0x running in this example. I also have MCSXAP1-wire running on another box.

                      Will turn up the W2008 box with the MCS1-wire application and look via 1-wire viewer and connect the mcsXAPTemp0x to a Temp0X device to see how that is working too.

                      On HS the 1-wire temperature broadcast looks like the following. It includes the icon and whether its F or C.

                      Code:
                      xap-header
                      {
                      v=13
                      hop=1
                      uid=FF.0005:0018
                      class=xAPBSC.info
                      source=mcs.OneWire.ICS-HS-2:xapmcs1Wire_Combo basement Temp-2.43000801E197F110.Temperature
                      }
                      input.state
                      {
                      State=OFF
                      DisplayText=<table><td><img alt='Temperature' src='/images/temperatures/62.gif' height='16' width='16'><img alt=' ' src='/images/sensors/blank3.gif'></td><td valign='middle' align='left'>62.7F</td></table>
                      Text=62.7
                      }
                      A temperature sensor on the W2008 box looks like this: (so it looks like its showing it in centigrade with the icon). So you "should" see this as a variable in HS with both "C" and the temperature icon.

                      Code:
                      xap-header
                      {
                      v=13
                      hop=1
                      uid=FF.0005:0008
                      class=xAPBSC.event
                      source=mcs.OneWire.ICS-W2008-HSPRO:xapmcs1Wire_W2008-Temp Sensor.B900080013564B10.Temperature
                      }
                      input.state
                      {
                      State=OFF
                      DisplayText=<table><td><img alt='Temperature' src='/images/temperatures/17.gif' height='16' width='16'><img alt=' ' src='/images/sensors/blank3.gif'></td><td valign='middle' align='left'>17.4C</td></table>
                      Text=17.4
                      }
                      The mcsxapTemp0x doesn't show neither the "C" or "F" nor icon when its being broadcast. So this is another subject with another thread relating to just the mcsXAPTemp0x application.

                      Code:
                      xap-header
                      {
                      v=13
                      hop=1
                      uid=FF.0007:0010
                      class=xAPBSC.event
                      source=mcs.Temp0X.ICS-STORAGE-2:xapmcsTemp0x_Temp08-Test Temp2.84000800E947A110.Temperature
                      }
                      input.state
                      {
                      State=ON
                      Text=63
                      }
                      See attached.
                      Attached Files
                      Last edited by Pete; January 18th, 2012, 05:23 PM.
                      - Pete

                      Auto mator
                      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU - Mono 6.4X
                      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.4X

                      X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

                      Comment


                      • #12
                        OK then. It's nothing I've done.
                        Real courage is not securing your Wi-Fi network.

                        Comment


                        • #13
                          I also put one line scripts in the MCSTemperature sensor values to change them alpha/numerically.

                          You can add an icon and F or C there too.
                          - Pete

                          Auto mator
                          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU - Mono 6.4X
                          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.4X

                          X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

                          Comment


                          • #14
                            can the Xapmcs1wire application run with more than 1 com port?

                            I have a Hobby boards 1 wire master hub with MANY sensors on its channels, and im finding that with lots of sensorsmy frnace temp sensor (which I need FAST readings from) is getting delayed because of the other channels.. Id like to run my furnace sensor by itself on a DS9097 device and also still keep the master hub.. is there a way to run multiple instances of xapmcs1wire with different INI files so this can be achieved? I only have this one windows computer (my HS server) on my network so running on another PC is not an option...
                            -Christopher
                            PerfecTemp - the Most advanced HVAC system I've ever Built - and its in my House

                            Comment


                            • #15
                              I have one instance of XAPMCS 1-Wire running from two com ports on the HS box.

                              In addition been playing around with a new Chinese USB 1-wire device. Its just a USB dongle with two stereo jacks on it (3 wires). It works well and similiar to the multiple 9097's I have connected.

                              20 12:42:24 | Port=COM2 Address=DC00000014C88C26 Family=DS2438 Temperature=44.4875 Humidity=66 Voltage= 3.53 2.09 -0.25 -6410 |
                              20 12:42:25 | Port=COM13 Address=640000000DC81C1D Family=DS2423 Counter=55902/12553 |
                              20 12:42:27 | Port=COM2 Address=9600000014CAB326 Family=DS2438 Temperature=55.90625 Humidity=39 Voltage= 3.54 1.47 -0.25 -6410 |
                              20 12:42:28 | Port=COM2 Address=43000801E197F110 Family=DS1920 Temperature=17.1875 |
                              20 12:42:31 | Port=COM2 Address=BD000000F53A3B26 Family=DS2438 Temperature=58.8875 Humidity=34 Voltage= 3.5 1.31 0 -6 |
                              20 12:42:32 | Port=COM13 Address=640000000DC81C1D Family=DS2423 Counter=55902/12553 |
                              20 12:42:36 | Port=COM2 Address=DC000000F1D35C26 Family=DS2438 Temperature=62.0375 Humidity=37 Voltage= 3.53 1.38 0 -6 |
                              20 12:42:39 | Port=COM2 Address=9600000014CAB326 Family=DS2438 Temperature=55.9625 Humidity=39 Voltage= 3.55 1.46 -0.25 -6410 |
                              20 12:42:42 | Port=COM2 Address=6B000000E772F326 Family=DS2438 Temperature=16.75625 Humidity=100 Voltage= 3.42 2.85 0 69 |
                              20 12:42:44 | Port=COM2 Address=43000801E197F110 Family=DS1920 Temperature=17.1875 |
                              20 12:42:44 | Port=COM13 Address=640000000DC81C1D Family=DS2423 Counter=55902/12553 |
                              - Pete

                              Auto mator
                              Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU - Mono 6.4X
                              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.4X

                              X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

                              Comment

                              Working...
                              X