Project

General

Profile

Bug #499

Iphone interface no longer working on Ubuntu 14.04 LTS 32Bit and DomotiGa 1.0.018

Added by raymonvdm almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
WebClient
Target version:
Start date:
11/16/2014
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed

Description

Today i have upgrade one of DomotiGa setups and now the Iphone interface is no longer working the connection on port 9009 seems fine but when i switch on/off a lamp the debug logging does not show any activity. When i do the same using the Domotiga Webinterface it is working fine.

cat /etc/issue
Ubuntu 14.04.1 LTS \n \l

[Sun Nov 16 21:49:10.362874 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Notice: xmlrpc: wrong parameter type (7) in /var/www/iphone/change_device.php on line 48, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.446947 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 93, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.447085 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 93, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.447179 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 93, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.447675 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 93, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.447778 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 93, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.447849 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 93, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.448107 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 93, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.448448 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 93, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.448562 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 93, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.448718 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 93, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.448852 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 159, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.449362 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 159, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.449514 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 159, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.449806 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 159, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.450240 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 159, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.450375 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 159, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.450802 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 159, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.450911 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 159, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.451217 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 159, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.451397 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 159, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.451495 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 176, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.451845 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 176, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.451974 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 176, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.452233 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 176, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.452525 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 176, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.452779 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 176, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.453009 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 176, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.453243 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 176, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.453564 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 176, referer: http://ditiseendomein:80/iphone/device.php
[Sun Nov 16 21:49:10.453666 2014] [:error] [pid 6769] [client 127.127.127.127:54352] PHP Warning: Invalid argument supplied for foreach() in /var/www/iphone/device.php on line 176, referer: http://ditiseendomein:80/iphone/device.php

iphone.tar.gz (350 KB) iphone.tar.gz Alexie, 11/17/2014 06:46 PM

History

#1 Updated by raymonvdm almost 5 years ago

Note: Logging is from /var/log/apache2/error.log since the debug log of domotiga is not seeing anything

#2 Updated by Alexie almost 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Alexie

I will port the xml-rpc to json-rpc soon, then i will investigate this error too. I believe it is Ubuntu 14.04 related, because the iPhone code didn't change recently.

#3 Updated by dahl1632 almost 5 years ago

I also have the same problem, running Domotiga 1.0.18 on my raspberry pi.

[Mon Nov 17 17:16:14 2014] [error] [client 172.16.22.15] PHP Notice: xmlrpc: wrong parameter type (7) in /var/www/iphone/change_device.php on line 48, referer: http://172.16.22.7/iphone/device.php

This error is presented when i try to switch a device on/off.

Regards Johan

#4 Updated by Alexie almost 5 years ago

  • File iphone.tar.gz iphone.tar.gz added
  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100
  • Resolution set to Fixed

I have updated the iPhone client in the BETA (1.0.019) from xml-rpc to json-rpc, i also attached it to this issue ... Can you try it and let us know the result?

BTW: I am running Ubuntu 14.04LTS x86_64 ;)

#5 Updated by raymonvdm almost 5 years ago

I cannot test everything because my setup is not complete and the other house is not occupied at the moment. However i can change the House Mode from Work to Normal so it seems to be working. Thanks for the swift support :)

#6 Updated by Alexie almost 5 years ago

:P

No problem, but good to hear it is working better then before.

BTW: The housemode list is still fixed, but that was in the previous code too ... I like to make it more flexible, but looking for time to investigate that (i am not a php expert).

#7 Updated by Alexie almost 5 years ago

  • Status changed from Feedback to Resolved
  • Target version changed from 1.0.018 to 1.0.019

Merged into 1.0.019 and officially released.

#8 Updated by dahl1632 almost 5 years ago

Alexie wrote:

Merged into 1.0.019 and officially released.

Great! I can also confirm that this works great now! Big thanks!

#9 Updated by Alexie almost 5 years ago

  • Status changed from Resolved to Closed

Thanks for confirmation, i will close the issue now ;-)

Also available in: Atom PDF