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.
Posts made by Negropo
RE: EVOK shows no I/O - Neuron L513
RE: EVOK shows no I/O - Neuron L513
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!
RE: EVOK shows no I/O - Neuron L513
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.
I also made a snapshot from my evok.conf
And as I saw it on your post made an output from dpkg -l | egrep "raspberrypi|evok|unipi|python"
Maybe @Martin-Kudláček could help me too?
EVOK shows no I/O - Neuron L513
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.
EVOK service ist running. What did I wrong?
RE: xS10 timeout's on RS485
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
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?
xS10 timeout's on RS485
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.
RE: Working config for s103-g+xs50 or sample for fhem
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
Change Device ID of Neuron xS10
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!
RE: FHEM with Modbus over Network on Neuron L403 / a first step
I tried to control a Neuron xS10 directly via ModbusRTU over FHEM but I can't get it work :-(
I tried this in my fhem.cfg
#Neuron xS10 define NeuronModbus Modbus /dev/ttyUSB0@19200,8,N,1 define NeuronxS10 ModbusAttr 0 60 RTU define DigitalOut1 ModbusCoil 0 0 attr DigitalOut1 IODev NeuronxS10 attr DigitalOut1 event-on-change-reading .*
The RX-Led on the extension stay's green. But I can't get a relay to change between on/off. No LED of an relay ist getting on.
So is there anybody who could help me please or give me an hint to an conclusion?
Thx a lot