• one wire reconnect failed after aprox. one week

    1
    0 Votes
    1 Posts
    769 Views
    No one has replied
  • Latest Update: Issues with unipi_tcp_server and unipispi

    2
    0 Votes
    2 Posts
    1k Views
    K
    Hi, I fixed it by apt install neuron-kernel It uninstalled dmks modules- I am unsure if this is a proper solution. At least it seems to work now. Greetings /KNEBB
  • load average over 1

    3
    0 Votes
    3 Posts
    2k Views
    T
    Hi @Martin-Kudláček , Sorry to wake this one up again. But i hope you can reassure me a little bit more. This high load kind of freaks me out, so i would really like to put a finger on whats happening I have a lot of Neurons running (at least 15+) with very low load averages, always under 0,10 I also have a lot of (newer) Neurons running (some 20+) with very high load averages, like @cristian mentioned, way above 1,20 I haven't got influxdb running on those, and i'm not doing weird things as far as i know. The only obvious difference I can find is that in the low-load unipi's ther's still the old drivers called NEURONSPI, and in the high-load unipi's they are called UNIPISPI. I'm not sure this is the culprit, but it seems that the OS version is not really an issue I have Debian stretch on the older ones, with low load, but i have also stretch installs that show the high load. All unipi's with Buster have the high load for sure, but they're all UNIPISPI according to dmesg Is there anything you are aware of that justifies the load difference between UNIPISPI and NEURONSPI? Or do i have to look further... Or should i really not worry about this? Most of these unipi's are in production environments long drives away, so if there's something to be fixed i would try to get that done before they break... Thanks a lot, Tony, Fireware Netherlands ![alt text](![image url]([image: 0_1576594527207_IMAGE 2019-12-17 15:55:04.jpg] image url))
  • EVOK.conf

    2
    0 Votes
    2 Posts
    1k Views
    M
    Hello @cvrcejir, this item is associated with a Modbus extension. The extension can contain "emulated" UART-Over-Modbus port with this index. However, there is no such kind of extension currently available and therefore this value has no meaning now.
  • Axon S605 upgrades

    2
    0 Votes
    2 Posts
    1k Views
    Martin KudláčekM
    Hi @martijn-hemeryck, some of the dependencies are quite tricky and we weren't able to handle the transitions between new package names gracefully. The repo is reachable, however the URL has to end with slash: https://repo.unipi.technology/debian/ Best regards, Martin
  • Neuron M103 + xS10 no RS485 connection

    2
    1
    0 Votes
    2 Posts
    1k Views
    L
    I´m replying to myself :) I have never worked with Linux, so I search little bit and found this video: https://www.youtube.com/watch?v=T20jXu7rDCA Based on it, I understood how to solve my problem. I have edited evok.conf by nano text editor, where it is necessary to deleted all " ; " around [Extension 1] root@M103_2-sn465:~# cd /etc root@M103_2-sn465:/etc# nano evok.conf GNU nano 2.7.4 File: evok.conf #!!! Do not use '#' for comments !!! [MAIN] ; !!! ALL MAIN SECTION OPTIONS ARE MANDATORY !!! config_version = 2.5 ; Configuration file version, DO NOT CHANGE! use_schema_verification = False ; Enabling this will deny any requests that do not match the JSON Schema; NO$ log_level = ERROR ; Minimum severity of messages to be logged; one of INFO, DEBUG, WAR$ log_file = /var/log/evok.log ; Log file to use; will be cleared on boot port = 8080 ; !!! Internal API port - only change if you are cer$ webhook_enabled = False ; Enables webhook notification - see e.g. https://sendgrid.com/blog/$ webhook_address = http://127.0.0.1:80 ; Put your server endpoint address here (e.g. http://123.123.123.123:/wh ) webhook_device_mask = ["input","wd"] ; List of device types to notify on (written as a JSON list) - adding AI will genera$ webhook_complex_events = False ; EVOK will send POST requests with the same data as WebSocket, rather than $ wifi_control_enabled = False ; !!! REQUIRES THE UNIPIAP WIFI CONTROLLER TO BE INSTALLED !!! Will allow ev$ soap_server_enabled = False ; Enables the simple SOAP server; use only if you need the functiona$ soap_server_port = 8081 ; !!! IF SOAP SERVER IS ENABLED, THIS PORT NEEDS TO BE UNIQUE (i.e. $ [NEURON_1] global_id = 1 ; Mandatory, REQUIRED TO BE UNIQUE allow_register_access = False ; Optional, False default scan_frequency = 10 ; Optional, 10 default, scanning frequency in [Hz] scan_enabled = True ; Optional, True default ; Below you can find examples for connecting devices over UART; first example is a Neuron extension while the second is a cu$ ; Devices sharing a port use the port settings of the first device on that port (baud rate, parity, stop bits) ; !!! Note that device_name has to match a filename in the /etc/hw_definitions directory !!! See /etc/hw_definitions/CUSTOM $ [EXTENSION_1] global_id = 2 ; Mandatory, REQUIRED TO BE UNIQUE device_name = xS10 ; Mandatory modbus_uart_port = /dev/extcomm/0/0 ; Mandatory neuron_uart_circuit = 1_01 ; Optional, allows associating extensions with specific Neuron UART-$ allow_register_access = True ; Optional, False default, is mandatory with third-party devices address = 1 ; Optional, 1 default scan_frequency = 10 ; Optional, 10 default, scanning frequency in [Hz] scan_enabled = True ; Optional, True default ; Note that the following settings will be inherited by other devices sharing the same port, i.e. /dev/extcomm/0/0 baud_rate = 19200 ; Optional, NEEDS UNIPI IMAGE TO WORK WITH UNIPI SERIAL PORT$ parity = N ; Optional, NEEDS UNIPI IMAGE TO WORK WITH UNIPI SER$ stop_bits = 1 ; Optional, NEEDS UNIPI IMAGE TO WORK WITH UNIPI SERIAL PORT$ ;[EXTENSION_2] ;global_id = 3 ; Mandatory, REQUIRED TO BE UNIQUE ;device_name = CUSTOM MODBUS DEVICE ; Mandatory ;modbus_uart_port = /dev/extcomm/0/0 ; Mandatory ;neuron_uart_circuit = 1_01 ; Optional, allows associating extensions with specific Neuron UART-$ ;allow_register_access = True ; Mandatory with third-party devices ;address = 1 ; Optional, 15 default ;scan_frequency = 2 ; Optional, 1 default, scanning frequency in [Hz] ;scan_enabled = True ; Optional, True default [OWBUS_1] owbus = /dev/i2c-1 --i2c=/dev/i2c-1:ALL ; Mandatory, scanned bus (--i2c=/dev/i2c-1:ALL or localhost:2122 or 'u' for USB dong$ interval = 3 ; Mandatory, [s] length of sensor reading scan_interval = 300 ; Mandatory, [s] How often the scanning is done ; See below for 1Wire extension module configuration ; Example for the 1W-4R/4DI extension module, 1W-8R is almost the same, only with inputs instead of relays ; ; - Map a new 1Wire sensor with the appropriate address, type and interval ; - The syntax can be either SENSOR or 1WDEVICE ; - Setting the correct reading interval is crucial to achieve ideal performance; the default interval is 15s ; [ Read 99 lines ] ^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos ^Y Prev Page M-\ First Line ^X Exit ^R Read File ^\ Replace ^U Uncut Text ^T To Spell ^_ Go To Line ^V Next Page M-/ Last Line Than: Ctrl o, Enter, Ctrl x reboot After reboot , Evok and Modbus started correctly.
  • Unipi Control Panel password

    4
    1
    0 Votes
    4 Posts
    2k Views
    M
    Hello @matrixratrix, the control panel is hosted by the Nginx webserver. You can simply remove the "evok" symlink from the /etc/nginx/sites-enabled/ directory. After doing this, you have to restart (or disable) the webserver to reflect this change: sudo su systemctl restart nginx
  • 1Wire multiple sensors

    2
    0 Votes
    2 Posts
    1k Views
    S
    Problem solved, seemed I got one sensor on bus damaged on data wire and this caused this problem. Best Jiri.
  • After upgrading the M503, circuit 1 completely disappeared.

    11
    0 Votes
    11 Posts
    4k Views
    Vesa KauppinenV
    Hi @martin-kudláček ! Did you receive my email? Br, Vesa
  • EVOK sends but is not receiving

    4
    0 Votes
    4 Posts
    2k Views
    M
    Hello @Pavelf, if I understand you, the problem with logical states synchronization occurs during the same GPIOs toggling from more than one different applications/libraries simultaneously (Evok, pigpio, FHEM, WiringPi...). The Evok always returns internally-cached values which can lead to described behaviour under certain circumstances. Also, the pigpio internally used by the Evok has been upgraded recently. I will check this more thoroughly and let you know.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    27 Views
    No one has replied
  • evok service fails to start after a reboot

    6
    0 Votes
    6 Posts
    2k Views
    M
    Hello @stephane-clavel, it seems you have not some kernel modules loaded. Try lsmod command - you should see unipi, at24 and i2c_dev modules loaded. If not, follow the steps below. As the first step, try to reinstall appropriate package (assuming you have the unipi repository already sourced): sudo su apt-get install unipi-kernel-modules As the second step, reboot the controller.
  • Setup evok on clean and updated 2019-04-08-raspbian-stretch-lite.img

    6
    0 Votes
    6 Posts
    3k Views
    M
    You can try to install unipi-kernel-modules package containing precompiled modules (while the unipi-kernel-modules-dkms package is removed automatically). sudo su apt-get update apt-get install unipi-kernel-modules Current version of the package is 1.32.1.xxxx
  • Multiple xS50 on a L513 (RS485)

    29
    0 Votes
    29 Posts
    18k Views
    T
    @boy-lenssen Yeah, that's something we are working on to protect bricking the units during the FW upgrade process. If the RUN led is dead, send it to us so we can reflash the FW.
  • Reading analog input values fast on Axon M505 (under 5ms)

    6
    0 Votes
    6 Posts
    2k Views
    T
    Hi again and thanks for the help, I've used ModbusTCP now and the input / output rates are much better, if someone's interested: Reading only = 2,5 - 7,4 ms Reading and Writing to another pin = 7 - 15 ms Reading, Processing the measures, and Writing to another pin = 6 - 18 ms I used Analog Input 2.1 / 2.2 and Analog Output 2.1 for my application
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Reinstalling EVOK on a new RPi Image

    2
    0 Votes
    2 Posts
    1k Views
    M
    Hello @HarishKumar, sorry for the late reply. Evok in version 1 is no longer supported (didn't you mean Evok-mini?). The current version of Evok is 2.1.x. As the first step, you should try to download and install the latest version via Debian package subsystem: apt-get update apt-get install evok Or directly: wget https://repo.unipi.technology/debian/pool/e/evok_2.1.2_armhf.deb dpkg -i evok_2.1.2_armhf.deb
  • All ports disappear via webinterface after EVOK update on L203

    9
    1
    0 Votes
    9 Posts
    4k Views
    T
    Right now it's best to use the install method starting from Raspbian (but currently only Raspbian Stretch). We are currently working on image build system which helps us to get faster releases of images and application updates (debian packages).
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Can't access relays from 2_01 to 2_05 on L513

    6
    0 Votes
    6 Posts
    2k Views
    Martin KudláčekM
    Hello @valtert, the description on the page is misleading. The real situation is this: Analog output on Group 1 is capable of outputing 0-10V, 0-20mA and measuring resistance up to 100kOhm Analog outputs on Group 2 and 3 and on the extensions are only capable of outputing 0-10V Same goes for Neuron and Axon product line. If you need second AO in current mode for your project, you have two options: add a second PLC as a "dumb" extension and communicate with the master PLC via ModbusRTU, ModbusTCP or SSCP purchase a 3rd party ModbusRTU IO module, such as this: https://www.advantech.com/products/gf-5vtd/adam-4024/mod_5e18f39b-38ef-4033-98f9-1ede917139ee I am sorry for the incovenience, we will fix the product description shortly. Best regards, Martin