I found this link for you; hope it helps a bit:
Also, please take screenshots (Windows Key - Shift - S for your Windows machine); I can barely read what's on your screen.
I found this link for you; hope it helps a bit:
Also, please take screenshots (Windows Key - Shift - S for your Windows machine); I can barely read what's on your screen.
I see @Juan_Antonio (sorry for mention kameraad) was helping you earlier on this thread:
He was the one who recommended to use Port 1883 in the first place; I would ask him for help to see this through.
tq for your respond,
do I need to create a block to publish and subscribe. because I only want the data from the smartphone app to come out in the hivemq message.
i confues at that things.
if must to create i will create block for publish n subscribe.
because i use hivemq to get the realtime data, then i will apply to nodered n matlab.
I'm not sure...
Can you check if this app works for you?
borrar_p117B_mqtt_Extension_Hivemq_Acele.aia (71.7 KB)
Can you upload your application.aia file to this topic?
so i need delete my old extension, then import this new extension?
i not sure that topic in my block is right or wrong
Extension
https://ullisroboterseite.de/android-AI2-MQTT-en.html
i cannot import that file you give into my extension mit app
yes i can open that file in my mit app
In hivemq.com/demos/websock....
change
juan/acelerometer by frdsir777/aceleremeter
juan/acelerometer by frdsir777/aceleremeter
In Blocks change
juan/acelerometer by frdsir777/aceleremeter
it's true i do like this if want get value latitude n longitude at hivemq message.
but value of latitude n longitude does not out.
just acceleremeter value show.
i have managed to do and solve my problem.
Thank you very much
hi juan,it is normal that connections that use mit to connect to hivemq sometimes have problems for the output value in the hivemq message.
because in the night it succeeds, but when you do it the next day, there is a problem for the value to come out
maybe because of internet connection or another problem?
I don't know how often you are sending/requesting the data, maybe it's because of Hivemq's restrictions. You can check it out in the Hivemq Community.
Remember that to work in real time you can also use CloudDB and FireBase.
Perhaps because the gps data is not yet available (no satellite fix) at the time you make the request or the TimeInterval you set the LocationSensor to. See Using the Location Sensor and LocationSensor ; especially the part that indicates Location information might not be immediately available when an app starts. You’ll have to wait a short time for a location provider to be found and used, or wait for the LocationChanged
event. and TimeInterval Determines the minimum time interval, in milliseconds, that the sensor will try to use for sending out location updates. However, location updates will only be received when the location of the phone actually changes, and use of the specified time interval is not guaranteed. For example, if 30000 is used as the time interval, location updates will never be fired sooner than 30000ms, but they may be fired anytime after.
Values smaller than 30000ms (30 seconds) are not practical for most devices. Small values may drain battery and overwork the GPS.