I want to send the sensor data from Raspberry pi to Predix Cloud. I did the Predix Machine tutorial(https://www.predix.io/resources/tutorials/journey.html#1750). As a result, dates data was registered in the Time-Series even though sensor data was not. Do you know what is problem and how to solve that?
Answer by Nadeem Ahmed · Jul 25, 2017 at 09:34 PM
Hi, What does it mean by 'dates data' ?
Hi, Nadeem Dates data means sensor data's timestamp.
Answer by Durgesh Narayan · Jul 25, 2017 at 10:20 PM
Hi,
Actually There is a store forward mechanism in PredixMachine Container. The PredixMachine Container always maintain the data queue. It prevents the data loss. So I think there are some sensor data stored in local store forward h2 database and it's sending regularly stored data to your timeseries service.
Answer by Nadeem Ahmed · Jul 26, 2017 at 09:40 PM
Please! see the information you have provided in configuration files. Here are files, you must verify all the given details
1- com.ge.dspmicro.predixcloud.identity.config (contains client id and client secret). 2- com.ge.dspmicro.machineadapter.modbus-0.xml (contains sensor's tag name,data type and subscription). 3- com.ge.dspmicro.hoover.spillway-0.config (contains subscription mentioned in com.ge.dspmicro.machineadapter.modbus-0.xml file. Storeforward name and web socket river name) 4- com.ge.dspmicro.websocketriver.send-0.config (contains the web socket end point url that is com.ge.dspmicro.websocketriver.send.destination.url="
Answer by Myra Haqqi · Jul 26, 2017 at 09:50 PM
Please see this tutorial for more details and debugging tips: https://forum.predix.io/articles/25490/how-to-configure-predix-machine-for-modbus-and-vis.html