Ваши комментарии
Debian Chroot
antonsoch, установите на NAS Syslog сервер или используйте промежуточный
В настройках логирования iRidium Server включите
Remote Log Settings
для отправки значений из панельного проекта на серверный необходимо использовать метод Set.
Например:
IR.GetDevice("iRidium Server").Set("Channel 1", 100);
Heh, slash is not omitted
#!/bin/sh #echo iRidium Server installation echo Create /var/lib/iRidium Server/ mkdir -p /var/lib/iRidium\ Server/ chmod -R 777 /var/lib/iRidium\ Server/ exit 0
Does the server work with root privileges?
#!/bin/sh #echo iRidium Server postinst chmod -R 777 /iridiumserver/ echo Creating autostart script... cp /iridiumserver/irserver /etc/init.d/ chmod 755 /etc/init.d/irserver rm /iridiumserver/irserver update-rc.d irserver defaults echo Starting server... /iridiumserver/iridium --force --hidden --watchdog=60 #service irserver start exit 0
/iridiumserver/Logs
:)
no, this trick only for GET
GET / HTTP/1.1\r\n
Host: 192.168.0.1\r\n
Connection: Keep-Alive\r\n
User-Agent: TestAgent\r\n
Content-Type: text/xml; charset=utf-8\r\n
Accept: */*\r\n
\r\n
POST / HTTP/1.1\r\n Host: 192.168.0.1\r\n Content-Length: 2\r\n Connection: Keep-Alive\r\n Keep-Alive: timeout=15, max=300\r\n User-Agent: TestAgent\r\n Content-Type: text/xml; charset=utf-8\r\n Accept: */*\r\n Content-Type: application/x-www-form-urlencoded\r\n \r\n
http://dev.iridiummobile.net/Systems_API/en#IR.SetInterval is solution, like as in This example, but on the Server side.
and
http://dev.iridiummobile.net/JS_Guide/en#IR.SetGlobalListener()
IR.SubscribeTagChange("System.Time.24"); IR.SubscribeTagChange("System.Time.Second");
With a small trick
var dev=IR.GetDevice("AV & Custom Systems (HTTP)"); var headr="TestAgent" + String.fromCharCode(13) + String.fromCharCode(10) + "Content-Type: text/xml; charset=utf-8"; dev.SetParameters({UserAgent: headr});
or
Сервис поддержки клиентов работает на платформе UserEcho
(read only) from 1.1.7.523