Beta Tester for Item Checker Tool wanted

when goin to: http://192.168.133.205:8080/doc/index.html


I cheched on a second (clean/fresh) Openhabian:

Do I really not have to enable/install something?

Yeah thats good. Please try:

http://192.168.133.205:8080/rest/items

Kay

What you can install over Paper UI is “only the Documentation”. The REST API is part of the installed system like chris allready wrote.

{
  "error": {
    "message": "d !\u003d java.lang.String",
    "http-code": 500,
    "exception": {
      "class": "java.util.IllegalFormatConversionException",
      "message": "d !\u003d java.lang.String",
      "localized-message": "d !\u003d java.lang.String"
    }
  }
}

What Version of Openhab do you use ?

how to find out without stopping it and start “by hand”?

I thing there is no other way :frowning: But look at this post:

https://knx-user-forum.de/forum/supportforen/openhab/1023279-openhab-2-internal-server-error-500-beim-hinzuf%C3%BCgen-von-items-in-paper-ui

He has the same error like you.

O.K., thanks. I will check this evening. I have to go now.

Hello together. I´ve just updated my first post. New Version 0_2 can be downloaded. It works now also with OH 1.x REST API. Please let me know if it works.

Thanks in advance
Kay

Hi Kay,
tested your tool and find it very useful as i’m just at that time was creating/testing some rules…
here are my first wishes for improvements, :slight_smile: i don’t know if/how that might be implemented:

  1. and most important : capabilitiy of selecting / saving sets for different server/port sets
    (example : i have openhab1 and openhab2 running on the same host on ports 8080 and 9080 – how to switch between them. / at the moment with just configure the IP it automatically finds only the oh1 on 8080…)
  2. saving selected item sets : should be possible to save/reload item sets for later work
    (example : saving config for a selected set of items and reload it later – at the moment it only saves the actual selected item list and reload it while restarting the tool. i want to play with some items A, B, C, D …now, save this “ITEM set” and work with some items W,X,Y,Z later… thereafter i want easily reload the first set of items to continue working with them… to be complete, the saved set of items need to include the used ohserver/port)

At all it’s already quite useful for my work on different rules…

thx for your work.
Matthias

Hello Matthias,

thanks for your feedback. All your suggested improvements are realizable. Give me time until end of the week and i hope i can upload an improved version of OhSIC.

Kay

Back again, took some longer.
OhSIC conects now, but does not show items:


http://192.168.133.204:8080/rest/items shows now:

[{"link":"http://192.168.133.204:8080/rest/items/ReserveFensterSchalter","state":"geschlossen","stateDescription":{"pattern":"","readOnly":false,"options":[]},"type":"Contact","name":"ReserveFensterSchalter","label":"Reserve Fensterkontakt","category":"contact","tags":[],"groupNames":["Fensterkontakte","TestKram"]},{"link":"http://192.168.133.204:8080/rest/items/BatReserveFensterSchalter","state":"","stateDescription":{"pattern":"","readOnly":false,"options":[]},"type":"Contact","name":"BatReserveFensterSchalter","label":"Batterie Reserve Fensterkontakt","category":"battery","tags":[],"groupNames":["BatFensterkontakte"]},{"link":"http://192.168.133.204:8080/rest/items/SignalReserveFensterSchalter","state":"0","stateDescription":{"pattern":"%d","readOnly":false,"options":[]},"type":"Number","name":"SignalReserveFensterSchalter","label":"Signalstärke ReserveFensterschalter","category":"qualityofservice","tags":[],"groupNames":["SigFensterkontakte"]},{"link":"http://192.168.133.204:8080/rest/items/TestFensterSchalter","state":"geschlossen","stateDescription":{"pattern":"","readOnly":false,"options":[]},"type":"Contact","name":"TestFensterSchalter","label":"Test Fensterkontakt","category":"contact","tags":[],"groupNames":["Fensterkontakte","TestKram"]},{"link":"http://192.168.133.204:8080/rest/items/BatTestFensterSchalter","state":"","stateDescription":{"pattern":"","readOnly":false,"options":[]},"type":"Contact","name":"BatTestFensterSchalter","label":"Batterie Test Fensterkontakt","category":"battery","tags":[],"groupNames":["BatFensterkontakte"]},{"link":"http://192.168.133.204:8080/rest/items/SigTestFensterSchalter","state":"0","stateDescription":{"pattern":"%d","readOnly":false,"options":[]},"type":"Number","name":"SigTestFensterSchalter","label":"Signal Test Fensterkontakt","category":"qualityofservice","tags":[],"groupNames":["SigFensterkontakte"]},{"link":"http://192.168.133.204:8080/rest/items/KuechenFenster","state":"undefiniert","stateDescription":{"pattern":"","readOnly":false,"options":[]},"type":"Contact","name":"KuechenFenster","label":"Küchenfenster","tags":[],"groupNames":["GF_Ku"]},{"link":"http://192.168.133.204:8080/rest/items/Window_GF_ScZi","state":"geschlossen","stateDescription":{"pattern":"","readOnly":false,"options":[]},"type":"Contact","name":"Window_GF_ScZi","label":"Schlafzimmer","category":"contact","tags":[],"groupNames":["Fensterkontakte","GF_ScZi"]},{"link":"http://192.168.133.204:8080/rest/items/Window_GF_ScZi_Bat","state":"","stateDescription":{"pattern":"","readOnly":false,"options":[]},"type":"Contact","name":"Window_GF_ScZi_Bat","label":"Schlafzimmer","category":"battery","tags":[],"groupNames":["BatFensterkontakte"]},{"link":"http://192.168.133.204:8080/rest/items/Window_GF_ScZi_Sig","state":"0","stateDescription":{"pattern":"%d","readOnly":false,"options":[]},"type":"Number","name":"Window_GF_ScZi_Sig","label":"Signal Schlafzimmer","category":"qualityofservice","tags":[],"groupNames":["SigFensterkontakte"]},{"link":"http://192.168.133.204:8080/rest/items/Window_GF_Bad","state":"geschlossen","stateDescription":{

and much more.
Might still be one/some errors in my OH stuff. What do you think I should do?

Hello!
Perhaps you need to use the button to Add Item?

:grin: cool. I thought it would list the items which are allready in my OH-Installation?

No :slight_smile:

“Add Item” means to put an existing OH Item to the “Observation List”.

I´m already finished with Version 0_3 of OhSIC. The new Version is able to send commands to the Item. So you can switch item state over OhSIC.

Kay

Version 0.2 is working well for me. Lists the sate of any items i add to the tracker.

1 Like

thanks for your feedback @James_Hiscott

Small comment and feedback. I think the “start” and “stop” names are a bit confusing, i would change it to be a single button “Refresh item states” then when clicked it changes to a “stop item updates” or something like that.

Also on the “server” settings box, the cancel button is not in English :slight_smile:

Yes i think also the “Add Item” and “Remove Item” Text is something missleading ?

I will change it.