Страница 8 из 43

Re: Установка Системы Majordomo на Raspberry pi

Добавлено: Пт янв 24, 2014 11:44 pm
electric
Привет всем...
Попробовал поставить MDM на малинку.
Тормозит конечно, зараза))

Столкнулся с проблемой, цикл иногда останавливается, иногда нормально и лог аппача "забит" всякой лубудой...
Может кто сможет помочь, что где надо подправить? Что за ошибки в логе?
[Sat Jan 25 00:36:02 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of objects::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/objects/objects.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:02 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of objects::install() should be compatible with module::install($parent_name = '') in /var/www/modules/objects/objects.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:02 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of objects::dbInstall() should be compatible with module::dbInstall($data) in /var/www/modules/objects/objects.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:02 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of classes::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/classes/classes.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:02 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of classes::install() should be compatible with module::install($parent_name = '') in /var/www/modules/classes/classes.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:02 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of classes::dbInstall() should be compatible with module::dbInstall($data) in /var/www/modules/classes/classes.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:03 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of shoutbox::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/shoutbox/shoutbox.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:03 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of shoutbox::install() should be compatible with module::install($parent_name = '') in /var/www/modules/shoutbox/shoutbox.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:03 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of shoutbox::dbInstall() should be compatible with module::dbInstall($data) in /var/www/modules/shoutbox/shoutbox.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:05 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of application::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/application.class.php on line 11, referer: http://192.168.69.51/
[Sat Jan 25 00:36:05 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of application::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/application.class.php on line 11, referer: http://192.168.69.51/
[Sat Jan 25 00:36:06 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of events::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/events/events.class.php on line 13, referer: http://192.168.69.51/
[Sat Jan 25 00:36:06 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of events::install() should be compatible with module::install($parent_name = '') in /var/www/modules/events/events.class.php on line 13, referer: http://192.168.69.51/
[Sat Jan 25 00:36:06 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of events::dbInstall() should be compatible with module::dbInstall($data) in /var/www/modules/events/events.class.php on line 13, referer: http://192.168.69.51/
[Sat Jan 25 00:36:10 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of application::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/application.class.php on line 11, referer: http://192.168.69.51/
[Sat Jan 25 00:36:10 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of application::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/application.class.php on line 11, referer: http://192.168.69.51/
[Sat Jan 25 00:36:11 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of events::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/events/events.class.php on line 13, referer: http://192.168.69.51/
[Sat Jan 25 00:36:11 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of events::install() should be compatible with module::install($parent_name = '') in /var/www/modules/events/events.class.php on line 13, referer: http://192.168.69.51/
[Sat Jan 25 00:36:11 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of events::dbInstall() should be compatible with module::dbInstall($data) in /var/www/modules/events/events.class.php on line 13, referer: http://192.168.69.51/
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of application::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/application.class.php on line 11, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of commands::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/commands/commands.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of commands::install() should be compatible with module::install($parent_name = '') in /var/www/modules/commands/commands.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of commands::dbInstall() should be compatible with module::dbInstall($data) in /var/www/modules/commands/commands.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of objects::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/objects/objects.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of objects::install() should be compatible with module::install($parent_name = '') in /var/www/modules/objects/objects.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of objects::dbInstall() should be compatible with module::dbInstall($data) in /var/www/modules/objects/objects.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of classes::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/classes/classes.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of classes::install() should be compatible with module::install($parent_name = '') in /var/www/modules/classes/classes.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of classes::dbInstall() should be compatible with module::dbInstall($data) in /var/www/modules/classes/classes.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of application::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/application.class.php on line 11, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of commands::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/commands/commands.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of commands::install() should be compatible with module::install($parent_name = '') in /var/www/modules/commands/commands.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of commands::dbInstall() should be compatible with module::dbInstall($data) in /var/www/modules/commands/commands.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of security_rules::dbInstall() should be compatible with module::dbInstall($data) in /var/www/modules/security_rules/security_rules.class.php on line 14, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of objects::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/objects/objects.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of objects::install() should be compatible with module::install($parent_name = '') in /var/www/modules/objects/objects.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of objects::dbInstall() should be compatible with module::dbInstall($data) in /var/www/modules/objects/objects.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of classes::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/classes/classes.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of classes::install() should be compatible with module::install($parent_name = '') in /var/www/modules/classes/classes.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:12 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of classes::dbInstall() should be compatible with module::dbInstall($data) in /var/www/modules/classes/classes.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:13 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of shoutbox::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/shoutbox/shoutbox.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:13 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of shoutbox::install() should be compatible with module::install($parent_name = '') in /var/www/modules/shoutbox/shoutbox.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:13 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of shoutbox::dbInstall() should be compatible with module::dbInstall($data) in /var/www/modules/shoutbox/shoutbox.class.php on line 13, referer: http://192.168.69.51/menu.html
[Sat Jan 25 00:36:15 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of application::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/application.class.php on line 11, referer: http://192.168.69.51/
[Sat Jan 25 00:36:15 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of application::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/application.class.php on line 11, referer: http://192.168.69.51/
[Sat Jan 25 00:36:16 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of events::saveParams() should be compatible with module::saveParams($data = 1) in /var/www/modules/events/events.class.php on line 13, referer: http://192.168.69.51/
[Sat Jan 25 00:36:16 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of events::install() should be compatible with module::install($parent_name = '') in /var/www/modules/events/events.class.php on line 13, referer: http://192.168.69.51/
[Sat Jan 25 00:36:16 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of events::dbInstall() should be compatible with module::dbInstall($data) in /var/www/modules/events/events.class.php on line 13, referer: http://192.168.69.51/
З.Ы. Этого добра в лог-файле на 5Мб за 30мин работы((
З.З.Ы. Пробовал ставить на обычный ПК с Дебиан, все работает, но - аптайм 8,5 часов и error.log - 57Mb, access.log - 40Mb.
Может это нормально?))

Re: Установка Системы Majordomo на Raspberry pi

Добавлено: Сб янв 25, 2014 5:10 am
LuckyFIA
electric писал(а):[Sat Jan 25 00:36:02 2014] [error] [client 192.168.69.15] PHP Strict Standards: Declaration of objects::saveParams() should be compatible with module::saveParams($data = 1)
Я уже поднимал этот вопрос http://smartliving.ru/forum/viewtopic.php?f=3&t=1385, но итогового решения не было.
Хотя сейчас подобных ошибок нет.

Re: Установка Системы Majordomo на Raspberry pi

Добавлено: Сб янв 25, 2014 3:44 pm
sergejey
Ребята, отключите репортинг Strict Standards ошибок в php.ini. Обещаю, что постараюсь в одном из обновлений от этого избавится, но пока просто в php.ini пропишите error_reporting как E_ALL ^ E_NOTICE ^ E_STRICT

Re: Установка Системы Majordomo на Raspberry pi

Добавлено: Вс янв 26, 2014 3:18 pm
electric
Ребят, подскажите пожалуйста.
Подключил малину через линейный выход (3,5 джек) к усилителю, пытаюсь добиться голоса))
Никак не получалось - ставил mplayer и пр. Через SSH попробовал воспроизвести mp3.
Оказалось все работает, только оооочень тихо!
Мой Onkyo пришлось выкручивать практически на максимум, хотя в среде MDM громкость 100%.
Может в малине самой надо тоже прибавить громкочсть? Как это сделать через SSH?
Не хочется запускать иксы...
Заранее спасибо!

Re: Установка Системы Majordomo на Raspberry pi

Добавлено: Вс янв 26, 2014 4:35 pm
anemcov
alsamixer

Re: Установка Системы Majordomo на Raspberry pi

Добавлено: Чт янв 30, 2014 9:52 am
PAV
Не показываются графики температуры. Все вроде настроил. Ощущение, что не пишется история. Как проверить, подскажите, пожалуйста.
Где вообще хранится история всех значений и свойств объектов?
Как узнать, что sql и php работают нормально?

Re: Установка Системы Majordomo на Raspberry pi

Добавлено: Чт янв 30, 2014 11:05 am
electric
PAV писал(а):Не показываются графики температуры. Все вроде настроил. Ощущение, что не пишется история. Как проверить, подскажите, пожалуйста.
Где вообще хранится история всех значений и свойств объектов?
Аналоговые сенсоры должны храниться в таблице phistory (хистори) в БД db_terminal в MySQL.
Можно поставить phpmyadmin, если не ставили, и посмотреть содержимое таблицы.
Я делал так, аналоговые значения температурных датчиков пишутся в БД.
PAV писал(а):Как узнать, что sql и php работают нормально?
Помотри логи апача и mySQL.

Re: Установка Системы Majordomo на Raspberry pi

Добавлено: Сб фев 01, 2014 2:48 pm
Pooh
Тоже не смог добиться показаний графиков :-( (на http://demo.smartliving.ru/ тоже кстати не показывает график температуры.. вернее показывает точно такой же как у меня :-))

Re: Установка Системы Majordomo на Raspberry pi

Добавлено: Пн фев 03, 2014 6:21 pm
PAV
у меня вообще в логах пусто, я понять не могу работает вообще MySql или нет

Re: Установка Системы Majordomo на Raspberry pi

Добавлено: Пн фев 03, 2014 6:30 pm
PAV
electric писал(а): Помотри логи апача и mySQL.
Можно конкретно, где эти логи хранятся в этой сборке? В log/mysql пусто