Jump to content

PyISY and ISY on Polisy


mbking

Recommended Posts

Posted

Several years ago when I ran Polyglot on a Raspberry Pi, I wrote a simple program to collect and send to my ISY-994I the Pi CPU temperature and the cabinet temperature where my equipment was located.  I installed PyISY and took my first stab at Python programming.  The PyISY version is 1.1.0, and that still works fine with my ISY-994I.  However, when I change the Python code to point to my IoP, I get PyISY errors.  I assume I need to upgrade PyISY to work with IoP, but what version should that be and what is the best method for doing that upgrade.  I'd like to avoid rewriting the program for now until I have more time to dedicate to it.  What version of PyISY should I use?

Also, what is the best pip command to accomplish the upgrade.  I know enough to be dangerous, so I could easily pick the wrong options.  There are a lot of them and a lot of opinions out there as to which ones to use.  Any insight would be appreciated.

Mark

P.S.  I did backup my Raspberry Pi SD card just in case.

Posted
20 hours ago, mbking said:

Several years ago when I ran Polyglot on a Raspberry Pi, I wrote a simple program to collect and send to my ISY-994I the Pi CPU temperature and the cabinet temperature where my equipment was located.  I installed PyISY and took my first stab at Python programming.  The PyISY version is 1.1.0, and that still works fine with my ISY-994I.  However, when I change the Python code to point to my IoP, I get PyISY errors.  I assume I need to upgrade PyISY to work with IoP, but what version should that be and what is the best method for doing that upgrade.  I'd like to avoid rewriting the program for now until I have more time to dedicate to it.  What version of PyISY should I use?

Also, what is the best pip command to accomplish the upgrade.  I know enough to be dangerous, so I could easily pick the wrong options.  There are a lot of them and a lot of opinions out there as to which ones to use.  Any insight would be appreciated.

Mark

P.S.  I did backup my Raspberry Pi SD card just in case.

Why wouldn't you choose the most current, updated 17 hours ago: https://github.com/automicus/PyISY ??

Posted
12 minutes ago, MrBill said:

Why wouldn't you choose the most current, updated 17 hours ago: https://github.com/automicus/PyISY ??

@MrBill,

I noticed that some of the developers were staying with V2 of PyISY, so I thought I would do the same for now to limit the number of changes required.  I appreciate the link you included because all the Change Log links I found online did not work.  Your link has a Change Log link that spells out the specific code changes needed.  That will make the change easier.  I think I will install 2.1.4 and hold off on V3 for now.  I'll see how it goes.

Thanks again for that link.  That gave me a lot more info I needed.

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...