Dec 3, 2017 Replies: 6 Objectives To create a real-time Weather Dashboard (using TinkerForge) devices, accessed via browser, showing the humidity, temperature, air pressure in gages (Custom component JustGage) & charts (Custom component Charts.js). The server is running on a Raspberry Pi. All connected clients are updated automatically. More information in the attached ZIP archive README.md. Note: The project source is attached BUT this project is not maintained anymore. Attachments B4JHowToABMTFWeatherDashboard-20171203.zip B4JHowToABMTFWeatherDashboard-20171203.zip 144.2 KB · Views: 586 Last edited: Jun 22, 2021 Click to expand...
Objectives To create a real-time Weather Dashboard (using TinkerForge) devices, accessed via browser, showing the humidity, temperature, air pressure in gages (Custom component JustGage) & charts (Custom component Charts.js). The server is running on a Raspberry Pi. All connected clients are updated automatically. More information in the attached ZIP archive README.md. Note: The project source is attached BUT this project is not maintained anymore.
rwblinn Well-Known Member Licensed User Longtime User Dec 3, 2017 #3 Mashiane said: Wow, impressive!!! Click to expand... Thanks. Has been a good learning project, with challenges, to get on with ABMaterial: Designing the class structure enabling data collection (with proper error handling), adding additional device sources (i.e. started with TinkerForge but planned to include Arduino or ESP - B4R). Finding a (simple) charting framework. Looked at chartist, frappe, googlecharts ... but found to complex to use esp. displaying real-time data ... ended up with Chart.js (good examples and documentation). Develop Custom Component for Chart JS to display line charts. Enhance the JustGage Custom Component properties. For both Custom Components a single property map is used. Develop getter for the TinkerForge devices using Inline Java. Handle settings via dedicated settings page. Got a few things on the todo list - but for later as starting a new Lego BLE project. A project like this, is a good Proof of Concept for the power of B4J (B4X) with the ABMaterial Framework!
Mashiane said: Wow, impressive!!! Click to expand... Thanks. Has been a good learning project, with challenges, to get on with ABMaterial: Designing the class structure enabling data collection (with proper error handling), adding additional device sources (i.e. started with TinkerForge but planned to include Arduino or ESP - B4R). Finding a (simple) charting framework. Looked at chartist, frappe, googlecharts ... but found to complex to use esp. displaying real-time data ... ended up with Chart.js (good examples and documentation). Develop Custom Component for Chart JS to display line charts. Enhance the JustGage Custom Component properties. For both Custom Components a single property map is used. Develop getter for the TinkerForge devices using Inline Java. Handle settings via dedicated settings page. Got a few things on the todo list - but for later as starting a new Lego BLE project. A project like this, is a good Proof of Concept for the power of B4J (B4X) with the ABMaterial Framework!
Mashiane Expert Licensed User Longtime User Dec 3, 2017 #4 You need to share your custom components for the sake of the ABM's too, please. I'm interested in your charting with chart.js for now, care to share?
You need to share your custom components for the sake of the ABM's too, please. I'm interested in your charting with chart.js for now, care to share?
jinyistudio Well-Known Member Licensed User Longtime User Jun 22, 2021 #6 Is your download link still valid?
rwblinn Well-Known Member Licensed User Longtime User Jun 22, 2021 #7 jinyistudio said: Is your download link still valid? Click to expand... No - but have updated post #1 with the source. Be aware that this project is rather old and not maintained nor supported anymore. Not sure if still working with latest ABMaterial version and/or js addons.
jinyistudio said: Is your download link still valid? Click to expand... No - but have updated post #1 with the source. Be aware that this project is rather old and not maintained nor supported anymore. Not sure if still working with latest ABMaterial version and/or js addons.