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

    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 API - Evok
      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 API - Evok
      U
      unix
    • RE: xS50 Dead ?

      Hi @Martin-Kudláček THX

      Regards

      posted in Unipi Extension Modules
      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
      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 API - Evok
      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 API - Evok
      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 API - Evok
      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 API - Evok
      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 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 API - Evok
      U
      unix
    • RE: howto for 1-wire temperature via nodered?

      @jens
      Hi
      and where is the solution ?

      Regards

      posted in Official API - Evok
      U
      unix
    • RE: Working config for s103-g+xs50 or sample for fhem

      HI
      yes thats no prob i have time and my test work is allways online
      alt text

      but hope another user use fhem and have beginn the work.
      yes the 1wire run but little scary i use 18 sensors 16 x DS18B20 and 2 from unica
      but owserver have once all sensors another second 0 sensors and another sec. and so on

      my owserverconf lokks like :

      ! server: server = 127.0.0.1:4304
      device = /dev/i2c-1
      server: i2c = /dev/i2c-1:ALL
      server: port = 4304
      

      but realy unstable on sensor detect.
      evok have no problem to detect all sensors only the unica is detect but no data in webui :smirk:

      Sensor DS2438 - 2620531402000075   N/A
      

      Regards

      posted in FHEM.de
      U
      unix
    • Working config for s103-g+xs50 or sample for fhem

      Hi
      is anyone use fhem 5.8 whit neuron s103-g or the xs50
      and have a working config for alle the relays / dig in / dig out / 1wire
      and has the desire to provide that.

      thx
      Regards

      posted in FHEM.de
      U
      unix
    • RE: Enable RS485 on Raspbian Stretch

      @roberts_lando

      hi
      have you disable BT ?
      i have same problems whit the serial console to the gsm modem.
      i have fixed whit edit the /boot/config.txt and add

      dtoverlay=pi3-disable-bt
      

      Pi 3 and stretch have problems whit bt and serial

      Regards

      posted in Neuron Series
      U
      unix
    • RE: S103-G use GSM/GPRS module to connect to internet

      @roberts_lando

      WTF great thx for fast response and help :smile:

      regards

      posted in Neuron Series
      U
      unix
    • RE: S103-G use GSM/GPRS module to connect to internet

      @roberts_lando
      i have found one error in another flow i have running sms sender i have delete this and the error seems only the trim see screenshots.

      1 alt text
      2 alt text
      3 alt text

      Regards

      i have check the modem connect over cu and modem works and i disconnect to the modem.

      posted in Neuron Series
      U
      unix
    • RE: S103-G use GSM/GPRS module to connect to internet

      Hi
      yes the cu session a closed in debug i see this

      3.11.2017, 11:25:11node: 96ac4186.358femsg.payload : string[4]
      "OK↵"
      3.11.2017, 11:25:13node: 96ac4186.358femsg.payload : string[11]
      "AT+COPS? ↵"
      3.11.2017, 11:25:13node: 96ac4186.358femsg.payload : string[17]
      "+COPS: 0,0,"A1"↵"
      3.11.2017, 11:25:13node: 96ac4186.358femsg.payload : string[2]
      "↵"
      3.11.2017, 11:25:13node: 96ac4186.358femsg.payload : string[4]
      "OK↵"
      3.11.2017, 11:25:14node: parseOperatorfunction : (error)
      "TypeError: Cannot read property 'trim' of undefined"
      3.11.2017, 11:25:15node: 96ac4186.358femsg.payload : string[10]
      "AT+CGMI ↵"
      3.11.2017, 11:25:15node: 96ac4186.358femsg.payload : string[18]
      "+CGMI: "Fibocom"↵"
      3.11.2017, 11:25:15node: 96ac4186.358femsg.payload : string[2]
      "↵"
      3.11.2017, 11:25:15node: 96ac4186.358femsg.payload : string[4]
      "OK↵"
      3.11.2017, 11:25:17node: 96ac4186.358femsg.payload : string[10]
      "AT+CGMM ↵"
      3.11.2017, 11:25:17node: 96ac4186.358femsg.payload : string[38]
      "+CGMM: "GSM850/900/1800/1900","G510"↵"
      3.11.2017, 11:25:17node: 96ac4186.358femsg.payload : string[2]
      "↵"
      3.11.2017, 11:25:17node: 96ac4186.358femsg.payload : string[4]
      "OK↵"
      3.11.2017, 11:25:18node: parseModelIDfunction : (error)
      "TypeError: Cannot read property 'trim' of undefined"
      

      Regards

      posted in Neuron Series
      U
      unix
    • RE: S103-G use GSM/GPRS module to connect to internet

      Hi
      i have inport your data but i get one error in debug
      its "3.11.2017, 10:59:29node: parseModelIDfunction : (error)
      "TypeError: Cannot read property 'trim' of undefined""

      and the website looks like :
      Daschboard
      connect is green but no info i have only change the serial connect to
      /dev/ttyAMA0: 115200-8n1

      or i have problems whit the modem i can send the first sms whitout problems but after this only error when i test it whit cu -l /dev/ttyAMA0

      hope for hints :smile:

      Regards

      posted in Neuron Series
      U
      unix
    • RE: S103-G use GSM/GPRS module to connect to internet

      Nice thx for help :smile:
      Regards

      posted in Neuron Series
      U
      unix
    • RE: Update Evok not working on Mervis image

      HI
      i use no mervis but under jessy and stretch i use

      git clone https://github.com/UniPiTechnology/evok
      cd evok
      chmod +x install-evok.sh uninstall-evok.sh
      sudo ./install-evok.sh
      

      But warning you have to make the update over nic not wlan
      in the setup there is a error when say make wlan ap .Its disconnect the Wlan

      Regards

      posted in Mervis
      U
      unix