SergiuToporjinschi / node-red-contrib-heater-controller

Heater controller for node-red dashboard
GNU General Public License v3.0
18 stars 17 forks source link

Add option for keep and display logs #8

Open SergiuToporjinschi opened 5 years ago

SergiuToporjinschi commented 5 years ago

Optionally the user should be able to see the a log when on and off was emitted

zoltantakacshu commented 4 years ago

Hi Sergiu,

I see in the latest release the changes are logged and even shown in the output. Additionally a new icon appeared in the UI "logs" - what I couldn't figure it out how is it working ... How the UI part supposed to be working ? What is the number of changes kept in the logs ? Wouldn't be better if the logs would be sent in a different node output than the standard one ? (Just an idea - still trying come up with the best use of this - as previously I was logging the changes and the heat states into a chart to allow me to review the history of the heating) Anyway - thanks ! Great work, I really love the controller.

SergiuToporjinschi commented 4 years ago

@zoltantakacshu can you see the button? this is not finished yet :) that button supposed to be not visible yet :). I wanted to create a dialog to display the logs but unfortunately is not possible without hacks so I'm planing to output as node message.

zoltantakacshu commented 4 years ago

Yes, the button is visible if there are logs collected... And the logs are already in the the node output as well... :)

SergiuToporjinschi commented 4 years ago

yes I've tested now and I can see that, but I think I should output this as different message and not attached to the standard output "What is the number of changes kept in the logs ?": It will be configurable; "Wouldn't be better if the logs would be sent in a different node output than the standard one ?" will be a different output

zoltantakacshu commented 4 years ago

Great. the separate node output will help to build a chart based on the measured and set temperature. Thanks!