I’ve bought a Drayton Wiser smart thermostat and have started looking at the API calls the application makes to create a new binding for openhab.
This is my first binding and I’ve not coded in Java for some time.
The first call is a get request to the thermostat, which returns JSON. My first problem is that I can’t find a JSON class to import. Is there one, or will I have to loop through the body text manually?
Thanks in advance,