--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/yd_ie5ZDIR0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/459439f6-2d70-4df1-b709-0374614f8ead%40googlegroups.com.
Switch TV_OnOff "Turn TV on/off" (TV) {exec=">[OFF:ssh pi@YOUR_IP echo \'standby 0\' | sudo cec-client -s] >[ON:ssh pi@YOUR_IP echo \'on 0\' | sudo cec-client -s]"}# Host of the first TV to control
samsungtv:wohnzimmer.host=192.168.1.12
# Port of the TV to control (optional, defaults to 55000)
samsungtv:wohnzimmer.port=2345
Switch mute {samsungtv="ON:wohnzimmer:KEY_MUTE, OFF:wohnzimmer:KEY_MUTE"}
curl -s --data-binary '{"id":1,"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.json-cec","params":{"command":"activate"}}}' -H 'content-type: application/json;' http://<ip-to-kodi>:8080/jsonrpc
http://<ip-to-kodi>:8080/jsonrpc?request={"id":1,"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.json-cec","params":{"command":"activate"}}}