[OH 5.1.4]
I’m trying to set up a thing in http binding with a command channel WRITEONLY and a read channel READONLY for a FAN controller, the command sets the pwm percentage, the read channel should read the fans rpm.
Now the command channel works fine but the READONLY channel that should read the a fan RPM from a fan controller never updates.
Here’s the configuration of the readonly channel.
The URL it should call is
http://192.168.1.111/api/v0/fan/status
And the response is a json like this:
{“status”:“ok”,“rpm”:2160,“pwm_percent”:70}
But The channel is always NULL, I also don’t see that it tries to read the status ever in the logs (although I don’t know if it would trigger a log message). Maybe it silently updates it and the JSONPATH is just wrong.
BTW: The JSONPATH transformation is installed to rule out another potential problem.
Any Ideas
