MPDomoticz - a plugin for Domoticz | Page 2

Discussion in 'MediaPortal 1 Plugins' started by J-B-N, July 2, 2014.

  1. J-B-N

    J-B-N Portal Pro

    Joined:
    December 29, 2005
    Messages:
    196
    Likes Received:
    9
    Location:
    Sweden
    Ratings:
    +16 / 1
    Home Country:
    Sweden Sweden
    Show System Specs
    @Zapp
    Not the best error message ever... It should be a complete URI in this case http://localhost and Server port 8080...
    Do you get it to work? What is the serveradress you are trying to use?



    There are a few other bugs in the plugin I guess so let me know and I'll see what I can do.[DOUBLEPOST=1442736118][/DOUBLEPOST]
    Nice, yes, please sent the code I will merge it.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Zapp

    Zapp Portal Member

    Joined:
    November 14, 2007
    Messages:
    40
    Likes Received:
    3
    Occupation:
    Systems Consultant (Windows/Linux/iSeries/Sun)
    Location:
    South-West
    Ratings:
    +3 / 0
    Home Country:
    Sweden Sweden
    A complete URL with http:// in the beginning made the trick.

    Thanks,

    /Jonas...
     
  4. luke78

    luke78 Portal Member

    Joined:
    April 7, 2014
    Messages:
    15
    Likes Received:
    2
    Gender:
    Male
    Location:
    Goirle
    Ratings:
    +2 / 1
    Home Country:
    Netherlands Netherlands
    That's exactly what I am looking for! Can you tell me how you did this??
     
  5. Dj_Moren

    Dj_Moren Portal Pro

    Joined:
    November 7, 2009
    Messages:
    171
    Likes Received:
    24
    Ratings:
    +46 / 1
    Show System Specs
    Hello,

    Just installed today and have a problem and 2 questions:
    - Problem: my Domoticz has enabled user/password authentication. Here it is not the option to set this settings. ¿Are there any plans to add this?
    When I try to enter now I have this error trace in logs (I suppose it is due to authentication):
    - Question 1: are there any plans in adding this plugin to official plugin manager?
    - Question 2: is this feature added to the repo?:
    Thank you so much @J-B-N and @Si Jones
     
  6. J-B-N

    J-B-N Portal Pro

    Joined:
    December 29, 2005
    Messages:
    196
    Likes Received:
    9
    Location:
    Sweden
    Ratings:
    +16 / 1
    Home Country:
    Sweden Sweden
    Show System Specs
    @Dj_Moren I haven't done anything with the plugin for quite some time since I haven't gotten much of a response. I have my Domoticz on a NAT-networks so I never use user/password. The error seems to indicate that it fails to establish the contact yes.
     
  7. J-B-N

    J-B-N Portal Pro

    Joined:
    December 29, 2005
    Messages:
    196
    Likes Received:
    9
    Location:
    Sweden
    Ratings:
    +16 / 1
    Home Country:
    Sweden Sweden
    Show System Specs
    @Dj_Moren I just updated the plugin with the possibility to login to Domoticz. I also submitted the plugin to the repository for others to find.

    If you want to try the new plugin simply redownload using the link on the first page or wait for the listing to appear.
     
    • Thank You! Thank You! x 1
  8. Dj_Moren

    Dj_Moren Portal Pro

    Joined:
    November 7, 2009
    Messages:
    171
    Likes Received:
    24
    Ratings:
    +46 / 1
    Show System Specs
    I have tested and now it works. Thank you. Now I am able see my roller shutter modules, but I'm unable or I don't know how to turn them on or off. In this kind of switches the options are turn on, turn off and set a desired level. Maibe a specific development is needed for this kind of switches?

    On the other hand, did you have any news about the modifications made by @Si Jones?
     
  9. J-B-N

    J-B-N Portal Pro

    Joined:
    December 29, 2005
    Messages:
    196
    Likes Received:
    9
    Location:
    Sweden
    Ratings:
    +16 / 1
    Home Country:
    Sweden Sweden
    Show System Specs
    Excellent!

    Do you happen to know what type of switch it is? I don't have any blinds or dimmable lights. I assume from your description it is a "dimmable light switch" ie a JSON call like this (
    /json.htm?type=command&param=switchlight&idx=99&switchcmd=Set%20Level&level=6
    ) would do the trick? But there seem to be some more information needed.. from the API documentation "Level should be the dim level (not percentage), like 0-16 or 0-100 depending on the hardware used".

    I haven't heard anything from @Si Jones.
     
  10. Dj_Moren

    Dj_Moren Portal Pro

    Joined:
    November 7, 2009
    Messages:
    171
    Likes Received:
    24
    Ratings:
    +46 / 1
    Show System Specs
    The switch type is a Blind percentage / Blind percentage inverted (depending on the case). In my case they are z-wave ones so the range should be 0-100. With Chrome's network inspector I can see the following kind of commands:
    - Close blind:
    /json.htm?type=command&param=switchlight&idx=1&switchcmd=On&level=0&passcode=
    - Open blind:
    /json.htm?type=command&param=switchlight&idx=1&switchcmd=Off&level=0&passcode=
    - Set a desired level (for example 93%):
    /json.htm?type=command&param=switchlight&idx=1&switchcmd=Set%20Level&level=93
     
    Last edited: January 7, 2017
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!