phpMyDomo: a WebApp remote for all Domotic Software

Show or discuss your existing Home automation project here, so a detailed explanation!.....

phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Tue Dec 10, 2013 9:32 pm

Hi there.

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

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. Dimmers should come soon.

Features:

- Allow to Switch on/off any supported devices or scenes, from the Dashboard page
- View all sensors at once, or per user defined groups
- View all cameras on a single page
- 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 :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.

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,

wxop
Last edited by wxop on Wed Dec 11, 2013 2:21 pm, edited 1 time in total.
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Wed Dec 11, 2013 2:21 pm

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 !
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby sj3fk3 » Thu Dec 12, 2013 11:11 am

NICE!

But I'm not to happy about the dependency on Apache.. I use often use nginx because of the small memory footprint (and speed) together with php5-fpm. But with a little hacking I could get it to work. I just wonder why the index.php and 2 or 3 other files start with <? instead of the more correct <?php Apache might think that's ok, but my setup doesn't and the auto guessing of devices works nice, but not 100% I would like to be able to correct them.
Kind Regards,
Greg.
User avatar
sj3fk3
Member
Member
 
Posts: 119
Joined: April 2012
Location: Abcoude

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Thu Dec 12, 2013 7:30 pm

Hi sj3fk3
thank you for your feedback
sj3fk3 wrote:NICE!

But I'm not to happy about the dependency on Apache.. I use often use nginx because of the small memory footprint (and speed) together with php5-fpm. But with a little hacking I could get it to work.
.
For one or two client at the same time, doing mainly php , i really doubt you would be able able to see any speed difference, even on small CPUs like on a RaspPi. And onces tuned Apache memory footprint should not matter at all. :)

But anyway, if you'd like to make it work with nginx, I would be happy if you could post back a small HowTo, with config examples, and even post it at GitHub :D

I just wonder why the index.php and 2 or 3 other files start with <? instead of the more correct <?php Apache might think that's ok, but my setup doesn't

Just edit php.ini, set "short_open_tag = on" .Else feel free to push a pull-request changing the remaining <? to <?php

and the auto guessing of devices works nice, but not 100% I would like to be able to correct them.

Auto guessing , depends on what's available from the Server API: not all Software send detailed infos. So depending on the Server you use, you might
- either be able to fix things in the inc/api/api_client.php (I'be not tested everything: I dont have many physical devices to test)
- either be limited by the information sent by the Server API.

Il might try in future versions, to maintain a local devices database matching the remote servers devices, and allowing user to manually edit devices... but we are not near this point at this time :roll:

regards,
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby pleaseask » Sat Dec 14, 2013 8:04 am

I have just seen your website. Looks very nice.
Can it run on a Synology device?
I was wondering if you planning to make an interface with Vera lite ?
Homeseer 3 Pro on Windows 10 / Zwave

Edwin.
pleaseask
Member
Member
 
Posts: 81
Joined: May 2008
Location: Netherlands

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Sat Dec 14, 2013 10:08 am

pleaseask wrote:I have just seen your website. Looks very nice.

Thank you! but this a just a Draft. I hope some talented Design guy will join and make it better.

Can it run on a Synology device?

Yes, I guess!

I was wondering if you planning to make an interface with Vera lite ?

The main goal of PMD is to be universal. AnyOne should be able to write a plugin to interface PMD with any hardware or software with an HTTP API.
I'ts a matter of one or two hours. no more!

If Vera lite has an API, (i guess yes according to http://wiki.micasaverde.com/index.php/Luup_Requests), someone could be able to make a plugin. Unfortunately I don't myself own a Vera lite, and the documentation lacks some needed responses exemples, to even blindly make a draft plugin. And there is no LIve fake server to make the required tests.

So either someone has to offer me Vera, someone has to give me an online access to its own vera, or another person owning a vera has to make the plugin himself, and push it back to me.
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Sat Dec 14, 2013 10:10 am

wxop wrote:
I just wonder why the index.php and 2 or 3 other files start with <? instead of the more correct <?php Apache might think that's ok, but my setup doesn't

Just edit php.ini, set "short_open_tag = on" .Else feel free to push a pull-request changing the remaining <? to <?php


Fixed in latest 'develop' branch! :)
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Thu Dec 19, 2013 2:27 pm

Version 0.134 just released !

- new: (Experimental) Dimmers button implementation (Tested on openHab, Domoticz)
- new: Dutch translation (thanks to Pepijn Goossens)
- new: German translation (thanks to Juergen Kimmel)
- new: Now default to openHab Api, which has a convenient ONLINE api demo
- new: Domoticz now supports type "Temp + Humidity", "Motion Sensor", "YouLess Meter", "P1 Smart Meter"
- new: CSS enhancements
- new: Additionnal Metal skin
- new: Nginx Install HowTo (Thanks to Hans Rune)
- new: Directly check update NOW from the home page , with ?update in the url (/home?update)
- fix: Devices, Command and Sensors Page sorted by Type & Name
- fix: better type icons
- fix: 'Cache NotWritable' Error Help text
- dev: ApiFetchCustom for specific Fetch cases
- dev: Draft Pilight API (absolutely not tested, certainly needs some fixes)
- dev: "current" type renamed to "consum"
- dev: Devices page shows a full Dump when adding ?dump to the url
- dev: Starting to support Blinds type in Domoticz
- dev: move doc folder to www/inc/doc
- dev: move conf/config-sample.php to to conf_sample/config.php
- dev: move changelog.md to www/inc/doc/

Update should be shown soon (when your cache expires), in the footer of each page of PMD. Click the "available" link, and follow instructions.
BTW: If you want to reset the cache (and thus update NOW), just deleted the PMD/www/inc/cache/last_version file and refresh the home page TWICE. The link will then appear.

enjoy! ;)
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Thu Dec 26, 2013 9:17 pm

I've released a new version (0.141). This version introduces a very cool feature: "Actions"

Actions allow you to create notifications triggerered witch a simple URL get request. If your Home automation software is able to trigger an URL , depending on an event (Sensor change, Switch command, etc..), by using phpMyDomo, you will be able to send:

- Emails
- Android or iPhone notifications
- Growl Notifications (popup window on any Mac, WIndow or Linux workstation)
- XBMC notifications or pausing the movie you're currently watching
- Nabaztag Text To Speech messages, or moving Ears
- Standart xPl Messages
- Shell scripts
- HTTP GET requests
....

If you know PHP , You will be able to easily build others custom actions methods, by creating your own action plugin :geek:

Change log:

## Version : 0.141 - Dec 24, 2013
- new : Add (unmerged) actions Email, XBMC, Growl
- new : Action Nabaztag (using OJN)
- new : Action Prowl (IOS devices)
- new : Action NMA (Android devices)

## Version : 0.140 - Dec 23, 2013
- new: Introduces Actions (notifications)
- fix: New Domoticz Types : UV, Radiation, Visibility
- fix: IOS icon
- dev: fix PageError in api clients
- dev: add Demo mode
- fix: auto-truncate long names in blocks
- fix: footer no longer triggers scroll arrows

BTW, I've completely re-made the PMD website, so you can now try an online Demo of PMD.
You will also see the new features (ie PhotoFrame) currently being developed, and not being already released.
http://www.phpmydomo.org

Enjoy! ;)
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Sat Jan 04, 2014 5:42 pm

v 0.142 released:
- new : PhotoFrame display your photo library (Directory based or from iPhoto)
- fix : Remove (online) Google Font dependencies
- new : Cameras FullScreen Mode
- fix : Cameras list scaled
- fix : Domotiga v1.0.013 compatibility
- fix : device sorted according to the user language

PhotoFrame is a cool features to let your PMD dedicated tablet controller to display a nice photoframe like diaporama, while it is idle.
Wife like it! ;-)
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Sun Feb 09, 2014 12:59 pm

pmd Version 0.143 just released :

Code: Select all
new : PhotoFrame ScreenSaver mode : automatically switch to photoframe when idle
new : Links Block : Custom links to various website
new : Hide browser address bar on mobiles
new : Show/hide sensors names in groups titles
new : UK language (same as EN language, but using the 24h format)
fix : Show missing sensors units in groups titles
fix : Fix Domotiga DIM commands


8-)
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Wed Apr 23, 2014 2:21 pm

Version 0.144 just released
    - new: Custom devices icons
    - new: Better Domogik 0.3 support (Thanks to Thefrip), ... Work In Progess!
    - new: SunSet & Sunrise for servers missing it (using a new [app][location] config. parameter )
    - new: Actions Debounce : prevents identicals actions to be triggered before the debounce period
    - new: Photoframe click back to home when launched in ScreenSaver Mode
    - new: Domoticz Blinds Inverted, Contacts
    - new: Blinds & Shutter Buttons
    - new: OpenHab shows Server's Time
    - new: Sensors now show states
    - fix: Better HTTPS detection (Thanks to JobPilot, cblomart)
    - fix: Domoticz Set Blinds
    - fix: OpenHab smartest Names
    - fix: Hide Calendar information, if not set
    - fix: Dimmer commands in Domogik
    - fix: Apache Setup Documentation

Among other new features, this version will allow you to set custom icons per devices.

IF you wish to help, please submit custom icons for your devices!
Please post 2 versions of the same icon: one as the ON state , one as the OFF state. Icons must be 48x48 pixels, as .png files, and use a transparent background
examples: https://github.com/phpMyDomo/phpMyDomo/ ... mg/devices

I'll winclude your icons in the next release!

Enjoy 8-)
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Thu Mar 03, 2016 11:07 pm

No, PMD is not dead...

I'm gonna soon release version 0.2. !!!

It is currently available in the develop branch at Github. If you can't wait, or if you're willing to help, you can checkout the develop branch, which is almost finished (should be stable enought)

Here is the current changelog:
https://github.com/phpMyDomo/phpMyDomo/ ... angelog.md

If you had some CSS skills, I'm just waiting to complete the responsiveness of the new Clock page. I've drafted some @media css definifions to change sizes and padding depending on the screen size, but it need some final adjustements and tests.

I'm just waiting for your PR to the develop branch to publish the release. ;)
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Sun Mar 20, 2016 2:44 pm

phpMyDommo 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
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby freedomotic » Sat Mar 26, 2016 6:41 pm

Hi,
very cool project!
If you are interested you could integrate our domotic framework freedomotic.com.
We have an API https://github.com/freedomotic/freedomo ... motic-APIs you can try online.
Also we are developing a web client with Polymer https://github.com/freedomotic/freedomotic/wiki/Demo
Thanks
Freedomotic Open Source Building Automation
http://freedomotic.com
User avatar
freedomotic
Starting Member
Starting Member
 
Posts: 33
Joined: March 2012
Location: Italy

Next

Return to Home Automation Projects

Who is online

Users browsing this forum: No registered users and 1 guest