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
6c34d651
Commit
6c34d651
authored
Sep 27, 2014
by
nextime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added debug on ASCII argument
parent
1fe0f7c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
gauge.php
Web/htdocs/gui/panels/content/gauge.php
+0
-1
domotika.py
domotika/domotika.py
+9
-0
No files found.
Web/htdocs/gui/panels/content/gauge.php
View file @
6c34d651
...
...
@@ -2,7 +2,6 @@
<?
if
(
$panel
&&
is_array
(
$panel
))
{
$buttonar
=
getPanelButtons
(
$_DOMOTIKA
[
'username'
],
$panel
[
'panel_content'
],
$panel
[
'panel_sections'
],
$panel
[
'panel_websections'
],
$panel
[
'panel_selector'
],
true
);
//print_r($buttonar);
if
(
is_numeric
(
$panel
[
'panel_height'
]))
$panel
[
'panel_height'
]
.=
"px"
;
$visible
=
""
;
if
(
$panel
[
'panel_visible'
]
!=
"all"
)
$visible
=
$panel
[
'panel_visible'
];
...
...
domotika/domotika.py
View file @
6c34d651
...
...
@@ -1967,6 +1967,15 @@ class domotikaService(service.Service):
elif
cmd
==
'IOSUBTYPE'
:
if
argdict
[
'io_subtype'
]
is
None
or
int
(
sel
)
!=
argdict
[
'io_subtype'
]:
return
False
elif
cmd
==
'ASCII'
:
log
.
info
(
"ASCII MATCH: "
+
str
(
argdict
[
'raw'
])
+
" "
+
str
(
sel
))
if
argdict
[
'raw'
]
is
None
:
log
.
info
(
"ASCII RAW IS NONE"
)
return
False
if
str
(
argdict
[
'raw'
])
!=
str
(
sel
):
log
.
info
(
"ASCII DESN'T MATCH! "
+
str
(
sel
))
return
False
log
.
info
(
"ASCII MATCHED! "
+
str
(
sel
))
elif
cmd
==
'ARGDATA'
:
if
argdict
[
'arg_data'
]
is
None
:
return
False
...
...
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