Enviar por SMS: Fault-Resilient Collective Ternary-Hierarchical Behavior to Smart Factories