Take a look at these services:
Both of these services will accept simple key/value data from a device. I believe they both have libraries ready to import for Particle devices since you mentioned that.
But how about actuators?
Yes pub-sub pattern is applicable to actuators.
Is this the way to go with actuators?
This is one of the ways to go and this is booming because of many cloud providers like
AWS IoT as a service support MQTT(over TLS, WebSockets)
Google's Google Cloud pub-sub messaging service
Microsoft's IoT Hub with MQTT support
trying to ...
How about security, thinking on using this for doors for example. Is it possible to publish a open door event from anywhere? How easy can it be hacked?
According to the documentation RabbitMQ uses TLS/SSL. So security level is as good as these technologies. If you check RabbitMQ- TLS Support here are your examples about using SSL, acquiring server ...
Many cloud providers like Amazon, Microsoft, Google, IBM etc., trying to attract IoT space by providing easier ways to send/store/analyze sensors data to their cloud. Even they are to acquire hardware vendors to increase their scope in IoT.
I didn't use any services other than AWS, so I can explain my experience with AWS and how we integrated this for ...
No, you can no get list of which clients are subscribed to what out of mosquitto.
What is most likely here is that HASS is not subscribing rather than mosquitto not publishing to a subscribed client.
You can get mosquitto to log each time a subscription request is which made which you could then use to build a list.
log_type subscribe, unsubscribe
It is for experimental or test use only but maybe it will change in the future.
So my suggestion is to use MQTT, more precisely its Mosquitto implementation. They host a test broker to which you could connect your subscriber and publisher clients. (Here is a guide about the setup process on Windows 7.)
Note the following:
You are free to use it for any ...
Yes and no.
Both technologies are concerning different levels of providing connectivity. Usually mesh networking is provided by level 3 or 4 or even both of the ISO OSI model, depending on the extend of implementation. The network and transport layers provide the basic reliability of the mesh network. That reliability is usually not impeded when a node ...
I think your switch device should be connected to a hub (domotic box, zwave controller,...) which handles all these events, so the switch should be dedicated for low level interaction with objects (zwave,433Mhz,...)
Smart devices are very limited on battery so the less they operate on the network the longer they last.
There are two components to this:
How do you want your data stored? There is no real way to make a "generic" data service that will really fit all needs. What you want is called a "Time Series Databases", and there are hundreds of them because every detail of how you store data matters at scale. (If you are not at scale, just store it in any old database, ...
Yes. AWS IoT uses MQTT, which follows a topic-based publish-subscribe pattern. This allows multiple subscribers to a topic, and multiple clients can even publish to the same topic (a topic is not specifically designated for one client to publish or subscribe to).
To subscribe, a client must send a SUBSCRIBE packet:
The SUBSCRIBE Packet is sent from the ...
The decision should be made based on how are you using topics. If you need values together - post them into one topic, if you are using separately - put them into separate topics. Also do not post values, like in your first sample, in the topics. And do not create exceed topics, like sensorX/temperature for temperature sensors, go from more general in the ...
Your design question is that of a protocol on top of the MQTT transport.
There are existing protocols that can guide your choice:
Cirrus Link Sparkplug https://www.cirrus-link.com/oem-device-data-integration/
any of the different cloud IoT platform APIs (AWS, Azure, Google, IBM, etc)
The choice for topic endpoints for high-scalability applications seems to ...
You might want to check out Amazon FreeRTOS.
Amazon FreeRTOS (a:FreeRTOS) is an operating system for microcontrollers that makes small, low-power edge devices easy to program, deploy, secure, connect, and manage. Amazon FreeRTOS is based on the FreeRTOS kernel, a popular open source operating system for microcontrollers, and extends it with software ...
AWS IOT requires that your device understand TCP/IP and encryption.
The ATMega328 has 2K bytes of RAM, but Ethernet frames can be up to 1500 bytes long. Even if you could receive a packet, there wouldn't be any room left to process it.
The nRF51822 has 16K RAM, which is plenty for Ethernet, but not enough to do TCP/IP and WiFi. (Both of which require ...
No, this is not possible with a MQTT broker.
There are 2 situations where a broker will cache a message on a given topic.
When a message is published with the retained bit set. This message will be stored and delivered to any client that subscribed to a matching topic before any new messages. This is a single message per topic and a new message with the ...
You want something like this for the last line:
topic # in 2 "" Down/site1/
This is because the first topic is relative to the last remote topic prefix.
The following example from the mosquitto docs will hopefully make it clearer:
The configuration below connects a bridge to the broker at
test.mosquitto.org. It subscribes to the remote topic
You can Enable mosquitto log for all
and subscribe to the log you will find messages that you can decode for every client action like connecting, disconnecting, subscribing and publishing even errors.
you will set
then you will subscribe to
Messages are persisted if
they are retained
while inflight and waiting to be acknowledged, QOS 1/2
QOS 1/2 waiting to be delivered to an offline client that held a subscription to the topic before going offline
Same as previous for QOS 0 messages if the queue_qos0_messages is set to true
The whole message is stored in memory and sync'd to disk at regular ...
uBeac is a new freeware visualization tools which we have developed and it is Beta version. It is not opensource, but fully free to use.
You can define a gateway and you will get a unique URI. You can set the URI in you gateway or device to send HTTP/MQTT data to.
These are some of its features:
Team, building, floor plan definition
Real-time data ...
It's worth remembering that everything in the NodeJS world is asynchronous which means nothing blocks the event loop.
In this case it sounds like you get the first incoming message, which you store with a fixed key in the flow context, you then move on to the Select query. At this point the SQL node is going to end up doing some network IO which will block ...