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

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 »

wxop wrote: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
- temp + hum thermometers are working fine now (on develop branch)
- dimmers are recognized and be switched on and off, now it needs a slider to set a level
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by remb0 »

is it possible to make an synology package of this great piece of work?
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by remb0 »

I tried to install on a synology 1512:
'www_home' is not defined /www/home

I have git cloned is to:
volume1/web/phpMyDomo
and in config manager I have placed:
vhosts:
phpmydomo phpmydomo.domain 80
and php_basedir:
/volume1/web/phpMyDomo/www/

but it only works when i user:
phpmydomo.domain/www
and then i got the error 'www_home' is not defined /www/home


in my httpd log
[Thu Dec 12 11:04:02 2013] [error] [client 194.151.37.70] File does not exist: /var/services/web/phpMyDomo/devices, referer: http://phpmydomo.domain/www/home
[Thu Dec 12 11:04:08 2013] [error] [client 194.151.37.70] File does not exist: /var/services/web/phpMyDomo/home, referer: http://phpmydomo.domain/www/home
[Thu Dec 12 11:06:19 2013] [error] [client 194.151.37.70] Directory index forbidden by Options directive: /var/services/web/phpMyDomo/
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

@remb0, already answered on GitHUB.. BTW please avoid crossposting. GitHub being my favorite place!

@geho can you give me feedback about dimmers. Does it works? (on GitHub please)
BTW a Dutch translation is in the develop branch ;)
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
capman
Posts: 157
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 »

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!

I want to help you with creating a Dutch language-file. But in Dutch 'commands' should be 'commando's'. Should I escape the ' like \' ?
Question. What have you do, to see the devices? What changes do you make in the config file? A suppose that the // marks must be deleted before the 2 lines for domoticz?
A have see the home screen in my browser but thats it. When a click on devices or any other button nothing happens. Just empty pages. With sunrise and sunset is no time.
Just the date is visible on the dashboard. Please help a noob. Thanks.
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

You have to edit the config file, setting domoticz as the API, if not already set, and set the server_domoticz if not on the same machine.

The config file is self explaining, just read it very carefully, and you should succeed .

and yes // are comments that can be removed
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
capman
Posts: 157
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 »

Finally succeed !!! I had first edit the wrong config file :). It was on var/www/inc/conf and not home/pi/phpmydomo/www/inc/conf.
Now its working and can a go playing in the config file for the right look :) .
Thanks for the nice interface.
jkimmel
Posts: 129
Joined: Monday 25 November 2013 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Mallorca
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by jkimmel »

capman wrote:Finally succeed !!! I had first edit the wrong config file :). It was on var/www/inc/conf and not home/pi/phpmydomo/www/inc/conf.
Now its working and can a go playing in the config file for the right look :) .
Thanks for the nice interface.
I tried to follow install.md and after executing

Code: Select all

mv -f /home/pi/ phpMyDomo-phpMyDomo-f94590f/www/* /var/www/
mv -f /home/pi/ phpMyDomo-phpMyDomo-f94590f/www/.htaccess /var/www/
/home/pi/ phpMyDomo-phpMyDomo-f94590f/www/ must be empty

So where was the wrong config file?
Last edited by jkimmel on Saturday 14 December 2013 0:06, edited 2 times in total.
Rfxcom
Raspi 4
jkimmel
Posts: 129
Joined: Monday 25 November 2013 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Mallorca
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by jkimmel »

Need help at the point

Code: Select all

<Directory /var/www/>	
	Options Indexes
	AllowOverride All
	(other directives)
</Directory>
being this NooB I don't know how to handle this
Rfxcom
Raspi 4
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by remb0 »

when I use openhab demo it works fine.
but when i use my domoticz i got this error in domoticz log

Error: Sat Dec 14 00:17:02 2013 UNHANDLED PACKET TYPE: FS20 45
Sat Dec 14 00:17:02 2013 (Domoticz Shared)
Sat Dec 14 00:17:08 2013 (Smart meter) P1 Smart Meter Power (energie)
Sat Dec 14 00:17:18 2013 (Smart meter) P1 Smart Meter Power (energie)
Incoming connection from: 92.109.*.*
Error: Sat Dec 14 00:17:24 2013 UNHANDLED PACKET TYPE: FS20 45
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

jkimmel wrote:
capman wrote:Finally succeed !!! I had first edit the wrong config file :). It was on var/www/inc/conf and not home/pi/phpmydomo/www/inc/conf.
Now its working and can a go playing in the config file for the right look :) .
Thanks for the nice interface.
I tried to follow install.md and after executing

Code: Select all

mv -f /home/pi/ phpMyDomo-phpMyDomo-f94590f/www/* /var/www/
mv -f /home/pi/ phpMyDomo-phpMyDomo-f94590f/www/.htaccess /var/www/
/home/pi/ phpMyDomo-phpMyDomo-f94590f/www/ must be empty

So where was the wrong config file?
I dont understand the question :geek:
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

jkimmel wrote:Need help at the point

Code: Select all

<Directory /var/www/>	
	Options Indexes
	AllowOverride All
	(other directives)
</Directory>
being this NooB I don't know how to handle this
Follow install instructions:
il you're on debian, you just have to change one word in the default apache configuration. Its written in the Install document!
Last edited by wxop on Saturday 14 December 2013 9:55, edited 1 time in total.
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

remb0 wrote:when I use openhab demo it works fine.
but when i use my domoticz i got this error in domoticz log

Error: Sat Dec 14 00:17:02 2013 UNHANDLED PACKET TYPE: FS20 45
Sat Dec 14 00:17:02 2013 (Domoticz Shared)
Sat Dec 14 00:17:08 2013 (Smart meter) P1 Smart Meter Power (energie)
Sat Dec 14 00:17:18 2013 (Smart meter) P1 Smart Meter Power (energie)
Incoming connection from: 92.109.*.*
Error: Sat Dec 14 00:17:24 2013 UNHANDLED PACKET TYPE: FS20 45
(UNHANDLED..), (Domoticz Shared) , (Smart meter...) lines have nothing to do with PMD.
Incoming connection from: 92.109.*.* might be related if your PMD is not on the same host, and do have a 92.109.*.* ip.

What is the question? does it work?
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
jkimmel
Posts: 129
Joined: Monday 25 November 2013 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Mallorca
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by jkimmel »

jkimmel wrote:Need help at the point

Code: Select all

<Directory /var/www/>	
	Options Indexes
	AllowOverride All
	(other directives)
</Directory>
being this NooB I don't know how to handle this

Got it Thank you
Rfxcom
Raspi 4
jkimmel
Posts: 129
Joined: Monday 25 November 2013 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Mallorca
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by jkimmel »

I see "It works" but how to proceed?

Any real life config.php out there? (maybe PM)

Would be helpful for me because I'm not sure how device is set in "$conf['blocks']['sensors'][]="DEVICE_ID_7";"

In the Domoticz device list are devices with same ID and a additional unit number, how should I change "DEVICE_ID" using ID and unit number?
Last edited by jkimmel on Saturday 14 December 2013 18:26, edited 1 time in total.
Rfxcom
Raspi 4
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

use the long id printed in the device list, ie command_switch_7
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
jkimmel
Posts: 129
Joined: Monday 25 November 2013 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Mallorca
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by jkimmel »

wxop wrote:use the long id printed in the device list, ie command_switch_7
Is there a different devicelist somewhere here I don't find something similar to "command_switch_7"
Screenshot (15)_1.png
Screenshot (15)_1.png (65.27 KiB) Viewed 4873 times
Rfxcom
Raspi 4
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by wxop »

look in the device page of PMD
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
capman
Posts: 157
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 »

Problem:
When a set debug force to 1 (enabled) , a get this error message on top of my screen:
'Warning: Invalid argument supplied for foreach() in /var/www/inc/lib/pmd_root_api_client.php on line 265'

So when a go to line 265 , a see this 'foreach($rows as $row){'. Also did a do a update and a reset , but still no dimmers and
no sensors with temp and hym on thesame device. What should a do to fix this issue.

Still a great UI , thanks ;) .
jkimmel
Posts: 129
Joined: Monday 25 November 2013 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Mallorca
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post by jkimmel »

wxop wrote:look in the device page of PMD
I'm really sorry. But I don't have the slightest idea what PMD could be.

Edit: By chance I opened Ip-address/index.php and my devices were visible. Don't know yet how to edit if already possible.
Last edited by jkimmel on Saturday 14 December 2013 23:57, edited 1 time in total.
Rfxcom
Raspi 4
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest