Which js codes do I need to extract the values ​​from the sonoff devices controlled by dimmer and assign new values? Can you please help me..