From time to time my Kodi gets a bit hot, so I wanted to see and log its temperature in domoticz. I can see the temperature by typing /opt/vc/bin/vcgencmd measure_temp in the console, but wanted to send it to domoticz. And I found small script on google that I changed a bit, and have cron send value to virtual temperature sensor every few minutes. Script is very simple and looks like