The response indicates data was found...total_elements = 2 but the data element is empty:
{'data': [AttributeError("'str' object has no attribute 'swagger_types'"),
AttributeError("'str' object has no attribute 'swagger_types'")],
'has_next': False,
'total_elements': 2,
'total_pages': 1}
Hello. I know what to connect device to thingsboard iot-gateway I need to edit configuration file and restart thingsboard-gateway service. Is there a way to do this without restarting thingsboard-gateway service?
nvm i found it. It its possible by rtc requests. But requires a little bit of tinkering with python code :S
JSON.parse(value).value
but this fails else well. Isn't the transformer supposed to allow taking the selected field value and applying some arbitrary post-processing to it?
I am using a Knob Control in thingsboard to control something in RaspberyPI. I am using python for the device side coding. I am using HTTP Rest APIs for using RPC:
When I do a GET on this URL https://app.iiotnext.com:443/api/v1/6QG455bxqHPChit753S5/rpc
The response I get is :
{"id":80,"method":"getValue","params":null}
I know I should respond back with a POST on this URL:
https://app.iiotnext.com:443/api/v1/6QG455bxqHPChit753S5/rpc/80
But what should the response message JSON?