Stuck again … this time on section 3.4 (demonstration). As seen below the esp connects to the database but the streamed data type is “null” rather than “json” …? On page 74 of the pdf it shows data type, jason and prints the content. Not sure how to resolve this, any help is appreciated.
Connecting to WiFi …10.0.0.188
Token info: type = id token, status = on request
Token info: type = id token, status = ready
Getting User UID
User UID: 1Qac8ZpzXbUl————————
stream path, /UsersData/1Qac8ZpzXbUl———————-/outputs/
event path, /
data type, null
event type, put
Recieved stream payload size: 43 (Max: 43)
Writing value: 22.85 on the following path: /UsersData/1Qac8ZpzXbUl——————–/sensor/temperature
Un-stuck myself … turned out the data base had an extra UsersData field in it (not sure why). Inserted the digital and message field in the /UsersData/1Qac8ZpzXbUl———————-/outputs/ and all works according to pdf doc.