Announcement

Collapse
No announcement yet.

Accessing the CT30 current values from a script

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

    Accessing the CT30 current values from a script

    I'm trying to get to the current values of the CT30 thermostat status values for use in a script -- speaking current temperature, setpoint, etc. but can't find where to look for devicevalue syntax. manufacturer didn't have anything and scripts here were way too complex. point me!

    #2
    From the HomeSeer Help file.

    <!--(=========================================================== ===)--><!--(Document created with RoboEditor. )============================--><!--(=========================================================== ===)--><!--(Meta)====================================================== ====--><!--(Links)===================================================== ====--><!--(Style Sheet)===================================================--><!--(Body)====================================================== ====-->' get the current temperature
    dim temp
    temp = hs.ControlThermostat("J1","GetTemp",0)


    Change J1 to the device reference for your thermostat.

    Comment


      #3
      Last edited by rschein; November 20, 2011, 11:45 PM. Reason: didn't work

      Comment


        #4
        SetPoint = hs.Plugin("ZWave Thermostats").GetHeatSet(1)
        Temperature = hs.Plugin("ZWave Thermostats").GetTemp(1)

        To set the heat setpoint:
        hs.Plugin("ZWave Thermostats").CmdSetHeat(1, SetBak)
        .
        Where 1 is your thermostat. If you have more than one, use 1, 2, 3...
        Real courage is not securing your Wi-Fi network.

        Comment


          #5
          I'll try that when I get home from a trip. Where's the documentation on this stuff? Thanks.

          Comment


            #6
            The HomeSeer Developer Kit is available via the HomeSeer updater. After install there's a documentation section available via the start menu.
            💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

            Comment


              #7
              Start Menu? Where is that?

              I D/Led the Developers kit from the updater. How does one set it up?
              Last edited by donstephens; November 22, 2011, 06:22 PM.
              Don

              Comment


                #8
                Originally posted by donstephens View Post
                Start Menu? Where is that?

                I D/Led the Developers kit from the updater. How does one set it up?
                The PC's Start menu.
                💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

                Comment


                  #9
                  Thanks Greg:

                  I would never have figured that one out.
                  Don

                  Comment

                  Working...
                  X