Announcement

Collapse
No announcement yet.

Arduino Script Testing. (Enigmatheatre)

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

  • #46
    Originally posted by FredrikKan View Post
    Hi Greig! Having no luck with my breadboard version of the mailbox setup (the inputs I defined does not trigger on 5v - will make another try later) I went on with other experimenting;




    Today I tried to add a 1-wire temperature sensor with no success;
    • I deleted an input device earlier defined in HS on pin 10
    • shutted down HS
    • edited the Homeseer VX.X.X.ino to use 1-wire on pin 10 (and deleted the old usage for pin 10)
    • loaded the new code to Arduino
    • physically added the 1-wire sensor to the board
    • restarted HS and clicked "Setup" button for the board device
    No new 1-wire device shows up under devices. What device code will it use - could it be a collision with an already used device code?

    Hi FredikKan,

    Maybe i can help.
    If a "new" one-wire sensor is connected it will first show-up in the arduino.ini (located in the config section of HS), a new entry with the ROM adress of the sensor is added (like 289DA4A53005=HC) you have to change 'HC' into the housecode you want it to be in HS.
    When the arduino.ini is saved, the script in HS will create the new device.

    This is also explained in Greig's script manual.

    Regards, Peet

    Comment


    • #47
      Originally posted by tonlof View Post
      I can also tell that Arduino works perfect with USB server over ethernet, I have my Audrino in a different building then Homeseer. http://www.silexeurope.com/en/home/p...ds-4000u2.html

      Hi Tonlof,

      I am also very interested in the possibility to connect an Arduino to HS with a usb server over internet, if the arduino is connected to the SX-DS-4000U2 USB device server you used, is it then also visible for the Arduino.exe program for downloading the program into the Arduino?

      Comment


      • #48
        It looks like you lack going to the config file and add a Homeseer code to the OneWire device found.

        (And then the setup button.)

        Regards
        Morten

        Comment


        • #49
          Oops!

          I did read that information a week ago... short memory I'm afraid...
          However, the arduino.ini have no info on 1-wire device code;

          [Settings]
          Logging =0
          No of Boards=1

          [Board1]
          Com port=6
          Board Address=1
          Board Code=J1
          No Of Inputs=3
          No Of Analogue=0
          No Of Outputs=8
          No Of PwmOutputs=0
          Input1=I10
          Input2=I11
          Input3=I12
          Output1=O1
          Output2=O2
          Output3=O3
          Output4=O4
          Output5=O5
          Output6=O6
          Output7=O7
          Output8=O8
          [Board2]
          Com port=

          I must be doing something more the wrong way!?

          Comment


          • #50
            Reboot of Arduino helped somewhat...

            After power toggle off/on for the Arduino board HS found the device!

            <TABLE border=0 cellSpacing=2 cellPadding=0 width="100%"><TBODY><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:07:22 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>OneWire device found with the Rom Address = 2836B7BD040000CD. Please add your housecode to the arduino.ini</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:07:20 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Connected to Board 1 on Com port 6</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:07:19 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Board 1, Input 3, Value = Off</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:07:19 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Input 2, Value = Off</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:07:19 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Board 1, Input 1, Value = Off</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:07:19 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1 Version 1.1.0 and Script Version 1.1.0 are compatible.</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:07:19 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Connecting to Arduino Board 1 on Com Port=6 baud= 115200 Parity= 0 DataBits= 8 stopBits= 1</TD></TR></TBODY></TABLE>
            I edited in W12 as the device code and clicked "Setup". No device W12 shows up in HS.
            The output in the log file is shown below;

            <TABLE border=0 cellSpacing=2 cellPadding=0 width="100%"><TBODY><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:21 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Connected to Board 1 on Com port 6</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:21 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Input 3, Value = Off</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:21 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Board 1, Input 2, Value = Off</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:21 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Input 1, Value = Off</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:21 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Board 1 Version 1.1.0 and Script Version 1.1.0 are compatible.</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:20 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>INI Clean complete, Updating Device status.</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:20 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Setup complete, Cleaning INI setup.</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:20 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Connecting to Arduino Board 1 on Com Port=6 baud= 115200 Parity= 0 DataBits= 8 stopBits= 1</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:20 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O8 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:20 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 8, Board Pin no = 9, HS Device code = O8</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:19 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O7 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:19 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 7, Board Pin no = 8, HS Device code = O7</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:18 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O6 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:18 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 6, Board Pin no = 7, HS Device code = O6</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:18 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O5 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:18 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 5, Board Pin no = 6, HS Device code = O5</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:17 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O4 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:17 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 4, Board Pin no = 5, HS Device code = O4</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:17 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O3 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:17 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 3, Board Pin no = 4, HS Device code = O3</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:16 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O2 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:16 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 2, Board Pin no = 3, HS Device code = O2</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:16 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O1 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:16 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 1, Board Pin no = 2, HS Device code = O1</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:15 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device I12 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:15 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Input 3, Board Pin no = 13, HS Device code = I12</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:15 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device I11 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:15 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Input 2, Board Pin no = 12, HS Device code = I11</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:14 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device I10 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:14 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Input 1, Board Pin no = 11, HS Device code = I10</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:14 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Number of PwmOutputs = 0</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:13 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Number of Outputs = 8</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:13 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Number of Analogue = 0</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:12 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Number of Inputs = 3</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:11 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Board 1 Version 1.1.0 and Script Version 1.1.0 are compatible.</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:11 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Device J1 Exists</TD></TR></TBODY></TABLE>

            If I remember X10 correct (I probably don't!) he "House Code" is in this case "W" and the device # is 12 - isn't it?

            Comment


            • #51
              Does the line in your arduino.ini look like this? RomAddress,280025110400001D=O10

              I once forgot the resistor. Can it be something like that? :-)

              Regards
              Morten

              Comment


              • #52
                I had a thought, it may not be practical but if the ethernet stuff was causing a bit of grief I wonder if it is possible to do like that Jon00 does with a few of his plugins and create it so that it can be run from another PC. that way if there are multiple computers on in someones house, they could have Arduino's on multiple ones for input / output work.
                HS3 PRO, Win10, WeatherXML, HSTouch, Pushover, UltraGCIR, Heaps of Jon00 Plugins, Just sold and about to move so very slim system.

                Facebook | Twitter | Flickr | Google+ | Website | YouTube

                Comment


                • #53
                  Originally posted by FredrikKan View Post
                  After power toggle off/on for the Arduino board HS found the device!

                  <TABLE border=0 cellSpacing=2 cellPadding=0 width="100%"><TBODY><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:07:22 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>OneWire device found with the Rom Address = 2836B7BD040000CD. Please add your housecode to the arduino.ini</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:07:20 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Connected to Board 1 on Com port 6</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:07:19 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Board 1, Input 3, Value = Off</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:07:19 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Input 2, Value = Off</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:07:19 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Board 1, Input 1, Value = Off</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:07:19 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1 Version 1.1.0 and Script Version 1.1.0 are compatible.</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:07:19 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Connecting to Arduino Board 1 on Com Port=6 baud= 115200 Parity= 0 DataBits= 8 stopBits= 1</TD></TR></TBODY></TABLE>
                  I edited in W12 as the device code and clicked "Setup". No device W12 shows up in HS.
                  The output in the log file is shown below;

                  <TABLE border=0 cellSpacing=2 cellPadding=0 width="100%"><TBODY><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:21 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Connected to Board 1 on Com port 6</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:21 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Input 3, Value = Off</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:21 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Board 1, Input 2, Value = Off</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:21 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Input 1, Value = Off</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:21 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Board 1 Version 1.1.0 and Script Version 1.1.0 are compatible.</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:20 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>INI Clean complete, Updating Device status.</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:20 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Setup complete, Cleaning INI setup.</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:20 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Connecting to Arduino Board 1 on Com Port=6 baud= 115200 Parity= 0 DataBits= 8 stopBits= 1</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:20 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O8 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:20 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 8, Board Pin no = 9, HS Device code = O8</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:19 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O7 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:19 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 7, Board Pin no = 8, HS Device code = O7</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:18 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O6 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:18 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 6, Board Pin no = 7, HS Device code = O6</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:18 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O5 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:18 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 5, Board Pin no = 6, HS Device code = O5</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:17 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O4 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:17 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 4, Board Pin no = 5, HS Device code = O4</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:17 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O3 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:17 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 3, Board Pin no = 4, HS Device code = O3</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:16 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O2 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:16 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 2, Board Pin no = 3, HS Device code = O2</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:16 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device O1 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:16 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Output 1, Board Pin no = 2, HS Device code = O1</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:15 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device I12 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:15 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Input 3, Board Pin no = 13, HS Device code = I12</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:15 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device I11 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:15 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Input 2, Board Pin no = 12, HS Device code = I11</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:14 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Device I10 Exists</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:14 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Board 1, Input 1, Board Pin no = 11, HS Device code = I10</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:14 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Number of PwmOutputs = 0</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:13 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Number of Outputs = 8</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:13 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Number of Analogue = 0</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:12 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Number of Inputs = 3</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>2013-04-19 19:09:11 </TD><TD class=LOGType0 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry0 colSpan=8 align=left>Board 1 Version 1.1.0 and Script Version 1.1.0 are compatible.</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>2013-04-19 19:09:11 </TD><TD class=LOGType1 colSpan=3 align=left>Arduino </TD><TD class=LOGEntry1 colSpan=8 align=left>Device J1 Exists</TD></TR></TBODY></TABLE>

                  If I remember X10 correct (I probably don't!) he "House Code" is in this case "W" and the device # is 12 - isn't it?

                  Hi there,

                  Sorry I missed your post I have been very busy at work.
                  Did you Get this to work?
                  As morten said you should have a entry in your ini that looks like this RomAddress,2836B7BD040000CD=HC
                  Change HC to the code you want it to be so I guess you want to use then save the ini. You will then have to wait till the temp on the onewire device changes and then the device will be created in homeseer.

                  You dont have to run the setup for one wire as this is passed to homeseer on connect.

                  If this is not working for you could you send me your ini and ino and i will have a look.

                  Greig.
                  Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
                  X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
                  Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
                  Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
                  Scripts =
                  Various

                  Comment


                  • #54
                    Originally posted by enigmatheatre View Post
                    You will then have to wait till the temp on the onewire device changes and then the device will be created in homeseer.

                    Comment


                    • #55
                      Good to here you got it working.

                      I think i need to change the manual as the last update I did on the script will cause the device to not be created untill there is a temp change in the onewire device.

                      Greig.
                      Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
                      X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
                      Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
                      Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
                      Scripts =
                      Various

                      Comment


                      • #56

                        Comment


                        • #57
                          HI,

                          No you can use more than one. You would have to reset the arduino when you add a new one then you will have to wait for the temp to change for it to register in homeseer.

                          Greig.
                          Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
                          X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
                          Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
                          Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
                          Scripts =
                          Various

                          Comment


                          • #58
                            I have not tried a lot. But there are two DS18B20 on my "beta test breadboard". They work fine.

                            But of course it could be a new error.

                            Regards
                            Morten

                            Comment


                            • #59

                              Comment


                              • #60
                                No status change when 5 volt is applied to input pin

                                Hi again!
                                Output pins are working, 1-wire is working - now it's time for the next option!
                                I have assigned three pins for input;

                                Connected to Board 1 on Com port 6
                                Board 1, Input 3, Value = Off
                                Board 1, Input 2, Value = Off
                                Board 1, Input 1, Value = Off

                                I then apply 5 volt to one (or any) of the input pins and check for result in Homeseer.
                                After trying several times I have now concluded that the input pins I have
                                assigned does not trigger a status change on the corresponding devices in Homeseer.

                                Status of one of the devices after applying 5 volt;
                                <TABLE border=1 cellSpacing=0 cellPadding=0 width="100%"><TBODY><TR><TD class=tableroweven align=left>Reference ID</TD><TD class=tableroweven colSpan=9 align=left>4482</TD></TR><TR><TD class=tablerowodd align=left>Status</TD><TD class=tablerowodd colSpan=9 align=left>17 = Unknown</TD></TR><TR><TD class=tableroweven align=left>Value</TD><TD class=tableroweven colSpan=9 align=left>1 = "Off" </TD></TR><TR><TD class=tablerowodd align=left>String</TD><TD class=tablerowodd colSpan=9 align=left></TD></TR><TR><TD class=tableroweven align=left>Supports Status</TD><TD class=tableroweven colSpan=9 align=left>False</TD></TR><TR><TD class=tablerowodd align=left>Dimmable</TD><TD class=tablerowodd colSpan=9 align=left>False</TD></TR><TR><TD class=tableroweven align=left>Misc Settings</TD><TD class=tableroweven colSpan=9 align=left>Status Only</TD></TR></TBODY></TABLE>

                                Any tips are appreciated!

                                Fredrik
                                Last edited by FredrikKan; May 2nd, 2013, 08:54 AM.

                                Comment

                                Working...
                                X