Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
domotikad
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
domotika
domotikad
Commits
24fcbec6
Commit
24fcbec6
authored
Feb 15, 2014
by
nextime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
little fix
parent
1b6125b6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
DMRv1.py
domotika/boards/modules/DMRv1.py
+2
-2
DMRv3.py
domotika/boards/modules/DMRv3.py
+2
-2
DMSnt84.py
domotika/boards/modules/DMSnt84.py
+2
-2
domotika.py
domotika/domotika.py
+1
-1
No files found.
domotika/boards/modules/DMRv1.py
View file @
24fcbec6
...
...
@@ -49,7 +49,7 @@ class DMBoard(ANABoard, INPBoard, OUTBoard, BaseBoard):
class
Board
(
object
):
implements
(
IPlugin
,
iboards
.
IDMBoards
)
def
getBoard
(
self
,
core
,
host
,
port
,
pwd
,
lang
):
return
DMBoard
(
core
,
host
,
port
,
pwd
,
lang
)
def
getBoard
(
self
,
host
,
port
,
pwd
,
lang
):
return
DMBoard
(
self
.
core
,
host
,
port
,
pwd
,
lang
)
board
=
Board
()
domotika/boards/modules/DMRv3.py
View file @
24fcbec6
...
...
@@ -49,7 +49,7 @@ class DMBoard(INPBoard, ANABoard, OUTBoard, BaseBoard):
class
Board
(
object
):
implements
(
IPlugin
,
iboards
.
IDMBoards
)
def
getBoard
(
self
,
core
,
host
,
port
,
pwd
,
lang
):
return
DMBoard
(
core
,
host
,
port
,
pwd
,
lang
)
def
getBoard
(
self
,
host
,
port
,
pwd
,
lang
):
return
DMBoard
(
self
.
core
,
host
,
port
,
pwd
,
lang
)
board
=
Board
()
domotika/boards/modules/DMSnt84.py
View file @
24fcbec6
...
...
@@ -51,7 +51,7 @@ class DMBoard(INPBoard, OUTBoard, BaseBoard):
class
Board
(
object
):
implements
(
IPlugin
,
iboards
.
IDMBoards
)
def
getBoard
(
self
,
core
,
host
,
port
,
pwd
,
lang
):
return
DMBoard
(
core
,
host
,
port
,
pwd
,
lang
)
def
getBoard
(
self
,
host
,
port
,
pwd
,
lang
):
return
DMBoard
(
self
.
core
,
host
,
port
,
pwd
,
lang
)
board
=
Board
()
domotika/domotika.py
View file @
24fcbec6
...
...
@@ -796,7 +796,7 @@ class domotikaService(service.Service):
log
.
debug
(
" "
.
join
([
"ADDBoard"
,
str
(
name
),
str
(
btype
),
str
(
fwver
),
str
(
ip
)]))
p
=
pluggableBoards
.
getBoardPlugin
(
btype
)
if
p
:
pboard
=
p
.
getBoard
(
False
,
ip
,
webport
,
self
.
boardsyspwd
,
str
(
self
.
config
.
get
(
'general'
,
'language'
)))
pboard
=
p
.
getBoard
(
ip
,
webport
,
self
.
boardsyspwd
,
str
(
self
.
config
.
get
(
'general'
,
'language'
)))
log
.
info
(
"Support module for "
+
str
(
btype
)
+
" board LOADED"
)
pboard
.
initialize
()
.
addCallback
(
self
.
askForBoardData
,
btype
,
fwver
,
name
,
ptype
,
port
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment