0

Data not updating on Dashboards
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Data not updating on Dashboards

by kalpesh231991 on Sat Dec 05, 2020 5:40 am

I am sending data through HMI, which are visible in feeds record, but this data are not updating on dashboard screen.
How to solve this problem??

kalpesh231991
 
Posts: 3
Joined: Sat Dec 05, 2020 4:56 am

Re: Data not updating on Dashboards

by jwcooper on Mon Dec 07, 2020 6:24 pm

I think we need more information to help you. Can you provide your code (without any secret information)? What is HMI?

Are you creating blocks with the feeds you're using to send data to? Best option is to try using a stream block, or visit io.adafruit.com/monitor

jwcooper
 
Posts: 782
Joined: Tue May 01, 2012 9:08 pm

Re: Data not updating on Dashboards

by kalpesh231991 on Tue Dec 08, 2020 2:35 am

Hi,
Thank you for your response!

HMI is Human Machine Interface, basically it is an automation product., Codes for sending data on MQTT server are internally generated and cannot be retrieved, because HMI is configurable device.

Data sending to MQTT server is as per below:

domain name : io.adafruit.com
Port Number : 1883
MQTT version : MQTT3.1
Data format : JSON
Encryption protocol :TLS
Topic : kalpesh231991/feeds/temperature
temperature data type : 16-bit unsigned int
QOS : 1
Data sending interval : 10secs


Also, please find data updated on feeds and data not displaying on dashboard in attachment.
Incase you need more details, please let me know!

Regards,
Kalpesh Patel
Attachments
feeds & Dashboards.PNG
feeds & Dashboards.PNG (160.97 KiB) Viewed 129 times

kalpesh231991
 
Posts: 3
Joined: Sat Dec 05, 2020 4:56 am

Re: Data not updating on Dashboards

by jwcooper on Tue Dec 08, 2020 12:42 pm

Thank you for the screenshots and information.

The reason the data is not updating on the dashboard is you're saving the data as json and not an actual raw value that our dashboards can process.

Instead of the value being
{"d":{"temperature":1000}}
it needs to be just
1000
in the Value column.

jwcooper
 
Posts: 782
Joined: Tue May 01, 2012 9:08 pm

Re: Data not updating on Dashboards

by kalpesh231991 on Wed Dec 09, 2020 4:29 am

Dear Sir,

Thank you for your reply!

I understood now, that I am sending data in JSON format and that is the reason, that data is not updating on dashboard.
Unfortunately, the HMI, I am using is having data format in JSON only.
Can you provide some solution to update this format by some other means on dashboard.


Regards,
Kalpesh

kalpesh231991
 
Posts: 3
Joined: Sat Dec 05, 2020 4:56 am

Re: Data not updating on Dashboards

by jwcooper on Wed Dec 09, 2020 1:21 pm

You would either need to process it on your end (save from one feed to another feed), or work with HMI to provide the ability to send the raw data.

We do have reactive triggers that you could use to re-process this data and save it to another feed that may help as well: io.adafruit.com/triggers

jwcooper
 
Posts: 782
Joined: Tue May 01, 2012 9:08 pm

Please be positive and constructive with your questions and comments.