Sto sperimentando un po' con le comunicazioni via Mqtt
Come server (o come broker) sto usando Mosquitto installato su uno dei pc della lan, con relativo instradamento sul router per farlo trovare anche da dispositivi esterni alla lan
Vedo che esistono molti servizi che offrono il server Mqtt sia...
Sto cercando di realizzare la comunicazione via Mqtt tra diversi pc e diversi smartphone, la classica chat
In tutti i post si parla di 'broker'
Non ho ancora capito esattamente se per 'broker Mqtt' si intenda indicare il 'server Mqtt'
Analogamente ad un server di database, il programma cui i...
Per comunicare rapidamente da pc centrale a uno o piu' smartphone Android ho usato finora Firebase Realtime oppure le notifiche push Firebase Cloud Messaging
Vedo che usando il sistema di messaggistica su server Mqtt sono realizzabili grossomodo le stesse funzionalita'
Ci sarebbe pero' il...
Before I get too far down this rabbit hole I figured I'd ask the community. I have a B4J project and have been able, with great help from everyone, to get outgoing SMS texting set up and working. I wasn't planning on having two way communication, but since I've got extra time...
Hi, I`m trying to get the MQTT setup between an ESP board and B4A. I have tested the MQTT with Autodiscovery between two phones and works perfectly, however, I can`t get it to work with the ESP. The code on the ESP is waiting for topic and I don`t see how that is used in the B4A MQTT example?
This is a MQTT Multiplayer Library created by one of the best B4A library creators and member in the B4X Community. I use his libraries in all of my games. I didn’t write any of this code and I told him I would keep his identity private unless he wanted to reveal who he is.
I use it to play a...
Hey guys, I am new to B4x. I have been watching videos recently and doing beginner programs but my main objective is to use B4a to create an app that receives data from MQTT broker myqtthub.com. The data later needs to recorded over time and represented on a graph. I'm looking for a template...
I've implemented a simple MQTT messaging system. with a B4J producer app and an Android consumer app to notify the user of an event.
Just for the record. It is exceptionally simple to get it going. Thnx to all who contributed to the libraries.
Does anyone know how the mobile operators...
Not exactly a tutorial or Android-only, but a hint to the community for those who like playing with home automation stuff, and possibly for others as well. I happened across this very nice device (IMHO): https://www.tindie.com/products/nicethings/hugo-esp8266-4-button-wifi-remote/ and couldn't...
When I log in, my database module returns a map with user data.
I think of ABMaterial as a B4J app and put these data into a Process_Globals variable.
My friend think it is neccessary to put the user data in a session cookie.
Who is right ?
Also I would like to initialize a Mqtt...
Looking for advice, I`ve been trying an app using MQTT over wifi. I have a strong wifi signal all the way out at 600+m (clear line of sight), but I`m losing connection to the MQTT Broker at about 150m?
I`m sending about 10KB on data at a time, and the Broker is responding back with about 2KB of...
Looking for advice, I`ve been trying an app using MQTT over wifi. I have a strong wifi signal at 600+m, but I`m losing connection to the MQTT Broker at about 150m?
I`m sending about 10KB on data at a time, and the Broker is responding back with about 2KB of data. I`m unable to reconnect...
The B4R rMQTT library is based on the well known Arduino PubSubClient library written by Nick O'Leary. It's a subset of this library - with the most important/used methods wrapped. I do have a scenario that requires some of the additional methods to be wrapped as well. Specifically:
I have a question that I am unable to implement in an example so seeking assistance.
I have an mqtt app that is working perfectly fine; and working good in the background until it is killed, so for sure no other messages are being received or sent since the Starter service...
I am now trying the chat MQTT example by Erel, but it shows (on B4A) that a library of MQTT and MQTT broker is missing.
I didn't find any MQTT library for B4A...
Does anybody know how to download the MQTT library for B4A?
Thanks in advance
We have the need for a developer to write a library to communicate with some MQTT based home automation equipment.
Would need to be able to start immediately and have proven experience in writing library’s and communicating with MQTT based equipment.
There is a number of devices we would like to...
sorry for my bad english and also for my basic knowledge about code writing.
I've got a crash on my app using jMQTT library.
I've read by erel that the library haven't update since today because it's stable. In my case the error (quite difficult for me to intercept it) on debug window...
I have a mqtt class for broker connection, send messages and receive messages.
The logic that I use is:
1. Client publish message to topic: "mytopic"
2. In the other side an Script is subscribed to the topic: "mytopic"
3. As soon as the message is received, the script publishes in: "response"...
Imagine an application you want to create for/with 1 million users. What protocol do you use for this volume of connections?
my options for server side are :
WebSocket ( jServer library - b4j )
MQtt ( I run a broker or MqttClient )
Node JS ( my knowledge is weak about it )