@bevvie Nice you should make a module out of that ;)
Read the statement by Michael Teeuw here.
Posts
-
RE: 30+ beautiful dog sayings
-
RE: Forbidden" error posting
@cheapdad The forum is for crap at times… someday maybe perhaps some magical moment will occur and someone will actually fix it.
-
RE: Raspberry Led Power Button
@assassins That’ll work!! Actually I’m going to move this over to my Home Assistant install because I have Ambient lighting on my TV that runs via a RP3…
Thanks!! :)
-
RE: Shutdown Magic Mirror with Home Assistant
https://www.shellhacks.com/raspberry-pi-shutdown-reboot-safely-command/
I used this and it worked… here’s an example:
I use a Sonos smart plug through SmartThings to turn off the Pi and turn it back on.
There are commands from the above link you can use. For instance I used commands to control my Vizio TV through Home Assistant.
Here is my ‘script’ for my TV.
- platform: command_line switches: living_room_tv: friendly_name: TV command_on: "/usr/bin/curl -k -H \"Content-Type: application/json\" -H \"AUTH: Zzbaa0sttq\" -X PUT -d '{\"KEYLIST\": [{\"CODESET\": 11,\"CODE\": 1,\"ACTION\":\"KEYPRESS\"}]}' https://192.168.1.20:7345/key_command/" command_off: "/usr/bin/curl -k -H \"Content-Type: application/json\" -H \"AUTH: Zzbaa0sttq\" -X PUT -d '{\"KEYLIST\": [{\"CODESET\": 11,\"CODE\": 0,\"ACTION\":\"KEYPRESS\"}]}' https://192.168.1.20:7345/key_command/" command_state: "/usr/bin/curl -k -H \"Content-Type: application/json\" -H \"AUTH: Zzbaa0sttq\" -X GET https://192.168.1.20:7345/state/device/power_mode" value_template: > {% if value_json.ITEMS.0.VALUE == 1 %} true {% else %} false {% endif %}You can do the same to control the pi :)
-
RE: Post upgrade issue with MMM-CalvinAndHobbes
@tholbear I tried it that night and it was NOT loading the data for that one day for some reason.
-
Something new weather related.
What I did on spring break…

Thank you again Sam for your help!!!
-
RE: Post upgrade issue with MMM-CalvinAndHobbes
@tholbear Try running it again tomorrow. For some reason when I run it, it hangs for me. When I hard code the date it works fine. I would try and reinstall it and try again.
-
RE: Please critique my plan ...
@cheapdad I did buy the real glass mirror and it was expensive… BUT, I’m glad I did it. It’s in my bathroom :)
-
RE: Weather Module not showing with weather.gov api
@cloakingtorin said in Weather Module not showing with weather.gov api:
long: ‘-74.0’,
Did you copy the config file and paste it into your config file? Go back through and change all the quotes to double quotes…
weatherProvider: "weathergov", apiBase: 'https://api.weather.gov/points/', weatherEndpoint: '/forecast', lat: '40.7', long: '-74.0', type: 'forecast',Copying configs and pasting them into your config can lead to quote issues…
-
RE: Help me pick my two way option
@cheapdad Well you cannot use a PIR sensor behind a real mirror, it won’t work not sure if that’s what you were thinking…
-
RE: Can a "real" mirror be used if modified?
@mushu That may work but the problem is some of that stuff does not like to come off.
A better idea would be to do the same thing but just use a plain piece of glass. ;)
-
RE: Unsplash not loading pictures
@duxnobis You’re not stupid…it’s a good fix.
You should go to the github repository and do a pull request so it’s fixed for everyone :)
