5iver
(Scott Rushworth)
July 14, 2018, 5:53pm
4
lsiepel:
SELECT * FROM Items WHERE ItemName = ‘verd0_keuken_pir1_lux’
Did you try lowercase items, or are you sure it is Items? If you’re getting data from the REST API, then it is persisting data. Wait a minute… I gave you the wrong URL. Try this…
http://<your OH server>:8080/rest/persistence/items/verd0_keuken_pir1_lux
This may be helpful too…
I built a simple tabular persistence viewer in HTML, jQuery and AJAX. The first iteration was put together by my wife, using PHP, but I wanted something that I could easily put into HABPanel. A helpful web developer could probably condense it with more jQuery or rewrite it using AngularJS and make it a HABPanel template, but it’s working quite well for my purposes. Hopefully others will find it useful!
[image]
Here is how I have it configured in a Frame widget…
[image]
[image]
Known Iss…