genielabs / HomeGenie

HomeGenie, the programmable automation intelligence
https://homegenie.it
GNU General Public License v3.0
388 stars 154 forks source link

HG 1.3 v15 Beta-PID 90 Security Alarm System-Event history not being passed to program widget #413

Closed mralapete closed 4 years ago

mralapete commented 4 years ago

After security sensor/switch has been triggered event history should display in the program widget

Event history in the widget display remains blank

Steps to reproduce the problem starting from a fresh install

1.Trigger alarm security sensor 2.Event not displayed in the widget 3.

Specifications

Additional configuration notes

I've tried all the usual like restarting the program, disabling and enabling it and recompiling it. The problem still remains.I noted the changes to Program.RaiseEvent and was thinking that this may have a bearing on the problem as the Security Alarm System program makes use of this function.I've just taken a quick look at the C# script and nothing stands out immediately

mralapete commented 4 years ago

I'm assuming this line should pass the event to the program widget

// this event will cause the widget to update its data Program.RaiseEvent("Program.UiRefresh", "Log updated", "");

Has the format for this command changed