HomeGenie Forum

Development => Feature request => Topic started by: KaZe on September 30, 2015, 01:01:26 PM

Title: Info panel for widgets
Post by: KaZe on September 30, 2015, 01:01:26 PM
How can I solve that the information appears next to the switch/lights? A little widget with modifiable text?

For example:

Automatic:
Start time: 13:00
End time: 18:00
Title: Re: Info panel for widgets
Post by: bkenobi on September 30, 2015, 04:49:41 PM
Are you trying to put the scheduled action times in the widget?  That sounds like a nice idea but might be complicated.  You can see the cron strings by clicking on the setup button on the widget so if this isn't incorporated you have something at least.
Title: Re: Info panel for widgets
Post by: KaZe on September 30, 2015, 05:50:33 PM
From this topic http://www.homegenie.it/forum/index.php?topic=895.msg5435#msg5435 (http://www.homegenie.it/forum/index.php?topic=895.msg5435#msg5435) I creat my own Presence simulator.
It triggered by my virtual switch. If switch status is on, the program run, if status off, the program "sleep". I attach.
It must be run between Sunset and Sunrise now. But you can set any cron schedule.
So the virtual switch has no schedule setting.

I think, if I'd like see schedule info next to the virtual switch, I need to create a simple widget to my program, which show this info for me.
Am I right ?
Title: Re: Info panel for widgets
Post by: KaZe on October 01, 2015, 05:48:02 PM
I can create an info widget from jshan's Show Data and Time program (http://www.homegenie.it/forum/index.php?topic=1024.msg6721#msg6721 (http://www.homegenie.it/forum/index.php?topic=1024.msg6721#msg6721)).
I modify  the info widget. I put the info icon to the header, so the information can show perfectly.