[Plugin] X10 Home Automation (1 Viewer)

bodiroga

Portal Pro
January 1, 2008
241
46
Home Country
Spain Spain
A short question from step 8:

8. Enter a Service Username and Password (Administrator account)

What does "Administrator account" mean? Do I have to write my Windows Administrators account name and password? Or the name and password must be writen using the Windows Administrator account?

Thanks for your help. Regards,

Aitor
 

WileECoyote

MP Donator
  • Premium Supporter
  • October 14, 2008
    1,156
    220
    Cary, NC
    Home Country
    United States of America United States of America
    • Thread starter
    • Moderator
    • #62
    A short question from step 8:

    8. Enter a Service Username and Password (Administrator account)

    What does "Administrator account" mean? Do I have to write my Windows Administrators account name and password? Or the name and password must be writen using the Windows Administrator account?

    Thanks for your help. Regards,

    Aitor

    Hey Bodiroga,
    The service name should be an administrator account, but not neccessarily the administrator account. Be sure to preface it with the machine name (e.g. "htpc/Charles", htpc being the machine name and Charles being the account name.)

    On a side note, with the RTM release of Windows 7 I have been redoing most of my systems in preperation for the 1.1 release of MP. I have had little time to work on this plugin between other projects, work and regular home chores. If anyone is interested in taking over or assisting with coding this project please let me know, I would welcome the help.

    :D
     

    bodiroga

    Portal Pro
    January 1, 2008
    241
    46
    Home Country
    Spain Spain
    A short question from step 8:

    8. Enter a Service Username and Password (Administrator account)

    What does "Administrator account" mean? Do I have to write my Windows Administrators account name and password? Or the name and password must be writen using the Windows Administrator account?

    Thanks for your help. Regards,

    Aitor

    Hey Bodiroga,
    The service name should be an administrator account, but not neccessarily the administrator account. Be sure to preface it with the machine name (e.g. "htpc/Charles", htpc being the machine name and Charles being the account name.)

    On a side note, with the RTM release of Windows 7 I have been redoing most of my systems in preperation for the 1.1 release of MP. I have had little time to work on this plugin between other projects, work and regular home chores. If anyone is interested in taking over or assisting with coding this project please let me know, I would welcome the help.

    :D

    And what happens if my account don't have any password? Do I have to let those fils empty?

    Thanks ;)

    EDIT: Done. In your example the name should be htpc\Charles, the slash was in the opposite direction :D:D:D:D Thanks WileECoyote ;)
     

    WileECoyote

    MP Donator
  • Premium Supporter
  • October 14, 2008
    1,156
    220
    Cary, NC
    Home Country
    United States of America United States of America
    • Thread starter
    • Moderator
    • #64
    And what happens if my account don't have any password? Do I have to let those fils empty?

    Thanks ;)


    That is a good question. All my machines have passwords, so I am not sure if it will work or not. You might have to create an administrator accout with a password to get it to install, then replace the credentials after the service is installed...
     

    bodiroga

    Portal Pro
    January 1, 2008
    241
    46
    Home Country
    Spain Spain
    Ok, I have followed all the steps, but I have one question:

    What IP Address do I have to write in the plugin configuration if I use the same computer as the server and client? My father told me to write Local Host, but I get this error when I oppen Mediaportal:

    2009-08-25 16:59:00.187500 [ERROR][MPMain]: Error initializing window:X10_Client.X10Main URI no válido: no se puede analizar el nombre de host. mscorlib
    Server stack trace:
    en System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
    en System.Uri..ctor(String uriString)
    en System.Net.WebRequest.Create(String requestUriString)
    en System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.SetupWebRequest(IMessage msg, ITransportHeaders headers)
    en System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)
    en System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
    en System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage msg)

    Exception rethrown at [0]:
    en System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    en System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    en X10_Remote.ServerRemote.GetDevices()
    en X10_Client.X10Main.Init()
    en MediaPortal.GUI.Library.PluginManager.LoadWindowPlugin(String strFile)
    2009-08-25 16:59:42.203125 [ERROR][MPMain]: No translation found for id 111099
    2009-08-25 16:59:46.781250 [ERROR][MPMain]: No translation found for id 111099

    Also, when I use Blue3 skin and I enter into X10 Home Automation Plugin a get and skin error.

    What can I do now? Sorry for all my questions WileECoyote, I hope you can help me. Thanks.

    Regards,

    Aitor
     

    WileECoyote

    MP Donator
  • Premium Supporter
  • October 14, 2008
    1,156
    220
    Cary, NC
    Home Country
    United States of America United States of America
    • Thread starter
    • Moderator
    • #66
    Ok, I have followed all the steps, but I have one question:

    What IP Address do I have to write in the plugin configuration if I use the same computer as the server and client? My father told me to write Local Host, but I get this error when I oppen Mediaportal:

    2009-08-25 16:59:00.187500 [ERROR][MPMain]: Error initializing window:X10_Client.X10Main URI no válido: no se puede analizar el nombre de host. mscorlib
    Server stack trace:
    en System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
    en System.Uri..ctor(String uriString)
    en System.Net.WebRequest.Create(String requestUriString)
    en System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.SetupWebRequest(IMessage msg, ITransportHeaders headers)
    en System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)
    en System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
    en System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage msg)

    Exception rethrown at [0]:
    en System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    en System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    en X10_Remote.ServerRemote.GetDevices()
    en X10_Client.X10Main.Init()
    en MediaPortal.GUI.Library.PluginManager.LoadWindowPlugin(String strFile)
    2009-08-25 16:59:42.203125 [ERROR][MPMain]: No translation found for id 111099
    2009-08-25 16:59:46.781250 [ERROR][MPMain]: No translation found for id 111099

    Also, when I use Blue3 skin and I enter into X10 Home Automation Plugin a get and skin error.

    What can I do now? Sorry for all my questions WileECoyote, I hope you can help me. Thanks.

    Regards,

    Aitor

    Hey Aitor,
    You need to put in the IP address of the computer running the service, not Localhost. That would also give you the skin error...
     

    ronsonol

    MP Donator
  • Premium Supporter
  • April 2, 2007
    178
    23
    Kingston
    Home Country
    Canada Canada
    I am very happy to see someone working on a plugin for the cm15a.

    I used Patick's X10 plugin for quite some time. I quickly ditched my own after finding his. I love the visuals, showing me an open/close door or curtain picture depending on status. But of course, it no longer works with current versions of MP. I will try this new plugin out as soon as I get some time to play.

    Your comments earlier in the thread about two-way devices...i always saw status of a device as long as it was turned on either using a remote control, or through the plugin itself without using two-way modules. As long as the CM15A device saw the signal on the line for a device house/number it would activate status within Patrick's plugin. I guess the only way it would not show status correctly would be if I manually flipped the switch on the lamp..its module would still be on..but the lamp would be off.
    If I recall, we spent some time trouble-shooting this when he developed extra code to support the cm15a.

    Many thanks!
     

    WileECoyote

    MP Donator
  • Premium Supporter
  • October 14, 2008
    1,156
    220
    Cary, NC
    Home Country
    United States of America United States of America
    • Thread starter
    • Moderator
    • #68
    I am very happy to see someone working on a plugin for the cm15a.

    I used Patick's X10 plugin for quite some time. I quickly ditched my own after finding his. I love the visuals, showing me an open/close door or curtain picture depending on status. But of course, it no longer works with current versions of MP. I will try this new plugin out as soon as I get some time to play.

    Your comments earlier in the thread about two-way devices...i always saw status of a device as long as it was turned on either using a remote control, or through the plugin itself without using two-way modules. As long as the CM15A device saw the signal on the line for a device house/number it would activate status within Patrick's plugin. I guess the only way it would not show status correctly would be if I manually flipped the switch on the lamp..its module would still be on..but the lamp would be off.
    If I recall, we spent some time trouble-shooting this when he developed extra code to support the cm15a.

    Many thanks!

    Hey Ronsonol,
    Please keep in mind that this application is still in its infancy. The app I posted is mainly for a test to see if other controllers (other than the cm15a) would work with the application. If not I may have to re-engineer the project.

    You are correct about the cm15a keeping track of status. Only if a device is manually turned on/off will it be out of sync with the cm15a. This for some reason was just a huge dissapointment to me. I either need to get over it or put in two way devices :D

    Thanks for the information & I welcome your feedack!
     

    bodiroga

    Portal Pro
    January 1, 2008
    241
    46
    Home Country
    Spain Spain
    Ok, I have followed all the steps, but I have one question:

    What IP Address do I have to write in the plugin configuration if I use the same computer as the server and client? My father told me to write Local Host, but I get this error when I oppen Mediaportal:

    2009-08-25 16:59:00.187500 [ERROR][MPMain]: Error initializing window:X10_Client.X10Main URI no válido: no se puede analizar el nombre de host. mscorlib
    Server stack trace:
    en System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
    en System.Uri..ctor(String uriString)
    en System.Net.WebRequest.Create(String requestUriString)
    en System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.SetupWebRequest(IMessage msg, ITransportHeaders headers)
    en System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)
    en System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
    en System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage msg)

    Exception rethrown at [0]:
    en System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    en System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    en X10_Remote.ServerRemote.GetDevices()
    en X10_Client.X10Main.Init()
    en MediaPortal.GUI.Library.PluginManager.LoadWindowPlugin(String strFile)
    2009-08-25 16:59:42.203125 [ERROR][MPMain]: No translation found for id 111099
    2009-08-25 16:59:46.781250 [ERROR][MPMain]: No translation found for id 111099

    Also, when I use Blue3 skin and I enter into X10 Home Automation Plugin a get and skin error.

    What can I do now? Sorry for all my questions WileECoyote, I hope you can help me. Thanks.

    Regards,

    Aitor

    Hey Aitor,
    You need to put in the IP address of the computer running the service, not Localhost. That would also give you the skin error...

    And how can I now my IP address? Keep in mind that I'm using the same computer as server and as client.
    Is the one that I get writting ipconfig in cmd.exe?

    Thanks for answering my questions Wile, you are great!

    Regards,

    Aitor
     

    WileECoyote

    MP Donator
  • Premium Supporter
  • October 14, 2008
    1,156
    220
    Cary, NC
    Home Country
    United States of America United States of America
    • Thread starter
    • Moderator
    • #70
    And how can I now my IP address? Keep in mind that I'm using the same computer as server and as client.
    Is the one that I get writting ipconfig in cmd.exe?

    Thanks for answering my questions Wile, you are great!

    Regards,

    Aitor

    Correct, your ip address can be found with the ipconfig.exe command.
     

    Users who are viewing this thread

    Top Bottom