phpMyDomo: a convenient Domoticz Web Interface

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

Moderator: leecollings

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

Peter112
Posts: 16
Joined: Tuesday 15 October 2013 14:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Uithuizen,Groningen,The Netherlands
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by Peter112 »

today i tried phpmydomo to run on a preconfigred http://www.uniformserver.com/

i installed this on my harddrive (can also run form usb stick), downloaded the PHP module

i test the standard webserver on uniformserver = ok
replaced the www folder files with the phpdomo files, i then end with an error 403 forbidden page

i have deleted the apache security, in the log there is an issue wich i do not understand (no apache or iss knowledge), but i read in the log that something is forbidden

Code: Select all

Sun Dec 29 19:08:09.250101 2013] [mpm_winnt:notice] [pid 6076:tid 140] AH00418: Parent: Created child process 8476
[Sun Dec 29 19:08:30.170298 2013] [mpm_winnt:notice] [pid 8476:tid 556] AH00354: Child: Starting 150 worker threads.
[Sun Dec 29 19:08:30.280304 2013] [rewrite:error] [pid 8476:tid 1744] [client ::1:28863] AH00670: Options FollowSymLinks and SymLinksIfOwnerMatch are both off, so the RewriteRule directive is also forbidden due to its similar ability to circumvent directory restrictions : P:/domoticz/UNIFORMSERVER/www/controller.php
[Sun Dec 29 19:08:30.280304 2013] [rewrite:error] [pid 8476:tid 1760] [client ::1:28861] AH00670: Options FollowSymLinks and SymLinksIfOwnerMatch are both off, so the RewriteRule directive is also forbidden due to its similar ability to circumvent directory restrictions : P:/domoticz/UNIFORMSERVER/www/index.php
[Sun Dec 29 19:09:26.211503 2013] [rewrite:error] [pid 8476:tid 1760] [client ::1:28915] AH00670: Options FollowSymLinks and SymLinksIfOwnerMatch are both off, so the RewriteRule directive is also forbidden due to its similar ability to circumvent directory restrictions : P:/domoticz/UNIFORMSERVER/www/server-info
[Sun Dec 29 19:09:36.490091 2013] [rewrite:error] [pid 8476:tid 1764] [client ::1:28918] AH00670: Options FollowSymLinks and SymLinksIfOwnerMatch are both off, so the RewriteRule directive is also forbidden due to its similar ability to circumvent directory restrictions : P:/domoticz/UNIFORMSERVER/www/server-status
[Sun Dec 29 19:11:22.932179 2013] [core:warn] [pid 8056:tid 140] AH00098: pid file P:/domoticz/UNIFORMSERVER/core/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Dec 29 19:11:29.372548 2013] [mpm_winnt:notice] [pid 8056:tid 140] AH00455: Apache/2.4.7 (Win32) PHP/5.4.23 configured -- resuming normal operations
[Sun Dec 29 19:11:29.378548 2013] [mpm_winnt:notice] [pid 8056:tid 140] AH00456: Apache Lounge VC10 Server built: Nov 26 2013 15:46:56
[Sun Dec 29 19:11:29.379548 2013] [core:notice] [pid 8056:tid 140] AH00094: Command line: 'P:\\domoticz\\UNIFORMSERVER\\core\\apache2\\bin\\httpd_z.exe -d P:/domoticz/UNIFORMSERVER/core/apache2 -f P:\\domoticz\\UNIFORMSERVER\\core\\apache2\\conf\\httpd.conf -d P:\\domoticz\\UNIFORMSERVER\\core\\apache2'
[Sun Dec 29 19:11:29.611561 2013] [mpm_winnt:notice] [pid 8056:tid 140] AH00418: Parent: Created child process 5196

played arround
installed pearl
added 2 lines in the .htaccess in the www folder

Code: Select all

#####################################################
# BEGIN Controller
Options Indexes FollowSymLinks   >>>>>>>>>>>> added this line
Options +FollowSymLinks  >>>>>>>>>>>>>>>>>>> added this line
<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]
</IfModule>

# END Controller
#####################################################
now it sometimes displays the controller.php partley, after this the uniform application crashes
(the 403 pages are gone)
i also try to run it as vHost but no luck
RaspberryPI domoticz, test server Intel Atom 230 dual core @1,6 GhzW7-32bit domoticz Test,RFXtrx433 USB, Kaku ,OWL
andriej
Posts: 46
Joined: Tuesday 10 December 2013 22:27
Target OS: Linux
Domoticz version: beta
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by andriej »

Is it possible to set 24h time format instead of am/pm?
Orange Pi (@ Debian) / MySensors Serial / GPIO / Custom Serial 433 MHz Transmitter (for plug switches and livolo wall switches) / JSON&Bash API scripts
User avatar
capman
Posts: 153
Joined: Friday 12 July 2013 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by capman »

Why get a get this warning (see screenshot) when a set debug to 1 in the config file ?
Attachments
warning.jpg
warning.jpg (70.09 KiB) Viewed 4310 times
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 »

andriej wrote:Is it possible to set 24h time format instead of am/pm?
It depends on the language you're currently using...
If set to english (en) , it uses the 12h format (as standard in the US)
I have just pushed a UK language file (which use the 24h format) to the "develop" branch. It will be included in the next release
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 »

capman wrote:Why get a get this warning (see screenshot) when a set debug to 1 in the config file ?
It seems weird. You also seems to have a font display problem (according to your sceenshot)... Compare with the online demo at
http://www.phpmydomo.org/demo/www/

You might try to clear the cache by going to
http://PMD_IP/utils/reset
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 »

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! ;-)
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
vincenttor
Posts: 9
Joined: Saturday 04 January 2014 14:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by vincenttor »

Thanks for sharing, looks very nice as the standard page does as well.
jaytee
Posts: 12
Joined: Sunday 14 July 2013 21:00
Target OS: -
Domoticz version: beta
Location: Sweden
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by jaytee »

I installed it today and liked it :D
A few features/changes I would like to see:

- Automatically enter photoframe mode after idle for x minutes
- Fullscreen mode (to get "app-feeling") on iPhone without the address field on top if launched from an icon on springboard. For example Domoticz web interface has this feature.
- If sensors are added to a GROUP the icons and values are displayed in the header frame of the group, without the name of the sensor. If you have multiple sensors you cannot see which sensor it is. Any work-arounds for this?
- Sub-groups within a GROUP.
- Landscape mode on mobile devices.

I also found this issue:
- Scandinavian characters (å,ä,ö) are not displayed in GROUP_NAME, it replaces the character with a "diamond with a question-mark" inside.

Regards
/jaytee
RPi2 : UPiS, OZW USB Stick, RfxTrx433, Philips HUE, DomoticzRemoteServer (1-wire)
RPi: 1-wire
gysmo38
Posts: 50
Joined: Saturday 01 February 2014 13:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by gysmo38 »

I tried today.

It look good. I like the page with cameras.

So i made some changes.

I would like to use the snapshot.cgi to get a jpg file and show it. The advantage is that work, if you use the website outside your network.

It work, the only thing i need is to autorefresh the page to get new picture.

How can I do that?

Thank you.
gysmo38
Posts: 50
Joined: Saturday 01 February 2014 13:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by gysmo38 »

Forget my previous post i found another way to do it.

I will make more test and share it.

It allow you to watch live view evenif you are outside your local network.

It work like "a proxy" for the webcam.
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 »

jaytee wrote: - Automatically enter photoframe mode after idle for x minutes
Nice idea: done in develop branch !
- Fullscreen mode (to get "app-feeling") on iPhone without the address field on top if launched from an icon on springboard. For example Domoticz web interface has this feature.
Done in develop branch!
- If sensors are added to a GROUP the icons and values are displayed in the header frame of the group, without the name of the sensor. If you have multiple sensors you cannot see which sensor it is. Any work-arounds for this?
Done in develop branch!
- Sub-groups within a GROUP.
What you mean exactly?
- Landscape mode on mobile devices.
???? Should already automatically switch view from portrait to landscape mode depending on mobile orientation. no?
I also found this issue:
- Scandinavian characters (å,ä,ö) are not displayed in GROUP_NAME, it replaces the character with a "diamond with a question-mark" inside.
Should work! Certainly an issue when saving the config file on your side: If the config file is correctly UTF8 encoded/saved, it should display properly. You certainly have converted the file to ASCII or ISO8859-1 while saving the file with a dumb text editor.

You can checkout the develop branch on GitHub to already test all your suggestions, or wait until I'll release the next Master version.
;)
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
jaytee
Posts: 12
Joined: Sunday 14 July 2013 21:00
Target OS: -
Domoticz version: beta
Location: Sweden
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by jaytee »

Nice! Hopefully i can try it tomorrow.

- Landscape mode... It behaves differently on different mobile devices. The menu bar sometimes shows sometimes not. The menu bar interferes the top part of the page contents.

My plan is to have a dedicated tablet in landscape mode mounted on the wall as a primary controller. In this case the landscape mode needs to be at least as good looking as the portrait mode.

- Submenus... I mean, on Dashboard I create a group called 'Living room' inside the group I want to have groups 'Lighting' 'Scenes' 'Etc...'.

- Will check the encoding of the config file.

/jaytee
RPi2 : UPiS, OZW USB Stick, RfxTrx433, Philips HUE, DomoticzRemoteServer (1-wire)
RPi: 1-wire
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 »

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-)
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
sstolk
Posts: 28
Joined: Tuesday 03 December 2013 9:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by sstolk »

Great interface! I'm going to use it on my wall-mounted ipad but there are some items not working like:
Door sensors and blinds inverted
Keep up the good work!
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 @sstolk
Thank you for the kind words !

As I can't own all devices (and so understand how to fix it), please do describe as much as you can what don't work, and how it should be fixed.

best regards
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
sstolk
Posts: 28
Joined: Tuesday 03 December 2013 9:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by sstolk »

The part for the blinds_inverse is the same as for the blinds.
It's just the difference between open and close and vice versa.

the part for the door sensors... What kind of information do you need? Domoticz namings or states that domoticz gives it?
sstolk
Posts: 28
Joined: Tuesday 03 December 2013 9:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by sstolk »

Regarding the blinds...
1.PNG
1.PNG (49.11 KiB) Viewed 3888 times
Be aware that there are 2 buttons in Domoticz for blinds. One for Open and one for Close. This is so you can stop the sunscreen/blinds halfway.
Otherwise you cannot stop the blinds and it will always collapse / open fully.
sstolk
Posts: 28
Joined: Tuesday 03 December 2013 9:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by sstolk »

The following code added in api_client.php in the Domoticz folder

Code: Select all

				elseif($raw['SwitchType']=='Blinds Inverted'){
					$d['class']	='command';
					$d['type']	='blinds';
					$d['value']	=$raw['LevelInt'];
				}
Resulted in a working button but not the problem I described above regarding to stop the blinds on your own preference.

For the doors I added this code to the same file resulting in working sensors but no icons in the GUI

Code: Select all

				elseif($raw['SwitchType']=='Contact'){
					$d['class']	="sensor";
					$d['type']	="door";
				}
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 »

Thank you @sstolk for the report. As I've no blinds to test, your feedback really helps me !

Would you please explain me how you stop the blind, ie Halfway?

In Domoticz there are 2 buttons: OPEN and CLOSE

1) Let's say that blinds are currently fully closed: How do you open it halfway?
- press OPEN, then OPEN again or
- press OPEN then CLOSE or
- ???

2) Same question, when blinds are currently fully Open?

3) Also what is the current State reported by the Domoticz API when the Blinds are halfway open? "Open"? "Closed"? "XXX" ?

4) How long in seconds does it take to fully Open, or fully Close your blinds ? Max time?


thank you
Last edited by wxop on Wednesday 12 February 2014 12:23, edited 2 times in total.
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
sstolk
Posts: 28
Joined: Tuesday 03 December 2013 9:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by sstolk »

The blinds stop with the same command.
So press OPEN, then OPEN again will stop the blinds
The state in Domoticz is then the OPEN state. He will not measure if the blinds are closed because there is no feedback from the receiver to the RFXCom 433
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest