• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. noelvaes
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    noelvaes

    @noelvaes

    Java Trainer & Consultant

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website httsp://www.noelvaes.eu Location Belgium

    noelvaes Unfollow Follow

    Latest posts made by noelvaes

    • RE: Bullseye and evok running?

      Is Evok 2.4.24 fully compatible with Bullseye?

      I have one RPI with headless Bullseye and on that one everything seems to work.

      I have another RPI with Bullseye and Lightdm on top and on that one relay state change with JSON POST does not work.

      Example:

      POST http://localhost:8080/json/relay/1
      Content-Type: application/json

      {
      "value": "1"
      }

      Result:

      HTTP/1.1 200 OK
      Content-Length: 44
      Access-Control-Allow-Methods: POST, GET, OPTIONS
      Server: TornadoServer/4.5.3
      Date: Wed, 15 Feb 2023 09:48:09 GMT
      Access-Control-Allow-Origin: *
      Access-Control-Allow-Headers: x-requested-with
      Content-Type: application/json; charset=UTF-8

      {
      "status": "success",
      "data": {
      "result": 0
      }
      }

      The result is "0" and the relay is not switching.

      Any idea?

      Best regards,

      Noël Vaes

      posted in Official EVOK API
      N
      noelvaes
    • Modbus TCP (unipitcp) not working on Neuron with Raspberry OS

      The unipi_tcp_server reports the following error:

      sudo /opt/unipi/tools/unipi_tcp_server -p 502 -l 127.0.0.1 --verbose --check-firmware
      
      ARMINIT: Cannot open device /dev/unipispi
      ARMINIT: Cannot open device /dev/unipispi
      ARMINIT: Cannot open device /dev/unipispi
      UniPi TCP Modbus Server: Listening Connection Established RET:3
      poll timeout = -1[ms]
      Starting primary loop
      

      When trying to communicate with the server, errors are reported: Error reading (using EasyModbus Java library).

      This is the environment:

      I installed raspios_lite_arm64-2020-08-24 on Neuron S103 (RPI4).
      The image is available here: https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2020-08-24/2020-08-20-raspios-buster-arm64-lite.zip

      Next I added the Unipi repository the recommended way:

      curl https://repo.unipi.technology/debian/README.apt | bash
      

      Subsequently I installed the following modules:

      sudo apt install -y unipi-kernel-modules unipi-firmware unipi-firmware-tools unipi-modbus-tools
      

      Finally I run

      sudo systemctl stop unipitcp
      sudo /opt/unipi/tools/unipi_tcp_server -p 502 -l 127.0.0.1 --verbose --check-firmware
      
      posted in UniPi Neuron Series
      N
      noelvaes