mico
  • Member for 4 years, 11 months
  • Last seen this week
What is the difference between MQTT and Web Sockets, and when should I use them?
Accepted answer
29 votes

The question setting here is little bit misleading, because actually these protocols cannot at all be compared together. They are like TCP and IP, layers above each other. [1] Websockets is a low ...

View answer
Communication Between Server and Raspberry Pi
Accepted answer
8 votes

It is said already in other answers that you should use MQTT in your case. But why? MQTT is The Protocol if your things are behind a firewall in a private network [1]. All tricks are an outbound rule ...

View answer
Can I create custom voice commands and responses for the Google Home?
8 votes

Google does not provide api for that. Instead their QA tells the users to use external app IFTTT = IfThisThenThat. Newer suggestion of Google is AutoVoice.

View answer
Server to handle connections with smart sockets
Accepted answer
7 votes

You have already capability to publish data over MQTT protocol, even a broker and way to forward certain requests to Spring from the socket. I see no point of taking the responsibility of knowing ...

View answer
Standards for non-Internet-connected WiFi devices?
7 votes

About IoT protocols, most commonly HTTP, CoAP and MQTT are used on communication. HTTP and CoAP are suitable for REST type of client(s) to server communication and MQTT supports publishing and ...

View answer
ZigBee sleep problem
Accepted answer
7 votes

You say you built a Zigbee network using Digimesh protocol. The thing is that this is an impossibility: Zigbee and Digimesh are competing solutions for mesh network, not something you use together. ...

View answer
UK m590e, Use GSM,GSM compact or UTRAN? (AT+COPS)
7 votes

You can check the possible options, if you have a working setup, by the following command : AT+COPS=? It will give you the available carriers and the available options usable with them. Answer ...

View answer
How can I detect Alexa's current state or change its current state with an external device?
Accepted answer
7 votes

This open source Raspberry PI Alexa client has support for free wake words made as easily from PI's terminal as: sudo systemctl stop AlexaPi.service sudo nano /etc/opt/AlexaPi/config.yaml change ...

View answer
What are the differences between MQTT, HTTP, CoAP devices (besides communication protocol)?
7 votes

I have linked this before to another question, this kind of nails it. Quite in the beginning there is a list of protocols compared. HTTP and MQTT are on that table and LwM2M as described on their ...

View answer
Does CoAP have a lower footprint than MQTT?
Accepted answer
7 votes

CoAP and MQTT have both equal RAM usage, measured in 10kbits [1]. Difference is in cpu and network usage: [2] Every client supports TCP and holds a connection open to the broker. So, CoAP has ...

View answer
Connecting web app to IoT AWS
6 votes

What you linked is far too complicated and in too low level of abstraction that it is for an professional even hard to read and follow it. aws-mqtt-client through npm is the easiest solution I could ...

View answer
Creating an HTTP GET polling service on a Raspberry Pi Client
Accepted answer
6 votes

I found a good base solution for what @Chris Stratton refers to a kept alive TCP connection: import socket # Set up a TCP/IP socket s = socket.socket(socket.AF_INET,socket.SOCK_STREAM) # Connect as ...

View answer
What is the Operating System on Google Home Device?
6 votes

Well, I can answer only two of the queries: First two get answer "No, they aren't supported." The guy in this reddit article played with one Google home device and found that out. There is a hidden ...

View answer
What ports does an LG TV open?
6 votes

I found this list: Port Scanning host results Open TCP Port: 1061 Open TCP Port: 1424 Open TCP Port: 1900 ssdp Open TCP Port: 1970 Open TCP Port: 3000 ws Open TCP Port: 3001 ...

View answer
ESP8266 Mesh Network Root Node
6 votes

Another option to easy mesh is to use painlessMesh by BlackEdder and introduce there a bridge for commuting the data to outer world. There is an issue on connecting to other network from a mesh in ...

View answer
Google Assistant read custom phrase
Accepted answer
5 votes

To make this kind of experiment most easy is to use API.ai (a tool acquired by Google just before Google Home was born [1]). In API.ai you can very easily imitate the flow with data that is given ...

View answer
Is it okay to use the 4 pin USB TTL cable instead of the recommended 6 pin USB TTL cable for Intel Galileo?
Accepted answer
5 votes

CTS and RTS are for flow signaling (Clear To Send) and (Request To Send). If you want to use 4 pins and you find out nothing is flowing through, you may want to pull CTS down to GND. In one post OP ...

View answer
Cannot get Google IoT Core to work
5 votes

This error occurs, when there is a protocol mismatch on the request you send to Google MQTT API. You use 8883 port that is for MQTT over SSL. In my eye the address you call is normal http address (...

View answer
Does Node-Red support multi-request flows (i.e. sessions)?
5 votes

Short answer is yes, at least according this feature request: Define convention for 'stateful' sessions #63 This request is closed with a commit stating that a web socket node is added, which is ...

View answer
How do I check whether a LTE network supports CAT M1?
5 votes

I tried hard to find out an AT command for that, but unfortunately I didn't find it. Instead I found semi new slides about m1 and m2. https://www.slideshare.net/mobile/SmallCellForum1/discussion-...

View answer
How can I make an IoT system with a CNC machine and robotic arm?
5 votes

I believe you refer to a mqtt protocol where indeed there are data subscribers and receivers. My short answer is yes, you are on correct track. Longer explanation: MQTT makes it possible to ...

View answer
How do you do a Google Home call?
Accepted answer
5 votes

Answer to your main question: I want to know if it is possible to call a friend who has another Google Home is no, you cannot do that exactly. In the link by @Bence Kaulics in comments it is said ...

View answer
Remote access for multiple IoT project units
5 votes

One good way to access devices scattered around in private networks is using MQTT for communication. In MQTT server publishes messages on topics and devices can subscribe to them and thus get notified ...

View answer
How to select simple light weight IoT server for development?
5 votes

What makes an IoT server different from a webserver, mail server or FTP server? As @ralight pointed, IoT server works with IoT protocol stack. This is not limited to one OSI layer, actually every ...

View answer
Intercom ring notifier with ESP8266
5 votes

I found the below article telling, how you can use a LM567 circuit to detect a tone via microphone input and where output turns LOW when detection happens. That solution needs some soldering, and ...

View answer
With a SmartThings system, what is the result of marking an alert as a false alarm?
5 votes

I found this quote: You will also have the option to check the box saying This was a false alarm. This is for internal tracking and helps us improve Smart Home Monitor. This is from https://...

View answer
What kind of network security is employed in live streaming surveillance cameras?
Accepted answer
5 votes

Dropcams and Nest Cams connect to the Nest cloud service using 2048-bit RSA private keys for key exchange, implement perfect forward secrecy and encrypt data between Dropcam/Nest Cam and the Nest ...

View answer
How to modify Mosquitto's Windows Firewall Inbound Rule to only allow connections from specific IP addresses?
Accepted answer
5 votes

Could you make custom rule by typing the ports (1883 and 8883) and allowing separately with different rules both UDP and TCP on these ports. See: https://technet.microsoft.com/en-us/library/cc947814(...

View answer
Looking for a relay that can be controlled from .net web application (via TCP/IP)
5 votes

What you are looking for is a thing like electrical light switch. It has basically all you need and there are many product families to pick from. If your action is to short circuit this would be ...

View answer
Is there a biometrics fingerprint scanner that directly sends raw biometrics data?
Accepted answer
5 votes

At least Cytron has a model, that says (embhasis my own): Direct access to any MCU through Serial UART operation and integrated with low current warning. Able to retrieve fingerprint raw data and ...

View answer