Announcement

Collapse
No announcement yet.

contact homeseer in javascript

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

  • rmasonjr
    replied
    Originally posted by wetlip View Post
    it think it is only possible with an asp page with vb or c# , if i use javascript as directive in asp page homeseer responds it cant run it.
    Correct - HS cannot run JavaScript code. JavaScript runs on the client (browser). The only way to have JavaScript interact with HS is with HTTP requests.

    Leave a comment:


  • wetlip
    replied
    it think it is only possible with an asp page with vb or c# , if i use javascript as directive in asp page homeseer responds it cant run it.

    Leave a comment:


  • rmasonjr
    replied
    http://board.homeseer.com/showthread.php?p=970722

    Leave a comment:


  • wetlip
    replied
    Originally posted by Moskus View Post
    If you know vb.net and C#, why don't you just use that?
    i was interested in the support of javascript for homeseer because it is mentioned as stated in the online homeseer userguide scripting section paragraph user supported scripts.

    the page works with an asp page with vbscript as directive , but maybe their was a javascript way to do it.

    Leave a comment:


  • Moskus
    replied
    Originally posted by wetlip View Post
    i want to use hs.runex from javascript from a html5 page in the homeseer html directory , without asp or aspx.

    i know vb.net i know c# i know javascript
    If you know vb.net and C#, why don't you just use that?

    Leave a comment:


  • wetlip
    replied
    i want to use hs.runex from javascript from a html5 page in the homeseer html directory , without asp or aspx.

    i know vb.net i know c# i know javascript but vb script is just very confusing in writing when you are used to vb.net

    in the scriting section from the homeseer userguide paragraph user supported scripts is mentioned that js scripts are supported, only i haven't seen them anywhere.

    basically i wrote a html page, until now as asp page for three sliders to control RGB led lights. the page is controlled by javascript and homseer scripts addressed by vbscript.

    it works with asp.


    i dont know how to get three slider in the button column of homeseer for a device, so i made a html page.

    and anticipating for the future android and ios browsers are more javascript compliant as vbscript.

    for more complicated devices i think a complete html page is better as a few buttons in a device row


    or do you now a way to get 3 sliders in a device row , which can fire events ?
    Last edited by wetlip; October 8, 2012, 03:28 AM.

    Leave a comment:


  • Rupp
    replied
    What exactly are you trying to accomplish?

    Leave a comment:


  • wetlip
    started a topic contact homeseer in javascript

    contact homeseer in javascript

    is it possible to get a command like hs.writelog via javascript to homeseer server ?
Working...
X