Custom widget
- 
 mmmh ok, then it must be something else 
  Still getting nothing 
  Even using Microsoft edge after clearing browser cache, history etc 
  
- 
 This is how I clear the cache  
- 
 @esawyja I have updated this script on our demo server too. You can have a look at http://demo.mycontroller.org/#/dashboard, you can see a dashboard named esawyjaSteps: - Create UID tag for your temperature sensor
- Create Javascript to return value to HTML template
- Create HTML template
- Add you javaScript on script files, reload MC server page on your browser
- Create custom widget with template(step#3) and script(step#2), done!  
 IMPORTANT: I believe you are with latest SNAPSHOT version. 
- 
 aaah ok, so it is something on my computer locally, do you need any external programs etc to display this, I don't see the gauge on the demo server either  
- 
 @esawyja Yes, I see the issue with firefox. I am most of the time with google chrome, hence did not notice this issue. Thank you for your patience. I will check why this is not happening in FF browser. 
- 
 No thank you for the wonderful support, let me download Chrome and see what happens 
- 
 Ok confirmed, issue is with FF, works with Chrome  
- 
 @esawyja Created a ticket to track this issue https://github.com/mycontroller-org/mycontroller/issues/338 
- 
 Thank you!!! 
- 
 Hi all 
 Did something change with the build
  As when I run the scripts after I've upgraded I get this { "uuid": "11d7d0c8-45da-4bc0-988b-40f83bcd7d0e", "temperatureSen": { "id": 7, "uid": "upstairs-temp", "resourceType": "SENSOR_VARIABLE", "resourceId": 255, "resourceName": "[G]:MySensors >> [N]:50:Kiklo Temperature and Hum >> [S]:1:Temperature >> [SV]:Temperature" } }The UID tag entry seem ok to me 
  Regards 
- 
 @esawyja What is the issue are you seeing? 
- 
 Hi 
 I don't see the gauges anymore and it does not return a reading for the sensor when I run the script, what I posted above is it, I remember with the previous version, I got the temp reading in the output. Or did that change?
 Thanks
- 
 Yes, there is a change. You have to get resource by calling, var temperatureSen = mcApi.uidTag().getByUid("my-sensor-1").getResource();
- 
 mmmh now I'm getting a new error.... 
  
- 
 I do get the readings now, when I run the script, the gauge.min.js is accessible, just the gauge does not want to work, with the error above... Please anyone? I'm out of ideas 
- 
 Hi all, 
 This problem is driving me insane, does anyone please have some advice on where to look for this problem?
 Regards
- 
 @esawyja looks like there is wrong mapping on template. 
 Can you change thistemperatureSen.sensorVariable.valuetotemperatureSen.value?
- 
 
- 
 Could we not just add this as a widget type, when you add new widget, have a entry for gauge? 
 That would be awesome instead of adding all this code?
- 
 @esawyja Sure, I will add some of new widgets, when I get time. Thanks for the feedback.