Announcement

Collapse
No announcement yet.

Really simple C# sample plugin available here!

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

  • alexbk66
    replied
    Originally posted by TexNeil View Post
    Is this project still active? When I try to download the HomeSeer Templates from VS I get redirect to a page that says "BlobNotFound"
    https://github.com/alexdresko/HSPI/archive/master.zip

    Leave a comment:


  • TexNeil
    replied
    Is this project still active? When I try to download the HomeSeer Templates from VS I get redirect to a page that says "BlobNotFound"

    Leave a comment:


  • ecuboss
    replied
    Originally posted by sirmeili View Post
    Ok, I'm not used to using that options library. I looked it up and I got it to work. I had to do "-s xxx.xxx.xxx.xxx" instead of just "xxx.xxx.xxx.xxx" for the argument. It now works for me

    I have a plugin I already wrote using the other template on here, I'm going to see what it is like to rewrite it using your templates.
    And for the benefit of Newbies like me with the same problem - the answer is also detailed in the faq:
    http://hspi.readthedocs.io/en/latest...ss-and-or-port

    Many thanks for your work on this Alex - gives me some motivation to learn some coding doing something that interests me.

    Leave a comment:


  • alexdresko
    replied
    Originally posted by mulu View Post
    I am following the instructions on this page http://hspi.readthedocs.io/en/latest...g-started.html However, it simply download the zip file. I have no idea where to copy these files to and how to register them with VS if that is necessary at all. Please advice.
    Sorry you're having trouble. Please post your question on http://stackoverflow.com/questions/ask?tags=HSPI. Make sure you post with the HSPI tag. That way, we can dig in and find the root cause of the problem. For one thing, there is no zip file. You'll need to provide some additional details in the StackOverflow post.

    Thanks.

    Leave a comment:


  • mulu
    replied
    I am following the instructions on this page http://hspi.readthedocs.io/en/latest...g-started.html However, it simply download the zip file. I have no idea where to copy these files to and how to register them with VS if that is necessary at all. Please advice.

    Leave a comment:


  • alexdresko
    replied
    * Long story short: **YOU MAY HAVE TO UNINSTALL THE OLD PLUGIN AND INSTALL THE NEW PLUGIN TO CONTINUE GETTING UPDATES** I thought I configured the original extension incorrectly in the Visual Studio marketplace, and Microsoft doesn't provide a way to change the setting I thought I messed up. So I removed the old extension from the gallery. That's why you get a 404 when you to go https://marketplace.visualstudio.com...eSeerTemplates. The new location's forever home is at https://marketplace.visualstudio.com...emplates-18379 (arrrggg). You can also search for the extension from within Visual Studio. I'm pretty frustrated by the whole experience and -- worse -- it doesn't even look like the setting makes a difference. I'm trying to automate the publishing of the VSIX to the marketplace from the CI build, but I just don't think it's possible anymore.

    Sorry for the minor inconvenience.

    Leave a comment:


  • sirmeili
    replied
    Originally posted by sirmeili View Post
    I'm gonna ask here, but I will look into asking over at stackoverflow too.

    I can't get this working on my second laptop. As soon as I try and create a new project I get the attached error message in VS. Anyone have any ideas at all?
    Ok, I actually just fixed it. I swear as soon as I ask something, it gets fixed. I had to change this setting in VS to get it to work:

    Tools -> Options-> Projects and Solutions-> General -> Setting: Save new projects when created (checked)

    Leave a comment:


  • sirmeili
    replied
    I'm gonna ask here, but I will look into asking over at stackoverflow too.

    I can't get this working on my second laptop. As soon as I try and create a new project I get the attached error message in VS. Anyone have any ideas at all?
    Attached Files

    Leave a comment:


  • alexdresko
    replied
    http://hspi.readthedocs.io/en/latest/http://stackoverflow.com/questions/ask?tags=HSPIhttps://github.com/alexdresko/HSPI/issueshttps://gitter.im/HSPI/Lobby

    Leave a comment:


  • sirmeili
    replied
    Originally posted by sirmeili View Post
    For the second issue, I checked the connector.cs code and while it accepts the arguments, it doesn't take them into account. It instead always relies on options.cs, which I don't know how I am to override that or modify it (as it's not in the project). If connector.cs was rewritten to use the arguments sent in instead of the options object ONLY if they were sent in, it wouldn't be an issue.
    Ok, I'm not used to using that options library. I looked it up and I got it to work. I had to do "-s xxx.xxx.xxx.xxx" instead of just "xxx.xxx.xxx.xxx" for the argument. It now works for me

    I have a plugin I already wrote using the other template on here, I'm going to see what it is like to rewrite it using your templates.

    Leave a comment:


  • sirmeili
    replied
    Originally posted by alexdresko View Post
    Sorry for the trouble you're having. This post and the one before it looks like two separate issues. Can you do me a favor, though?

    For the first issue, can you create an issue in the github repo via https://github.com/alexdresko/hspi/issues

    For the second issue, can you ask on Stack Overflow via http://stackoverflow.com/questions/ask?tags=HSPI? Make sure the post is tagged with HSPI.

    That will help with tracking these issues.
    For the second issue, I checked the connector.cs code and while it accepts the arguments, it doesn't take them into account. It instead always relies on options.cs, which I don't know how I am to override that or modify it (as it's not in the project). If connector.cs was rewritten to use the arguments sent in instead of the options object ONLY if they were sent in, it wouldn't be an issue.

    Leave a comment:


  • alexdresko
    replied
    Originally posted by sirmeili View Post
    I've used HSPIPluginB and it works. However my homeseer system is not my development system. I've tried sending in my server IP in the command line arguments, but yet it still tries to use 127.0.0.1. Is there a way to override this? I've verified that the args[0] is populated by dumping it to the console and I even sent in the port in args[1] as well and it's working, but no matter what, the connector defaults to 127.0.0.1:10400.

    BTW, Thank you. having a community driven base to create plugins off of will be awesome for those of us just starting out developing plugins for homeseer.
    Sorry for the trouble you're having. This post and the one before it looks like two separate issues. Can you do me a favor, though?

    For the first issue, can you create an issue in the github repo via https://github.com/alexdresko/hspi/issues

    For the second issue, can you ask on Stack Overflow via http://stackoverflow.com/questions/ask?tags=HSPI? Make sure the post is tagged with HSPI.

    That will help with tracking these issues.

    Leave a comment:


  • sirmeili
    replied
    Originally posted by sirmeili View Post
    I found the templates in VS and installed them. I then created a new project using the HSPIPluginA template. However, there is no HSPIBase so the HSPI that extends it is full of errors.

    Am I missing something?
    I've used HSPIPluginB and it works. However my homeseer system is not my development system. I've tried sending in my server IP in the command line arguments, but yet it still tries to use 127.0.0.1. Is there a way to override this? I've verified that the args[0] is populated by dumping it to the console and I even sent in the port in args[1] as well and it's working, but no matter what, the connector defaults to 127.0.0.1:10400.

    BTW, Thank you. having a community driven base to create plugins off of will be awesome for those of us just starting out developing plugins for homeseer.

    Leave a comment:


  • sirmeili
    replied
    I found the templates in VS and installed them. I then created a new project using the HSPIPluginA template. However, there is no HSPIBase so the HSPI that extends it is full of errors.

    Am I missing something?

    Leave a comment:


  • aXis
    replied
    Hi all, origonal author here. Sorry for the late response, I haven't had to develop any new code for Homeseer for a while and this all dropped off my radar.

    Big thanks to all of you (especially alexdresko) who carried this forward with improvements and a Github repository. I probably don't have any more to contribute, you've well surpassed my skills. Well done mate.

    Leave a comment:

Working...
X