@Martin-Kudláček any progress?
Posts made by 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?
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.
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?
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.
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
RE: evok not working
My installation flow attemts were
- 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
- 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?
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>
File "/opt/evok/config.py", line 5, in <module>
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?
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?