Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Penguidom
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
domotika
Penguidom
Commits
ac3280c7
Commit
ac3280c7
authored
Jan 06, 2018
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix license headers
parent
8e84257a
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
130 additions
and
40 deletions
+130
-40
clean.sh
clean.sh
+4
-4
init.sh
init.sh
+11
-12
__init__.py
penguidom/__init__.py
+22
-0
ikap.py
penguidom/ikap.py
+4
-4
imodules.py
penguidom/imodules.py
+5
-4
penguidom.py
penguidom/penguidom.py
+4
-4
pluggable.py
penguidom/pluggable.py
+22
-0
__init__.py
penguidom/plugins/__init__.py
+5
-4
__init__.py
penguidom/plugins/paradox/__init__.py
+22
-0
paradox.py
penguidom/plugins/paradox/paradox.py
+22
-0
__init__.py
penguidom/singleton/__init__.py
+4
-4
penguidomd
penguidomd
+5
-4
No files found.
clean.sh
View file @
ac3280c7
#!/bin/bash
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@
unixmedia
.it>
# Copyright (c) 2018- Franco (nextime) Lanza <franco@
nexlab
.it>
#
# Penguidom System
Controller Daemon "penguidomd"
# Penguidom System
client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom
d
.
# This file is part of penguidom.
#
# penguidom
d
is free software: you can redistribute it and/or modify
# penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
...
...
init.sh
View file @
ac3280c7
#!/bin/bash
###########################################################################
# Copyright (c) 2011-2014 Unixmedia S.r.l. <info@unixmedia.it>
# Copyright (c) 2011-2014 Franco (nextime) Lanza <franco@unixmedia.it>
# Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
#
#
Domotika System Controller Daemon "domotikad" [http://trac.unixmedia.it
]
#
Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom
]
#
# This file is part of
domotikad
.
# This file is part of
penguidom
.
#
#
domotikad
is free software: you can redistribute it and/or modify
#
penguidom
is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
...
...
@@ -23,16 +22,16 @@
##############################################################################
### BEGIN INIT INFO
# Provides:
domotika
d
# Required-Start: $syslog $remote_fs
mysql
# Provides:
penguidom
d
# Required-Start: $syslog $remote_fs
# Required-Stop: $syslog $remote_fs
# X-Interactive: yes
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start and stop
Domotika
# Description:
Domotika is an home automation
system
# Short-Description: Start and stop
Penguidomd
# Description:
Linux client support for Domotika
system
### END INIT INFO
#if [ -f /usr/lib/bindhack.so ] ; then
...
...
@@ -40,10 +39,10 @@
# export BIND_SRC=192.168.181.1
#fi
cd
/home/
domotika
./
domotika
d
$@
cd
/home/
penguidom
./
penguidom
d
$@
if
[
x
"
$1
"
=
x
"stop"
]
;
then
chk
=
$(
pgrep
"
domotika
d"
)
chk
=
$(
pgrep
"
penguidom
d"
)
if
[
x
"
$chk
"
!=
x
""
]
;
then
kill
-9
$chk
>
/dev/null 2>&1
fi
...
...
penguidom/__init__.py
View file @
ac3280c7
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
#
# Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom.
#
# penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
penguidom/ikap.py
View file @
ac3280c7
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@
unixmedia
.it>
# Copyright (c) 2018- Franco (nextime) Lanza <franco@
nexlab
.it>
#
# Penguidom System
Controller Daemon "penguidomd"
# Penguidom System
client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom
d
.
# This file is part of penguidom.
#
# penguidom
d
is free software: you can redistribute it and/or modify
# penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
...
...
penguidom/imodules.py
View file @
ac3280c7
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@
unixmedia
.it>
# Copyright (c) 2018- Franco (nextime) Lanza <franco@
nexlab
.it>
#
# Penguidom System
Controller Daemon "penguidomd"
# Penguidom System
client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom
d
.
# This file is part of penguidom.
#
# penguidom
d
is free software: you can redistribute it and/or modify
# penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
...
...
@@ -19,6 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from
zope.interface
import
Interface
,
Attribute
from
zope.interface
import
implements
from
twisted.python
import
reflect
...
...
penguidom/penguidom.py
View file @
ac3280c7
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@
unixmedia
.it>
# Copyright (c) 2018- Franco (nextime) Lanza <franco@
nexlab
.it>
#
# Penguidom System
Controller Daemon "penguidomd"
# Penguidom System
client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom
d
.
# This file is part of penguidom.
#
# penguidom
d
is free software: you can redistribute it and/or modify
# penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
...
...
penguidom/pluggable.py
View file @
ac3280c7
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
#
# Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom.
#
# penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import
logging
import
os
,
sys
import
imodules
,
plugins
...
...
penguidom/plugins/__init__.py
View file @
ac3280c7
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@
unixmedia
.it>
# Copyright (c) 2018- Franco (nextime) Lanza <franco@
nexlab
.it>
#
# Penguidom System
Controller Daemon "penguidomd"
# Penguidom System
client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom
d
.
# This file is part of penguidom.
#
# penguidom
d
is free software: you can redistribute it and/or modify
# penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
...
...
@@ -19,6 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
# This is a twisted plugin directory
try
:
from
twisted.plugin
import
pluginPackagePaths
...
...
penguidom/plugins/paradox/__init__.py
View file @
ac3280c7
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
#
# Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom.
#
# penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from
paradox
import
Paradox
plugin
=
Paradox
()
penguidom/plugins/paradox/paradox.py
View file @
ac3280c7
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
#
# Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom.
#
# penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from
penguidom
import
imodules
from
zope.interface
import
implements
from
twisted.plugin
import
IPlugin
...
...
penguidom/singleton/__init__.py
View file @
ac3280c7
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@
unixmedia
.it>
# Copyright (c) 2018- Franco (nextime) Lanza <franco@
nexlab
.it>
#
# Penguidom System
Controller Daemon "penguidomd"
# Penguidom System
client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom
d
.
# This file is part of penguidom.
#
# penguidom
d
is free software: you can redistribute it and/or modify
# penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
...
...
penguidomd
View file @
ac3280c7
#!/usr/bin/env python
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@
unixmedia
.it>
# Copyright (c) 2018- Franco (nextime) Lanza <franco@
nexlab
.it>
#
# Penguidom System
Controller Daemon "penguidomd"
# Penguidom System
client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom
d
.
# This file is part of penguidom.
#
# penguidom
d
is free software: you can redistribute it and/or modify
# penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
...
...
@@ -21,6 +21,7 @@
#
##############################################################################
from
twisted.internet
import
epollreactor
epollreactor
.
install
()
...
...
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