@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.
