• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. unix
    U
    • Profile
    • Following 1
    • Followers 0
    • Topics 3
    • Posts 21
    • Best 1
    • Controversial 0
    • Groups 0

    unix

    @unix

    1
    Reputation
    654
    Profile views
    21
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    unix Unfollow Follow

    Best posts made by unix

    • RE: Adding Extensions to Evok

      @Boernsman

      Hi
      use

      [EXTENSION_1]
      global_id = 2							
      device_name = xS30						
      modbus_uart_port = /dev/extcomm/0/0 	
      neuron_uart_circuit = 1_01				
      allow_register_access = True 			
      address = 15 							
      scan_frequency = 2 					
      scan_enabled = True 					
      baud_rate = 19200						
      parity = N								
      stop_bits = 1	
      

      Regards

      posted in Official EVOK API
      U
      unix

    Latest posts made by unix

    • RE: MQTT to unipi Control Panel

      hi @juntiedt seems like this forum have no pm funktion please drop me a mail unix@from-hell.org

      Regards

      posted in Official EVOK API
      U
      unix
    • RE: MQTT to unipi Control Panel

      Hi @juntiedt thats looks nice can/will you send me the flow per PM thx
      Regards

      posted in Official EVOK API
      U
      unix
    • RE: xS50 Dead ?

      Hi @Martin-Kudláček THX

      Regards

      posted in UniPi Extension Modules (Axon & Neuron)
      U
      unix
    • xS50 Dead ?

      Device Dead ??
      I just upgraded my S103-G without any problems, but xS50 won't come up after upgrade with fwserial.
      I received many Flashing errors on the cli during the upgrade (timeout & invalid data), and after that the unit was unresponsive.
      I restarted the unit (after more than two hours). Before I had 4 LEDs lit up : PWR (red), RUN, RX and TX.
      After reboot only PWR is lit permanently (red).
      Any Help ?
      regards

      posted in UniPi Extension Modules (Axon & Neuron)
      U
      unix
    • RE: evok start error

      forget to post the system defaults
      raspian-lite April 2018

      root@pimatic:~# cat /etc/debian_version 
      9.4
      root@pimatic:~# uname -a
      Linux pimatic 4.14.43-v7+ #1115 SMP Fri May 25 14:27:48 BST 2018 armv7l GNU/Linux
      

      Regards un|x

      posted in Official EVOK API
      U
      unix
    • RE: evok start error

      Hi
      after copy from the old evok version before :

      sudo cp -r tornadorpc_evok /usr/local/lib/python2.7/dist-packages
      sudo cp -r opt/* /opt/
      sudo cp -r evok/ /opt/
      

      unipi start and modbus running to extension

      Regards un|x

      posted in Official EVOK API
      U
      unix
    • evok start error

      Hi

      Fresh installed image image from 09.2017 raspian-stretch lite :

      root@raspberrypi:/home/pi# cat /etc/debian_version
      9.1
      

      Kernel :

      root@raspberrypi:/home/pi# uname -a
      Linux raspberrypi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux
      

      no apt upgrade only apt update

      after install evok from git and final reboot evok not starting .

      root@raspberrypi:/home/pi# service evok status
      ● evok.service - Evok Modbus/Websocket/Rpc Server
         Loaded: loaded (/etc/systemd/system/evok.service; enabled; vendor preset: enabled)
         Active: failed (Result: exit-code) since Thu 2018-05-24 19:01:39 UTC; 56s ago
        Process: 503 ExecStart=/usr/bin/python /opt/evok/evok.py (code=exited, status=1/FAILURE)
       Main PID: 503 (code=exited, status=1/FAILURE)
      
      May 24 19:01:39 raspberrypi systemd[1]: evok.service: Service hold-off time over, scheduling restart.
      May 24 19:01:39 raspberrypi systemd[1]: Stopped Evok Modbus/Websocket/Rpc Server.
      May 24 19:01:39 raspberrypi systemd[1]: evok.service: Start request repeated too quickly.
      May 24 19:01:39 raspberrypi systemd[1]: Failed to start Evok Modbus/Websocket/Rpc Server.
      May 24 19:01:39 raspberrypi systemd[1]: evok.service: Unit entered failed state.
      May 24 19:01:39 raspberrypi systemd[1]: evok.service: Failed with result 'exit-code'.
      

      and

      oot@raspberrypi:/home/pi# /usr/bin/python /opt/evok/evok.py
      Traceback (most recent call last):
        File "/opt/evok/evok.py", line 1239, in <module>
          class VersionHandler(UserCookieHelper, APIHandler):
        File "/opt/evok/evok.py", line 1240, in VersionHandler
          self.version = 'Unspecified'
      NameError: name 'self' is not defined
      

      any tips hints ?

      Regards

      posted in Official EVOK API
      U
      unix
    • RE: How to add xS40 to Neuron L203 using custom software

      Hi
      this day after a reboot i have the same error message and the link from S103G to xs50 not working only one short blink from the modbus rx/tx

      reinstall evok and fresh image not working.

      root@pimatic:~# /usr/bin/python /opt/evok/evok.py
      [I 180524 19:27:48 config:63] eprom: UniPi Neuron S103 version: 1.0 serial: 0xd
      [I 180524 19:27:48 evok:1634] Starting using config file /etc/evok.conf
      [I 180524 19:27:48 config:75] YAML Definition loaded: M20x.yaml, type: 3, definition count 0
      [I 180524 19:27:48 config:75] YAML Definition loaded: xS40.yaml, type: 3, definition count 1
      [I 180524 19:27:48 config:75] YAML Definition loaded: M30x.yaml, type: 3, definition count 2
      [I 180524 19:27:48 config:75] YAML Definition loaded: L40x.yaml, type: 3, definition count 3
      [I 180524 19:27:49 config:75] YAML Definition loaded: L50x.yaml, type: 3, definition count 4
      [I 180524 19:27:49 config:75] YAML Definition loaded: M50x.yaml, type: 3, definition count 5
      [I 180524 19:27:49 config:75] YAML Definition loaded: M40x.yaml, type: 3, definition count 6
      [I 180524 19:27:49 config:75] YAML Definition loaded: L30x.yaml, type: 3, definition count 7
      [I 180524 19:27:49 config:75] YAML Definition loaded: xS50.yaml, type: 3, definition count 8
      [I 180524 19:27:49 config:75] YAML Definition loaded: CUSTOM MODBUS DEVICE.yaml, type: 3, definition count 9
      [I 180524 19:27:50 config:75] YAML Definition loaded: M60x.yaml, type: 3, definition count 10
      [I 180524 19:27:50 config:75] YAML Definition loaded: L20x.yaml, type: 3, definition count 11
      [I 180524 19:27:50 config:75] YAML Definition loaded: S10x.yaml, type: 3, definition count 12
      [I 180524 19:27:50 config:75] YAML Definition loaded: xS30.yaml, type: 3, definition count 13
      [I 180524 19:27:50 config:75] YAML Definition loaded: M10x.yaml, type: 3, definition count 14
      [I 180524 19:27:51 config:75] YAML Definition loaded: L51x.yaml, type: 3, definition count 15
      [I 180524 19:27:51 config:75] YAML Definition loaded: xS10.yaml, type: 3, definition count 16
      [I 180524 19:27:51 config:75] YAML Definition loaded: DALI.yaml, type: 3, definition count 17
      [I 180524 19:27:51 config:75] YAML Definition loaded: evok-alias.yaml, type: 2, definition count 0
      [I 180524 19:27:51 evok:1698] HTTP server listening on port: 8080
      [I 180524 19:27:51 modbusclient_tornado:122] SPI client started
      [I 180524 19:27:51 modbusclient_rs485:333] UART client started
      [I 180524 19:27:51 neuron:268] Reading the UART board on Modbus address 15
      [I 180524 19:27:51 neuron:157] Reading SPI boards
      [D 180524 19:27:51 owclient:377] Entering 1wire loop
      [I 180524 19:27:51 neuron:172] No board on SPI 2
      [E 180524 19:27:51 neuron:290] 'NoneType' object has no attribute 'get_register'
          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 561, in parse_definition
              self.parse_feature(m_feature, board_id)
            File "/opt/evok/neuron.py", line 546, in parse_feature
              self.parse_feature_ao(max_count, m_feature, board_id)
            File "/opt/evok/neuron.py", line 478, in parse_feature_ao
              dev_id=self.dev_id, major_group=m_feature['major_group'], legacy_mode=self.legacy_mode)
            File "/opt/evok/neuron.py", line 1777, in __init__
              self.offset = (uint16_to_int(self.arm.neuron.modbus_cache_map.get_register(1, self.regcal + 1, unit=self.arm.modbus_address)[0]) / 10000.0)
          AttributeError: 'NoneType' object has no attribute 'get_register'
      [I 180524 19:27:51 neuron:172] No board on SPI 3
      [I 180524 19:27:51 config:351] Alias loaded: <neuron.Relay object at 0x7600dc70> al_lights_kitchen
      [I 180524 19:27:51 config:351] Alias loaded: <neuron.Relay object at 0x7600df50> al_lights_bedroom
      

      Regards

      posted in Official EVOK API
      U
      unix
    • RE: S103-G use GSM/GPRS module to connect to internet

      @Vesa-Kauppinen
      Hi
      have you disable the BT on Pi3

      /boot/config.txt addline

      dtoverlay=pi3-disable-bt
      

      and on /boot/cmdline.txt remove

      serial console than its looks like

      dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=e13fdf55-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
      

      Regards

      posted in UniPi Neuron Series
      U
      unix
    • RE: Adding Extensions to Evok

      @Boernsman

      Hi
      use

      [EXTENSION_1]
      global_id = 2							
      device_name = xS30						
      modbus_uart_port = /dev/extcomm/0/0 	
      neuron_uart_circuit = 1_01				
      allow_register_access = True 			
      address = 15 							
      scan_frequency = 2 					
      scan_enabled = True 					
      baud_rate = 19200						
      parity = N								
      stop_bits = 1	
      

      Regards

      posted in Official EVOK API
      U
      unix