Creating a chart usign Chart.js and Rest API

Hello!
I am developing a small page showing some collected data from a sensor that I have in the house.
I had to make a webpage so it could be visible to the public.

I used:

  1. openHAB REST API | openHAB
  2. Chart JS: Chart.js | Chart.js

Here is the code that i hade, it’s public and you can use it for your projects :slight_smile:

https://github.com/mihaiicey/openhab/blob/dcc4f06056571f49ee9ff1199f5ab3e0b14b15ab/chart-rest-api.php

Have a nice day!

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.