domotic html changed and hire_me. added state diagrams