• How to control relay extension board via EVOK?

    2
    0 Votes
    2 Posts
    834 Views
    M
    To make extension relay module (EMO-R8) working with EVOK below steps needs to be done: Open /etc/evok.conf file Uncomment relays assigned to EMO-R8: Each this line begins with a character ; This character must be removed for all lines related to the configuration for EMO-R8: ; ;Example of 8xRelay extension module addon (EMO-R8) on address 0x21 ; [MCP_2] i2cbus = 1 address = 0x21 [RELAY_9] mcp = 2 pin = 7 [RELAY_10] mcp = 2 pin = 6 [RELAY_11] mcp = 2 pin = 5 [RELAY_12] mcp = 2 pin = 4 [RELAY_13] mcp = 2 pin = 3 [RELAY_14] mcp = 2 pin = 2 [RELAY_15] mcp = 2 pin = 1 [RELAY_16] mcp = 2 pin = 0 Save /etc/evok.conf file Restart evok
  • Modbus CRC errors, rs485 extensions on Neuron

    5
    1
    0 Votes
    5 Posts
    2k Views
    Martin KudláčekM
    Hello @Achilleas-Kotsis, the issue is not with the unipi-kernel-module, but with the unipi-firmware 5.52. We have removed it from our repository and advise to downgrade to 5.50 (and flash it to the HW via /opt/unipi/tools/fwspi). We are working on the fix. Thank you again for reporting this issue and have a nice day, Martin
  • Reading and sending data using UART via EVOK API

    9
    0 Votes
    9 Posts
    2k Views
    M
    I made it work. I enabled Serial in RaspberryPi Setting and and used /dev/serial0 and it worked. Thx @martin_triska for help!
  • Accessing I2C devices via EVOK API

    5
    0 Votes
    5 Posts
    1k Views
    M
    @martin_triska, thx for a tip. Indeed it worked quite well:)
  • Curl works, Python http.client.request not fully

    3
    0 Votes
    3 Posts
    2k Views
    M
    Thank you for the answer! I am using the websocket API now, as this suits my requirements the most. Have a nice day!
  • Read 1wire temp sensor on Axon

    2
    0 Votes
    2 Posts
    739 Views
    No one has replied
  • installation of Evok on actual raspian fails

    4
    0 Votes
    4 Posts
    1k Views
    Martin KudláčekM
    Hello @burnscm, thanks to you, we have discovered that the package unipi-kernel-modules v1.54 for Neuron has been incorrectly built. It is now fixed and new OpensourceOS image has been built. I recommend to download the said image (https://kb.unipi.technology/_media/files:software:os-images:neuron-opensource-os_image-20210105.0.zip) and do apt update && apt install -y evok. Thank you for understanding and have a nice day, Martin
  • "time"-value for Digital Input on unipi?

    2
    0 Votes
    2 Posts
    696 Views
    M
    Hello @Lasse , this value is Unipi 1.1 specific and comes from pigpio subsystem tick value. From documentation: tick: the number of microseconds since system boot. It wraps around after 1h12m
  • Extension xG18 on a Neuron failed, missing xG18.yaml?

    8
    1
    0 Votes
    8 Posts
    2k Views
    S
    So. Now I solved the problem: After a sudo apt-get remove --purge evok && sudo apt-get update && sudo apt-get upgrade && sudo apt-get install evok and with this new configuration in the evok.conf I got it: [EXTENSION_1] global_id = 2 ; Mandatory, REQUIRED TO BE UNIQUE device_name = xG18 ; Mandatory modbus_uart_port = /dev/extcomm/0/0 ; Mandatory ;neuron_uart_circuit = 1_01 ; Optional allow_register_access = True ; Optional address = 1 ; Optional, scan_frequency = 10 ; Optional, scan_enabled = True ; Optional, ;baud_rate = 19200 ; Optional ;parity = N ; Optional, ;stop_bits = 1 ; Optional
  • 0 Votes
    6 Posts
    2k Views
    M
    Hello @Achilleas-Kotsis, I have tried to upgrade the system from a few older images (also with DKMS drivers) and this kind of behaviour did not occur. The issue seems to be coupled with the filesystem write operation and the following sync (should be invoked by umount command in the script). Moreover, the .inc file should be updated formerly within the upgrade process (as the step of unipi-common package postinst script). Can you retry the whole process with a new uSD card? This kind of problems sometimes occurs on corrupted cards as the write operation is not fully synced in fact.
  • Where is the modbus register map for Unipi 1.1 ?

    3
    0 Votes
    3 Posts
    876 Views
    K
    You take any cheap 20$ China Raspberry hat and there is a 2-Page manual (in bad english) that gets you up toggling your inputs and outputs in like 20 minutes. I have now been digging for at least a solid 5 to 8 hours in the unorganized pile of stuff available here. Best I have found out now is Unipi 1.1 is outdated and abondoned. Existing docs do not mention all the things that are unimplemented. I will now just throw away the board and not sink any more time in it.
  • Indoor Air Quality (IAQ) sensor modbus connection not working

    4
    3
    0 Votes
    4 Posts
    1k Views
    M
    Hello @Balardo, you are right - there was a bug in schema validation for /json/all endpoint. It should be fixed in the next release. According to the direct Modbus unit register access - you can use e.g. http://<your IP>/json/unit_register/UART_15_2_42 to get the ambient_light register: {"status": "success", "data": {"name": "ambient_light", "value": 122.51519775390625, "glob_dev_id": 2, "dev": "unit_register", "circuit": "UART_15_2_42", "unit": "lux"}} Register values has been also added to the web control panel: [image: 01638744-d5ad-43e4-bc7f-e98cca7e5678-image.png] You can test it by install the test version: sudo su apt update && apt install evok=2.3.3.test.20200923165635*
  • filter websocket input in order to get all devices except temp

    3
    0 Votes
    3 Posts
    1k Views
    J
    one important thing at the end: as soon as you apply a filter the received msg.payload from websocket comes in an array. this means: before the applied filter you could your device with msg.payload.dev with applied filter you must read the device as msg.payload[0].dev !!!
  • Extension xG18 on unipi 1.1

    2
    0 Votes
    2 Posts
    800 Views
    Martin KudláčekM
    Hello @juntiedt, the Unipi 1.1 doesn't have RS485 interface, so you need to use some RS485/USB converter. The latest Evok has support for xG18, you just need to set it in the /etc/evok.conf as a normal Unipi Extension.
  • alias in evok

    2
    1
    0 Votes
    2 Posts
    880 Views
    M
    Hello @ktanghe, unfortunately, on the UniPi 1.1 series (including Lite version) this feature is not supported now. We will consider adding the feature in the next version of Evok. You should prefer a user-naming (aliasing, labelling...) of selected I/Os in the upper-layer software instead of the API tool.
  • nginx not running

    5
    0 Votes
    5 Posts
    2k Views
    J
    Hi Martin, thanks for your help and support. All running again! regards Hannes
  • unipi-kernel-modules-dkms does not generate modules on upgrade

    16
    0 Votes
    16 Posts
    5k Views
    wbm smartW
    Thank you
  • List Modbus queue on AXON

    2
    0 Votes
    2 Posts
    1k Views
    Martin KudláčekM
    Hello @beergeek, yes it is. Start the debugging mode, switch the bottom panel to "Port monitor", select the channel you want and press "play". You will see the Modbus requests and (hopefully) some responses: [image: 0_1578664729671_2a85c95f-9839-4d33-8394-a18284b5bf56-image.png]
  • unipi 1.1, Raspberry Pi 4, buster, evok, node-red

    3
    0 Votes
    3 Posts
    2k Views
    J
    Node-Red on Raspi 4 works perfect - no problems at all
  • Build-In 1Wire does not work!

    1
    0 Votes
    1 Posts
    816 Views
    No one has replied