Напишите здесь описание Вашего форума ...
0
Answered

Incoming TCP message

Harm 7 months ago in Tips and Tricks updated by Vladimir Ovchinnikov 7 months ago 5

Hello,

Has someone of you some experience with incoming TCP messages?
I have an TCP trigger in an Axis camera to the IP-address from the iRidium server. I have used port 8888 to send the message.

In the server I have added an TCP device with the IP-address from the Axis camera on port 20.

For testing I have added an script:

var driver = IR.GetDevice("Axis M1065-LW");
IR.AddListener(IR.EVENT_RECEIVE_DATA, driver, function(text) {
var strings = text.split('\r\n');
var string;

IR.Log(text);

});

When I trigger the alarm, I don't see any message incoming.

How can I see the message? What do I miss?

0
Answered

Keep log window open with on EXIT EVENT

Kenny Stoepel 7 months ago in Tips and Tricks updated by Aleksandr Romanov (CTO) 7 months ago 3

I'm using some js code to run IR.EVENT_EXIT. all is working well except that debugging my code is very hard to debug because closing the emulator also closes to Logging window immediatly. 

Is there any workaround that the log window could stay open when closing the emulator?

0
Answered

Iridium server and sonos as doorbell

oggi katic 8 months ago in Tips and Tricks updated 8 months ago 4

hi there.. 

do somebody know how to make a function in server , that plays a file on a Sonos speaker if a modbus command goes on ?

Is it possible ?

0
Answered

JavaScript Editor

Mike Slattery 9 months ago in Tips and Tricks updated by Aleksandr Romanov (CTO) 6 months ago 5

Finally a JavaScript editor that will check your code. The new Visual Studio 2019 will check for errors in you code and mark them red. It has always been a pain looking for vars not defined or defined multiple times and ";" and breaks not used. It will mark all the "==' and claim you should use "===". Just ignore these. 

0
Answered

"Acess Denied" error after server installation rpi

Rafael Pierozzi 10 months ago in Tips and Tricks updated 10 months ago 4

Hello, 

I'm having some trouble when installing iridium server lite to a raspberry pi. I tried using Volumio image and Jessie clean installation.

I did installation following procedure, using "iridiumserver_1.3.3-16751_RPI.deb" file.

After installation, I can add iridium server to iridium transfer page but when I try to open web interface to configura iridium account, it shows error "acess denied".

I tried ssh access and the commands "sudo ./iridium --force" and "--clean" and result is as follows:

pi@raspberrypi:/iridiumserver $ sudo ./iridium --clean

# ###### # # #
# # #
### # # ### ###### ### # # ### ##
# ###### # # # # # # # # #
# # # # # # # # # # # #
# # # # # # # # ## # # #
##### # # ##### ###### ##### #### # # #

sh: 1: /iridiumserver/launcher: not found
Get Serial From /proc/cpuinfo 00000000f0118dff size: 16
Name raspberrypi(Server) Os Linux Family armv7l Model Raspberry PI
Doc Dir /var/lib/iRidium Server/Documents/
Cache Dir /var/lib/iRidium Server/Documents/
Log Dir /var/lib/iRidium Server/Logs/
Res Dir /iridiumserver/
DB Dir /var/lib/iRidium Server/DataBase/
App Type 5
[19-04-2019 15:01:22.000] DEBUG CORE Core DoInit
[19-04-2019 15:01:22.000] INFO LAUNCHER Server Version: 1.3.3:16751 (Apr 2 2019, 15:04:45)
[19-04-2019 15:01:22.000] ERROR CORE Project file does not exist

[19-04-2019 15:01:26.000] ERROR WEBSERVER Unsupported method
[19-04-2019 15:01:26.000] ERROR WEBSERVER Probably you try secure connection when it's off
[19-04-2019 15:01:26.000] ERROR WEBSERVER Unsupported method
[19-04-2019 15:01:26.000] ERROR WEBSERVER Probably you try secure connection when it's off

What can I do next ?

0
Answered

Fixed IP adress Iridium Server

Jurgen de Meulenaere 10 months ago in Tips and Tricks updated by Aleksandr Romanov (CTO) 10 months ago 2

I'm running Iridium Server on a Raspberry Pi, how can i change the PI from DHCP to fixed IP adress? Is it possible to change that in Iridium Server? Or do i have to do that in the Pi software?

0
Answered

Getting Text property of a selected list item.

rwa 11 months ago in Tips and Tricks updated by Aleksandr Romanov (CTO) 10 months ago 6

I am trying to get the Text attribute from a list item,

The list items are added using user input, the user input gets put in the list as subitem '2' and is named 'Name'.

I am facing the problem that i cannot acces the list subitem Text aka the user input.

I however cannot send the user input using functions because i am using the list as a dynamic list.

I hope i gave enough information for my problem and i hope to see a reaction if anyone has a solution.

Thanks in advance

0
Answered

Colourpicker RGB value

Harm 12 months ago in Tips and Tricks updated by Aleksandr Romanov (CTO) 10 months ago 2

Hello,

How can I use the colourpicker (http://wiki2.iridiummobile.net/Examples_of_Controlling_Equipment_of_the_KNX_Bus and https://s3.amazonaws.com/iRidiumWiki2.0/Driver_KNX/KNX_ColorPicker.irpz) on one RGB-address (3x255)?

The variable "color" does not have the right value and need to be converted.

Someone have an idea?


Best wishes,

Harm

0
Answered

How to disable Static List scrolling

Ivan M. 12 months ago in Tips and Tricks updated by Vladimir Ovchinnikov 9 months ago 2

Hi to all,

I'd like to disable the manual scrolling in Static List object, but I can't see any option that can do the work. If I set to False the "Active" property then the objects inside the list are disabled too.

I already tried to add a listener via script but it seems not to work.

I use the Static List dinamically via script to populate it with popup objects.So I can't change the list type.

Any idea or workaround?

Thank you

0
Under review

is it possible to run SQL command on irpro server start?

Tanapol E. 12 months ago in Tips and Tricks updated by Vladimir Ovchinnikov 12 months ago 7

is it possible to run SQL command on irpro server start?

I would like to run 

"DELETE FROM `FLOAT_TAG_HISTORY` WHERE `VALUE` = 0.00" 

and

"DELETE FROM `INTEGER_TAG_HISTORY` WHERE `VALUE` = 0"

to clear out zero value in IR Main database