-
From what I can tell, the key part of the status is the
value_templatebit. To be completely honest, I’m not entirely sure how templates work in HA – I get the idea but the syntax is something I’m still trying to wrap my head around. I basically only made it work by messing around and trying a bunch of different versions until something worked. Set up like this, I don’t actually ever see the codes, the status bit just aligns the toggle the right way. All I can think is that there’s an issue with the ssh poll? There may be a way to change the interval of its checks that might help. Weird that you can see it when you do normally, but hass won’t. Sorry I’m not more help on that one but I’m still not entirely sure why mine works. -
ooooh, that’s a good idea, I like that. Now, there may be a better way, but the best that I know of (and not incidentally, the way I do it), is to use the MMM-Remote-Control module. As it happens, I read on the MM forum that basically every function of the remote module actually also adds a URL endpoint for that function! I use several of these for IFTTT. This all includes a method to send notifications to various modules that can trigger their actions (showing, hiding, etc.). In fact, I originally set up HA and IFTTT to turn the display on with a GET request to
http://[my domain with forwarded ports]:8080/remote?action=MONITORON. Something like that utilizing theSHOWandHIDEactions could work really well. That was really cool thinking on your part, I’m gonna look into doing that for sure. -
So it’s very much still a work in progress but my “mirror” is actually more of a hopefully-all-encompassing display board. Actually, right now it’s just an old monitor chilling on its side but eventually I’ll frame it and hang it on the fridge or something cool. First I gotta work on the layout/design/background/surfacing useful info. But I’ll attach a screenshot! I’ve done a lot of custom CSS, or at least, a lot for someone who doesn’t know CSS. Lemme know if you have questions on it!
