Thanks Ken. Let me try to describe a scenario and see how that plays out with spark.
Lets say I have 4 non-spark devices (A, B,C,D) communicating to the spark hub. The only status we are interested in is On/Off from the non-spark devices.
At the get go, lets say all the devices are in Off position. The moment I turn the non-spark device A to ‘On’ position, the status of all devices at this point is - A on B off C off D off. Requirement is - This can be transmitted to the cloud via the spark core and can be viewed in the smart device like an iphone.
As a 2nd step, if the non-spark device B goes to on position, the latest status of all devices is going to be
A on B on C off D off. This again needs to be sent to the cloud and the smart device should be in sync.
What happens if the hub is down (internet went down), would the cloud remember the latest status and send it across? We expect this to be a one way mechanism in the sense… the non-spark devices are communicating the status to the hub and onto the smartphone. Other than registering the device through smartphones, I do not intend to control the non-spark devices via the smartphone. I am only interested in checking the latest status on the smartphone.
The question is - To keep these statuses in sync with the non-spark devices, the spark core, the cloud and the smartphone, do you think I can deploy this with the existing tools in the spark ecosystem? or should I be looking at supplementing this with a database or an additional server etc?
Any inputs will be greatly appreciated.