I followed this guide but I have error in PiTemplate, it doesn't update CPU Temp and doesn't show frequency and volt in mashup. I found similar topic but I think it works only on Raspberry 3. It happens on this line of code:
s = s/1000000
Error from terminal:
[INFO ] 2020-07-23 08:19:12,567 PiThing: Attempting to GetPropertySubscriptions from server failed. code: 500, result:
[ERROR] 2020-07-23 08:19:12,591 luaScriptProxy::execute: [-1241516976] Error executing script PiThing, Error = Error: ...oads/microserver/etc/custom/templates/PiTemplate.lua:39: attempt to perform arithmetic on local 's' (a nil value)
[ERROR] 2020-07-23 08:19:12,591 luaScriptProxy::app_unlock: [-1241516976] Attempt to unlock app_mutex while not holding it.L= 0x20a808
[INFO ] 2020-07-23 08:19:13,26 PiThing: Received notification that property bindings have been updated on server.