Announcement

Collapse
No announcement yet.

Create script for Opening Abus Wapploxx Doorlock?

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

  • Create script for Opening Abus Wapploxx Doorlock?

    Hello. Perhaps someone is able to help me for writing a script that is able to open my doorlock.
    there is an app for abus wapploxx but no available api for customers.

    I used wireshark to find out how the central box webinterface communicates.

    this is http command for login in browser:
    http://192.168.0.76/login.cgi?ts=154...4&Action=Start

    this the command for open door as long as you typed in same window as the login before:
    http://192.168.0.76/setRemoteAccess....4&Action=Start

    when i create an event with single-line script hs.urlaction for login and then another with the opening command, its doesnt work, cause of not staying logged in.

    regards

  • #2
    it's really not an elegant solution, but at least it works.
    i simply start the application firefox 2 times per event with the links as parameters at intervals of a few seconds.

    as I said, absolutely unprofessional solution.

    Comment


    • #3
      I'm not sure if the command works any more but you could try hs.GetURLIE if you are running HS3 on Windows. That should also cache the user/password as it uses Internet Explorer.


      Code:
      &hs.GetURLIE("http://192.168.0.76/login.cgi?ts=1549998004625&Source=Webpage&Username=dXNlcm5hbWUNCg==&Password=cGFzc3dvcmQNCg==&LoxxId=4&Action=Start",TRUE)
      If it errors, it has still not been fixed.
      Jon

      Comment


      • #4
        Hey jon,
        thanks for that. the code works! much better than the stupid way with launching browser.
        i made a second line with the other link and the door opens like magic :-)
        regards

        Comment

        Working...
        X