Hello togeher,
On the API, we send some Data from the Sensors.
When we want wo look to the values at the device. it works great when i check the live data.
The Bug is, when we select “m” or “h” … than we want to see the data of the last 10 minutes. A circle is coming but no reaction of it.
Is that the same my self only or have some others the same problem
thanks
markus
adam
January 8, 2017, 11:33pm
2
I’m assuming you are using MQTT, and if that is correct, did you send the actuator response? Some examples from the API docs:
Receive Actuator Command on Channel 3
⇒ SUB v1/A1234B5678C/things/0123-4567-89AB-CDEF/cmd/3
⇐ 2otoExGxnMJz0Jn,0
Send updated Actuator value on Channel 3
⇒ PUB v1/A1234B5678C/things/0123-4567-89AB-CDEF/digital/3
1
Send a Command Response - OK
⇒ PUB v1/A1234B5678C/things/0123-4567-89AB-CDEF/response
ok,2otoExGxnMJz0Jn
Send a Command Response - Error
⇒ PUB v1/A1234B5678C/things/0123-4567-89AB-CDEF/response
error,2otoExGxn=ERROR MESSAGE
Hello
our output is following:
Connecting to mqtt.mydevices.com …
Connected with result code 0
SUB v1/803715c0-cc81-11e6-ae8c-f90e83be502a/things/d9af9110-cc84-11e6-97cc-8758d 0339dd8/cmd/+
PUB v1/803715c0-cc81-11e6-ae8c-f90e83be502a/things/d9af9110-cc84-11e6-97cc-8758d 0339dd8/sys/model
Python
PUB v1/803715c0-cc81-11e6-ae8c-f90e83be502a/things/d9af9110-cc84-11e6-97cc-8758d 0339dd8/sys/version
1.0.0
PUB v1/803715c0-cc81-11e6-ae8c-f90e83be502a/things/d9af9110-cc84-11e6-97cc-8758d 0339dd8/data/1
temp,c=6.90000009537
PUB v1/803715c0-cc81-11e6-ae8c-f90e83be502a/things/d9af9110-cc84-11e6-97cc-8758d 0339dd8/data/2
rel_hum,%=91.0999984741
PUB v1/803715c0-cc81-11e6-ae8c-f90e83be502a/things/d9af9110-cc84-11e6-97cc-8758d 0339dd8/data/3
temp,c= 0.69
PUB v1/803715c0-cc81-11e6-ae8c-f90e83be502a/things/d9af9110-cc84-11e6-97cc-8758d 0339dd8/data/4
lum,lux=0.0
PUB v1/803715c0-cc81-11e6-ae8c-f90e83be502a/things/d9af9110-cc84-11e6-97cc-8758d 0339dd8/data/1
temp,c=6.80000019073
PUB v1/803715c0-cc81-11e6-ae8c-f90e83be502a/things/d9af9110-cc84-11e6-97cc-8758d 0339dd8/data/2
rel_hum,%=90.5999984741
PUB v1/803715c0-cc81-11e6-ae8c-f90e83be502a/things/d9af9110-cc84-11e6-97cc-8758d 0339dd8/data/3
temp,c= 0.62
PUB v1/803715c0-cc81-11e6-ae8c-f90e83be502a/things/d9af9110-cc84-11e6-97cc-8758d 0339dd8/data/4
lum,lux=0.0
PUB v1/803715c0-cc81-11e6-ae8c-f90e83be502a/things/d9af9110-cc84-11e6-97cc-8758d 0339dd8/data/1
temp,c=6.69999980927
Can you help us and give an Update do get the write Data inside?
We use the Example 1 from the MQTT
adam
January 13, 2017, 12:57pm
5
Ah, I think I understand now. Are you trying to view minute, hour, day, etc on a graph for MQTT? If so that feature is not available quite yet, only live data. It is on the road map, so hang in there.