Skip to main content

Questions tagged [web-sockets]

For questions about the WebSocket protocol, as defined by the W3C. Do not use this tag for questions regarding normal TCP sockets - consider using [sockets] instead.

4 votes
1 answer
490 views

Goal I'm currently building a web application to control multiple IOT devices over the cellular network. Given the nature of the devices (working off battery power and operating in constrained network ...
Edmond.D's user avatar
0 votes
1 answer
685 views

Can I turn on/off my electrical socket "Gosund SP1-C" from local network ? (via telnet, for example. Like it happened with Yeelight bulbs) I see that 80, 8080 and 5353 ports are opened but ...
user216's user avatar
  • 11
2 votes
2 answers
329 views

I'm intending to create some (like 5-10) boxes with sensors and/or relays inside using ESP32's. For connection to a laptop and mobile phone I found a tutorial at ESP32 WebSocket Server: Control ...
Michel Keijzers's user avatar
0 votes
0 answers
301 views

I tried to set up a new server with mosquitto. When I set up mosquitto on Ubuntu 18.04, both FireFox and Chrome can connect to it via websocket. When I set up the mosquitto on Ubuntu 20.04, only ...
learningtech's user avatar
1 vote
1 answer
1k views

I'm trying to connect on a broker with the following script #!/user/bin/env python import paho.mqtt.client as mqtt import random import requests import warnings import LoggingManager logger = ...
sstavridis's user avatar
3 votes
1 answer
390 views

I am new to this IoT protocol area. My understanding is that MQTT is a lightweight messaging protocol for IOT devices. MQTT over web socket involves use of HTTP to UPGRADE the connection to use web ...
variable's user avatar
  • 133
1 vote
0 answers
305 views

I am using an ESP32 with a MicroPython Firmware and want to make asynchronous HTTP requests such as GET request. I have tried using usocket but it did kept throwing OSError 128. I have attached my ...
Archit Kithania's user avatar
2 votes
0 answers
72 views

I have used HTTP/s based REST API for IoT application and it works well but consumes more data bandwidth and power. Also, the server resources consumed are too high for the long polling-based method. ...
Alan's user avatar
  • 21
4 votes
1 answer
989 views

I am new to ESP8266 boards and IoT programming and I don't know how to describe better what I want to do without a picture. Question: How to send continuous data from 4 esp8266 WiFi clients to a ...
NumLock's user avatar
  • 43
1 vote
0 answers
949 views

I would like to use the mosquitto MQTT broker using Websockets. I am running mosquitto version 1.6.2 on a Debian 8 server. "normal" MQTT works fine, but I am having a problem trying to connect using ...
d2key's user avatar
  • 11
6 votes
1 answer
82 views

Assumptions The IoT Device is actually a software installable on supported operating system, e.g. Windows or Linux. Lets named it Software-Device. The Software-Device is available to download by ...
Przemek's user avatar
  • 61
3 votes
2 answers
296 views

I have some sensor nodes (Bosch XDKs) that send information to an MQTT broker and an application reads the information and stores it into InfluxDB. Simultaneously, I have RFID readers that scan some ...
Shan-Desai's user avatar
  • 1,568
5 votes
0 answers
958 views

I'm trying to use the websocket_chat_client example on ESP-IDF platform but the value of status on MG_EV_CONNECT event is always -1, which is a Connection error. What I've done so far is I took the ...
haxpanel's user avatar
  • 303
5 votes
1 answer
99 views

I would like to host a web page from a RPi that has websocket controls that update in 'real time' such as a slider that transmits its value as you move it. I then want to broadcast the values to ...
user6397's user avatar
3 votes
1 answer
1k views

I want to create an IoT system. My system contains a robotic arm, a CNC machine and a web page. I want to use MQTT in which I can publish from my web page to robotic arm to pick up the object and put ...
Balsam Qassem's user avatar

15 30 50 per page