Forum Replies Created
-
AuthorPosts
-
Rafael Aroca
KeymasterHello, sorry for the delay!
Unfortunately, I had to temporarily disable new forum registrations. We have more than 1500 “fake” users registering and sending SPAM / Phishing.
We will have to enable some kind of captcha/authorization for new users.
We have really just a few members. About 5 now, but google analytics gives use useful information about usage.
We track accesses using Google Analytics, but an automatic tool that updates BIPES site would be better I will try to include one.
Thanks for the message 🙂
best regards!
Rafael
Rafael 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
Rafael 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
Rafael Aroca
KeymasterGreat. Sorry for not having copy&paste figures now. It would be much easier for me too. We will try to add this as soon as possible.
best regards!
Rafael
Rafael Aroca
KeymasterHello, yes. At least, I can add screenshots. Just use the visual option and click on the image. Then select a screenshot to upload. Like here:
Could you please try this?
-
This reply was modified 3 years, 9 months ago by
Rafael Aroca.
Rafael Aroca
KeymasterHello!
The whole micropython section at the end of the toolbox was entirely automatic generated by a shell script that parsed MicroPython documentation. Specifically, this one:
https://docs.micropython.org/en/latest/esp8266/quickref.html
We could add buttons for examples, documentation. But I did not understand what do you mean by “Topic”
best regards!
Rafael
Rafael Aroca
KeymasterTeste
Rafael Aroca
KeymasterTeste
Rafael Aroca
KeymasterGot your test.
Rafael Aroca
KeymasterHere is another example.
-
This reply was modified 3 years, 9 months ago by
-
AuthorPosts