KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   


- Content .- Fans  .- Knowledge Base (1) . 

X10 Controller Plasma Widget


Plasmoid Script

Score 56%
X10 Controller Plasma Widget

X10 Controller Plasma Widget

X10 Controller Plasma Widget

Version Control:  Link
Downloads:  567
Submitted:  Feb 25 2013
Updated:  Dec 11 2013


Plasma Widget to control a USB X10 CM19A controller, used for home automation.

The widget can also connect to another host controlling the CM19a (like a pi raspberry). This is achieved through a dedicated DBus instance.

Initially panel is empty, add nodes with their corresponding address.

Rules can be added to automatically control dimming or extinguishing lights at night.
The service will also receive incoming events from X10 sensors and radio remote controls.

SVN (latest)
svn co http://cyberdine.ca/svn/x10-widget x10-widget

  • run sudo dpkg-reconfigure x10-widget and follow the questions to configure the components

  • Components:
  • x10 : (cmd line) send commands through console
  • x10-widget : Plasma widget to add to a KDE session
  • DataEngine : Plasma Engine, loaded whenever a widget is added, to dispatch notifications and relay commands to/from widgets (transparent to user)

  • x10_service : the daemon which directly controls the CM19A usb device.
  • x10_dbus_daemon : DBUS daemon launched on controller host to communicate between x10_service and its clients

  • Points of interest:
  • C++ KDE Plasma QT cmake linux
  • KDevelop4 project
  • DBus daemon / remote DBUS IPC
  • Plasma DataEngine / Service
  • X10 Controller / libusb access
  • Central QueueManager for widgets commands
  • produce debian package (cpack)

  • Notes:
  • when using cmd line remotely, make sure you use -X when you ssh to the box to use the x10 cmd line, dbus needs X11...

  • Changelog:

  • improved debian packaging (don't replace config files)

  • 0.6.3
  • Fix rules could stop after first exec.
  • Fix occasional plasma crash when updating rules in widget
  • DBus improvements (reconnection & error handling)
  • improved service (reload, check connectivity & daemon improvements)
  • improved x10 cmd (reload, quit)
  • improved debian packaging & scripts (data files not overwritten in upgrade)

  • 0.6.2
  • configuration is now handled by debconf (Controller/Remote, IP, [Port])
  • To reconfigure: 'sudo dpkg-reconfigure x10-widget'
  • kill command for daemon and improved script

  • 0.6.1
  • Automatic DBus re-connection when lost
  • Various tuneups (config / dbus handling)

  • 0.6.0 - DBUS REMOTE

  • This is achieved through a custom dbus-daemon (/etc/dbus-1/x10_dbus_daemon.conf) listening on port 14500.
  • Whenever a client sends a request on that dbus interface, system will launch associated x10_service, which controls the CM19A interface.

  • The dbus-daemon is started automatically when dbus is started (or through the init script /etc/init.d/x10-daemon start. that init script doesn't need to be loaded on boot unless your system doesn't support upstart job (like pi raspberry). launch that script on init 5 lvl

  • Fix debian packaging... missing config files
  • Fix dbus remote being rejected when using remote (apparmor used since dbus 1.6.12)

  • 0.5.1
  • adapt config ui size, fix a few ui glitches in rules config

  • 0.5.0 - RULES
  • New config panel for preconfigured events/actions (like turn off all units in channel E (E*) or set to a specific value... at a given time, on certain days, with possible repetition...
  • Fix auto-off timer being cancelled when lighting on and dimming to given value
  • Fix cmake not finding proper system_bus_services_dir in 64bits...
  • Fix DEB packaging -> upgradeable, added postinst and prerm scripts
  • Remove timeout increase with Ctrl/Shift click.
  • x10_service demonized (-d) and location changed from /usr/bin to /usr/lib/kde4/libexec/
  • add ati_remote to blacklist.conf
  • always send command off even if already off
  • allow use of "on|off" in cmd line
  • various improvements

  • 0.4.5
  • changing adress in config updates value from x10_service (GetValue prop)
  • x10 e2 -> get current value
  • file logging capability for x10_service (-l | --log filename)
  • /etc/x10.conf (max_errors, auto-reload driver) -> unused yet
  • x10 cmd line improvements
  • fix: "x10 restart" & quitting last widget made x10_service process exit
  • move dbus from session to system

  • 0.4.0 - DBUS Service architecture
  • new daemon: x10_service:
  • holding X10 Queue Manager & controlling the CM19A device.
    loaded on demand, used by x10 cmd line & data_engine (plasma widgets)
  • new cmd line utility (x10) :
  • x10 e2 + : e2 on (- | + | s | b)
    x10 e2 5 : dim to 5 (-1 to 7)
    x10 all on | off
    x10 status | start | stop | quit

    0.3.0 Tuned up QueueManager and reading incoming events from device

    0.2.0 using Plasma DataEngine, Service & job architecture to share data among widgets

    0.1.0 Initial version. static QueueManager

    For full history, check http://cyberdine.ca/svn/x10-widget/debian/changelog

    Ubuntu(debian package x86)
    Ubuntu(debian package 64 bits)
    other(debian package ARM PI RASPBERRY)
    Send to a friend
    Other  Apps  from altagir
    Report inappropriate content


     How do i install it?

     by dcartron on: Jul 19 2013
    Score 50%


    I'm very interrested in your plasmoid but dunno how to install it on my box (kubuntu 13.04).

    Tried to install it from the plasmoid intaller bar, no way. Installed the deb and now the plasmoid appears in the plasmoid installer bar, but when i want to install it:
    impossible to find the x10 component...

    Thx for your help.

    Reply to this


     Re: How do i install it?

     by altagir on: Jul 19 2013
    Score 50%

    Hi there,

    By installing, I assume you meant by doing "make install"

    After installing a widget through source code the first time, you have to run the command kbuildsycoca4, which will register the [new] plugins in /usr/lib/kde4/

    at this point x10 is recognizable as service. try plasmoidviewer x10. If not, restart the plasma (it won't kill your applications) by doing:
    kquitapp plasma-desktop; sleep 1; plasma-desktop

    when adding the x10 widget, please add it first to the desktop, then drag it to a panel if you want there. Reason is that widget is empty and you will need to right click to add nodes... On a panel, it is resized to minimum making it harder to find the initial widget

    If you want to play with the code, use the link makeln.sh in the x10 directory after a make install... This will link libraries in /usr/lib/kde4/ to latest development in build/

    This way launching "plasmoidviewer x10" though cmd or Kdevelop will always use latest

    Else KDE load latest in /usr/lib/kde4/ and the only way to reload new version is by restarting plasma-desktop

    Make sure you have the CM19A in a usb slot, and enjoy

    Feel free to request any help or new features


    Reply to this


     Re: How do i install it?

     by altagir on: Jul 19 2013
    Score 50%

    Also make sure you do use /usr for install prefix.
    cmake -DCMAKE_INSTALL_PREFIX=/usr ..

    if you use /usr/local (which may be the default), KDE will never see the plugin

    then run kbuildsycoca4

    Reply to this

    Add commentBack

    How do you like Plasma 5?
     The best KDE Desktop ever.
     Definitely a nice improvement.
     Not decided yet. Haven't tried it yet.
     I do not like some of the changes.
     KDE is taking the wrong way.
     I am still sticking with KDE 3.5.
     I have no opinion, but wanted to vote anyway.

     Who we are
    More about us
    Frequently Asked Questions
    Updates on identi.ca
    Updates on Twitter
    Content RSS   
    Events RSS   

    Add App
    Public API
    About KDE-Apps.org
    Legal Notice
    Spreadshirt Shop
    CafePress Shop
    Sponsor us
    Report Abuse

    Copyright 2003-2016 KDE-Apps.org Team  
    All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
    All contributors are responsible for the lawfulness of their uploads.
    KDE and K Desktop Environment are trademarks of KDE e.V.