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

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

      4
      1
      Votes
      4
      Posts
      492
      Views

      jkandasa

      @fsgrazzutti Currently I am actively working in V2.
      I will have a look in to this soon and update you

    • D

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

      13
      0
      Votes
      13
      Posts
      831
      Views

      D

      Amazing!
      Really thanks

    • jkandasa

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

      1
      0
      Votes
      1
      Posts
      1213
      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
      1622
      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
      2121
      Views

      F

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

    • E

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

      11
      1
      Votes
      11
      Posts
      4077
      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
      3044
      Views

      jkandasa

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

    • T

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

      7
      0
      Votes
      7
      Posts
      2891
      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
      3237
      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 • dashboard custom widget script javascript template • • Tag

      5
      1
      Votes
      5
      Posts
      2273
      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 • aircon heatpump script • • ksga

      11
      0
      Votes
      11
      Posts
      4658
      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
      2885
      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
      2125
      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 • battery level battery node script rule • • DaTTcz

      4
      0
      Votes
      4
      Posts
      2613
      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 • operations custom widget script javascript • • jkandasa

      1
      0
      Votes
      1
      Posts
      2930
      Views

      No one has replied

    • G

      Timers and scripts
      Scripts • script javascript valve • • gouds

      15
      1
      Votes
      15
      Posts
      7595
      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!