• Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login
  • Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login

Custom widget

Scheduled Pinned Locked Moved Dashboard
custom widgetguagedashboard
43 Posts 5 Posters 32.3k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    jkandasa @esawyja
    last edited by 3 Jan 2017, 11:24

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

    1 Reply Last reply Reply Quote 0
    • E Offline
      esawyja
      last edited by 3 Jan 2017, 11:27

      No thank you for the wonderful support, let me download Chrome and see what happens

      1 Reply Last reply Reply Quote 1
      • E Offline
        esawyja
        last edited by 3 Jan 2017, 11:29

        Ok confirmed, issue is with FF, works with Chrome

        0_1483442927485_image.png

        J 1 Reply Last reply 3 Jan 2017, 11:31 Reply Quote 1
        • J Offline
          jkandasa @esawyja
          last edited by 3 Jan 2017, 11:31

          @esawyja Created a ticket to track this issue https://github.com/mycontroller-org/mycontroller/issues/338

          1 Reply Last reply Reply Quote 0
          • E Offline
            esawyja
            last edited by 3 Jan 2017, 11:33

            Thank you!!!

            1 Reply Last reply Reply Quote 0
            • E Offline
              esawyja
              last edited by jkandasa 2 Oct 2017, 23:01 10 Feb 2017, 11:19

              Hi all
              Did something change with the build
              0_1486725393898_image.png

              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
              0_1486725529297_image.png

              Regards

              J 1 Reply Last reply 10 Feb 2017, 17:31 Reply Quote 0
              • J Offline
                jkandasa @esawyja
                last edited by 10 Feb 2017, 17:31

                @esawyja What is the issue are you seeing?

                1 Reply Last reply Reply Quote 0
                • E Offline
                  esawyja
                  last edited by 11 Feb 2017, 11:11

                  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

                  J 1 Reply Last reply 11 Feb 2017, 11:21 Reply Quote 0
                  • J Offline
                    jkandasa @esawyja
                    last edited by 11 Feb 2017, 11:21

                    @esawyja

                    Yes, there is a change. You have to get resource by calling,

                    var temperatureSen = mcApi.uidTag().getByUid("my-sensor-1").getResource(); 
                    
                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      esawyja
                      last edited by esawyja 2 Dec 2017, 15:08 12 Feb 2017, 08:31

                      mmmh now I'm getting a new error....
                      0_1486892286040_image.png

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        esawyja
                        last edited by 12 Feb 2017, 09:09

                        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

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          esawyja
                          last edited by 13 Feb 2017, 10:16

                          Hi all,
                          This problem is driving me insane, does anyone please have some advice on where to look for this problem?
                          Regards

                          J 1 Reply Last reply 13 Feb 2017, 11:42 Reply Quote 0
                          • J Offline
                            jkandasa @esawyja
                            last edited by 13 Feb 2017, 11:42

                            @esawyja looks like there is wrong mapping on template.
                            Can you change this temperatureSen.sensorVariable.value to temperatureSen.value?

                            T 1 Reply Last reply 5 Mar 2017, 09:45 Reply Quote 0
                            • E Offline
                              esawyja
                              last edited by 13 Feb 2017, 15:39

                              @jkandasa said:

                              temperatureSen.value

                              THANK YOU!!!! It works now

                              1 Reply Last reply Reply Quote 1
                              • E Offline
                                esawyja
                                last edited by 14 Feb 2017, 10:53

                                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?

                                J 1 Reply Last reply 14 Feb 2017, 11:14 Reply Quote 1
                                • J Offline
                                  jkandasa @esawyja
                                  last edited by jkandasa 14 Feb 2017, 11:14

                                  @esawyja Sure, I will add some of new widgets, when I get time. Thanks for the feedback.

                                  1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    esawyja
                                    last edited by 14 Feb 2017, 11:55

                                    Thanks so much!!

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      Tag MOD @jkandasa
                                      last edited by 5 Mar 2017, 09:45

                                      @jkandasa said:

                                      var temperatureSen = mcApi.uidTag().getByUid("my-sensor-1").getResource();

                                      Also faced this issue when i imported my database on a different node.
                                      had to change the scripts to use the new variable....

                                      Gauges work now after changing the variables..

                                      For the rest no issues found, all work like a charm!!!!

                                      Thank you for the great support!!!

                                      1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        fsgrazzutti
                                        last edited by 10 Apr 2020, 14:14

                                        @jkandasa

                                        is there any reason for this, once I add the library ?
                                        89b478a4-2204-48af-9b47-0fc9204821ee-image.png

                                        jkandasaJ 1 Reply Last reply 11 Apr 2020, 02:50 Reply Quote 0
                                        • jkandasaJ Offline
                                          jkandasa @fsgrazzutti
                                          last edited by 11 Apr 2020, 02:50

                                          @fsgrazzutti Can you forcefully refresh your browser?
                                          or you may have some syntax error.

                                          F 1 Reply Last reply 11 Apr 2020, 15:16 Reply Quote 0
                                          • First post
                                            Last post

                                          0

                                          Online

                                          618

                                          Users

                                          531

                                          Topics

                                          3.4k

                                          Posts
                                          Copyright © 2015-2025 MyController.org | Contributors | Localization