Time-based rules not working on 5.0.1

I really appreciate the time you took to respond. Over 10 years ago I installed Ubuntu on a laptop and it was a steep learning curve for me. Your explanation is bringing a lot of that experience back to me.

I used (Putty)PSCP, ran it on CMD using the command “pscp -P 22 xxxxxxxx root@192.168.1.88:/root/” xxxxxxx being the file. This was just a test to see if using the root would get me past the file privilege restriction. I got access denied. My thought was maybe I could just place an edited file in place of the one in there. But you’re right, I need to drop back and punt to take some time to have a refresher course.

On a modern Debian based Linux (which describes both Ubuntu and Raspberry i OS upon which openHABian is built) you cannot log in as root.

If you can’t log in as root you can’t use WinSCP, pscp, ftp, sftp or any other file transfer tool to copy a file you don’t have permission to.

So the nano or pico will give me the ability change the permissions so I can edit the file?

No. ‘sudo’ gives you the permission to write the file. nano/pico let’s you edit the file.

Sudo means “run the command that follows as root”.

You do not want to change the permissions on system files

Ok, that clears somethings up! I hope some of the other newbies benefit from my inexperience!:rofl: In the meantime I have some research to do but at least thanks to you I know what to research, thanks! Who says you can’t teach an old dog new tricks! It just takes longer, lol

I got it working!! :grin: Everything shows on the correct schedule now. Thanks Rich, you saved me a lot of headaches!! Something I noticed, probably doesn’t mean anything.

When you ssh in with “sudo openhabian-confg” and go to the section to set the time zone, the option for the US is Americas (plural).

But when I was in “etc/timezone” it listed as America, singular. I edited the 2 files using plural. Assuming they’re covering both North and South America.

That’s ok, I’m happy!!!:blush:

It’s singular. List of tz database time zones - Wikipedia