Neuron Older Models M20x
-
Hi, I have a M20x that I want to replace with a new device, is the M203 a direct swap, just a newer model number? I use a custom Python program that reads and sets using requests. Some of my procedures:
def read_button(button): try: Status = urllib.request.urlopen("http://" + myself + "/rest/di/" + button).read() jsondata = json.loads(Status.decode("utf-8")) x = jsondata["value"] except Exception as e: # print('Read button fail, no button called',button) x = True return x def set_relay(circuit, onoff): data = dict(value=onoff) url = "http://" + myself + "/rest/relay/" + circuit + "/" content = requests.post(url, data=data, allow_redirects=True)Should I expect that all the relays, di, do, ai, ao access will be the same? I guess what I'm asking is, should I expect that my program will run the same on the M203 as it did on the M20x?
And separately, if I changed to the Patron devices, would the evok system be accessable in the same way as I've accessed it with my python code? Would it be an easy change over?
Thanks!
Merv
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login