epoplavskis / homeassistant_salus

Home Assistant integration with Salus devices
MIT License
47 stars 15 forks source link

SR600 New features for button S1-S2 #13

Open George-andrew opened 3 years ago

George-andrew commented 3 years ago

Dear @jvitkauskas,

Could you please add new features for SR600, Below a description of how it works SR600

I hope it helps you.

"sButtonS": 
{
"Mode": 3,
"Mode_a": 3,
"PowerOnState": 0,
"ButtonStatus": 1,
"LostConnectionState": 0
 },

When "ButtonStatus" = 1 - terminals S1-S2 is close;
When "ButtonStatus" = 0 - terminals S1-S2 is open;

Description of Mode S1-S2 : 
When "Mode": 0 - S1-S2 no function, not showed S1-S2 on the app;
When "Mode": 1 - S1-S2 Switch on and off output; 
When "Mode": 2 - Reverse output for suitable for lighting; 
When "Mode": 3 - No output control, only show in app; 
When "Mode": 4 - S1-S2 Switch toggle relay;

Description of Power On State after turn on supply: 
When "PowerOnState": 0 - SR600 Keep last state after power cycle;
When "PowerOnState": 1 - SR600 Turn OFF relay after power cycle; 
When "PowerOnState": 2 - SR600 Turn ON relay after power cycle; 

Description of Lost Connection State after lost link ZigBee: 
When "LostConnectionState": 0 - not configured;
When "LostConnectionState": 1 - Output Off; Input enabled;
When "LostConnectionState": 3 - Output ON; Input enabled;
When "LostConnectionState": 5 - Maintain current state, input enabled ;