mqtt

  1. irhamnur00

    B4R Question ESP32 connected to Node-RED, but it can't receive a topic message input from the server

    I was just trying to make my first project with B4R. Also, I was a newbie in microcontroller programming. In this my first project, I make a dashboard in Node-RED to display a value from the ESP32 and to control the blue LED on ESP32. The value had been successfully sent, but until now the...
  2. bdunkleysmith

    B4J Question [SOLVED] Websocket connection to MQTT based API

    I am trying to connect to a data streaming API and below is an extract from the API documentation (in red italics). Connection to the message broker is made using a Websocket connection and the message broker makes use of the MQTT protocol. So my initial obstacle is that I understand that...
  3. amorosik

    B4J Question Windows ram problem with B4J mqtt client

    I have a program, made with B4J (ver. 8.50) which is active 24 hours a day on Windows 10 professional pc This program connects with a mqtt broker, Mosquitto, to 'read' the commands that some phones send, commands that must be executed on the pc The program works correctly, but using the Windows...
  4. amorosik

    Italian [B4A] Inviare file via Mqtt - come 'passare' il nome del file?

    Vorrei passare su pc un file di testo che si trova nella memoria Android Smartphone e pc comunicano via mqtt L'invio e la ricezione avvengono correttamente Ma, lato ricezione, uso questo codice: Private Sub mqtt_MessageArrived (Topic As String, Payload() As Byte) Dim out As OutputStream =...
  5. janderkan

    B4R Library Update to rMQTT internal library

    This updates the PubSubClient to v2.8 These functions have been added to B4R: IsConnected SetBufferSize SetKeepAlive SetSocketTimeout You must exchange the included folder and xml file in B4R folder: C:\Program Files (x86)\Anywhere Software\B4R I hope that this could be added to B4R, so it...
  6. amorosik

    Italian [B4A] Trasferire file di testo da Android a pc con programma B4J usando Mqtt

    Sto realizzando il trasferimento di file di testo da un'app Android verso pc Vedo che le vie classiche prevedono installazione server http oppure ftp sul pc, in ascolto ed in grado di ricevere il file Avendo gia' un progetto che utilizza mqttra Android e pc la comunicazione mqtt, mi chiedevo se...
  7. amorosik

    Italian Come rendere comunicazione app-pc via mqtt 'a prova di bomba' ?

    Qualche anno fa, Oracle ha usato il termine 'unbreakable' per il suo database Vero o non vero, sicuramente ha attirato l'attenzione Bon, tornando a noi, la domanda e': - come realizzare una comunicazione 'unbreakable' tra app Android e pc, via mqtt ? Cadute connettivita', riavvio server mqtt...
  8. amorosik

    Italian [B4X] MQTT - Che vantaggi ad acquistare servizio tipo CloudMqtt rispetto al classico Mosquitto e company?

    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...
  9. amorosik

    Italian [B4X] Protocollo MQTT - quando si parla di 'broker' si intende il server Mqtt ?

    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...
  10. amorosik

    Italian [B4X] Mqtt vs Firebase Realtime vs notifiche push (Firebase Cloud Messaging)

    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...
  11. AKJammer

    B4J Question MQTT for SMS return Messages?

    Hey All, 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...
  12. james_sgp

    Android Question MQTT between Android and ESP

    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?
  13. paris7162

    B4A Library MQTT Multiplayer Library

    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...
  14. N

    Android Question Receive data from MQTT broker into MQTT Android Client

    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...
  15. J

    Android Question MQTT Cellphone Network cost

    Hi All, 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...
  16. W

    Android Tutorial Hugo - ESP8266 4-button WiFi remote

    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...
  17. janderkan

    B4J Question ABMaterial - Global variables

    Hi all 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...
  18. james_sgp

    Android Question MQTT lost connection, with good Wifi Signal

    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...
  19. james_sgp

    UDP over MQTT Loosing Packets?

    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...
  20. M

    Wish MQTT Enhancement - Include BeginPublish,EndPublish,Write methods

    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: boolean...
Top