• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Boy Lenssen
    3. Posts
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 59
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Boy Lenssen

    • RE: Multiple xS50 on a L513 (RS485)

      Thanks! I was able to flash the device using the FW update tool and now it says it v5.36 on it.

      Too bad I'm not able to try it out now, as on my test Unipi I accidentally plugged in the power supply on the RS485 port and now I get

      root@L203-sn81:/home/pi# /opt/unipi-bin/fwserial -p /dev/extcomm/0/0
      Read version failed: Connection timed out
      

      Will need to get a new Neuron for this.
      Thanks for the help! :)

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: Multiple xS50 on a L513 (RS485)

      So I tried with an official Unipian image, but still same problem. Some security issue (gpg: no valid OpenPGP data found). Please help @tomas_hora @Martin-Kudláček

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: Multiple xS50 on a L513 (RS485)

      Ok, took a while before I had time to do this, but now the downloads don't seem to work anymore, check below (btw, I'm using an own build image, not the Neuron image):

      root@L203-sn81:/home/pi# wget -O - https://files.unipi.technology/debian/unipi_pub.gpg | apt-key add\
      > ^C
      root@L203-sn81:/home/pi# wget -O - https://files.unipi.technology/debian/unipi_pub.gpg | apt-key add
      --2019-09-12 08:05:48--  https://files.unipi.technology/debian/unipi_pub.gpg
      Resolving files.unipi.technology (files.unipi.technology)... 86.49.170.141
      Connecting to files.unipi.technology (files.unipi.technology)|86.49.170.141|:443... connected.
      HTTP request sent, awaiting response... 302 Found
      Location: https://kb.unipi.technology/debian/unipi_pub.gpg [following]
      --2019-09-12 08:05:49--  https://kb.unipi.technology/debian/unipi_pub.gpg
      Resolving kb.unipi.technology (kb.unipi.technology)... 86.49.170.141
      Connecting to kb.unipi.technology (kb.unipi.technology)|86.49.170.141|:443... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: unspecified [text/html]
      Saving to: 'STDOUT'
      
      -                                                     [ <=>                                                                                                       ]  13.43K  --.-KB/s    in 0.03s   
      
      2019-09-12 08:05:49 (385 KB/s) - written to stdout [13757]
      
      gpg: no valid OpenPGP data found.
      root@L203-sn81:/home/pi# apt update
      Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
      Get:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
      Get:3 http://raspbian.raspberrypi.org/raspbian stretch/contrib Sources [75.2 kB]      
      Get:5 http://raspbian.raspberrypi.org/raspbian stretch/non-free Sources [125 kB]                            
      Get:6 http://archive.raspberrypi.org/debian stretch/main armhf Packages [221 kB]                                                         
      Get:7 http://raspbian.raspberrypi.org/raspbian stretch/main Sources [9721 kB]                                                            
      Get:8 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [45.0 kB]
      Err:4 https://kb.unipi.technology/debian stretch InRelease  
        Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      Get:9 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB]
      Get:10 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages [56.9 kB]                                                                                                            
      Get:11 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages [95.5 kB]                                                                                                           
      Fetched 22.1 MB in 18s (1192 kB/s)                                                                                                                                                                  
      Reading package lists... Done
      E: Failed to fetch https://files.unipi.technology/debian/dists/stretch/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      E: Some index files failed to download. They have been ignored, or old ones used instead.
      root@L203-sn81:/home/pi# apt install -y neuron-firmware neuron-modbus-tools
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      Note, selecting 'unipi-modbus-tools' instead of 'neuron-modbus-tools'
      E: Unable to locate package neuron-firmware
      root@L203-sn81:/home/pi# /opt/neuron-bin/fwserial -p /dev/extcomm/0/0 
      bash: /opt/neuron-bin/fwserial: No such file or directory
      
      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: Websocket connection dropping

      It looks like reconnecting when connection drops seems to work for my clients.

      I have the system running here now for around an hour now and the socketconnection is still up. So weird that I don't see the issue here. There has to be some difference and I'll need to investigate further.

      You say the connection discounnects after a certain time, but why don't I see this happening?

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: Websocket connection dropping

      @tomasknot Hi, thanks for you response!

      I have the system running on a location, used to control an escape room. I never saw the issue there that the connection was lost and there is no communication happening sometimes for 10 minutes. Now suddenly I think I'm seeing this connection break. Also, at startup, one of the Neuron (L203) lights was blinking red instead of solid green (well, flashing very fast every 2 seconds, the operative mode). Don't know what that is.

      I now added code that if the socket connection with Evok disconnects, it directly reconnects, as I need to be able to listen to input changes...

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: Websocket connection dropping

      @TomasKnot I have one customer where I suspect the websocketconnection to break.

      What is the timeout on the websocket?

      Is it also possible that the websocket is not alive yet when the system is already started? Because the customer also had it right after booting the system. I have a local application running that connects to the websocket as soon as linux auto-logs in. Could it be that it connects too soon? I might have to add a check on disconnect, to do a reconnect I think

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: How to add xS40 to Neuron L203 using custom software

      Hi @martin-kudláček ,

      sorry for the superlate response! I went on holiday the day after my last post.

      I will try to do the upgrade myself and otherwise we can still do a Teamviewer session. will let you know!

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: How to add xS40 to Neuron L203 using custom software

      @martin-kudláček Hey Martin, I got me one of those things :)

      I connected it to the Extension, set the device id to 5, connected and then pressed the 'scan' button.

      It shows this error right away: https://imgur.com/a/mVWeGa7

      In the mean time, the Rx light flashes a few times and then it stays on.

      Edit: hmm, I've set the pins to be port 15 and now both lights are flashing intermediately. That seems to be right...

      weird that it doesn't work on 5...

      edit 2: I've toggle the dipswitches again to be set to 5, but still doesn't work. I've set the slave address in the qModMaster to 15 and then it works. It looks like it ignores the dipswitches. I've powercycled the device, so it should take the dip switches in consideration...

      edit 3: I'm able to toggle the relays be sending value between 0 and 127 on 'write single register'. Device seems to work fine, but only on slave address 15 then

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: How to add xS40 to Neuron L203 using custom software

      @martin-kudláček I swapped the Neuron, the cables, I used your SD card, I've set the dip switches like you said, nothing works. So I'm starting to expect the extension is defective.

      Would the stacktrace I mentioned a couple of times be thrown in case I have the switch incorrect?

      I don't have a converter at hand...

      I'm thinking of ordering a new xS40 and try it out. If it works, I send the previous one back, if it does work, I keep them both.

      Am I missing some hardware specific thing? Are the wires of a different kind than for the other connectors?
      Is there anything trivial I'm missing?

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: How to add xS40 to Neuron L203 using custom software

      @martin-kudláček said in How to add xS40 to Neuron L203 using custom software:

      Hello @Boy-Lenssen,
      here is the image: www.uschovna.cz/zasilka/ALFLHCVAFG743SWB-4SR

      Just save it on at least 8GB SD card with Win32DiskImager. The IP will be acquired via DHCP.

      Martin

      btw, the IP doesn't matter, right? I didn't configure an ethernet connection for your image as it is all local. Just needed to check if the light go on.

      I also just use WiFi instead of cabled connection on this device.

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: How to add xS40 to Neuron L203 using custom software

      Maybe it has something to do with the xS40 or my Neuron? Maybe I could try a different Neuron. Unable to swap the extension unit, as I have only one.

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: How to add xS40 to Neuron L203 using custom software

      @Martin-Kudláček I tried your image and gives exactly the same issue.

      What now? Am I missing some hardware configuration?

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: How to add xS40 to Neuron L203 using custom software

      @martin-kudláček will do, it is downloading, but takes a couple of hours, it says...

      btw;
      I tried with a new image, Raspbian stretch lite, installed evok and set up the evok.conf for the extension. Same issue... No cached value of register 1018 on unit 5 - read error

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: How to add xS40 to Neuron L203 using custom software

      @Martin-Kudláček I created a video of when I turn on the power.

      I replaced the evok.conf exactly with what you posted.
      I use the SD card I always use and updated it last week to 2.0.7.

      Here is the video: https://youtu.be/4_BAgph3VSA

      and this is the error I see in /var/log/evok.log:

      Traceback (most recent call last):
        File "/opt/evok/neuron.py", line 289, in readboards
          yield board.parse_definition(self.hw_dict, 1)
        File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1055, in run
          value = future.result()
        File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 238, in result
          raise_exc_info(self._exc_info)
        File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1069, in run
          yielded = self.gen.send(value)
        File "/opt/evok/neuron.py", line 571, in parse_definition
          self.parse_feature(m_feature, board_id)
        File "/opt/evok/neuron.py", line 547, in parse_feature
          self.parse_feature_di(max_count, m_feature, board_id)
        File "/opt/evok/neuron.py", line 413, in parse_feature_di
          regpolarity=m_feature['polar_reg'], legacy_mode=self.legacy_mode)
        File "/opt/evok/neuron.py", line 1394, in __init__
          curr_ds = self.arm.neuron.modbus_cache_map.get_register(1, self.regmode, unit=self.arm.modbus_address)[0]
        File "/opt/evok/neuron.py", line 50, in get_register
          raise Exception('No cached value of register %d on unit %d - read error' % (counter, unit))
      Exception: No cached value of register 1018 on unit 5 - read error
      2018-06-21 13:01:08,947 - evok - ERROR - No cached value of register 1018 on unit 5 - read error
      Traceback (most recent call last):
        File "/opt/evok/neuron.py", line 289, in readboards
          yield board.parse_definition(self.hw_dict, 1)
        File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1055, in run
          value = future.result()
        File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 238, in result
          raise_exc_info(self._exc_info)
        File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1069, in run
          yielded = self.gen.send(value)
        File "/opt/evok/neuron.py", line 571, in parse_definition
          self.parse_feature(m_feature, board_id)
        File "/opt/evok/neuron.py", line 547, in parse_feature
          self.parse_feature_di(max_count, m_feature, board_id)
        File "/opt/evok/neuron.py", line 413, in parse_feature_di
          regpolarity=m_feature['polar_reg'], legacy_mode=self.legacy_mode)
        File "/opt/evok/neuron.py", line 1394, in __init__
          curr_ds = self.arm.neuron.modbus_cache_map.get_register(1, self.regmode, unit=self.arm.modbus_address)[0]
        File "/opt/evok/neuron.py", line 50, in get_register
          raise Exception('No cached value of register %d on unit %d - read error' % (counter, unit))
      Exception: No cached value of register 1018 on unit 5 - read error
      2018-06-21 12:59:25,738 - evok - ERROR - No cached value of register 1018 on unit 5 - read error
      Traceback (most recent call last):
        File "/opt/evok/neuron.py", line 289, in readboards
          yield board.parse_definition(self.hw_dict, 1)
        File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1055, in run
          value = future.result()
        File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 238, in result
          raise_exc_info(self._exc_info)
        File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1069, in run
          yielded = self.gen.send(value)
        File "/opt/evok/neuron.py", line 571, in parse_definition
          self.parse_feature(m_feature, board_id)
        File "/opt/evok/neuron.py", line 547, in parse_feature
          self.parse_feature_di(max_count, m_feature, board_id)
        File "/opt/evok/neuron.py", line 413, in parse_feature_di
          regpolarity=m_feature['polar_reg'], legacy_mode=self.legacy_mode)
        File "/opt/evok/neuron.py", line 1394, in __init__
          curr_ds = self.arm.neuron.modbus_cache_map.get_register(1, self.regmode, unit=self.arm.modbus_address)[0]
        File "/opt/evok/neuron.py", line 50, in get_register
          raise Exception('No cached value of register %d on unit %d - read error' % (counter, unit))
      Exception: No cached value of register 1018 on unit 5 - read error
      2018-06-21 12:59:25,631 - evok - ERROR - No cached value of register 1018 on unit 5 - read error
      Traceback (most recent call last):
        File "/opt/evok/neuron.py", line 289, in readboards
          yield board.parse_definition(self.hw_dict, 1)
        File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1055, in run
          value = future.result()
        File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 238, in result
          raise_exc_info(self._exc_info)
        File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1069, in run
          yielded = self.gen.send(value)
        File "/opt/evok/neuron.py", line 571, in parse_definition
          self.parse_feature(m_feature, board_id)
        File "/opt/evok/neuron.py", line 547, in parse_feature
          self.parse_feature_di(max_count, m_feature, board_id)
        File "/opt/evok/neuron.py", line 413, in parse_feature_di
          regpolarity=m_feature['polar_reg'], legacy_mode=self.legacy_mode)
        File "/opt/evok/neuron.py", line 1394, in __init__
          curr_ds = self.arm.neuron.modbus_cache_map.get_register(1, self.regmode, unit=self.arm.modbus_address)[0]
        File "/opt/evok/neuron.py", line 50, in get_register
          raise Exception('No cached value of register %d on unit %d - read error' % (counter, unit))
      Exception: No cached value of register 1018 on unit 5 - read error
      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: How to add xS40 to Neuron L203 using custom software

      still the Rx on the Extension light is on and I get the same error as I posted before when running sudo python /opt/evok/evok.py

      @martin-kudláček said in How to add xS40 to Neuron L203 using custom software:

      The unit is also set as a last one on the RS485 bus

      do I need to do something for this? I'm sorry, I'm quite a noob on this.

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: How to add xS40 to Neuron L203 using custom software

      @TomasKnot do you have any pointers for me? I really need to get this working for a customer :\

      Any way I can supply you with more info to test it?

      Maybe you can create an SD card image file of the configuration that works for you so I can try it out?

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: How to add xS40 to Neuron L203 using custom software

      @tomasknot I'm sorry, I'm already running 2.0.7. Forgot to mention.

      still getting this:

          Traceback (most recent call last):
            File "/opt/evok/neuron.py", line 289, in readboards
              yield board.parse_definition(self.hw_dict, 1)
            File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1055, in run
              value = future.result()
            File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 238, in result
              raise_exc_info(self._exc_info)
            File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1069, in run
              yielded = self.gen.send(value)
            File "/opt/evok/neuron.py", line 571, in parse_definition
              self.parse_feature(m_feature, board_id)
            File "/opt/evok/neuron.py", line 547, in parse_feature
              self.parse_feature_di(max_count, m_feature, board_id)
            File "/opt/evok/neuron.py", line 413, in parse_feature_di
              regpolarity=m_feature['polar_reg'], legacy_mode=self.legacy_mode)
            File "/opt/evok/neuron.py", line 1394, in __init__
              curr_ds = self.arm.neuron.modbus_cache_map.get_register(1, self.regmode, unit=self.arm.modbus_address)[0]
            File "/opt/evok/neuron.py", line 50, in get_register
              raise Exception('No cached value of register %d on unit %d - read error' % (counter, unit))
          Exception: No cached value of register 1018 on unit 1 - read error
      
      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: How to add xS40 to Neuron L203 using custom software

      @tomasknot Sorry for the late response! I had a different project that needed my attention.

      The RX light of the extension is constant on.
      the TX light of the Neuron flashes. The RX light doesn't do anything.

      Hope we can figure this out, as I got told we need to get this working soon, hopefully this week...

      This is the config:

      global_id = 1							; Mandatory, REQUIRED TO BE UNIQUE
      allow_register_access = False 			; Optional, False default
      scan_frequency = 10						; Optional, 10 default
      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 custom third-party device
      ; Devices sharing a port use the port settings of the first device on that port (baud rate, parity, stopbits)
      ; !!!Note that device_name has to match a filename in the /etc/hw_definitions directory!!! See /etc/hw_definitions/DOMAT MMIO.yaml for an example
      
      [EXTENSION_1]
      global_id = 2							; Mandatory, REQUIRED TO BE UNIQUE
      device_name = xS40						; Mandatory
      modbus_uart_port = /dev/extcomm/0/0 	; Mandatory
      ;neuron_uart_circuit = 1_01				; Optional, allows associating extensions with specific Neuron UART-over-Modbus ports (not possible for non-Modbus UART ports, e.g. /dev/ttyUSB0 or /dev/ttyS0)
      ;allow_register_access = True 			; Optional, False default, is mandatory with third-party devices
      address = 1							; Optional, 1 default
      ;scan_frequency = 10 					; Optional, 10 default
      ;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! USE API TO CONFIGURE UART MANUALLY IF USING STANDARD RASPBIAN
      parity = N								; Optional, NEEDS UNIPI IMAGE TO WORK! USE API TO CONFIGURE UART MANUALLY IF USING STANDARD RASPBIAN
      stop_bits = 1							; Optional, NEEDS UNIPI IMAGE TO WORK! USE API TO CONFIGURE UART MANUALLY IF USING STANDARD RASPBIAN
      

      This is the config on the xS40:

      https://imgur.com/a/Af53afq

      What can I do to help troubleshoot further?

      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: How to add xS40 to Neuron L203 using custom software

      @TomasKnot
      Hi! As far as I can see, I set it up exactly the way you said above...
      This is the output:

      The /get/all call is my software requesting the status of all in and outputs, you can ignore that.

      root@raspberrypi:/home/pi# python /opt/evok/evok.py 
      [I 180522 06:56:19 config:63] eprom: UniPi Neuron L203 version: 1.0 serial: 0x51
      [I 180522 06:56:19 evok:1634] Starting using config file /etc/evok.conf
      [I 180522 06:56:20 config:75] YAML Definition loaded: L30x.yaml, type: 3, definition count 0
      [I 180522 06:56:20 config:75] YAML Definition loaded: M20x.yaml, type: 3, definition count 1
      [I 180522 06:56:20 config:75] YAML Definition loaded: M50x.yaml, type: 3, definition count 2
      [I 180522 06:56:20 config:75] YAML Definition loaded: xS40.yaml, type: 3, definition count 3
      [I 180522 06:56:20 config:75] YAML Definition loaded: M30x.yaml, type: 3, definition count 4
      [I 180522 06:56:20 config:75] YAML Definition loaded: L40x.yaml, type: 3, definition count 5
      [I 180522 06:56:20 config:75] YAML Definition loaded: S10x.yaml, type: 3, definition count 6
      [I 180522 06:56:21 config:75] YAML Definition loaded: L51x.yaml, type: 3, definition count 7
      [I 180522 06:56:21 config:75] YAML Definition loaded: CUSTOM MODBUS DEVICE.yaml, type: 3, definition count 8
      [I 180522 06:56:21 config:75] YAML Definition loaded: L50x.yaml, type: 3, definition count 9
      [I 180522 06:56:21 config:75] YAML Definition loaded: xS30.yaml, type: 3, definition count 10
      [I 180522 06:56:21 config:75] YAML Definition loaded: xS10.yaml, type: 3, definition count 11
      [I 180522 06:56:21 config:75] YAML Definition loaded: M40x.yaml, type: 3, definition count 12
      [I 180522 06:56:21 config:75] YAML Definition loaded: M10x.yaml, type: 3, definition count 13
      [I 180522 06:56:21 config:75] YAML Definition loaded: M60x.yaml, type: 3, definition count 14
      [I 180522 06:56:22 config:75] YAML Definition loaded: L20x.yaml, type: 3, definition count 15
      [I 180522 06:56:22 config:75] YAML Definition loaded: xS50.yaml, type: 3, definition count 16
      [I 180522 06:56:22 config:75] YAML Definition loaded: evok-alias.yaml, type: 2, definition count 0
      [I 180522 06:56:22 evok:1698] HTTP server listening on port: 8080
      [I 180522 06:56:22 modbusclient_tornado:122] SPI client started
      [I 180522 06:56:22 modbusclient_rs485:333] UART client started
      [I 180522 06:56:22 neuron:268] Reading the UART board on Modbus address 1
      [D 180522 06:56:22 owclient:377] Entering 1wire loop
      [I 180522 06:56:22 web:2064] 101 GET /ws (::1) 3.76ms
      [D 180522 06:56:22 evok:158] New WebSocket client connected
      [I 180522 06:56:22 neuron:157] Reading SPI boards
      [I 180522 06:56:22 web:2064] 200 GET /rest/all (::1) 3.10ms
      [I 180522 06:56:22 config:351] Alias loaded: <neuron.Relay object at 0x75f42690> al_lights_kitchen
      [I 180522 06:56:22 config:351] Alias loaded: <neuron.Relay object at 0x75f42650> al_lights_bedroom
      [I 180522 06:56:24 web:2064] 101 GET /ws (::1) 1.79ms
      [D 180522 06:56:24 evok:158] New WebSocket client connected
      [I 180522 06:56:24 web:2064] 200 GET /rest/all (::1) 7.07ms
      [E 180522 06:56:28 neuron:290] No cached value of register 1018 on unit 1 - read error
          Traceback (most recent call last):
            File "/opt/evok/neuron.py", line 283, in readboards
              yield board.parse_definition(self.hw_dict, 1)
            File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1055, in run
              value = future.result()
            File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 238, in result
              raise_exc_info(self._exc_info)
            File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1069, in run
              yielded = self.gen.send(value)
            File "/opt/evok/neuron.py", line 409, in parse_definition
              regpolarity=m_feature['polar_reg'], legacy_mode=self.legacy_mode)
            File "/opt/evok/neuron.py", line 1309, in __init__
              curr_ds = self.arm.neuron.modbus_cache_map.get_register(1, self.regmode, unit=self.arm.modbus_address)[0]
            File "/opt/evok/neuron.py", line 48, in get_register
              raise Exception('No cached value of register %d on unit %d - read error' % (counter, unit))
          Exception: No cached value of register 1018 on unit 1 - read error
      ^C[I 180522 06:56:39 evok:1773] Shutting down
      
      posted in Official EVOK API
      B
      Boy Lenssen
    • RE: How to add xS40 to Neuron L203 using custom software

      @TomasKnot Hey, thanks a lot! I got it working now. I think I might have forgotten to remove the semi-colon before [EXTENSION 1] :face_palm:

      Now the Rx light on the xS40 is now constant on, the run light is still going on / off every 2 seconds. On the neuron, the TX flashes on very swiftly.

      I don't see the extra in/outputs when I go to my ip address. How can I read / write the ports now? I thought I would get some ports like 4_05 or so...

      I tried something like this: http://192.168.1.16/rest/relay/UART_1_2 but gives a 500 error

      posted in Official EVOK API
      B
      Boy Lenssen