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

    Negropo

    @Negropo

    0
    Reputation
    446
    Profile views
    11
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Negropo Unfollow Follow

    Latest posts made by Negropo

    • RE: EVOK shows no I/O - Neuron L513

      In the event monitor of FHEM I can see also the following message when I make a "get all": "2022.01.02 14:17:08 3: Neuron (NeuronL513) error decoding response: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 5830 (before "NaN, "circuit": "3_0...") at ./FHEM/00_Neuron.pm line 424." As I can see the error occurs on AI 3_01 or an other till AI 3_04.

      posted in Official EVOK API
      N
      Negropo
    • RE: EVOK shows no I/O - Neuron L513

      Hello @martin_triska,

      unfortunately my problem isn't solved. I think there is an programming error or a hardware malfunction. Everytime I try an http://ip-neuron/rest/all I get an error "SyntaxError: JSON.parse: unexpected character at line 1 column 5827 of the JSON data".

      I use the FHEM module for Neuron and can add manually the devices. After adding a relay in FHEM an switch them. The relay is also shown in the EVOK Control Panel. Saving the current state in flash isn't working too. When I restart/reboot the Neuron all manual added inputs, outputs etc. are gone and I just see only AI 1_01 and AO 1_01 like in my first post.

      I also tried to communicate via Modbus. It worked as long as I didn't restart/reboot the Neuron. Afterwards I have the same behaviour like described above.

      I use the latest Neuron-OS-Image from 21.12.2021. The installing process of OS and EVOK was without any error.

      For now I can't use my Neuron because it's to unsafe for loosing all devices after a reboot oder repower.

      Maybe this further information may help you to give me an advice.

      Thank you and a I wish you a happy new year!

      Kind regards
      Norman

      posted in Official EVOK API
      N
      Negropo
    • RE: EVOK shows no I/O - Neuron L513

      Hello @marioverhaeg,

      here ist my evok.log with debug=on. Evertything seems fine, but it still won't work. I only see Analog Input & Output from 1.01.

      snip_20210922120140.png

      I also made a snapshot from my evok.conf

      snip_20210922115309.png

      And as I saw it on your post made an output from dpkg -l | egrep "raspberrypi|evok|unipi|python"

      Output dpkg

      Maybe @Martin-Kudláček could help me too?

      Kind regards
      Negropo

      posted in Official EVOK API
      N
      Negropo
    • EVOK shows no I/O - Neuron L513

      Hello,

      I bought an unused Neuron L513 (Serial-Number: 1) and I want now to test the EVOK control panel. I started with a fresh Pi OS "Buster" and installed the EVOK like it shown in the documentation. But when I start the web frontend the control panel shows only the "Analog Input 1.01" - no further entries on in- or output. Them same at system.

      snip_20210919150446.png

      EVOK service ist running. What did I wrong?

      snip_20210919150312.png

      Thanks
      Negropo

      posted in Official EVOK API
      N
      Negropo
    • RE: xS10 timeout's on RS485

      Hello @tomas_hora,
      today I got a new RS485 USB adapter to test if the adapter is crashed. And on the first look it seems so. I tested to conncet to the xS10 via the fw-tool an it shows the following
      0_1518015461574_upload-0a4c1a5a-7cf9-42cc-a705-526d37b95be5

      BUT this works only once a time. After a first test I get the same results of timeouts again with the new adapter.

      So I guess that there must be something in the communication between xS10 and the adapter that crashes the adapter: Could I messure the voltage or something similar to see if there is a too high peak? What would be a normal range of voltage on the RS485 bus? Or any othe ideas?

      Thanks Negropo

      posted in UniPi Neuron Series
      N
      Negropo
    • RE: xS10 timeout's on RS485

      Hello @tomas_hora,

      in the past I already maked the fw update. When I now connect the xS10 to PC I get the following:

      0_1517916597396_upload-fca05884-61a3-404c-80db-5f67c957a69a

      posted in UniPi Neuron Series
      N
      Negropo
    • xS10 timeout's on RS485

      Hello,

      since two days I have strange problems in communication with my xS10 over RS485 Modbus RTU. I connected the xS10 via Modbus (over the Digitus Adapter) to an USB of a Pi3 with FHEM. Everything worked fine (reading the DI's an changing the RO's). But now I have timeouts on Modbus communication all time long. In FHEM Logfile the following message occur:

      2018.02.06 09:54:59 3: NeuronModbus: timeout waiting for fc 1 from id 15, Request was 0f01000000083ce2 (c0 / RO1, len 8)
      

      Yesterday I could get it away with playing on the DIP for RS485-END. But today this trick wont work anymore.
      Has anybody an idea? I don't know if the Digitus not wirking correct or the xS10.

      Thanks!
      Negropo

      posted in UniPi Neuron Series
      N
      Negropo
    • RE: Working config for s103-g+xs50 or sample for fhem

      Hello,

      I tried to connect an NeuronxS10 via Modbus RTU to fhem and get it now working. That means I can switch the relay 1 to 8 and can read all DI.
      I use coils to read and write. Here is my code from fhem if anyone wants to try it:

      #Neuron xS10
      define NeuronModbus Modbus /dev/ttyUSB0@19200,8,N,1
      define NeuronRO ModbusAttr 15 30 RTU
      attr NeuronRO IODev NeuronModbus
      attr NeuronRO dev-c-combine 8
      attr NeuronRO dev-c-defPoll 1
      
      attr NeuronRO obj-c0-hint 0,1
      attr NeuronRO obj-c0-reading RO1
      attr NeuronRO obj-c0-set 1
      attr NeuronRO stateFormat RO1
      attr NeuronRO webCmd RO1
      
      attr NeuronRO obj-c1-hint 0,1
      attr NeuronRO obj-c1-reading RO2
      attr NeuronRO obj-c1-set 1
      attr NeuronRO stateFormat RO2
      attr NeuronRO webCmd RO2
      
      attr NeuronRO obj-c2-hint 0,1
      attr NeuronRO obj-c2-reading RO3
      attr NeuronRO obj-c2-set 1
      attr NeuronRO stateFormat RO3
      attr NeuronRO webCmd RO3
      
      attr NeuronRO obj-c3-hint 0,1
      attr NeuronRO obj-c3-reading RO4
      attr NeuronRO obj-c3-set 1
      attr NeuronRO stateFormat RO4
      attr NeuronRO webCmd RO4
      
      attr NeuronRO obj-c4-hint 0,1
      attr NeuronRO obj-c4-reading RO5
      attr NeuronRO obj-c4-set 1
      attr NeuronRO stateFormat RO5
      attr NeuronRO webCmd RO5
      
      attr NeuronRO obj-c5-hint 0,1
      attr NeuronRO obj-c5-reading RO6
      attr NeuronRO obj-c5-set 1
      attr NeuronRO stateFormat RO6
      attr NeuronRO webCmd RO6
      
      attr NeuronRO obj-c6-hint 0,1
      attr NeuronRO obj-c6-reading RO7
      attr NeuronRO obj-c6-set 1
      attr NeuronRO stateFormat RO7
      attr NeuronRO webCmd RO7
      
      attr NeuronRO obj-c7-hint 0,1
      attr NeuronRO obj-c7-reading RO8
      attr NeuronRO obj-c7-set 1
      attr NeuronRO stateFormat RO8
      attr NeuronRO webCmd RO8
      
      define NeuronDI ModbusAttr 15 1 RTU
      attr NeuronDI IODev NeuronModbus
      attr NeuronDI dev-c-combine 8
      attr NeuronDI dev-c-defPoll 1
      
      attr NeuronDI obj-c8-reading DI1
      attr NeuronDI stateFormat DI1
      
      attr NeuronDI obj-c9-reading DI2
      attr NeuronDI stateFormat DI2
      
      attr NeuronDI obj-c10-reading DI3
      attr NeuronDI stateFormat DI3
      
      attr NeuronDI obj-c11-reading DI4
      attr NeuronDI stateFormat DI4
      
      attr NeuronDI obj-c12-reading DI5
      attr NeuronDI stateFormat DI5
      
      attr NeuronDI obj-c13-reading DI6
      attr NeuronDI stateFormat DI6
      
      attr NeuronDI obj-c14-reading DI7
      attr NeuronDI stateFormat DI7
      
      attr NeuronDI obj-c15-reading DI8
      attr NeuronDI stateFormat DI8
      

      Negropo

      posted in FHEM.de
      N
      Negropo
    • RE: Change Device ID of Neuron xS10

      Thank you, that works. With the ID 15 I can now connect from RPi3 via mbpoll the xS10. But I can't get it work on FHEM. So is there an example how to define the modbus etc. on FHEM to connect the xS10 via Modbus RTU?

      posted in UniPi Neuron Series
      N
      Negropo
    • Change Device ID of Neuron xS10

      Hello,

      I try since some days to communicate from an Pi3 with FHEM via an USB/RS485-adapter to a Neuron xS10 via Modbus RTU. From an Win10 PC I get a connection to the Neuron xS10 with the following parameters Device ID 0, Adress 15 and Baudrate of 19200, 8 Bits, Parity none and 1 Stop Bit. With the tool mbpoll on the Pi3 I can't get a connection because a Device ID 0 isn't accepted (range is from 1 to 254). So I think the problem is the 0 ono Device ID. Is there an option to change the Device ID? Or has anybody another hint for me how I get it work. Thanks a lot!

      Negropo

      posted in UniPi Neuron Series
      N
      Negropo