Transferring of data from my sensor to pipedream http

Hi, I have been trying to pass data from my sensor (Teltonika FMC920) to appear on pipedream HTTP. However, the configuration of the sensor requires pipedream DOMAIN and PORT NUMBER. Which I am unable to get the port number.
Any help would be greatly appreciated.
Thanks in advance.

Teltonikafmc920serversetting

for reference of the configuration

Hello @angjinyang, first of all, welcome to Pipedream!

You can set the Protocol to TCP and the Port is 80, this indicates HTTP protocol.

for the domain settings, i copied and paste the URI provided. but was flagged out as an error until i removed the ‘https//’ infront.
Also , what TLS encryption shouldi i choose?

@angjinyang, here’re all of my suggestion:

  • Domain: The url of your workflow, without the https:// part. This is expected, as the port and protocol will cover it
  • Port: 80. This is the port of HTTP protocol, which is used for Pipedream workflow
  • TLS Encryption: None. The TLS/DTLS option is only applicable for HTTPS, which is not require for Pipedream workflow.

Please let me know if you have more questions :pray:

hmm it still doesn’t receive any get/post response. Is this the right configuration?

@angjinyang that is a correct HTTP trigger on Pipedream. I’m interested in the HTTP request that your IoT device sent, what is the request format? Are you able to collect the logs on your devices showing how it send HTTP requests?

Log Enabled for UART[3]
[2022.10.05 06:53:06]-[ATCMD] <<AT+QISEND=0,429

[2022.10.05 06:53:06]-[ATCMD] >>[213] ERROR
[2022.10.05 06:53:06]-[AT.RSP] in error handler:
[2022.10.05 06:53:06]-[AT.SEND] ERROR @ m2m_at_cmd_api.c(419):Evt @ATCI ERR
[2022.10.05 06:53:06]-[AT.SEND] ERROR @ m2m_at_cmd_api.c(217):CMD failed. Try:1
[2022.10.05 06:53:06]-[REC.SEND.1] Periodic sending already started @ main server, state: 5 / send records
[2022.10.05 06:53:06]-[REC.SEND.1] Waiting Link Tmo @ main server, state: 5 / send records
[2022.10.05 06:53:07]-[REC.GEN] Periodic low priority record saved @ 0x0003F4A2 hp 0x00000000
[2022.10.05 06:53:07]-[REC.GEN] Record Content:

Timestamp: 1664952785000
Priority : 1
Latitude : 0.0000
Longitude: 0.0000
Altitude : 0
Angle    : 0
Speed    : 0
HDOP     : 0.0
SatInUse : 0
GPS Fix  : 0
GSpeed   : 0, src: NONE

Event AVL ID : 0

IO ID[239]: 1	
IO ID[240]: 1	
IO ID[ 21]: 5	
IO ID[200]: 0	
IO ID[ 69]: 2	
IO ID[251]: 1	
IO ID[252]: 0	
IO ID[181]: 0	
IO ID[182]: 0	
IO ID[ 66]: 29047	
IO ID[ 67]: 4121	
IO ID[ 68]: 0	
IO ID[241]: 52501	
IO ID[ 16]: 0	

Record Size:	128 Bytes

[2022.10.05 06:53:07]-[TRACK] MinPeriod record action [1=<1]
[2022.10.05 06:53:07]-[TRACK] Periodic Record Action!
[2022.10.05 06:53:07]-[REC.GEN] Periodic low priority record saved @ 0x0003F4A3 hp 0x00000000
[2022.10.05 06:53:07]-[REC.GEN] Record Content:

Timestamp: 1664952786000
Priority : 1
Latitude : 0.0000
Longitude: 0.0000
Altitude : 0
Angle    : 0
Speed    : 0
HDOP     : 0.0
SatInUse : 0
GPS Fix  : 0
GSpeed   : 0, src: NONE

Event AVL ID : 0

IO ID[239]: 1	
IO ID[240]: 1	
IO ID[ 21]: 5	
IO ID[200]: 0	
IO ID[ 69]: 2	
IO ID[251]: 1	
IO ID[252]: 0	
IO ID[181]: 0	
IO ID[182]: 0	
IO ID[ 66]: 29048	
IO ID[ 67]: 4121	
IO ID[ 68]: 0	
IO ID[241]: 52501	
IO ID[ 16]: 0	

Record Size:	128 Bytes

[2022.10.05 06:53:07]-[ATCMD] <<AT+QISEND=0,429

[2022.10.05 06:53:07]-[ATCMD] >>[213] ERROR
[2022.10.05 06:53:07]-[AT.RSP] in error handler:
[2022.10.05 06:53:07]-[AT.SEND] ERROR @ m2m_at_cmd_api.c(419):Evt @ATCI ERR
[2022.10.05 06:53:07]-[AT.SEND] ERROR @ m2m_at_cmd_api.c(217):CMD failed. Try:0
[2022.10.05 06:53:07]-[TRACK] MinPeriod record action [1=<1]
[2022.10.05 06:53:07]-[TRACK] Periodic Record Action!
[2022.10.05 06:53:08]-[REC.GEN] Periodic low priority record saved @ 0x0003F4A4 hp 0x00000000
[2022.10.05 06:53:08]-[REC.GEN] Record Content:

Timestamp: 1664952787000
Priority : 1
Latitude : 0.0000
Longitude: 0.0000
Altitude : 0
Angle    : 0
Speed    : 0
HDOP     : 0.0
SatInUse : 0
GPS Fix  : 0
GSpeed   : 0, src: NONE

Event AVL ID : 0

IO ID[239]: 1	
IO ID[240]: 1	
IO ID[ 21]: 5	
IO ID[200]: 0	
IO ID[ 69]: 2	
IO ID[251]: 1	
IO ID[252]: 0	
IO ID[181]: 0	
IO ID[182]: 0	
IO ID[ 66]: 29048	
IO ID[ 67]: 4121	
IO ID[ 68]: 0	
IO ID[241]: 52501	
IO ID[ 16]: 0	

Record Size:	128 Bytes

[2022.10.05 06:53:08]-[NETWORK] WARNING @ 2690:Send failed, reason: 5, retrying data send: 0/3, data left: 429 B
[2022.10.05 06:53:08]-[NETWORK] ERROR @ m2m_network_api.c(2706):[SEND.DATA.0922] Error: 5
[2022.10.05 06:53:08]-[NETWORK] WARNING @ 2931:[ERROR.HANDLER.0922] Caller: 4/send data, code: 5, type: 1, Cnt:[E:0, W:1232, A:0]
[2022.10.05 06:53:08]-[REC.SEND.1] WARNING @ 1087:Data send result: 5
[2022.10.05 06:53:08]-[REC.SEND.1] [CHANGE.STATE.1088] Server: 0, send records => finish
[2022.10.05 06:53:08]-[REC.SEND.1] finish
[2022.10.05 06:53:08]-[REC.SEND.1] [CHANGE.STATE.1179] Server: 0, finish => finished
[2022.10.05 06:53:08]-[REC.SEND.1] finished
[2022.10.05 06:53:08]-[REC.SEND.1] [CHANGE.STATE.0238] Server: 0, finished => finish
[2022.10.05 06:53:08]-[REC.SEND.1] finish
[2022.10.05 06:53:08]-[REC.SEND.1] [CHANGE.STATE.1179] Server: 0, finish => finished
[2022.10.05 06:53:08]-[REC.SEND.1] finished
[2022.10.05 06:53:08]-[REC.SEND.1] Mode: 5/Unknown on Moving. Period: 1. Starting periodic data sending
[2022.10.05 06:53:08]-[REC.SEND.1] Caller: 1669, queueing recsend1 task job type: 0/records
[2022.10.05 06:53:08]-[REC.SEND.1] [CHANGE.STATE.0234] Server: 0, finished => check rec no
[2022.10.05 06:53:08]-[REC.SEND.1] check rec no
[2022.10.05 06:53:08]-[REC.GEN] .0 Set 1 min required records to send!
[2022.10.05 06:53:08]-[CODEC.APP] Rec found at 0x0003D48E, sort:0 hp 0x00000518
[2022.10.05 06:53:08]-[REC.SEND.1] Have enough records to send!
[2022.10.05 06:53:08]-[REC.SEND.1] [CHANGE.STATE.0452] Server: 0, check rec no => check gprs
[2022.10.05 06:53:08]-[REC.SEND.1] check gprs
[2022.10.05 06:53:08]-[REC.SEND.1] gprs is open
[2022.10.05 06:53:08]-[REC.SEND.1] gprs settings the same → check link
[2022.10.05 06:53:08]-[REC.SEND.1] [CHANGE.STATE.0522] Server: 0, check gprs => check link
[2022.10.05 06:53:08]-[REC.SEND.1] check link
[2022.10.05 06:53:08]-[REC.SEND.1] link is closed, try to open
[2022.10.05 06:53:08]-[NETWORK] [SOCKET.OPEN.0700] Target:0 Events Cleared
[2022.10.05 06:53:08]-[NETWORK] [SOCKET.OPEN.0700] IP not in x.y.z.q format, need to convert
[2022.10.05 06:53:08]-[NETWORK] Getting IP for:eow2zkj5whouw4f.m.pipedream.net
[2022.10.05 06:53:08]-[ATCMD] <<AT+QIDNSGIP=1,“eow2zkj5whouw4f.m.pipedream.net

[2022.10.05 06:53:08]-[ATCMD] >>[189] OK
[2022.10.05 06:53:08]-[NETWORK] Waiting DNS result: 60 sec
[2022.10.05 06:53:08]-[ATCMD] >>[213] +QIURC: “dnsgip”,0,4,59
[2022.10.05 06:53:08]-[ATCMD] >>[213] +QIURC: “dnsgip”,“184.73.200.216”
[2022.10.05 06:53:08]-[ATCMD] >>[213] +QIURC: “dnsgip”,“35.169.212.217”
[2022.10.05 06:53:08]-[ATCMD] >>[213] +QIURC: “dnsgip”,“52.71.191.11”
[2022.10.05 06:53:08]-[ATCMD] >>[213] +QIURC: “dnsgip”,“54.84.103.1”
[2022.10.05 06:53:08]-[TRACK] MinPeriod record action [1=<1]
[2022.10.05 06:53:08]-[TRACK] Periodic Record Action!
[2022.10.05 06:53:09]-[REC.GEN] Periodic low priority record saved @ 0x0003F4A5 hp 0x00000000
[2022.10.05 06:53:09]-[REC.GEN] Record Content:

Timestamp: 1664952788000
Priority : 1
Latitude : 0.0000
Longitude: 0.0000
Altitude : 0
Angle    : 0
Speed    : 0
HDOP     : 0.0
SatInUse : 0
GPS Fix  : 0
GSpeed   : 0, src: NONE

Event AVL ID : 0

IO ID[239]: 1	
IO ID[240]: 1	
IO ID[ 21]: 5	
IO ID[200]: 0	
IO ID[ 69]: 2	
IO ID[251]: 1	
IO ID[252]: 0	
IO ID[181]: 0	
IO ID[182]: 0	
IO ID[ 66]: 29040	
IO ID[ 67]: 4121	
IO ID[ 68]: 0	
IO ID[241]: 52501	
IO ID[ 16]: 0	

Record Size:	128 Bytes

[2022.10.05 06:53:09]-[NETWORK] DNS req result: 1, evt sending: enabled, VR socket[0] state: 4
[2022.10.05 06:53:09]-[NETWORK] Domain:, IP: 184.73.200.216
[2022.10.05 06:53:09]-[NETWORK] DNS req result: 1, evt sending: enabled, VR socket[0] state: 4
[2022.10.05 06:53:09]-[NETWORK] Domain:, IP: 35.169.212.217
[2022.10.05 06:53:09]-[NETWORK] DNS req result: 1, evt sending: enabled, VR socket[0] state: 4
[2022.10.05 06:53:09]-[NETWORK] Domain:, IP: 52.71.191.11
[2022.10.05 06:53:09]-[NETWORK] DNS req result: 1, evt sending: enabled, VR socket[0] state: 4
[2022.10.05 06:53:09]-[NETWORK] Domain:, IP: 54.84.103.1
[2022.10.05 06:53:09]-[NETWORK] Target IP:54.84.103.1 (valid:1)
[2022.10.05 06:53:09]-[TLS] M2M_NET_TLS_Deinit:0
[2022.10.05 06:53:09]-[NETWORK] [SOCKET.OPEN.0700] Socket target: 0, attempt: 1/3
[2022.10.05 06:53:09]-[ATCMD] <<AT+QICLOSE=0

[2022.10.05 06:53:09]-[ATCMD] >>[188] OK
[2022.10.05 06:53:09]-[ATCMD] <<AT+QIOPEN=1,0,“TCP”,“54.84.103.1”,80,0,0

[2022.10.05 06:53:09]-[ATCMD] >>[187] OK
[2022.10.05 06:53:09]-[NETWORK] [SOCKET.OPEN.0700] Waiting for create conn result, waiting: 160 sec
[2022.10.05 06:53:09]-[ATCMD] >>[213] +QIOPEN: 0,0
[2022.10.05 06:53:09]-[OVERSPD] Unsatisfied Conditions:
->No GPS FIX. No Valid NMEA Data Is Available!
[2022.10.05 06:53:09]-[TRIP] Periodic info: State → Stop. Spd:0km/h, Mov:YES, Ign:ON, TripBT:0
[2022.10.05 06:53:09]-[TRIP] Distance driven: 0 km
[2022.10.05 06:53:09]-[TRIP] Periodic info: State → Stop. Spd:0km/h, Mov:YES, Ign:ON
[2022.10.05 06:53:09]-[AXL.CLBR] Waiting… (Fix:0 Ign:1)
[2022.10.05 06:53:09]-[WD.FUNC] WARNING @ 205:[1] counter:2 Cnt:8129 Limit:10800
[2022.10.05 06:53:09]-[MODEM.ST] AT dead RSNs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
[2022.10.05 06:53:09]-[MODEM.ACTION] GSM Update Reason:Periodic
[2022.10.05 06:53:09]-[ATCMD] <<AT+CPAS

[2022.10.05 06:53:09]-[NETWORK] connection established! acc id: 0, socket id: 0, evt sending: enabled
[2022.10.05 06:53:09]-[NETWORK] VR socket 0 open! real socket id: 0
[2022.10.05 06:53:09]-[REC.SEND.1] link timeout reset for server: 0
[2022.10.05 06:53:09]-[REC.SEND.1] launching link monitoring
[2022.10.05 06:53:09]-[SCH] Task eM2M_Tid_link_tmo_checking[10] has been scheduled. Period: 1s
[2022.10.05 06:53:09]-[REC.SEND.1] [CHANGE.STATE.0769] Server: 0, check link => send imei
[2022.10.05 06:53:09]-[REC.SEND.1] send imei
[2022.10.05 06:53:09]-[ATCMD] >>[132] +CPAS: 0
[2022.10.05 06:53:09]-[ATCMD] >>[132] OK
[2022.10.05 06:53:09]-[ATCMD] <<AT+QISEND=0,17

[2022.10.05 06:53:09]-[ATCMD] >>[191] >K
[2022.10.05 06:53:09]-[ATCMD] >>[192]
[2022.10.05 06:53:09]-[ATCMD] >>[192] SEND OK
[2022.10.05 06:53:09]-[ATCMD] <<AT+CIMI

[2022.10.05 06:53:09]-[NETWORK] [SEND.DATA.0822] Waiting for socket send result, waiting: 10 sec
[2022.10.05 06:53:09]-[REC.SEND.1] imei send OK, waiting 5 sec for imei answer
[2022.10.05 06:53:09]-[REC.SEND.1] link timeout reset for server: 0
[2022.10.05 06:53:09]-[ATCMD] >>[168] 502122400150849
[2022.10.05 06:53:09]-[ATCMD] >>[168] OK
[2022.10.05 06:53:09]-[ATCMD] <<AT+QISEND=0,0

[2022.10.05 06:53:09]-[ATCMD] >>[191] +QISEND: 17,0,17
[2022.10.05 06:53:09]-[ATCMD] >>[191] OK
[2022.10.05 06:53:09]-[ATCMD] <<AT+CREG?

[2022.10.05 06:53:09]-[ATCMD] >>[137] +CREG: 2,5,“02C4”,“B4F9E10”,7
[2022.10.05 06:53:09]-[AT.RSP] Status: 5
[2022.10.05 06:53:09]-[AT.RSP] Area Code: 708
[2022.10.05 06:53:09]-[AT.RSP] Cell ID: 189767184
[2022.10.05 06:53:09]-[AT.RSP] Registration Mode: 7
[2022.10.05 06:53:09]-[AT.RSP] Registered To Roaming Network
[2022.10.05 06:53:09]-[ATCMD] >>[137] OK
[2022.10.05 06:53:09]-[ATCMD] <<AT+QGMR

[2022.10.05 06:53:09]-[ATCMD] >>[164] EG915UEUABR02A04M08_01.001.01.001
[2022.10.05 06:53:09]-[ATCMD] >>[164] OK
[2022.10.05 06:53:09]-[ATCMD] <<AT+CSQ

[2022.10.05 06:53:09]-[ATCMD] >>[129] +CSQ: 24,99
[2022.10.05 06:53:09]-[ATCMD] >>[129] OK
[2022.10.05 06:53:09]-[ATCMD] <<AT+CFUN?

[2022.10.05 06:53:09]-[REC.SEND.1] server accepted imei
[2022.10.05 06:53:09]-[REC.SEND.1] [CHANGE.STATE.0830] Server: 0, send imei => send records
[2022.10.05 06:53:09]-[REC.SEND.1] send records
[2022.10.05 06:53:09]-[REC.GEN] Server: 0, not all min records send: 1/1
[2022.10.05 06:53:09]-[ATCMD] >>[149] +CFUN: 1
[2022.10.05 06:53:09]-[ATCMD] >>[149] OK
[2022.10.05 06:53:09]-[TRACK] MinPeriod record action [1=<1]
[2022.10.05 06:53:09]-[TRACK] Periodic Record Action!
[2022.10.05 06:53:10]-[REC.GEN] Periodic low priority record saved @ 0x0003F4A6 hp 0x00000000
[2022.10.05 06:53:10]-[REC.GEN] Record Content:

Timestamp: 1664952789000
Priority : 1
Latitude : 0.0000
Longitude: 0.0000
Altitude : 0
Angle    : 0
Speed    : 0
HDOP     : 0.0
SatInUse : 0
GPS Fix  : 0
GSpeed   : 0, src: NONE

Event AVL ID : 0

IO ID[239]: 1	
IO ID[240]: 1	
IO ID[ 21]: 5	
IO ID[200]: 0	
IO ID[ 69]: 2	
IO ID[251]: 1	
IO ID[252]: 0	
IO ID[181]: 0	
IO ID[182]: 0	
IO ID[ 66]: 29041	
IO ID[ 67]: 4121	
IO ID[ 68]: 0	
IO ID[241]: 52501	
IO ID[ 16]: 0	

Record Size:	128 Bytes

[2022.10.05 06:53:10]-[ATCMD] <<AT+COPS?

[2022.10.05 06:53:10]-[CODEC.APP] Rec found at 0x0003D48E, sort:0 hp 0x00000518
[2022.10.05 06:53:10]-[ATCMD] >>[133] +COPS: 0,2,“52501”,7
[2022.10.05 06:53:10]-[ATCMD] >>[133] OK
[2022.10.05 06:53:10]-[ATCMD] <<AT+CMGL=4

[2022.10.05 06:53:10]-[CODEC.APP] Rec found at 0x0003B3C7, sort:0 hp 0x00000517
[2022.10.05 06:53:10]-[ATCMD] >>[135] OK
[2022.10.05 06:53:10]-[MOD.TSK] SMS Read Map:0,0,0,0 Index:32
[2022.10.05 06:53:10]-[MODEM.ACTION] SMS Not Found
[2022.10.05 06:53:10]-[ATCMD] <<AT+QIACT?

[2022.10.05 06:53:10]-[ATCMD] >>[185] +QIACT: 1,1,1,“10.206.221.34”
[2022.10.05 06:53:10]-[ATCMD] >>[185] OK
[2022.10.05 06:53:10]-[MODEM.ACTION] status done
[2022.10.05 06:53:10]-[ATCMD] <<AT+QIRD=0,1500

[2022.10.05 06:53:10]-[CODEC.APP] Rec found at 0x0003B333, sort:0 hp 0x00000516
[2022.10.05 06:53:10]-[ATCMD] >>[152] OK
[2022.10.05 06:53:10]-[CODEC.APP] Rec found at 0x0003AA0F, sort:0 hp 0x00000515
[2022.10.05 06:53:10]-[CODEC.APP] Rec found at 0x00037FCC, sort:0 hp 0x00000514
[2022.10.05 06:53:10]-[ATCMD] >>[213] +QIURC: “closed”,0
[2022.10.05 06:53:10]-[CODEC.APP] Rec found at 0x00035585, sort:0 hp 0x00000513
[2022.10.05 06:53:10]-[CODEC.APP] Done packing HPR records
[2022.10.05 06:53:10]-[ATCMD] <<AT+QISEND=0,429

[2022.10.05 06:53:10]-[NETWORK.PARSER] Parsing data from 0 socket, data len: 272

DUMP DATA START:

@angjinyang in the log I’m not sure how your IoT device is sending HTTP request to Pipedream. Since this is not an issue from Pipedream, could you reach out to the help page of your IoT device for more information?