Hardware: RPi 3
OS: Raspbian GNU/Linux 8 (jessie)
JRE: OpenJDK Runtime Environment (Zulu 8.31.1.122-linux_aarch32hf) (build 1.8.0_181-b122)
OH: 2.5.0 (Build)
Hi all,
I’ve spent the last week or so upgrading to OH 2.5 and then migrating all of my .things files into Paper UI through auto discovery. A second step has been migrating away from legacy 1.x bindings where a 2.x exists…
I stopped when I got to the MQTT things/items because there are a fair few of them and “there must be a better way” than doing it manually through Paper UI (and avoiding potential inconsistencies)?
Following on from a couple of comments made in a threads - the one I can refer to is this one - [SOLVED] Switching from PaperUI based config to Text file config only is reference to a method of “create 1 Thing in Paper UI”, use the REST API to get the details, modify and then create through the API.
I can follow the “GET” bit to retrieve the details, but does anyone have a step by step guide to post the API calls for the insert/create tasks, and - do I need any tools/plugins etc. I’m at a loss as to where to start…
Cheers
James