I’m new to openHAB and not a programmer so I’m apologizing in advance if the answer to my question is obvious.
I’ve got a question about the DSC binding. I have the binding up and running but I’m wanting to create a custom sitemap for my wife. She doesn’t want a lot of information but one thing she does want to see is what time a particular zone was last opened or closed. What’s the easiest way for me to do that?
Hey Jesse, the approach I’d take is to have rules detect when each zone state is changed and then write that to items which you then show in her custom site map
I keep a track of when the status of my internet connection was last updated as “online”… This should give you some pointers on where you are going wrong.
rule “Records last Internet ONLINE time”
when
Item Internet received update
then
if (Internet.state == ON)
{postUpdate(Internet_LastOnline, new DateTimeType())}
end
Although on second look, your rule seems to find when compared to mine…
Thanks for your help! I figured out it was a problem with the name I gave the item. I think it’s because it was associating it with the DSC binding but there isn’t anything in the binding that it could reference.