1.0.2 • Published 8 months ago

node-red-contrib-intersvyaz v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Intercom control from intersvyaz

Install

npm install node-red-contrib-intersvyaz

Nodes

Configuration

Input

credentialsDescription
usernameUsername
passwordPassword

Details

To receive your username and password, you can message the chatbot in the "Intersvyaz" application. You will receive an SMS message with the information.

Balance

Get the current balance

Output

msg
payload
payloadDescription
balanceCurrent balance
nextPaymentNext payment

Intercom

Get a list of intercoms, and open an intercom

Input

msgtypeDescription
relayIdstringDevice ID
openbooleanWhether to open the intercom
topicstringTitle
topicDescription
listList of intercoms
openOpen the intercom

Output

msgtype
payload(array | json)
payloadDescription
ADDRESSIntercom address
RELAY_IDDevice ID
ENTRANCE_UIDCamera ID
PORCH_NUMEntrance number
NUM_BUILDINGApartment number
IMAGE_URLCurrent frame

Cameras

Get a list of intercom cameras

Input

msgtypeDescription
entranceUidsstringCamera ID
topicstringTitle

Output

msgtype
payloadarray
payloadDescription
ADDRESSIntercom address
COORDINATESCoordinates
ARCHIVEArchive
MEDIAVideo streams
ARCHIVE
START_TIME
STOP_TIME
MEDIA
HLS.LIVE.MAIN
HLS.LIVE.LOW_LATENCY
HLS.ARCHIVE

Details

MEDIA.HLS.ARCHIVE contains start and end dates. To play the stream, you need to reduce the interval. The maximum interval is 24 hours.

History

Retrieve history

Input

msgtypeDescription
filterjsonFilters
topicstringTitle
filter
from
to
page
perPage

Output

msgtype
payloadarray
payloadDescription
create_dateDate
typeEvent type
params.addressIntercom address
params.rfidKey
typeDescription
OPEN_APIOpened: application
OPEN_INTERNALOpened: key
HANDSET_CALLCall from intercom

Details

The key is displayed in the application in the following format

String(parseInt('${rfid}', 16)).replace(/^.*(.{4})$/, "****$1")

Incoming Call

Incoming call event

Output

msgtype
payloadobject
payloadDescription
methodSIP request method
uriURI of the called party
versionProtocol version
headersSIP request headers
contentSDP session description containing information about media streams (audio and video), used codecs, IP addresses, and ports for media transmission
headersDescription
record-routeList of URIs through which the request has passed or should pass
viaList of URIs through which the request has passed, with transport information
fromInformation about the calling party
toInformation about the called party
contactList of contact URIs
uuidEvent ID generated by the server
entranceuidIntercom camera ID
snapshoturlURL of the camera snapshot associated with the call
x-rtpengine-received-fromIP address from which the RTP engine received the request
1.0.2

8 months ago

1.0.1

10 months ago

1.0.0

10 months ago