phpMyDomo: a convenient Domoticz Web Interface

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.

Moderator: leecollings

Post Reply

Your Opinion about phpMyDomo

Seems cool, I intend to contribute as a dev/writer/designer ...
6
7%
Seems cool, I will install/use it
51
57%
Seems promising, but I miss some features
21
24%
I dont need any other Domoticz Web interface
11
12%
 
Total votes: 89

User avatar
wxop
Posts: 95
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

Hi there.

I've just released phpMyDomo, a cool web interface for Domoticz 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 Domoticz.

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 Domoticz, Domotiga, OpenHab and Domogik.

This is a Work In Progress : At this time only Switches and Sensors are fully supported in Domoticz. Dimmers should come soon.

Features:

- Allow to Switch on/off any supported devices or scenes, from the Dashboard page
- Switch on/off and change level of Dimmers
- View all sensors at once, or per user defined groups
- View all cameras on a single page
- Send Notifications in various way (emails, XBMC, Nabaztag, Growl, xPl, Prowl, NMA, etc...)
- 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: (en | nl | de | fr)
- 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 :D

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. So please answer the quick poll of this topic.

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

Best regards,

wxop
Last edited by wxop on Thursday 26 December 2013 21:12, edited 3 times in total.
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
sebas
Posts: 117
Joined: Tuesday 17 September 2013 7:46
Target OS: Linux
Domoticz version:
Location: Deventer, The Netherlands
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by sebas »

Looks great. Haven't installed it yet. Will give it a try.
Using PHP does require a heavier webserver. Maybe look into somthing to run it on nginx.
User avatar
wxop
Posts: 95
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

Hi Sebas

php IS needed, but not Apache.
You migh certainly make it work under nginx, if you can adapt the very simple Rewrite rules found in /.htaccess , and connect php as cgi.
And if you suceeeds, please write a small HowTo, a config file sample, and make a pull-request :mrgreen:

thank you for your feedback
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by Dynamic »

Wow, looking great!!!! Will test it ASAP!

Edit: i checked the installation instructions, but it's not clear for me if it will run on a Pi too?
I'm not that an expert.....
User avatar
wxop
Posts: 95
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

NP, It should work on a RasberryPi

You just have to install apache + php.There is an install_debian.sh script in the www/inc/bin directory, that should do this for you.

Downlad the archive, decompress it and move it to your pi, then Just follow the install guide carefully, and it should work ;)
https://github.com/phpMyDomo/phpMyDomo/ ... INSTALL.md
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
wxop
Posts: 95
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

I just updated the INSTALL.md doc, to make it a bit more comprehensive for non experts. 8-)
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
wxop
Posts: 95
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

I've not tested this on my own pis (they are used to run XBMC) but as it runs on debian, it should work fine.

I've successfully being running apache in the past, on really lighter PC than a Pi (Pentium 2) and it worked without any problem. Apache is not that heavy if you dont have hundred of clients to serve, and memory usage can be smartly tweaked in the apache Config files.
Installing apache is as fast as removing it, by doing "apt-get install apache2" or "apt-get remove apache2" (see the install_debian.sh script to get the full dependencies to install)... That should not break anything if your debian is in a clean state.

But if you're afraid, you might simply make a test in some Windows LAMP applications, or enabling php on MacOSX, or in any Virtualization software.

This is where you, the users, can help: Test it and post feedback and HowTos for others people.
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by Dynamic »

I will give the installation a try tonight! My Pi is running Apache and PHP already. But I have to tweak some things, because my Domoticz-installation is already operating at port 80 (instead of 8080)...
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by Dynamic »

I followed the instructions really carefully and tried it three times in a row. But I can't get it to work. Apache 2 is installed (using your script) and it listens on port 8085 (checked it with a custom index.html). Your files are copied into /var/www/ (checked it with 'ls'). So far, so good.

But when launching "http://192.168.1.5:8085/index.php" it redirects me to 'http://192.168.1.5:8085/home" and shows me a 404 not found. What am I doing wrong?
User avatar
wxop
Posts: 95
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

modRewrite !!!!

are you sure that you've copied the .htaccess file in phpmydomo/www/.htaccess ?

Code: Select all

ls -la /var/www/.htaccess
else check if modRewrite is enabled, and that your virtualHost is set to: AllowOverride All (to allow .htaccess)
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by Dynamic »

To be sure, I did a "sudo a2enmod rewrite". Then it says "module rewrite already enabled". So, that's good. But it still didn't work.
Then I copied the .htaccess AGAIN using "sudo cp /home/pi/phpMyDomo-phpMyDomo-60c999f/www/.htaccess /var/www/.htaccess". Then I rebooted Apache and now it's running!

But I need to config it now, because I don't see the devices. But I'll try to find that out.... EDIT: got it running!
Thnx for your help!

I want to help you with creating a Dutch language-file. But in Dutch 'commands' should be 'commando's'. Should I escape the ' like \' ?
User avatar
wxop
Posts: 95
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

Dynamic wrote:To be sure, I did a "sudo a2enmod rewrite". Then it says "module rewrite already enabled". So, that's good. But it still didn't work.
Then I copied the .htaccess AGAIN using "sudo cp /home/pi/phpMyDomo-phpMyDomo-60c999f/www/.htaccess /var/www/.htaccess". Then I rebooted Apache and now it's running!

But I need to config it now, because I don't see the devices. But I'll try to find that out.... EDIT: got it running!

Thnx for your help!
Happy that you've finally succeded installing pMD 8-)
Dynamic wrote:I want to help you with creating a Dutch language-file. But in Dutch 'commands' should be 'commando's'. Should I escape the ' like \' ?
Great.
You have to way of doing it:

Code: Select all

$xxx='commando\'s';
or
$xxx="commando's";
Use the second method , it is easier to read. I will update 'en' language file this way, to make it clearer for future translators.

Thanks for your contribution ! 8-)

Also please report how well Apache is running on the PI, to clear fears from other people :mrgreen:
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
geho
Posts: 13
Joined: Thursday 08 August 2013 22:30
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by geho »

I installed phpMyDomo on my Synology and it's working. I have Domoticz running on a Raspberry. It starts quickly on my iPad and iPod.

I do have some issues:
- Dimmers do not work: they show up in the device list as "undef_undef_xxx". In the code it looks like there is support for dimmers
- I have thermometers with combined thermometer and hygrometer. They also show up as undefined.
- For what reason do you have the commands section. All relevant info seems to be in the devices sections

For a 1st version this already look nice.
User avatar
wxop
Posts: 95
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

geho wrote:I installed phpMyDomo on my Synology and it's working. I have Domoticz running on a Raspberry. It starts quickly on my iPad and iPod.
cool :mrgreen:
geho wrote: I do have some issues:
- Dimmers do not work: they show up in the device list as "undef_undef_xxx".
In the code it looks like there is support for dimmers
Dimmer are not supposed to work at time : button code is not finished, and device import is not done.
I don't personally own any dimmer at this tim, so it's a bit difficult to do it :?
geho wrote: - I have thermometers with combined thermometer and hygrometer. They also show up as undefined.
Please send me a dump (see your issue on github)
geho wrote:- For what reason do you have the commands section. All relevant info seems to be in the devices sections
This page will also show all commands buttons, even those not listed in the dashboard. This will be certainly sortable.
But it can easily be remove by changing the menu_head, menu_foot from the config.php file
geho wrote:For a 1st version this already look nice.
Happy that you're pleased ! 8-)

Thank you for your feedback
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
geho
Posts: 13
Joined: Thursday 08 August 2013 22:30
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by geho »

Image

The meters are of type temp + humidity
vin100
Posts: 1
Joined: Monday 09 December 2013 21:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by vin100 »

It's working on my cubietruck too :) its ok but have a problem with temp+hygro sensor not appear i think it's normaly u need time to developp this apps :) good jobs

:) i follow the dev and i try all version
User avatar
wxop
Posts: 95
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

New version 0.133

## Version : 0.133 - Dec 11, 2013
- new: Implement openHab API
- new: Custom server port can be defined in the config file (if you're updating see config-sample for examples)
- new: Cameras sizes can be defined
- dev: Language files: date information + use only double quotes
- dev: Dimmers slider view (dont currently send data)
- new: Devices Page shows commands values (ie for dimmers)
- new: RGB icons, + nicer Groups icons
- new: Nicer Error Page
- dev: Nicer Debug Page
- new: Allow Installation of PMD in a sub-directory
- fix: Index page now checks if .htaccess if already present

## Version : 0.132 - Dec 10, 2013
- fix: Domogik API values
- new: Update show ChangeLog from remote new Version
- fix: CSS for the Update page
- fix: Better Installation instructions
- dev: VersionCheck reports version and API used

enjoy !
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
wxop
Posts: 95
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

geho wrote: The meters are of type temp + humidity
Your image is useless for me :?
I need a dump!
Follow my instructions on the GH issue you've posted:
https://github.com/phpMyDomo/phpMyDomo/issues/1

and please post results & comments in the GH issue tracker.
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
geho
Posts: 13
Joined: Thursday 08 August 2013 22:30
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by geho »

I created a new issue for the temp + hum devices and added the relevant debug log to it (full debug log does not fit in GitHub issue)

https://github.com/phpMyDomo/phpMyDomo/issues/2

I also added debug log to dimmer issue
User avatar
wxop
Posts: 95
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

implemented in latest develop branch. ;)

be sure to run /utils/reset to clear the cache, or to enable debug.force in the config.php, if you install the develop branch
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests