• Unipi 1.1 how to use analogue output - PWM?

    14
    0 Votes
    14 Posts
    8k Views
    K
    @tomasknot Aha, thanks, that is very helpful. In that case, Could you please share a picture of the required bypass on the Unipi board?
  • Graph widget with history

    5
    0 Votes
    5 Posts
    3k Views
    Martin KudláčekM
    Hello @emanuele84 , the Mervis DB is hosted in cloud, but you can write wrapper for the API call and implement any local storage you want. You can learn more about this here: https://kb.mervis.info/doku.php/en:mervis-db:10-api?tns
  • Header Panel

    3
    0 Votes
    3 Posts
    2k Views
    E
    I would just like to have a top strip on every page I designed. I created a web panel and set it to be an Header panel. I then exported the Web panels and I noticed that on the browser (Chrome / IE and Edge) I got no top strip. Here is a screenshot of mervis IDE.[image: 0_1527715429157_header.png] Best Regards, Emanuele
  • Set CNT of DI

    2
    0 Votes
    2 Posts
    2k Views
    T
    Hi @csacher! You can use the SEL block for this. Bring the output back into in0 via a variable and the new value into in1, with g acting as enable/disable Kind Regards
  • Database Link

    2
    0 Votes
    2 Posts
    2k Views
    T
    Hello @abornand! Good question. Mervis natively does not support logging data to external databases, it mainly supports its own DB servers. BUT that does not mean it's not possible to do. Actually its pretty easy - https://kb.mervis.info/doku.php/en:mervis-db:10-api This link describes API, how to Mervis RT access the Mervis DB but you can create the same API server implementing just the saveData function (eg. in PHP), point Mervis RT to this server and do whatever you wish to do with the data.
  • Tool Tips in HMI pannel...

    3
    0 Votes
    3 Posts
    2k Views
    T
    Unfortunately I'm not practical .. could you help me?
  • SimpleParser documentation?

    4
    0 Votes
    4 Posts
    3k Views
    M
    Thanks, @tomas_hora. I've just gone ahead and written my own in ST, based off the custom serial protocol example. I'm not sure if that sample actually works for serial communications, but for TCP I had to split Case 3 into 2 cases: 3: if io.getportstatus(handle) = 0 then state := 4; end_if; 4: received := io.readport(handle, adr dataRecv[0], 100); if received > 0 THEN output_string := bytes_to_string(adr dataRecv[0], received); output_length := len(output_string); command_out := command_in; last_output_time := getutctime(); state:=5; END_IF; Not doing this seemed to result in the read buffer being reset before the bytes could be read.
  • barometric sensor on i2c

    3
    0 Votes
    3 Posts
    2k Views
    T
    In theory and in practice you have to try to connect it and make attempts ... with the existing libraries.
  • Elektromer Pro1-Mod

    3
    0 Votes
    3 Posts
    2k Views
    A
    Pole neni cervene, jen kdyz registr neexistuje. Viz screenshot + vypis z port monitoru.[image: 1_1525446658641_scr2.png] [image: 0_1525446658639_scr1.png]
  • Restoring corrupt SD card image

    5
    0 Votes
    5 Posts
    3k Views
    T
    @karel505 Thank you! We are working on a new version of that. In fact we have a first draft already where this should be fixed, but it's not fully compatible with the latest public version of Mervis.
  • Vlastní funkční blok - sepnutí výstupu na určitý čas

    4
    0 Votes
    4 Posts
    2k Views
    T
    Na to stačí použít právě nějaký blok jako je např. monostable, a volat ho při každém zavolání rodičovské funkce - pokud je hodnota .Out TRUE pak ho vyresetovat a udělat další část iterace. V tom případě pak není potřeba použít cyklu, ale stačí IF
  • Energy meter (T36)

    3
    0 Votes
    3 Posts
    2k Views
    T
    @Hejča Please try to use T37
  • HMI Pushbutton

    9
    0 Votes
    9 Posts
    4k Views
    J
    @TomasKnot Hi Thomas! Thanks for the extensive reply! Really cool! I didn't think of the modbusserver solution, it sounds way more compatible and standard than the way through the HMI api. But i'll wait for the BacNET/IP interface, that sounds even better. I'll finish off the Python plugin for Domoticz anyway, it works great already with booleans and is even bidirectional :), next step is to add analog values... Thank you!
  • New install - Upload RT Failed

    2
    0 Votes
    2 Posts
    2k Views
    T
    Hi @OlivierP, Is there any chance you have changed the SSCP connection username and/or password? Aside from the message "capabilities parsing failed" you should see a message containing "wrong username or password?". If so then you can fix this by replacing the image with the stock one. If this is not the case, then it would be helpful if you could provide us with some more information, specifically the IDE version, image name and version, and the response for the command "sudo cat /proc/cpuinfo"
  • Remote programming, port forwarding

    11
    0 Votes
    11 Posts
    7k Views
    T
    @Martin-Kudláček it works, but you have to attach using the "Use deploy parameters" as described a few posts above
  • button creation

    2
    0 Votes
    2 Posts
    1k Views
    T
    @TriathletC This will be easier in the next HMI once the current Mervis release is finalised. For now you can use an analog setter with a single (positive) arrow instead, and use a modulo 2 function block behind it to transform it into a boolean state. I recognise this isn't ideal and is slightly unintuitive, which is why we changed it in the next release of Mervis. In terms of the button resetting itself you will need to use a timer of some sort to change the state back, as there is no obvious length of time that the button should stay "pressed".
  • Manually get unipi(/TCP Modbus) data

    3
    0 Votes
    3 Posts
    2k Views
    T
    Would you be willing to share a screenshot of the page if you do make an interesting HMI outside of the generated one? We are very keen to see what people can do with the Mervis HM interface.
  • Password HMI

    6
    0 Votes
    6 Posts
    3k Views
    T
    I have messaged you on PM asking whether you want it, but I will. Do keep in mind that it is still in Beta.
  • Communication between UniPi & external RPi

    9
    0 Votes
    9 Posts
    5k Views
    T
    @CKB If both UniPis are running Mervis, have them both in one project and use the SSCP protocol which is native protocol of Mervis. An example of this can be found at download section of Mervis.
  • Quick question about Temperatur sensor

    2
    0 Votes
    2 Posts
    2k Views
    T
    The values look correct. You should be able to read the temperature in degrees Celsius from the "tmp_real" variable. As the thermometer internally uses Celsius, any conversion to Fahrenheit must be done in your program. It is not possible to achieve more precision than given, as again the thermometer is designed to give output in fractions of degrees celsius.