Review of PRs - I need your help!

For info, I launched a dev build on master with the changes on the Philips Hue + user message propagation in other tabs :slight_smile:

I saw this pass by this morning

https://github.com/GladysAssistant/Gladys/pull/1098

Okay, 165 files, but at least 70 are to list compatible devices. So, good luck!!!

The sunset sunrise triggers don’t work for me, has anyone tested them in real life?

Normally @AlexTrovato had tested I think!

Doesn’t it work at all?

lol I had turned off my machine, dawn arrived, but Gladys wasn’t running :confused:

I created a very simple scene last night:

Send a message at sunrise.

Nothing in the chat this morning (the location is correct)

Oh crap
 my bad it was the PR author who tested in real:

I’m trying to prepare a test for tonight, hoping to see some logs.

I’m doing a test too!

No trace for me, the weird thing is that if I manually launch the scene, the message is received.

In the worst case, to test, you need to change the location of the house.

I’ve set a scene for tomorrow morning :slight_smile: Answer at 6:20!

The longest feature to debug :joy:
Patience is key!

lol 1st reply tonight, it will be the surprise at home (with a bonus a « what have you done now? Â» from Madame!!)

I had a scene that started at 6:45 PM, sunset time.

I confirm sunset is okay, I’m rescheduling sunrise for tomorrow

I confirm, sunrise not working, it didn’t work this morning!

@Lokkye any ideas? :slight_smile:

Edit: I’m investigating, and already there’s a timezone issue.

At my place (in GMT+8), the time used is London time, and so at midnight (in my timezone), Gladys calculates the sunrise/sunset at London time, so the day before.

See:

Ok, it took me some time to understand, but I think I’m on the right track:

https://github.com/GladysAssistant/Gladys/pull/1103

I’m making progress but it’s not exactly right yet

For your information, I have reviewed all the PRs that were pending (according to what I see on GitHub).

It was exhausting :sweat_smile:

If I haven’t reviewed a PR, it’s because I don’t see it, so please post a message on the forum to let me know :slight_smile:

For the timezone history, it’s normally fixed and merged on master and built on Docker with the « dev Â» tag.

I have the sunset that will soon rotate at my place. Tomorrow morning I will test the sunrise.

In any case, the logs seem to confirm that it is fixed (I added more verbose logs):

Sunset ok!

See you tomorrow for sunrise :slight_smile: