Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samsung Sabbath Mode #26

Open
evdev opened this issue Sep 4, 2022 · 12 comments
Open

Samsung Sabbath Mode #26

evdev opened this issue Sep 4, 2022 · 12 comments

Comments

@evdev
Copy link

evdev commented Sep 4, 2022

Hi, I was wondering if it would be possible to add the Sabbath Mode state toggle to your driver (for refrigerator and oven)? Not sure if it is possible since Samsung does not expose it even for Smartthings routine automation.

@DaveGut
Copy link
Owner

DaveGut commented Sep 4, 2022

Can not find a simple command. If in Sabbath Mode, what would change for sensors, operating modes, etc.? It is not necessarily hard to fake. For example,

  1. The faithful can not use the appliance at all. In that case I could disable ALL commands and provide an attribute for an alert if ANY door is opened or any command is executed (through SmartThings).
  2. The faithful can open / close doors, but can not otherwise use the device.
  3. Only certain functions are disabled.

@evdev
Copy link
Author

evdev commented Sep 5, 2022 via email

@DaveGut
Copy link
Owner

DaveGut commented Sep 5, 2022

I think I found a solution. Will code and provide test code (hopefully this week).

@DaveGut
Copy link
Owner

DaveGut commented Sep 7, 2022

I have created a TEST version with a new command "Toggle Sabbath" and a new attribute "SabbathMode". It only impacts the code in the main (parent) driver. Replace that code with:

https://raw.githubusercontent.com/DaveGut/Test-Code/master/Samsung_Refrig.groovy

Please provide feedback. When successful, this will become part of the baseline.

Dave

@evdev
Copy link
Author

evdev commented Sep 9, 2022 via email

@evdev
Copy link
Author

evdev commented Sep 9, 2022 via email

@DaveGut
Copy link
Owner

DaveGut commented Sep 9, 2022

First, it was difficult to read the log data since the way it was pasted placed line breaks every 80 characters. I had to manually delete these breaks. Appreciated if you can fix this in the next log file.

SECOND: Updated code available at : https://raw.githubusercontent.com/DaveGut/Test-Code/master/Samsung_Refrig.groovy

Same procedure as before. If it works w/o error messages, I do not need the logs. If not, logs would be appreciated.

Dave

@evdev
Copy link
Author

evdev commented Sep 13, 2022 via email

@DaveGut
Copy link
Owner

DaveGut commented Sep 18, 2022

New try uploaded to https://github.com/DaveGut/Test-Code/edit/master/Samsung_Refrig.groovy

Version is listed as 1.2T. It is the same as the released version EXCEPT for the update to the SABBATH cmd.

Dave

@evdev
Copy link
Author

evdev commented Sep 19, 2022 via email

@DaveGut
Copy link
Owner

DaveGut commented Sep 19, 2022

My efforts are done for now. I am out of ideas on how to get this to work. The function will be removed from the next driver version.

However, I will revisit from time-to-time to see if additional information is available.

Dave

@evdev
Copy link
Author

evdev commented Sep 19, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants