Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. script
    Log in to post
    • jkandasa

      How to delete a sensor variable from script
      Scripts • script javascript sensor variable sensorvariable • • jkandasa

      2
      1
      Votes
      2
      Posts
      342
      Views

      skywatch

      @jkandasa Thank you so much for this!

      It had slipped my mind with other more important issues taking the focus away. Today I found some 'ghost' variables and remembered that I had the problem before, but not the solution. Now I know why!

      Anyway it worked perfectly and I will keep a lookout for any future ghost variables. This would be a good thing to have built into ver 2.0

    • D

      Looping thru sensor time series
      Developers Zone • script javascript metrics api • • Daniele

      13
      0
      Votes
      13
      Posts
      665
      Views

      D

      Amazing!
      Really thanks

    • jkandasa

      Custom widget - dynamic images on dashboard
      Dashboard • script javascript custom widget dashboard template • • jkandasa

      1
      0
      Votes
      1
      Posts
      1112
      Views

      No one has replied

    • jkandasa

      Help to send email when node goes down
      General Discussion • script javascript email • • jkandasa

      8
      0
      Votes
      8
      Posts
      1462
      Views

      R

      @jkandasa No I hadn't, thanks, of course now its working. Great tool I'm enjoying getting to grips with the scripts and templates.

    • F

      TV Status or generic devices with ip address as gateway
      Developers Zone • script javascript ping • • Fraid

      5
      0
      Votes
      5
      Posts
      2026
      Views

      F

      @jkandasa thank you so much, it's working.

    • E

      Hour Meter
      Dashboard • script javascript custom widget generator hour meter • • esawyja

      11
      1
      Votes
      11
      Posts
      3882
      Views

      jkandasa

      @daniele You may need to create a dummy sensor and update sensor value everyday night via a script.

    • B

      Controlling global variable and timer from Groovy
      General Discussion • script groovy timer • • benya

      9
      0
      Votes
      9
      Posts
      2940
      Views

      jkandasa

      @benya Thanks for the update, let me check mcApi.timer().update(myTimer)

    • T

      Send Payload but NACK
      General Discussion • script javascript custom widget queue smartsleep • • Tetnobic

      7
      0
      Votes
      7
      Posts
      2782
      Views

      T

      @jkandasa
      OHHHH wonderfull !!! I will try this !
      Many thanks !

    • B

      How to pass custom value relative to current time
      General Discussion • script javascript • • benya

      10
      0
      Votes
      10
      Posts
      3125
      Views

      jkandasa

      @benya have a look on http://forum.mycontroller.org/category/24/scripts and TAG with SCRIPT

    • T

      Display text based on sensor value, is that possible?
      Scripts • script javascript custom widget dashboard template • • Tag

      5
      1
      Votes
      5
      Posts
      2128
      Views

      T

      @jkandasa

      Just tested and it works like a charm!!!
      Really great examples, that are easy to implement.

      Mycontroller was already great, now it is even better!!.

      Thank you!!

    • K

      AC/Heatpump control
      Scripts • script aircon heatpump • • ksga

      11
      0
      Votes
      11
      Posts
      4497
      Views

      K

      Hi @jkandasa
      Sorry for not posting the feedback yet...

      But yes - It works like a charm. And the timestamp solution seems to do what its supposed to

    • R

      Monitoring electricity consumption
      Scripts • script custom widget charts graphs watts • • rjad

      6
      0
      Votes
      6
      Posts
      2764
      Views

      jkandasa

      @rjad

      Ok,I tested this but couldn't get it to work. Presumably I didn't follow the instructions properly.

      When you do changes on HTML additional headers, you have to reload the browser. I hope you did this.

      With some work it could be better, so for example, I lose the hover information, I had trouble getting two of these plots on one dashboard with different bins.

      For hover information, I do nit get any clue. As I never worked directly with the D3 chart.
      For the multiple of charts on same dashboard issue, you might have chart id issue.
      Maybe because of this one,

      <canvas id="simpled3" style="display: none;"></canvas>
    • T

      Temperature MIN/MAX/AVG
      Scripts • script metrics • • Tetnobic

      3
      0
      Votes
      3
      Posts
      2020
      Views

      T

      Wonderful !!!
      Option 1 works for me like a charm !

      Many thanks, MyController is the best

    • DaTTcz

      Battery level in rules or chart? [Script Rule to check battery level]
      Scripts • script node battery battery level rule • • DaTTcz

      4
      0
      Votes
      4
      Posts
      2457
      Views

      V

      @jkandasa I'm using the 0.0.3.Final-SNAPSHOT - does this mean I dont need to create a script like above but find a rule/condition about battery levels of nodes? If so, I cannot find that, but I am currently using your script example, which works, but is of course a little cumbersome compared to another option of using a node's battery level directly somewhere in the rules panel...

    • jkandasa

      Control/display operations via script
      Scripts • script javascript custom widget operations • • jkandasa

      1
      0
      Votes
      1
      Posts
      2837
      Views

      No one has replied

    • G

      Timers and scripts
      Scripts • script javascript valve • • gouds

      15
      1
      Votes
      15
      Posts
      7052
      Views

      jkandasa

      @imedia I guess it should be a bug with recent pi4j driver. Let me setup serial gateway locally and narrow down the issue. Thank you so much for your support!