Home › Forums › BIPES User Forum (English) › Bipes-Dashboard connection
Tagged: BIPES MQTT/EasyMQTT, DashBoard
- This topic has 5 replies, 2 voices, and was last updated 3 years, 9 months ago by
vdbijlh@hotmail.com.
-
AuthorPosts
-
July 7, 2021 at 2:17 pm #193
vdbijlh@hotmail.com
ParticipantI want to make an inventory of Dashboard tools (PC and IoS – iPad and iPhone) that I can use to connect with BIPES via MQTT/EasyMQTT.
I currently know (not yet tested):
– Node-Red DashBoard.
– Thingspeak – MatLab
– IoT OnOff (IoS-Android) see screenshot below,
There must be many more … so:
Can anybody help me with suggestions of suitable DashBoard Apps that I can use to connect BIPES via MQTT/EasyMQTT?
July 8, 2021 at 1:39 am #198Rafael Aroca
KeymasterHello! Nice to discuss this topic with you!
There are several options. I think freeboard and thingsboard are promising. They are open-source dashboard tools:
https://github.com/thingsboard/thingsboard
https://github.com/Freeboard/freeboard
Working Demo:
http://freeboard.github.io/freeboard/
After reading this:
and this:
https://github.com/Freeboard/freeboard
I was able to quickly build this great dashboard integrated with BIPES!
Here is a screenshot of the dashboard I just built with freeboard:
You will have to create a datasource to a BIPES EasyMQTT Session, such as:
http://bipes.net.br/easymqtt/gettopic.php?session=kgk4lp&topic=humidity
After that, add a pane and a widget on freeboard for the given topic. Such as:
datasources[“Humidity”][“result”][0][“data”]
or
datasources[“Relay”][“result”][0][“data”]
I also tried to install freeboard on BIPES server. That was quite easy following the steps at https://github.com/Freeboard/freeboard:
http://bipes.net.br/test/freeboard/
The dashboard I created is saved here:
http://bipes.net.br/test/freeboard/dashboard.json
And finally, you can see it working in real-time here:
http://bipes.net.br/test/freeboard/index.html?load=dashboard.json
Which also renders nicely on an Android phone:
Finally, some useful information about EasyMQTT:
1 – The IOT tab can receive sensor data using HTTP and it uses a MySQL database internally. This tab has an export option that generates a CSV file for Excel/Spreadsheet. Here is an example: http://bipes.net.br/beta2/ui/#viudib (it uses http://www.bipes.net.br/sensors/send.php?)
2 – EasyMQTT has an API based on JSON that you can use with HTTP requests:
List EasyMQTT sessions:
http://bipes.net.br/easymqtt/listsessions.phpGet session data:
http://bipes.net.br/easymqtt/getsession.phpGet topic data:
http://bipes.net.br/easymqtt/gettopic.phpPublish data:
http://bipes.net.br/easymqtt/publish.phpClear a session:
http://bipes.net.br/easymqtt/clearsession.phpExamples:
http://bipes.net.br/easymqtt/getsession.php?session=kgk4lphttp://bipes.net.br/easymqtt/gettopic.php?session=kgk4lp&topic=temperature
The last example will give you a JSON with all data for a given topic/session.
Please note that BIPES also support native MQTT (non EasyMQTT sessions), so you can send data from BIPES programs to ThingSpeak and other platforms!
Hope this helps.
Best regards!
Rafael
July 9, 2021 at 3:12 am #200Rafael Aroca
KeymasterHello! I have started trying to implement this with an integration of BIPES with freeboard. I think it is already capable of doing what you need. Take a look here, please:
BIPES IoT dashboard using freeboard
July 9, 2021 at 5:47 am #203vdbijlh@hotmail.com
ParticipantThanks … I will explore this a.s.a.p
Is Freeboardd available for mobile platforms ?
e.g. IoS – Andriod .. that will significantly broaden the application area.
July 9, 2021 at 6:20 am #204vdbijlh@hotmail.com
ParticipantRafael … Thanks .. I will test and digest this and give my feedback.
Is Freeboard available for the mobile platforms (IoS – Android) … that will sifnificantly braoden the scope of the app.
-
This reply was modified 3 years, 9 months ago by
vdbijlh@hotmail.com.
July 9, 2021 at 6:43 am #206vdbijlh@hotmail.com
ParticipantI repeated my reply (see above) .. how can we remove posts in this forum
-
This reply was modified 3 years, 9 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.