• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Darvos
    D
    Offline
    • Profile
    • Following 1
    • Followers 1
    • Topics 2
    • Posts 11
    • Groups 0

    Darvos

    @Darvos

    2
    Reputation
    480
    Profile views
    11
    Posts
    1
    Followers
    1
    Following
    Joined
    Last Online

    Darvos Unfollow Follow

    Best posts made by Darvos

    • RE: Mycontoller on a stm32 with rf24 Mesh lib

      I got it working already! Just need to replicate de output data to de gateway! (1;0;8;38;25) something like this !

      It's working know! I'm gonna let my work about mesh networks with the arm Mcu at the mbed site!
      Thank you very much, wonderful work at the controller !

      posted in MyControllerDevice (ESP8266)
      D
      Darvos
    • RE: Mycontoller on a stm32 with rf24 Mesh lib

      oh, I will.. don't worry!! i really pass thru difficult times while programming this god forsaken chip!! but now it works like a charm, and its 8 times better than any arduino!!

      Can I alterate the Mycontroller program to my will? I like the interface and all but I'm Brazilian and there is are a few things I need to translate besides what is already translated! And maybe put another functions at the software!

      posted in MyControllerDevice (ESP8266)
      D
      Darvos

    Latest posts made by Darvos

    • RE: Custom Output to display

      Thank you thank you!

      you are the best!

      posted in Scripts
      D
      Darvos
    • RE: Custom Output to display

      @jkandasa Gosh, so.. I was doing some research over the forum... and I found this http://forum.mycontroller.org/topic/139/hour-meter wich I've been trying to use with no sucess...

      let me put some good info here!

      0_1497462933454_image.png
      I've made those simple custom widgets, here is the script for them

      var myImports = new JavaImporter(java.io, java.lang, java.util); 
      var Custo = 0;
      with(myImports) {
        var amp1 = mcApi.uidTag().getByUid("AmpRaw1").getResource()
        var volt = mcApi.uidTag().getByUid("VoltRaw1").getResource();
        var taxa = mcApi.variable().get("Taxa"); 
        var Custo_aux = mcApi.variable().get("CustoT"); 
      
        // custom value
        var finalData = (amp1.value * volt.value)/ 1000;
        Custo_aux.value = finalData * taxa.value;
      }
      

      I just need a way to acumulate(a.k.a SUM) the values os the last line like Custo_aux.value += the rest...

      I've been trying to use the .save() without success too..

      Plz master J, help me out!!

      posted in Scripts
      D
      Darvos
    • RE: Custom Output to display

      @jkandasa J, my saivior!! the project is working just fine, i only have one question to make!! plz save me!!

      i've been trying to acumulate values (anyvar += anyvar) without sucess...

      I tried loops, timers, no sucess...

      I need to sum all the values I gather since the first reading.. any tip?

      posted in Scripts
      D
      Darvos
    • RE: Custom Output to display

      @jkandasa Thaaaats IIIITTT ^^

      Thank you thank you thanks aloooot jkandasa, you beatiful man!!

      I was expecting this for days, and I'm really excited with the outcome of this project

      posted in Scripts
      D
      Darvos
    • RE: Custom Output to display

      @jkandasa I forgot the reply you didn't I?

      Sorry, but I'm still hoping you can help me with this.

      Thank you very much

      posted in Scripts
      D
      Darvos
    • RE: Custom Output to display

      In other words , how can I display a variable, not a input or a tag, just a variable

      posted in Scripts
      D
      Darvos
    • RE: Custom Output to display

      Sure, I want to multiply an input by a variable , put the result in a variable and show it at my dashboard !

      Example : I'm reading a light sensor, I wanna have both the raw value and the valia of the light multiplied by certain number in my dash board!

      So I create a "sensor viewer " and a "custom viewer " right?

      Well, for the custom viewer I need a script to do the job for me... taking both utags and variables and doing a simple multiplication , then show me the valeu ... right?

      Well I need help finishing the script because, I can make the simple code but can't make it show the valeu at the "custom viewer " . I guess I'm missing both the template and the script binding

      posted in Scripts
      D
      Darvos
    • Custom Output to display

      Guys, I need to create a Custom Widget wich can work with a few inputs and variables I create!

      So... I already made the logic work, created the tags and etc.. but I'm stuck at the template part!

      How can I make the connection btw the script and the template and what the heck is script binding?

      Here is the code I came up with :

      var myImports = new JavaImporter(java.io, java.lang, java.util); 
      Amp1= mcApi.variable().get("Amp1");
      Consumo1 = mcApi.variable().get("Consumo1");
      var sensorVariable = mcApi.uidTag().getByUid("VoltRaw1");
      var dispItems = [];
      with(myImports)
       {
      Consumo1 = Amp1.value * sensorVariable.sensorVariable.value;
      }
      
      posted in Scripts
      D
      Darvos
    • RE: Mycontoller on a stm32 with rf24 Mesh lib

      oh, I will.. don't worry!! i really pass thru difficult times while programming this god forsaken chip!! but now it works like a charm, and its 8 times better than any arduino!!

      Can I alterate the Mycontroller program to my will? I like the interface and all but I'm Brazilian and there is are a few things I need to translate besides what is already translated! And maybe put another functions at the software!

      posted in MyControllerDevice (ESP8266)
      D
      Darvos
    • RE: Mycontoller on a stm32 with rf24 Mesh lib

      I got it working already! Just need to replicate de output data to de gateway! (1;0;8;38;25) something like this !

      It's working know! I'm gonna let my work about mesh networks with the arm Mcu at the mbed site!
      Thank you very much, wonderful work at the controller !

      posted in MyControllerDevice (ESP8266)
      D
      Darvos