phpMyDomo : a convenient OpenHab Web Interface

Hi there

A few year ago, I’ve developped phpMyDomo, a cool web interface for OpenHab and other home automation software .

PhpMyDomo is an open-source php Web Application aimed to provide a clean, robust, customizable, fast and intuitive interface to many Home Automation software, including OpenHab.

With todays chinese phones and tablets starting as low as $50, it becomes a cheap and powerfull way to build remotes to control anything smartly in your house. phpMyDomo wants to be the ultimate WebApp that works as well on these devices, as on any computer browser. phpMyDomo don’t aim to replace the cool domotic’s software you’re currently using, but rather to add a convenient web interface to it, especially on small devices like tablets and phones

Currently supported software include OpenHab, Domoticz, Domotiga and Domogik.


  • Allow to Switch on/off any supported devices or scenes, from the Dashboard page
  • Support Dimmers and blinds commands
  • View all sensors at once, or per user defined groups
  • View all cameras on a single page
  • Display your photo library (iPhoto or folders) from a PhotoFrame like page
  • Launch “Actions” (ie Notifications) triggered by your HomeAutomation software (with a simple URL request). Current Actions include:
  • Email
  • Grow (Mac / WIndows notificationsl
  • NMA (Android notifications)
  • Prowl (IOS notifications)
  • Nabaztag
  • XBMC (KODI) notifications
  • MySensors
  • Shell script (or any executable script : python, pel, php, etc…)
  • XPL
  • Responsive design : Display fine on any Android/IOS tablet, phone and any modern (HTML5) web browser
  • Multiple Skins, build your own easily
  • Multiples languages supported
  • Any Home Automation Software supported via Api Plugins
  • Easily customizable
  • Fast loading
  • Minimal server requirements : a php-enabled web server
  • Object oriented, MVC design : easily build your own custom pages, in minutes…
  • Free and Open Source
  • Highest WAF (Wife Acceptation Factor) possible

At the time when I launched PMD, there was not any forums at, but after tweeting about it and posting in some HA forums, You’re already a few hundred OpenHab users using it daily (according to the website statistic)

BTW the current online demo which was linked to the public OpenHab demo site, is no longer working, but I guess it is just a matter of changing the URL and port of the public OpenHab API.

I’m looking for developers to help coding it, as well as users, to install, test and report… If enough people seems interested, I will do my best to make it evolve . If not I will just develop it for my own needs only.

If you’re interested, please go to the phpMyDomo web site to download it, or to view some screenshots.
And give me your feedback here.

Best regards,

1 Like

BTW here is the Github page of this project:

Pull Requests and contributions are MOST welcome !!!

There looks to be a type in the link URL to your website…

thank you, fixed

Version 0.200 just released

  • new: Clock Page
  • new: MySensors action
  • new: Domoticz : implements Selector Button types
  • new: Screensaver mode : clock or photoframe album
  • new: Now support Nabaztag voices
  • new: in Nabaztag Action : implements stream mode, voice selection, force action when sleeping, and various utility modes
  • new: Lighttpd install documentation (thanks to cblomart)
  • new: IOS fullscreen web app
  • fix: No php warning on some servers without HTTPS
  • fix: Minimum HTTP Timeout for faster actions
  • fix: photo album count badge in Firefox
  • fix: buttons height for Firefox
  • fix: Domogik : state for dimmers
  • dev: Domogik API cleanup
  • dev: allow per devices dim min/max level
  • dev: recursive merge of language

I need a little help with installation on Ubuntu 15.10. I’m placing it into Apache, under /var/www/phpMyDomo and accessing it as I believe I followed all the directions, everything seems to be installed already, and PHP scripts already in /var/www/ work fine.

But all I get is:

The requested URL /phpMyDomo/home was not found on this server.

If I visit, it seems to load/configure the very first time, then finally it gives me a poorly formatted page which includes the error

Error 404 phpMyDomo_controller.php is not defined !

Any ideas?

Please check that you have REALLY copied the .htaccess file included in the distribution archive.
ie :
ls -la /var/www/phpMyDomo/

root@server:/var/www/phpMyDomo# ls -al
total 32
drwxr-xr-x  4 root root 4096 Jun  3 16:47 .
drwxr-xr-x  5 root root 4096 May 21 21:51 ..
-rw-rw-r--  1 root root   57 Mar 20 08:20 _boot.php
-rw-rw-r--  1 root root   69 Mar 20 08:20 controller.php
-rw-r--r--  1 root root  377 Jun  3 16:47 .htaccess
drwxrwxr-x 14 root root 4096 May 21 21:54 inc
-rw-rw-r--  1 root root  430 Mar 20 08:20 index.php
drwxrwxr-x  6 root root 4096 Mar 20 08:20 static
root@server:/var/www/phpMyDomo# cat .htaccess 

# BEGIN Controller
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)controller\.php$ - [L]
RewriteRule ^(.*)static/ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . controller.php [L]

# END Controller

And the webpage looks like this:

Toggle navigation
 Photo Frame

Error 404
phpMyDomo_controller.php is not defined !
 Photo Frame
phpMyDomo v0.200


I have the same problem. Any solution till now?

  1. be sure that the apache rewrite module is loaded :

apache2ctl -t -D DUMP_MODULES | grep rewrite

  1. check that $conf[‘app’][‘dir’] is correctly set (and NOT commented) in phpMyDomo/www/inc/conf/config.php



it is a bit better now I see an icon of openhab. But thats all.Still the same failure _phpMyDomo_home is not defined. The grep command outpu is shown in the picture.

Hi there

I’ve just released PMD v0.300 with some cool new features.

Unfortunately since the last release, OpenHab have changed their API from v1 to v2, which is totally incompatible with API v1 (which PMD was using)

As I’m not personally using OpenHab at home, It will certainly take a very long time until I would spend time updating the API client to the current v2.

But in the meantime, I’ve noticed on the PMD server statistics, that there are 13 PMD installed which are using a foreign “openhab2” client API : certainly someone who already updated the API client to match the new OH API…

So I (we all) would really appreciate if this person(s) would mind submitting a PR to Github of his own OpenHab2 API client. It would certainly be helpful for all the PMD users of OpenHab.

Also anyone wanting to create a new Openhab2 API client is welcome : this is not really difficult assuming you have a working OpenHab v2 installation at home to test.

Thank you

phpMyDomo Version 0.500 just released !

Enjoy :wink:

Version : 0.600 - December 22 , 2019

  • new: Domoticz - Handles RGB, RGBW buttons
  • new: RGB buttons: Full color picker
  • new: RGB buttons: Colors Presets
  • new: Brand new ‘gorgeous’ Squeeze Player
  • new: Squeeze - LCD like display
  • new: Squeeze - Show playlist next songs
  • new: Squeeze - Add currently playing song to a playlist
  • new: Squeeze - Clickable Progress bar
  • new: Squeeze - Links to Sheet music, Lyrics
  • new: Squeeze - Song Information (Tempo, year, reaminig time, file type)
  • fix: Don’t display “ghost” players remaining registered at LMS
  • fix: Various bugs fixes
  • dev: Load Api client ONLY when needed
  • dev: FontAwesome v4.7

New Squeeze player:

Screen Shot 2563-06-20 at 22.19.33
I am new openhab, and i trying to install openhab with PHP and Mysql,If you have any suggestion please let me know

Thank you so much

Sounds like your webserver is not configured correctly…

BTW the files listed above are not related to PhpMyDomo in any way

Version : 21.6.5 - June 5 , 2021

  • new: Dashboard is now fully REALTIME (no longer refreshes the page)
  • new: Dashboard sensors values highlighted for a few seconds, when updated
  • fix: Dashboard - Also links group’s sensors to (Domoticz only) log pages
  • fix: Domoticz - Dimmer level scale
  • fix: Domoticz - Add new types : Percentage, Power, Current, Smoke
  • fix: Squeeze - Playlist target correctly memorized by cookie
  • fix: Squeeze - No longers bugs when some player are using undefined data (ie ShairTunes)
  • new: Admin Pages reorganized
  • new: OpenWrt Tool page to monitor connections in realtime on multiple AccessPoint (running OWRT) - EXPERIMENTAL
  • fix: typo in some HTML titles
  • fix: Slightly lighter sensors colors (in the Black Skin)
  • new: Version naming follows release’s date