• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. DaTTcz
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 12
    • Groups 0

    DaTTcz

    @DaTTcz

    2
    Reputation
    705
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Website www.datt.cz

    DaTTcz Unfollow Follow

    Best posts made by DaTTcz

    • MySensors 2.0 Serial Gateway

      Do not be afraid to build your own MySensors Serial Gateway with NRF24L01 and use it with MyController server ! Just need to have the original Arduino Nano, or clone with FT232RL USB chip. Do not use the Arduino model with CH340 chip, it's not stable ! In Mycontroller server I used the driver: jSerialComm. And everything works as it should !

      0_1478369427944_20161105_175131.jpg
      0_1478369439883_20161105_175814.jpg

      posted in Troubleshooting
      DaTTczD
      DaTTcz
    • RE: Battery level script and next testing

      @Velo17
      This script is here - http://forum.mycontroller.org/topic/77/battery-level-in-rules-or-chart-script-rule-to-check-battery-level/2

      posted in General Discussion
      DaTTczD
      DaTTcz

    Latest posts made by DaTTcz

    • RE: Battery level script and next testing

      @Velo17
      This script is here - http://forum.mycontroller.org/topic/77/battery-level-in-rules-or-chart-script-rule-to-check-battery-level/2

      posted in General Discussion
      DaTTczD
      DaTTcz
    • Battery level script and next testing

      After some time I test again...

      1. Battery level script - Your manual works. Using the timer, choose a time when the script started and it works. Can I transfer variables from script to email? Script gives me this result:
        {
        "myImports": {},
        "mcResult": true,
        "batteryLevel": "94"
        }

      2. Where is a list of variables that can be used in e-mail? I only know this, from mc-default-rule-email-template. is there more?
        ${notification.ruleCondition}
        ${notification.actualValue}
        ${notification.triggeredAt}
        ${notification.ruleName}

      3.Email does not support coding, for example, instead of Czech characters "ř" I must use the entity "&rcaron" ...etc

      posted in General Discussion
      DaTTczD
      DaTTcz
    • RE: Battery level in rules or chart? [Script Rule to check battery level]

      Thank you for your response!

      posted in Scripts
      DaTTczD
      DaTTcz
    • Battery level in rules or chart? [Script Rule to check battery level]

      Hello, how can I work with an item Battery level? How do I keep track of battery usage nodes? It's going to add to the rules? It could based on the condition of batteries to generate rules for individual nodes? I Can add another item to the sensor, but why send another same item. thank you for the advice

      posted in Scripts battery level battery node script rule
      DaTTczD
      DaTTcz
    • MySensors 2.0 Serial Gateway

      Do not be afraid to build your own MySensors Serial Gateway with NRF24L01 and use it with MyController server ! Just need to have the original Arduino Nano, or clone with FT232RL USB chip. Do not use the Arduino model with CH340 chip, it's not stable ! In Mycontroller server I used the driver: jSerialComm. And everything works as it should !

      0_1478369427944_20161105_175131.jpg
      0_1478369439883_20161105_175814.jpg

      posted in Troubleshooting
      DaTTczD
      DaTTcz
    • RE: Sensor is not added

      @jkandasa This log is from tab - status/resources logs. I'm sorry, I do not know why I did not look into Mycontroller server log. Here I found ERROR. My serial port (Arduino Nano NRF24L01) had an automatic driver to pi4j. So I changed it to jSerialComm and now everything works as it should.

      posted in General Discussion
      DaTTczD
      DaTTcz
    • Sensor is not added

      Hello, I built a Sensor (mysensors v2.0 with NRF24L01 on arduino). In the log I see that it is communicating with SerialGateway. But nothing is not automatically added... Do I have to add myself sensor? What am I doing wrong ? I see this in the log:

      Nov 03, 2016 19:09:30 Notice Node GW01 0:N01 Received Interní[Inclusion mode] 0
      Nov 03, 2016 19:09:05 Notice Node GW01 0:N01 Received Interní [Log message] TSP:MSG:READ 10-10-0 s=3,c=1,t=16,pt=2,l=2,sg=0:1
      Nov 03, 2016 19:09:04 Notice Node GW01 0:N01 Received Interní [Log message] TSP:MSG:READ 10-10-0 s=3,c=1,t=16,pt=2,l=2,sg=0:0
      Nov 03, 2016 19:08:52 Notice Node GW01 0:N01 Received Interní [Log message] TSP:MSG:READ 10-10-0 s=4,c=1,t=16,pt=2,l=2,sg=0:1
      Nov 03, 2016 19:08:51 Notice Node GW01 0:N01 Received Interní [Log message] TSP:MSG:READ 10-10-0 s=4,c=1,t=16,pt=2,l=2,sg=0:0
      Nov 03, 2016 19:08:49 Notice Node GW01 0:N01 Received Interní [Log message] TSP:SANCHK:OK
      Nov 03, 2016 19:08:46 Notice Node GW01 0:N01 Received Interní [Log message] TSP:MSG:READ 10-10-0 s=255,c=3,t=11,pt=0,l=13,sg=0:Binary Sensor
      Nov 03, 2016 19:08:44 Notice Node GW01 0:N01 Received Interní [Log message] TSP:MSG:READ 10-10-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1
      Nov 03, 2016 19:08:42 Notice Node GW01 0:N01 Received Interní [Log message] TSP:MSG:SEND 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
      Nov 03, 2016 19:08:42 Notice Node GW01 0:N01 Received Interní [Log message] TSP:MSG:READ 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      Nov 03, 2016 19:08:30 Notice Node GW01 0:N01 Received Interní [Inclusion mode] 1

      posted in General Discussion
      DaTTczD
      DaTTcz
    • RE: Timers ERROR

      @jkandasa Thank you for the explanation. I tried to create an event when disconnecting Serial GW and it works fine. Email arrive correctly.
      In this experiment, I found that if I unplug the USB Serial GW, MYCONTROLLER server shuts down. I do not know if it has something to do with the used hardware. I made a script that checks whether running proses java and if not then starts the server using your start.sh. Running it through CRON every minute. In practice, probably no one would ever use. But it checks whether MYCONTROLLER server runs, which is good for me.
      Waiting now on radio modules 24L01, so I test things a little different ...
      I like your program more and more. I tried several, but I like yours the most. I hope when I have built some Sensors will work as I need. I'm sorry that you lost your time for me.
      Thank you

      posted in General Discussion
      DaTTczD
      DaTTcz
    • RE: Timers ERROR

      Hello, we can only send email by Rules? Based on some changes on GW, Nodes, Sensors ... I understand this correctly? Thank you.

      posted in General Discussion
      DaTTczD
      DaTTcz
    • RE: Timers ERROR

      Hello, you're right. Timers not send email. But it starts operations. The operations would could be placed the test button.
      I made images settings. Maybe I missed something ...
      0_1477551017971_MyController.org   The Open Source Controller.png

      0_1477551025233_MyController.org   The Open Source ControllerA.png

      0_1477551033516_MyController.org   The Open Source ControllerB.png

      posted in General Discussion
      DaTTczD
      DaTTcz