• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login
    1. home
    2. tags
    3. script
    guest-login-post

    • all-categories
    • jkandasaJ

      How to delete a sensor variable from script

      watching ignoring scheduled pinned locked moved Scripts sensor variable sensorvariable script javascript
      4
      1
      1 votes
      4 posts
      1k views
      jkandasaJ
      @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

      watching ignoring scheduled pinned locked moved Developers Zone metrics script javascript api
      13
      0 votes
      13 posts
      2k views
      D
      Amazing! Really thanks
    • jkandasaJ

      Custom widget - dynamic images on dashboard

      watching ignoring scheduled pinned locked moved Dashboard script dashboard custom widget javascript template
      1
      0 votes
      1 posts
      2k views
      no-replies
    • jkandasaJ

      Help to send email when node goes down

      watching ignoring scheduled pinned locked moved General Discussion script javascript email
      8
      0 votes
      8 posts
      3k 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

      watching ignoring scheduled pinned locked moved Developers Zone script javascript ping
      5
      0 votes
      5 posts
      3k views
      F
      @jkandasa thank you so much, it's working.
    • E

      Hour Meter

      watching ignoring scheduled pinned locked moved Dashboard custom widget script javascript hour meter generator
      11
      1 votes
      11 posts
      5k views
      jkandasaJ
      @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

      watching ignoring scheduled pinned locked moved General Discussion script groovy timer
      9
      0 votes
      9 posts
      4k views
      jkandasaJ
      @benya Thanks for the update, let me check mcApi.timer().update(myTimer)
    • T

      Send Payload but NACK

      watching ignoring scheduled pinned locked moved General Discussion script custom widget javascript smartsleep queue
      7
      0 votes
      7 posts
      4k views
      T
      @jkandasa OHHHH wonderfull !!! I will try this ! Many thanks !
    • B

      How to pass custom value relative to current time

      watching ignoring scheduled pinned locked moved General Discussion script javascript
      10
      0 votes
      10 posts
      4k views
      jkandasaJ
      @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?

      watching ignoring scheduled pinned locked moved Scripts dashboard custom widget script javascript template
      5
      1 votes
      5 posts
      3k 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

      watching ignoring scheduled pinned locked moved Scripts aircon heatpump script
      11
      0 votes
      11 posts
      6k 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

      watching ignoring scheduled pinned locked moved Scripts script custom widget charts graphs watts
      6
      0 votes
      6 posts
      4k views
      jkandasaJ
      @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

      watching ignoring scheduled pinned locked moved Scripts script metrics
      3
      0 votes
      3 posts
      3k views
      T
      Wonderful !!! Option 1 works for me like a charm ! Many thanks, MyController is the best
    • DaTTczD

      Battery level in rules or chart? [Script Rule to check battery level]

      watching ignoring scheduled pinned locked moved Scripts battery level battery node script rule
      4
      0 votes
      4 posts
      4k 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...
    • jkandasaJ

      Control/display operations via script

      watching ignoring scheduled pinned locked moved Scripts operations custom widget script javascript
      1
      0 votes
      1 posts
      3k views
      no-replies
    • G

      Timers and scripts

      watching ignoring scheduled pinned locked moved Scripts script javascript valve
      15
      1 votes
      15 posts
      9k views
      jkandasaJ
      @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!