Announcement

Collapse
No announcement yet.

JSON request - Help within 30 day post purchase period.

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

    JSON request - Help within 30 day post purchase period.

    Perhaps the community can help?


    From: support.47950.7598089d2a09a93d@helpscout.net [mailto:support.47950.7598089d2a09a93d@helpscout.net] On Behalf Of HomeSeer Support
    Sent: Tuesday, 29 November 2016 10:09 PM
    To: xxx <...>
    Subject: Re: SUPPORT REQUEST WITHIN 30 DAY PERIOD - please respond.

    Hello,

    We got your help request! One of our agents will respond to you as soon as possible.

    Thanks!
    HomeSeer Support
    603-471-2816



    sent a message Nov 29, 6:09am
    Hello, attempt #2 for support within my 30 day period. (My last attempt went unanswered).

    The JSON command for Homeseer are extremely limited. I count 13 in total.

    I can not for example run a script, I can not run an event and pass a (text) parameter nor it appears set the status string of a device.

    I have a virtual device (DevRef 3779) I want to set the status on via a JSON call.
    (As devices can only have a numerical value in Homeseer, - who thought that was a good idea? - I want to set a device status (text) using JSON. I do not want to define all the possible status texts, there are thousands of combinations.)

    I want to set the device status to be something like the following "V123" or "V++" or "B1-10" etc. via JSON call from a remote system.

    I do not want to write my own plugin for this.

    http://www.homeseer.com/support/home..._with_json.htm
    Says I can use the following to set the a device property.
    Note: It is clearly malformed as it does not have a Device Reference:
    /JSON?request=setdeviceproperty&property=NAME&value=VALUE Sets a specific property on a device using the property name. For example, the "Name" of a device may be set using:

    /JSON?request=setdeviceproperty&property=Name&value=NewName

    See the device section in the scripting reference in the HS3 user documentation for a list of device properties.



    Assuming the correct command included "&ref=xxxx" the command is now:

    /JSON?request=setdeviceproperty&ref=xxxxproperty=NAME&value=V ALUE

    This tells me to go see the device section of the scripting reference to get a list of properties.
    Looking at the Scripting help (http://homeseer.com/support/homeseer...lp/default.htm ) here, I see the Devices Class has the following:
    Status
    Public ReadOnly Property devString(ByVal hs As IHSApplication) As String
    This is the device string for the device. When this property contains a value, it can override the display of the device's normal status display which is based upon the device's value. This property may contain HTML if HTML features are desired to be used when the device is viewed on the device utility page or the status views. This property is Read Only, so script commands must be used to modify the string value such as hs.SetDeviceString

    So, I assume the property is called devString. Is it?

    Is so the following should work. It doesn't.
    http://192.168.0.20:81/JSON?request=...ring&value=V++

    { "Response":"error, setting device property:Property set method not found." }


    Interestingly after trawling the forums, I tried this:

    http://192.168.0.20:81/JSON?request=...ring&value=V++

    returns { "Response":"ok" }

    So, question. How do I achieve what I am looking for from the JSON call?
    1) Preferably: Run a script and pass parameters
    2) Set Status of a virtual device (and value which will trigger a script to read the status to then action).

    Thanks,
    Yours in eternal hope

    #2
    I also can't get the JSON setdeviceproperty to work.

    Steve Q


    Sent from my iPad using Tapatalk
    HomeSeer 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


      #3
      Thanks.

      Now, all I need is for the support to work Glad I did not pay for support.
      http://www.homeseer.com/support-home.html

      Code:
      [B]For product help within 30 days of purchase[/B]
      option 1: call us directly at 603-471-2816 
      option 2: email support@homeseer.com
      For product help beyond 30 days of purchase, please use option 2.
      Anyone using paid support? What's it like? Does anyone answer?

      Comment


        #4
        Aaaaand, still nothing.....

        Comment


          #5
          Originally posted by davros View Post
          Aaaaand, still nothing.....
          Did you try calling?

          Comment


            #6
            I am in Australia and while Skype or other IP options exist, it's not a viable option for me.

            Comment


              #7
              if you want to write your own plugin and json while it is convenient does NOT integrate you enough, you must stick to c# or VB using the examples provided online and go from there.

              It takes a bit to get used to but once you are there, you have all the full control you are looking for.

              JSON is very simplistic and on purpose. I'm not sure if they are going to expand it or not since you can just get in there with a plugin module you can completely control.

              you could potentially wrap a stronger json service into a plugin.......... food for thought.

              good luck

              Comment


                #8
                Thanks for posting UltimateInternet. Much appreciate the suggestion.

                I may infact sadly end up writing my own plugin (or leveraging others - see here...) Note: Those other plugins were abandoned precisely because HS was developing a native JSON interface.

                I would prefer to leverage the feature that is documented and that was advertised as available for integration when I bought the product - a native HS3 JSON interface as documented in http://www.homeseer.com/...HS3/SDK/controlling_with_json.htm)

                Comment


                  #9
                  I wonder if the Homeseer team are trying to wait me out? 12 days since the last request and follow up emails and PM's have only resulted in automated responses.

                  Clearly they think I will give up, nope. not this little black duck.
                  Last edited by davros; December 11, 2016, 04:56 AM.

                  Comment


                    #10
                    There are numerous bugs within HS3, many going back years! HST don't seem that interested in bug fixing recently so don't pin your hopes too high!
                    Jon

                    Comment


                      #11
                      Yeah, I get that Jon and it's guys like you that keep guys like me hopeful even inspite of that.

                      But that's just wrong and should not be accepted as just how it is. This is not abandonware. It's a product that is being actively sold into the market and purports to be the #1 rated HA software.

                      I was told when I bought it I would get 30 days support from the HS team. I have not, and that's not ok in my books.

                      I know I know, no one cares and all that, but it's just not going to ever be ok to me to plain out ignore your paying customers.

                      PS. I did have a look at bugzilla and it's not too bad really inb terms of the numbers for the core product...
                      Attached Files
                      Last edited by davros; December 11, 2016, 05:53 AM.

                      Comment


                        #12
                        I totally agree with you however there is not much we can do. HST provided Bugzilla to report faults but there are many outstanding tickets.

                        The problem is that HST are a very small company and put their resources in to generate income. I believe that there are only 2 programmers active (Rich and Wade) and Rich has hinted that they are working on something new.
                        Jon

                        Comment


                          #13
                          See this thread for what I found out about setdeviceproperty.
                          Last edited by baudi; December 11, 2016, 01:41 PM.

                          Comment


                            #14
                            Originally posted by jon00 View Post
                            I believe that there are only 2 programmers active (Rich and Wade) and Rich has hinted that they are working on something new.
                            I still think they need to plan for bug fixes. Working on something new (unless it fixes bugs), doesn't make me feel warm and fuzzy. Give 25% of your dev time to bug fixes. This keeps current customers happy and shows potential customers that you care about your product.


                            Sent from my XT1585 using Tapatalk

                            Comment


                              #15
                              #fail

                              Oh dear.

                              The official paid support finally responded. The PAID support does not support the published API and instead directs you to the non-official community support? What the?

                              Tyler replied Dec 21, 1:51pm
                              Hello ,

                              Our support team cannot offer any assistance with programming or scripting. For help, I would recommend posting on our message board under the Developer Support section.
                              http://board.homeseer.com/forumdisplay.php?f=1390

                              Regards,


                              --
                              Tyler M
                              support@homeseer.com
                              Support Technician
                              603-471-2816


                              How would you rate my reply?
                              Great Okay Not Good
                              Last edited by davros; December 27, 2016, 05:37 PM.

                              Comment

                              Working...
                              X