• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Martin Trojan
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 31
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by Martin Trojan

    • RE: Control RO with Direct switch by Mervis

      @Martin-Kudláček any progress?

      posted in Mervis
      M
      Martin Trojan
    • RE: Control RO with Direct switch by Mervis

      Can @tomas_hora recommend how to setup web button when it is swithed by hw button to match the current state of light and not swich at the same time?

      posted in Mervis
      M
      Martin Trojan
    • RE: Control RO with Direct switch by Mervis

      Hello, it works.

      I want control light from web(digital setter) and HW button with direct switch. But I dont know how to create this funcionality. My solution blinking the lights and I am succesfull to turn on/off lights after 2-3 attempts. Can someone help me?
      0_1544094512713_5589bcc5-93ec-4c37-9307-9b844843483e-image.png

      0_1544103765654_f418b52f-e269-493c-91ee-f9f135940f06-image.png

      posted in Mervis
      M
      Martin Trojan
    • RE: FBD function error

      Both issues can be seen on the pictures. One in results window and other in popup. Send it to email?

      posted in Mervis
      M
      Martin Trojan
    • RE: FBD function error

      Do you want to send it? But I have just create empty function, add one input(bool) and one function block OR and just delete unput. Then error.

      0_1540819752801_8f516811-630b-409f-ad3c-add048cd2367-image.png

      posted in Mervis
      M
      Martin Trojan
    • FBD function error

      Hi, when I create function and create some inputs and outputs it gives me an error:

      Error MainProgram testFunction 0 1 there is not declared any retval output for function 'thermometer'. FBD functions have to have retval explicitly declared

      Error cannot find type unresolved

      I don't know what to do. How to build it. There are no other options what I can setup.

      Other issue is when I delete something from this function it is ok, but when I delete other variable I have this error:

      Value cannot be null.
      Parameter name:source.

      posted in Mervis
      M
      Martin Trojan
    • Control RO with Direct switch by Mervis

      I have controled light on RO, it is connected with wall button with DirectSwitch functionality. I want control RO from Mervis as well but it does not work. How can I do it?

      posted in Mervis
      M
      Martin Trojan
    • RE: HMI login issue

      Hi Martin,

      yes I have tried everything:
      0_1539072787016_b99f15d9-c74d-4d48-9e20-930c1efdea7c-image.png

      posted in Mervis
      M
      Martin Trojan
    • HMI login issue

      Hello, I am making development on my HMI and suddenly login box appeared and login credentials what I can see in Mervis IDE(in PLC>User rights) are not valid, everytime I get 'Wrong username or password' error message. I did not done any change regarding security/login. I have tried to delete whole HMI project and created a dummy one but did not help. Any suggestions?

      posted in Mervis
      M
      Martin Trojan
    • RE: UniPian Neuron OS on UniPi 1.1

      Ok. When you write it like that it makes sence :). I have readed UniPi 1st generation -> This is the same image as for Neurons -> Click -> Choosed image only with Evok. Opensource images was not familiar for me as I was looking for prepared image. Maybe try to make it more obvious and place guide from git hub on the same page, to make it consistent. Anyway thank you for your reply.

      posted in Official API - Evok
      M
      Martin Trojan
    • UniPian Neuron OS on UniPi 1.1

      Hi I have installed UniPian Neuron OS(UniPian-Neuron-OS-2018-06-15-BETA) based on the instructions. I have waited 10 min, then tried to reboot. I van see only 1wire devices. No Inputs or Outputs. Where is the issue?

      posted in Official API - Evok
      M
      Martin Trojan
    • RE: Beta 1.7 root-password

      @martin-kudláček Thank you for quick response. Please send me the link.

      posted in Mervis
      M
      Martin Trojan
    • RE: Beta 1.7 root-password

      I have tried UniPi-Mervis-OS-2018-08-03_v1.7-BETA.zip and MervisIDE_x86_58620.msi and I were not able to attach it by UDP. There were some error that it is incompatible. The reason why I am using oldMervisIDE is that there is no other.

      posted in Mervis
      M
      Martin Trojan
    • RE: Beta 1.7 root-password

      Hi, can I use betas with available Mervis IDE? And how?

      posted in Mervis
      M
      Martin Trojan
    • RE: evok not working

      In this case I am running this on UNIPI 1.1. But I have also Neuron and it works fine.

      I have not checked out git. I have used this instructions from https://evok-4.api-docs.io/1.04/ :

      sudo su
      wget https://github.com/UniPiTechnology/evok/archive/master.zip
      unzip master.zip
      cd evok-master
      bash install-evok.sh
      
      posted in Official API - Evok
      M
      Martin Trojan
    • RE: evok not working

      Hello, no I am using Evok Web GUI:

      0_1523010758752_Výstřižek.PNG

      Maybe it is because I am using now some master version and in newer it is fixed.

      How can I find out what version I am using? Is there any command?

      How can I upgrade to newer version?

      posted in Official API - Evok
      M
      Martin Trojan
    • RE: evok not working

      There was some issue with my comment, so I have fixed.

      1. After installaition I have tried Web GUI and it was empty, I have tried to stop it and run it manually as described in documentation.

      NO, I cant change it in web GUI.

      posted in Official API - Evok
      M
      Martin Trojan
    • RE: evok not working

      My installation flow attemts were

      1. OS Stretch -> NodeRed -> Evok v2.0.3a(with some Tornado error, that socket was occupied) -> I spend time to investigate what can be on port 80 or 8080, but I did not find it
      2. new OS Stretch -> Evok v2.0.3 (I thought it is higher than v2.0.3a) -> error as described above -> uninstall Evok v2.0.3 -> try install Evok Master as described in documentation on https://evok-4.api-docs.io/1.04/ (this worked) -> NodeRed

      Now everything is working but in this master version I am not able to set Alias as I have error (Operation failed with the following error: set() got an unexpected keyword argument 'alias')

      • How can I update Evok? Do I need to uninstall and install new version?
      • Is it possible to add information in the Evok Web which version is installed? Or is there any other way how to find it?
      posted in Official API - Evok
      M
      Martin Trojan
    • RE: evok not working

      Hello, I have UNIPI 1.x version. I have installed fresh OS Stretch, installed last released verion of Evok 2.0.3a as in description on GitHub. There were issue with Tornado, I was not able to run it. Then I made again new fresh install of Rasbian and install Evok 2.0.3. It gives me this error when run it manually:

      sudo python /opt/evok/evok.py
      Traceback (most recent call last):
      File "/opt/evok/evok.py", line 37, in <module>
      import config
      File "/opt/evok/config.py", line 5, in <module>
      import neuron
      File "/opt/evok/neuron.py", line 12, in <module>
      from modbusclient_tornado import ModbusClientProtocol, StartClient
      File "/opt/evok/modbusclient_tornado.py", line 14, in <module>
      from tornado.concurrent import TracebackFuture
      ImportError: cannot import name TracebackFuture.

      During installation I have noticed this error:

      modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.9.80-v7+/modules.dep.bin'
      modprobe: FATAL: Module i2c-dev not found in directory /lib/modules/4.9.80-v7+
      Hit:1 http://archive.raspberrypi.org/debian stretch InRelease
      Get:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
      Get:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB]

      Then I have uninstalled Evok 2.0.3 (btw. command in documentation on GitHub doesnt work as the script missed permissions to run. I was able to run in only under sudo su and add permission. Can you also fix it in documentation?)

      As a last one I have installed master version as in documentation on https://evok-4.api-docs.io/1.04/ and it works. But I am missing some functionality as use Alias for devices.

      Does it means that https://evok-4.api-docs.io/1.04/ is domunetation for 1.04 version?

      Can you some how fix messy documentation and help me to install newer version of Evok?

      posted in Official API - Evok
      M
      Martin Trojan
    • RE: Similar error to topic/553/evok-do-not-read-device-configuration

      My Neuron don't have an internet connection. Is it possible to install it on normal RaspberryPi with internet connection and then move the sd card to Neuron. Or during instalation is made some hw recognition and base on that some adjustment and configuration?

      posted in Official API - Evok
      M
      Martin Trojan