osohotwateriot / no.osoincharge

GNU General Public License v3.0
0 stars 0 forks source link

Sleep/away mode #5

Open fredrikml opened 1 month ago

fredrikml commented 1 month ago

Hi, could ypu please enable a flow card to set Oso charge in sleep/away mode without needing to know when you get back (date). It is possible to turn off sleep mode, but not turn on or invert flow card ?

Thanks

osohotwateriot commented 1 month ago

Hi, sleep/away mode requires a period to be defined in order to work. This is due to the posibility of setting the sleep mode in the future. For example I can plan to be away next week and set the start day to be 7 days from now.

You can however create a flow card with an end date of year 2100 that can be reused every time you wish to activate the sleep mode without knowing when you will get back. The start date can remain in the past - this will enable the mode on the device but will require for you to manually disable the mode.

Would that work for your scenario?

fredrikml commented 1 month ago

Thanks for your reply Are you able to set the dates in a popup in the flow or do you have to manually edit the flow prior to starting it each time you want to enable sleep?Med vennlig hilsenFredrik Meyer-LampeVestre Rå 32bTlf 9248582125. juli 2024 kl. 08:52 skrev osohotwateriot @.***>: Hi, sleep/away mode requires a period to be defined in order to work. This is due to the posibility of setting the sleep mode in the future. For example I can plan to be away next week and set the start day to be 7 days from now. You can however create a flow card with an end date of year 2100 that can be reused every time you wish to activate the sleep mode without knowing when you will get back. The start date can remain in the past - this will enable the mode on the device but will require for you to manually disable the mode. Would that work for your scenario?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

osohotwateriot commented 1 month ago

Unfortunately dates cannot be set automatically from the code behind as the flow actions are just a definition in the app. You can reuse the flow if you just set a big period, for example from January 2024 to January 2100 and save it. In that case you wouldn't need to change the flow for every execution and will just disable it when you need.

fredrikml commented 1 month ago

Thanks.If not it would be easier to just enable sleep in the Oso app 😊One idea might be to set temperature low, in example 20 degC during vacation ? Med vennlig hilsenFredrik Meyer-LampeVestre Rå 32bTlf 9248582125. juli 2024 kl. 11:24 skrev osohotwateriot @.***>: Unfortunately dates cannot be set automatically from the code behind as the flow actions are just a definition in the app. You can reuse the flow if you just set a big period, for example from January 2024 to January 2100 and save it. In that case you wouldn't need to change the flow for every execution and will just disable it when you need.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>