Search

Register

Thanks for signing-up! You will receive an email with further instructions to activate your account!

username already taken
You already have an account? .

Login

Forgot password?
Don't have an account yet? Register now for using the UI-Designer and the forum or creating projects.
Login to create topics and posts!



imatic 8-fach Relaiskarte funktioniert nicht

#1 May 20, 2016 05:01:58 by max_ke

imatic 8-fach Relaiskarte funktioniert nicht

Hallo,

ich habe mir gerade die App gekauft, da ich meine Relaiskarte damit steuern wollte

per OS X Terminal funktioniert es nach dieser Anleitung http://pastebin.com/kPQWsDN4

Relais1 wird zB so eingeschaltet: python skript.py 1 1
und so ausgeschaltet python skript.py 1 0

Anbei die Konfigurationsdatei. Ich habe die Pollin-Vorlage genommen und momentan nur den Knopf1 An und Knopf1 Aus bearbeitet

Vielen Dank für Hilfe

{
"type": "NetIOConfiguration",
"version": 2,
"theme": "dark_green",
"name": "pollin avr net io-iphone",
"description": "this is a configuration for the preinstalled pollin firmware",
"connections": [
{
"name": "board",
"port": 30000,
"host": "192.168.1.4",
"protocol": "tcp",
"format": "hex"
}
],
"device": "iPad",
"navigation": "fix",
"pagebuttonwidth": "static",
"pages": [
{
"name": "AVRNetIO",
"label": "In/Out",
"connection": "board",
"fitToScreen": true,
"items": [
{
"type": "button",
"width": 80,
"height": 50,
"left": 0,
"top": 70,
"shape": "rounded",
"label": "ON 1",
"sends": [
"FD02205DFD01015D"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"left": 80,
"top": 70,
"shape": "rounded",
"label": "ON 2",
"sends": [
"setport 2.1"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"left": 160,
"top": 70,
"shape": "rounded",
"label": "ON 3",
"sends": [
"setport 3.1"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"left": 240,
"top": 70,
"shape": "rounded",
"label": "ON 4",
"sends": [
"setport 4.1"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"left": 0,
"top": 120,
"shape": "rounded",
"label": "OFF 1",
"sends": [
"FD02205DFD01005D"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"left": 80,
"top": 120,
"shape": "rounded",
"label": "OFF 2",
"sends": [
"setport 2.0"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"left": 160,
"top": 120,
"shape": "rounded",
"label": "OFF 3",
"sends": [
"setport 3.0"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"left": 240,
"top": 120,
"shape": "rounded",
"label": "OFF 4",
"sends": [
"setport 4.0"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"top": 180,
"left": 0,
"shape": "rounded",
"label": "ON 5",
"sends": [
"setport 5.1"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"top": 180,
"left": 80,
"shape": "rounded",
"label": "ON 6",
"sends": [
"setport 6.1"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"top": 180,
"left": 160,
"shape": "rounded",
"label": "ON 7",
"sends": [
"setport 7.1"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"top": 180,
"left": 240,
"shape": "rounded",
"label": "ON 8",
"sends": [
"setport 8.1"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"top": 230,
"left": 0,
"shape": "rounded",
"label": "OFF 5",
"sends": [
"setport 5.0"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"top": 230,
"left": 80,
"shape": "rounded",
"label": "OFF 6",
"sends": [
"setport 6.0"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"top": 230,
"left": 160,
"shape": "rounded",
"label": "OFF 7",
"sends": [
"setport 7.0"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "button",
"width": 80,
"height": 50,
"top": 230,
"left": 240,
"shape": "rounded",
"label": "OFF 8",
"sends": [
"setport 8.0"
],
"background": "65,65,65",
"border": "0,0,0",
"textcolor": "0,190,0"
},
{
"type": "label",
"width": 300,
"height": 30,
"top": 5,
"left": 10,
"text": "IP",
"reads": "GETIP",
"interval": 10000
},
{
"type": "label",
"width": 300,
"height": 30,
"top": 40,
"left": 10,
"text": "OUT Ports"
}
],
"width": 1024,
"height": 768,
"textcolor": "0,150,0",
"background": "40,40,40"
}
],
"orientation": "landscape",
"style": "flat",
"navBackground": "30,30,30",
"preventSleep": false,
"switchOnSwipe": true
}

Edited max_ke (May 20, 2016 05:03:07)

#2 May 23, 2016 23:41:32 by max_ke

imatic 8-fach Relaiskarte funktioniert nicht

Hallo,

es wäre schön, wenn sich der Hersteller melden könnte! Jetzt habe ich soviel Geld für diese teuere App ausgegeben und konnte noch keine einzige Funktion nutzen!

#3 May 26, 2016 14:17:53 by david.eickhoff

imatic 8-fach Relaiskarte funktioniert nicht

Hi Max, ich verstehe nicht ganz, was du dort sendest, wie kommst du auf FD02205DFD01015D ?

#4 May 27, 2016 00:07:30 by max_ke

imatic 8-fach Relaiskarte funktioniert nicht

Hallo,

das ist der Befehl um das Relais zu schalten wie im Eingangspost geschrieben.
Das ist vom Relaismodul vorgegeben

#5 June 29, 2016 22:41:39 by david.eickhoff

imatic 8-fach Relaiskarte funktioniert nicht

es kann sein, dass der sendTermination Character dazwischen funkt. gibt es in dem Protokoll ein Byte/Bit, was das Ende der Nachricht beschreibt?

by default setzt NetIO ein \n an die Nachricht, eventuell ist es bei deiner Hardware das 5D . Das könntest du mal als sendTermination eintragen und dann aus dem Command entfernen

Edited david.eickhoff (June 29, 2016 22:42:50)