This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.

Devantech WIFI008 8 relais module

Hi, 
Any clue how to control the Devantech WIFI008 8-relais module?
Commanset at: Https://www.robot-electronics.co.uk/htm/wifi008tech.htm
Thnx!

Comments

  • If you know some programming you can start by looking how the ui works within the browser and try to build an nodejs app around it.
  • Beste,

    ben in bezit van twee relay kaarten (wel via utp kabel) die ik aan stuur met https://apps.athom.com/app/com.internet

    aangezien de kaart op het zelfde principe werkt (HTML commando's) kan je gebruik maken van bovenstaande url link.
  • Hallo Paulus,

    Hoe ziet een dergelijk commando in Homey er dan uit?
    In de browser lukt het me wel om de relais aan te sturen, maar ik kan dit niet omzetten naar een Homey actie.

    Bvd
    Roger

  • copy tekst handleiding
    HTML commands DOAx and DOIx
    Another customer requested feature, allowing the digital outputs to be switched by the http get function such as used in some voice over ip phones (VOIP). You can use the http get function to write to the io.cgi file with the following syntax:
    192.168.0.200/io.cgi?DOA2=10
    This would use the default address (192.168.0.200) and make output 2 active for 1 second. 
    Another example would be to set output 1 inactive for 10 seconds:
    192.168.0.200/io.cgi?DOI1=10
    You can test these functions by typing them directly into the address bar of most internet browsers. Also be aware that you may need to disable http authentication in the http configuration if your control device does not support it.

    ip adres verander je door ip van de relay kaart
    DOA2 = is relay uitgang nr 2 BV: DOA1 = relay nr 1 en zo verder
    De laatste twee cijfers achter het teken = bedoelt op de tijd BV: 10 is dat de relay voor tien seconde bekrachtigt is

  • MHubert said:
    Yess looks like it is the same board. Can you send me a link to your app?
  • paulus said:
    copy tekst handleiding
    HTML commands DOAx and DOIx
    Another customer requested feature, allowing the digital outputs to be switched by the http get function such as used in some voice over ip phones (VOIP). You can use the http get function to write to the io.cgi file with the following syntax:
    192.168.0.200/io.cgi?DOA2=10
    This would use the default address (192.168.0.200) and make output 2 active for 1 second. 
    Another example would be to set output 1 inactive for 10 seconds:
    192.168.0.200/io.cgi?DOI1=10
    You can test these functions by typing them directly into the address bar of most internet browsers. Also be aware that you may need to disable http authentication in the http configuration if your control device does not support it.

    ip adres verander je door ip van de relay kaart
    DOA2 = is relay uitgang nr 2 BV: DOA1 = relay nr 1 en zo verder
    De laatste twee cijfers achter het teken = bedoelt op de tijd BV: 10 is dat de relay voor tien seconde bekrachtigt is

    Ik doe iets niet goed.
    In de browser werkt http://192.168.192.28/io.cgi?DOA2=10 wel
    In de app (HTTP Get) van Homey niet




  • This error message is presented...
  • Hi @RGunther65. For this scenario, where there are parameters (called queryparameters) in the URI you can use card HTTP GET JSON, with parameters:
    2: {'DOA2': 10}



    It looks like Homey cannot parse a URI with questionmark in all situations. I first planned to remove this GET JSON card, but I will keep it in the app.
  • Hi @RGunther65. For this scenario, where there are parameters (called queryparameters) in the URI you can use card HTTP GET JSON, with parameters:
    2: {'DOA2': 10}



    It looks like Homey cannot parse a URI with questionmark in all situations. I first planned to remove this GET JSON card, but I will keep it in the app.
    Still doesn't work :-(
    The command is issued and doesn't report an error.
    But nothing happens at the relay board.
    In the adress line of Chrome it works ok
    What did I do wrong?

  • Weer een stap verder.
    Ik krijg deze melding als ik het commando uitvoer

    19:33:46 action.http_get_json { args: { url: 'http://192.168.192.28/io.cgi', data: '{"DOA2": 10}' },
      method: 'get',
      urlOptions:
         query: { DOA2: 10 },
         timeout: 30000 } }
  • Hello all
    I also have problems to get my card working with Homey.
    Have tried all steps nothing works.
    Maybe you als have to put your port number in the url, i have tried that without result.
    Have anyone suggestions ??
    thanks

  • Hi Rob
    You have to add the login credentials to the URL:
        http://admin:password@192.168.192.28/io/cgi



  • @Robs If you install the Homey Logger App you can check debugging information of the HTTP App. Does this contain any details?
Sign In or Register to comment.