istSOS / istsos2

Easily manage your sensor network and distribute your data in a standard way
Other
16 stars 31 forks source link

Enable publishing data to MQTT server. #64

Open lahirutm opened 4 years ago

lahirutm commented 4 years ago

I setup ISTSOS server successfully and receiving observation data from Arduino clients. Now i want to publish data to MQTT server. I already setup a MQTT server locally (mosquitto) and put MQTT settings in ISTSOS web backend. But ISTSOS server not publishing any data to MQTT broker.

image

Please answer if anyone already setup this.

mantonovic commented 4 years ago

Hi Lahiru, which version have you installed of istSOS? If you are using the 2.4.x (Python 3) version this is not yet tested but you can try. Download the tutorial https://sourceforge.net/projects/istsos/files/Tutorials/istSOS_2.3.2-RC1_tutorial-FOSS4G-BONN-2016.tar.gz/download[1] there are some instructions on how to enable mqtt broadcasting. Check the error output of apache (/var/log/apache/error.log) and if there is any strange message or error when inserting new data in istSOS copy/paste here, that will help me to better support you.

Best regards

_Milan

[1] https://sourceforge.net/projects/istsos/files/Tutorials/istSOS_2.3.2-RC1_tutorial-FOSS4G-BONN-2016.tar.gz/download

On Mon, 28 Sep 2020 at 14:01, Lahiru Maduranga notifications@github.com wrote:

I setup ISTSOS server successfully and receiving observation data from Arduino clients. Now i want to publish data to MQTT server. I already setup a MQTT server locally (mosquitto) and put MQTT settings in ISTSOS web backend. But ISTSOS server not publishing any data to MQTT broker.

[image: image] https://user-images.githubusercontent.com/3053708/94429465-f23e3600-01af-11eb-8456-4736d368735b.png

Please answer if anyone already setup this.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/istSOS/istsos2/issues/64, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANW6K5AMKYX6IZXDGN6EF3SIB3JPANCNFSM4R4NJ7VA .

lahirutm commented 4 years ago

No errors in Apache error log when data receiving. All data inserting to the istsos system without any issue. But no data processing for MQQT. I have installed MQQT broker in the same maching. Also paho client for istsos according to the documentation. I am using python3-istsos_2.4.0-RC4 version with python 3.