Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add inCode Doku

  • Loading branch information...
commit 1305c8a07d6bd823727efb96b4df14d3286939d3 1 parent 7ea9637
uescher uescher authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 util/eltako.py
4 util/eltako.py
... ... @@ -1,6 +1,10 @@
1 1 import serial
2 2 import sys
3 3
  4 +#Parameter sind: Gerät, Baudrate, Letztes Byte der TransmitterID, Befehl (muss 0 oder 1 sein)
  5 +#Beispielaufruf: python ./eltako.py "/dev/ttyUSB1" 9600 103 2
  6 +
  7 +
4 8 ser= serial.Serial(sys.argv[1],sys.argv[2],timeout=1)
5 9 toSend = [0xa5,0x5a,0x0b,0x05,int(sys.argv[4])*32+80,0x0,0x0,0x0,0x0,0x0,0x0,int(sys.argv[3]),0x10]
6 10 checksum = 0

0 comments on commit 1305c8a

Please sign in to comment.
Something went wrong with that request. Please try again.