• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. christophebler
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    christophebler

    @christophebler

    0
    Reputation
    503
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    christophebler Unfollow Follow

    Latest posts made by christophebler

    • RE: Error while changing Analog input State

      Thank you a lot for your help.
      Reinstalling the latest version vorm github EVOK version worked fine.

      kind regards

      Christoph

      posted in Official EVOK API
      C
      christophebler
    • Error while changing Analog input State

      Hello

      We are triyng to set up

      We are trying to set up a UniPi Neuron S103 with a Sx50 Extension in mA Mode.
      Setting the state over the configuration webpage does return an error.

      0_1520331332429_Unbenannt.PNG

      So we tried to setup over curl with the same error message.

       curl --request POST   --url http://127.0.0.1:8080/json/analoginput/UART_15_2_01   --header 'content-type: application/json'  
      --data '{"mode":"Current", "range":"20.0"}
      
      {"status": "success", "data": {"errors": "integer out of range for 'H' format code"}}
      

      Do you have a idea how to fix this?

      Christoph

      posted in Official EVOK API
      C
      christophebler
    • RE: Evok do not read device configuration

      Thank you for your fast Response.

      I think the version number 2.4 was a misunderstanding. I was talking about Config version 2.4. my fault.

      I have solved this problem by installing a new OS Raspbian Stretch 2017-11-29. And afterword’s installed all my needed Software.

      Now everything works as designed

      Thank you

      Christoph

      posted in Official EVOK API
      C
      christophebler
    • Evok do not read device configuration

      Hi !
      We Are using a UniPi Neuron S103. We have upgraded our EVOK installation to the version 2.4. First We Uninstalled the old version ant afterword’s installed the new version.

      If we open the UniPi Control panel there is No Device configuration loaded.

      0_1517394817019_upip.JPG

      We also tried to start evok manual using :

      sudo systemctl stop evok.service
      sudo python /opt/evok/evok.py
      
      

      this results in the Following Error message

      [I 180131 10:36:52 config:78] YAML Definition loaded: L51x.yaml, type: 3, definition count 14
      [I 180131 10:36:52 config:78] YAML Definition loaded: M10x.yaml, type: 3, definition count 15
      [I 180131 10:36:52 config:78] YAML Definition loaded: xS10.yaml, type: 3, definition count 16
      [I 180131 10:36:52 config:78] YAML Definition loaded: evok-alias.yaml, type: 2, definition count 0
      [I 180131 10:36:52 evok:1703] HTTP server listening on port: 8080
      [I 180131 10:36:53 modbusclient_tornado:125] SPI client started
      [I 180131 10:36:53 neuron:173] Reading SPI boards
      [I 180131 10:36:53 neuron:574] NO NEURON EEPROM DATA DETECTED, EXITING
      [I 180131 10:36:53 neuron:575] PLEASE USE A FRESH EVOK IMAGE, OR ENABLE I2C, I2C-DEV AND THE EEPROM OVERLAY
      

      Dou you have any idea what is going on there ? Do I have a wrong firmware version ?

      Thanks for your help

      Christoph

      posted in Official EVOK API
      C
      christophebler
    • RE: Acsess Input Data over Modbus RTU

      Hello @tomas_hora

      Thank you for your fast response.

      Currently am using the newest Raspian Stretch immage from the official Homepage.
      I have cloned the Modbus TCP overlay from github and istalled it.

      I am able to controll the onbord IO of th Neuron S103 using the modbus TCP server.

      If I run: sudo ls /dev/extcomm/1/ I get 0 as a resault so i assume that the tcp overlay is working.

      pi@Device:~ $ sudo ls /dev/extcomm/1
      0
      pi@Device:~ $ sudo ls /dev/extcomm/1/0
      /dev/extcomm/1/0
      

      if pymodbus is not the best choice what woud you suggest instead ?
      I woud Prefer python or c / c++ as a Programmin language.

      kind regards

      Christoph Ebler

      posted in UniPi Extension Modules (Axon & Neuron)
      C
      christophebler
    • Acsess Input Data over Modbus RTU

      Hi
      I am trying to setup my UniPi Neuron xS50 using a Neuron S103 as main CPU.

      Here are the steps that I have performed:

      1. Install pymodbus
      2. Connect the RS485 lines of s103 and xS50
      3. Turn on the bus terminator on both devices.
      4. Created the following python script
      5. Set Adress to 0 and rebooted both devices
        
      from pymodbus.client.sync import ModbusSerialClient
      c = ModbusSerialClient(method = 'rtu',port ='/dev/extcomm/1/0',baudrate=19200)
      if 1:
          rs =  c.read_holding_registers(2, 1, unit=0)
          x = float(rs.getRegister(0))
          print x
          c.close()
      

      If I execute this program I get the following error

      File "/home/pi/.local/lib/python2.7/site-packages/pymodbus/client/sync.py", line 84, in execute
        raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
      pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[rtu baud[19200]]
      

      Does anybody know what I am doing wrong?
      Kind regards
      Christoph Ebler

      posted in UniPi Extension Modules (Axon & Neuron)
      C
      christophebler