ok, I solved the problem.
it is logic but a little strange because UniPi Output only prepare the JSON message, but to send it you still need websocket ( I thought that UniPi Output node handle all of it).
it works
ok, I solved the problem.
it is logic but a little strange because UniPi Output only prepare the JSON message, but to send it you still need websocket ( I thought that UniPi Output node handle all of it).
it works
Sorry,
it doesn't work
for Uni Pi 1.1 - realy no 2 should be configured like that: ?
HI!
check it out
https://kb.unipi.technology/en:sw:02-sdks:03-ssh
You should now see a console window asking for a username and password. Use the username “unipi” and password “unipi.technology”; these may be changed later, but this is outside the scope of this tutorial.
HI!
What should I write in configuration to set relay output for Relay 1 ?
Unfortunately, I tryied many combination without result.
this workaround in first diagram works,
where I sent in Function
msg.headers = {};
msg.headers={
'Content-Type': 'application/x-www-form-urlencoded'
};
msg.payload = {};
msg.payload={
'value': '1'
};
return msg;
as HTTP request POST for url. http://(myadresip_evok)/rest/relay/1
but second base on UNIPI Output doesn't work
Can you help me with that?
As I mentioned above I've used prepared by UniPi image of rasbian with evok embedded called "UniPian-Neuron-OS-2018-06-15.img". Reason, why I tried to do upgrade, was that this version didn't work correctly with api commands showed on your documentation, I couldn't control relays. I found in a thread on the forum that was a BUG which was fixed after the image release date.
(of course before reinstall evok i did apt-get update; apt-get upgrade)
dmesg:
pi@L203-sn18:~ $ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.34-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1110 SMP Mon Apr 16 15:18:51 B ST 2018
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio n cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 8 MiB at 0x3ac00000
[ 0.000000] On node 0 totalpages: 242688
[ 0.000000] free_area_init_node: node 0, pgdat 80c84e40, node_mem_map ba3a100 0
[ 0.000000] Normal zone: 2133 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 242688 pages, LIFO batch:31
[ 0.000000] random: fast init done
[ 0.000000] percpu: Embedded 17 pages/cpu @ba349000 s38720 r8192 d22720 u6963 2
[ 0.000000] pcpu-alloc: s38720 r8192 d22720 u69632 alloc=17*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 240555
[ 0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=656 bcm27 08_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_siz e=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUU ID=3a49222d-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 936028K/970752K available (7168K kernel code, 575K rwdata , 2072K rodata, 1024K init, 706K bss, 26532K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xbb800000 - 0xff800000 (1088 MB)
lowmem : 0x80000000 - 0xbb400000 ( 948 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x80800000 (8160 kB)
.init : 0x80b00000 - 0x80c00000 (1024 kB)
.data : 0x80c00000 - 0x80c8fd4c ( 576 kB)
.bss : 0x80c96f4c - 0x80d478b4 ( 707 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 25231 entries in 74 pages
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 43980 46511078ns
[ 0.000023] Switching to timer-based delay loop, resolution 52ns
[ 0.000278] Console: colour dummy device 80x30
[ 0.000822] console [tty1] enabled
[ 0.000859] Calibrating delay loop (skipped), value calculated using timer fr equency.. 38.40 BogoMIPS (lpj=192000)
[ 0.000899] pid_max: default: 32768 minimum: 301
[ 0.001227] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001260] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002213] Disabling memory control group subsystem
[ 0.002313] CPU: Testing write buffer coherency: ok
[ 0.002721] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.003112] Setting up static identity map for 0x100000 - 0x10003c
[ 0.003246] Hierarchical SRCU implementation.
[ 0.003898] smp: Bringing up secondary CPUs ...
[ 0.004602] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.005357] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.006097] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.006200] smp: Brought up 1 node, 4 CPUs
[ 0.006271] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.006293] CPU: All CPU(s) started in HYP mode.
[ 0.006310] CPU: Virtualization extensions available.
[ 0.007179] devtmpfs: initialized
[ 0.018098] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.018348] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 19112604462750000 ns
[ 0.018392] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.018968] pinctrl core: initialized pinctrl subsystem
[ 0.019726] NET: Registered protocol family 16
[ 0.022347] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.027038] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.027070] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.027294] Serial: AMBA PL011 UART driver
[ 0.028928] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.029403] uart-pl011 3f201000.serial: could not find pctldev for node /soc/ gpio@7e200000/uart0_pins, deferring probe
[ 0.060884] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb813000, dma chans=0x1
[ 0.062312] SCSI subsystem initialized
[ 0.062550] usbcore: registered new interface driver usbfs
[ 0.062619] usbcore: registered new interface driver hub
[ 0.062718] usbcore: registered new device driver usb
[ 0.070066] raspberrypi-firmware soc:firmware: Attached to firmware from 2018 -09-21 15:43
[ 0.071376] clocksource: Switched to clocksource arch_sys_counter
[ 0.148772] VFS: Disk quotas dquot_6.6.0
[ 0.148885] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.149091] FS-Cache: Loaded
[ 0.149299] CacheFiles: Loaded
[ 0.158121] NET: Registered protocol family 2
[ 0.158857] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.158987] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.159189] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.159335] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.159396] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.159642] NET: Registered protocol family 1
[ 0.160093] RPC: Registered named UNIX socket transport module.
[ 0.160118] RPC: Registered udp transport module.
[ 0.160137] RPC: Registered tcp transport module.
[ 0.160156] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.160368] Trying to unpack rootfs image as initramfs...
[ 0.519296] Freeing initrd memory: 4204K
[ 0.524723] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counter s available
[ 0.527560] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.535532] FS-Cache: Netfs 'nfs' registered for caching
[ 0.536156] NFS: Registering the id_resolver key type
[ 0.536208] Key type id_resolver registered
[ 0.536228] Key type id_legacy registered
[ 0.536257] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.538107] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 51)
[ 0.538253] io scheduler noop registered
[ 0.538275] io scheduler deadline registered (default)
[ 0.538561] io scheduler cfq registered
[ 0.538583] io scheduler mq-deadline registered
[ 0.538603] io scheduler kyber registered
[ 0.541486] BCM2708FB: allocated DMA memory fad10000
[ 0.541532] BCM2708FB: allocated DMA channel 0 @ bb813000
[ 0.550101] Console: switching to colour frame buffer device 82x26
[ 0.558723] bcm2835-rng 3f104000.rng: hwrng registered
[ 0.561181] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000 000(1024 MiB)
[ 0.566350] vc-sm: Videocore shared memory driver
[ 0.568947] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f2 00000
[ 0.583020] brd: module loaded
[ 0.593842] loop: module loaded
[ 0.596122] Loading iSCSI transport class v2.0-870.
[ 0.599102] libphy: Fixed MDIO Bus: probed
[ 0.601484] usbcore: registered new interface driver lan78xx
[ 0.603818] usbcore: registered new interface driver smsc95xx
[ 0.605979] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.836189] Core Release: 2.80a
[ 0.838354] Setting default values for core params
[ 0.840594] Finished setting default values for core params
[ 1.043135] Using Buffer DMA mode
[ 1.045432] Periodic Transfer Interrupt Enhancement - disabled
[ 1.047800] Multiprocessor Interrupt Enhancement - disabled
[ 1.050225] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.052626] Dedicated Tx FIFOs mode
[ 1.055327] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xbad 04000 dma = 0xfad04000 len=9024
[ 1.060024] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 1.071073] dwc_otg: Microframe scheduler enabled
[ 1.071155] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x805e6a40
[ 1.073429] WARN::hcd_init_fiq:460: FIQ ASM at 0x805e6da8 length 36
[ 1.075693] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbb87e000
[ 1.077982] dwc_otg 3f980000.usb: DWC OTG Controller
[ 1.080297] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 1.082679] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[ 1.085004] Init: Port Power? op_state=1
[ 1.087263] Init: Power Port (0)
[ 1.089645] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.091975] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber= 1
[ 1.094275] usb usb1: Product: DWC OTG Controller
[ 1.096519] usb usb1: Manufacturer: Linux 4.14.34-v7+ dwc_otg_hcd
[ 1.098786] usb usb1: SerialNumber: 3f980000.usb
[ 1.101615] hub 1-0:1.0: USB hub found
[ 1.103828] hub 1-0:1.0: 1 port detected
[ 1.106387] dwc_otg: FIQ enabled
[ 1.106392] dwc_otg: NAK holdoff enabled
[ 1.106397] dwc_otg: FIQ split-transaction FSM enabled
[ 1.106407] Module dwc_common_port init
[ 1.106618] usbcore: registered new interface driver usb-storage
[ 1.108893] mousedev: PS/2 mouse device common for all mice
[ 1.111110] IR NEC protocol handler initialized
[ 1.113305] IR RC5(x/sz) protocol handler initialized
[ 1.115508] IR RC6 protocol handler initialized
[ 1.117681] IR JVC protocol handler initialized
[ 1.119756] IR Sony protocol handler initialized
[ 1.121883] IR SANYO protocol handler initialized
[ 1.123975] IR Sharp protocol handler initialized
[ 1.125966] IR MCE Keyboard/mouse protocol handler initialized
[ 1.127992] IR XMP protocol handler initialized
[ 1.130646] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[ 1.133018] bcm2835-cpufreq: min=600000 max=1200000
[ 1.135478] sdhci: Secure Digital Host Controller Interface driver
[ 1.137604] sdhci: Copyright(c) Pierre Ossman
[ 1.140033] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[ 1.142530] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[ 1.144830] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.148435] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.150857] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.153333] usbcore: registered new interface driver usbhid
[ 1.155638] usbhid: USB HID core driver
[ 1.158433] vchiq: vchiq_init_state: slot_zero = bad80000, is_master = 0
[ 1.162157] [vc_sm_connected_init]: start
[ 1.170936] [vc_sm_connected_init]: end - returning 0
[ 1.173819] Initializing XFRM netlink socket
[ 1.176195] NET: Registered protocol family 17
[ 1.178635] Key type dns_resolver registered
[ 1.181431] Registering SWP/SWPB emulation handler
[ 1.184383] registered taskstats version 1
[ 1.192633] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 1.195192] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[ 1.201826] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[ 1.204352] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[ 1.262006] sdhost: log_buf @ bad07000 (fad07000)
[ 1.300675] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.304658] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.308502] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.313483] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.321461] Indeed it is in host mode hprt0 = 00021501
[ 1.383577] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 1.386696] of_cfs_init
[ 1.388831] of_cfs_init: OK
[ 1.407250] Freeing unused kernel memory: 1024K
[ 1.498692] mmc1: new high speed SDIO card at address 0001
[ 1.520432] mmc0: host does not support reading read-only switch, assuming wr ite-enable
[ 1.529035] mmc0: new high speed SDHC card at address aaaa
[ 1.531419] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.533836] Indeed it is in host mode hprt0 = 00001101
[ 1.596750] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[ 1.602519] mmcblk0: p1 p2
[ 1.781785] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 1.784127] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.787492] hub 1-1:1.0: USB hub found
[ 1.790934] hub 1-1:1.0: 5 ports detected
[ 1.902516] at24 1-0057: 128 byte 24c01 EEPROM, writable, 1 bytes/write
[ 1.912615] rtc-ds1307 1-006f: registered as rtc0
[ 1.978808] i2c /dev entries driver
[ 2.111443] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 2.241827] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.247432] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber =0
[ 2.253287] smsc95xx v1.0.6
[ 2.354969] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb- 1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:3b:53:6f
[ 2.380054] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O pts: (null)
[ 3.096055] NET: Registered protocol family 10
[ 3.100116] Segment Routing with IPv6
[ 3.112592] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.146397] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SEL INUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL + XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 3.155059] systemd[1]: Detected architecture arm.
[ 3.159931] systemd[1]: Set hostname to <unipi>.
[ 3.167276] systemd[1]: Hardware watchdog 'Broadcom BCM2835 Watchdog timer', version 0
[ 3.167361] systemd[1]: Set hardware watchdog to 10s.
[ 3.587377] systemd[1]: [/lib/systemd/system/evok.service:21] Unknown lvalue 'StartLimitIntervalSec' in section 'Service'
[ 3.635121] systemd[1]: Started Forward Password Requests to Wall Directory W atch.
[ 3.640800] systemd[1]: Reached target Swap.
[ 3.644711] systemd[1]: Created slice User and Session Slice.
[ 3.650119] systemd[1]: Listening on udev Kernel Socket.
[ 3.941156] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 4.010391] systemd-journald[223]: Received request to flush runtime journal from PID 1
[ 4.666951] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.669785] bcm2835_alsa bcm2835_alsa: card created with 8 channels
[ 4.840729] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 4.851008] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdi o.bin for chip 0x00a9a6(43430) rev 0x000001
[ 4.851272] usbcore: registered new interface driver brcmfmac
[ 5.123838] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 23 2 017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
[ 5.124585] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 7. 11.15 Compiler: 1.24.2 ClmImport: 1.24.1 Creation: 2014-05-26 10:53:55 Inc Data: 9.10.39 Inc Compiler: 1.29.4 Inc ClmImport: 1.36.3 Creation: 2017-10-23 03:47:1 4
[ 6.152333] uart-pl011 3f201000.serial: no DMA platform data
[ 6.475671] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:1 02396k SSFS
[ 6.618805] random: crng init done
[ 6.625451] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 6.625470] brcmfmac: power management disabled
[ 6.962614] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 8.550145] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E 1
[ 10.615771] Bluetooth: Core ver 2.22
[ 10.615849] NET: Registered protocol family 31
[ 10.615856] Bluetooth: HCI device and connection manager initialized
[ 10.615876] Bluetooth: HCI socket layer initialized
[ 10.615889] Bluetooth: L2CAP socket layer initialized
[ 10.615920] Bluetooth: SCO socket layer initialized
[ 10.627765] Bluetooth: HCI UART driver ver 2.3
[ 10.627780] Bluetooth: HCI UART protocol H4 registered
[ 10.627786] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 10.628035] Bluetooth: HCI UART protocol Broadcom registered
[ 10.786346] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 10.786354] Bluetooth: BNEP filters: protocol multicast
[ 10.786368] Bluetooth: BNEP socket layer initialized
[ 429.106991] systemd[1]: apt-daily-upgrade.timer: Adding 29min 20.750225s rand om time.
[ 5867.054072] smsc95xx 1-1.1:1.0 eth0: link down
[423864.359380] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1 E1
pi@L203-sn18:~ $
systemctl status unipitcp
root@L203-sn18:/home/pi# systemctl status unipitcp
● unipitcp.service - Unipi Neuron/Axon Modbus/Tcp Server
Loaded: loaded (/lib/systemd/system/unipitcp.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2018-10-18 12:58:22 UTC; 4 days ago
Process: 1594 ExecStartPre=/bin/sh -c if [ "${FIRMWARE_UPDATE}" = "1" ]; then /opt/unipi-bin/fwspi --auto; fi (code=exited, status=0/SUCCESS)
Main PID: 1598 (unipi_tcp_serve)
CGroup: /system.slice/unipitcp.service
└─1598 /opt/unipi-bin/unipi_tcp_server -p 502
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
root@L203-sn18:/home/pi#
root@L203-sn18:/etc# systemctl status evok
● evok.service - EVOK ModBus/WebSocket/RPC Server
Loaded: loaded (/lib/systemd/system/evok.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2018-10-18 11:53:44 UTC; 56min ago
Main PID: 509 (python)
CGroup: /system.slice/evok.service
├─509 /opt/evok/bin/python /opt/evok/lib/python2.7/site-packages/evok/evok.py
└─579 /opt/evok/bin/python /opt/evok/lib/python2.7/site-packages/evok/evok.py
Oct 18 12:46:56 L203-sn18 OWFS[579]: DEFAULT: ow_reconnect.c:(72) DS2482-100 bus master reconnected
Oct 18 12:47:16 L203-sn18 OWFS[579]: DEFAULT: ow_reconnect.c:(72) DS2482-100 bus master reconnected
Oct 18 12:47:36 L203-sn18 OWFS[579]: DEFAULT: ow_reconnect.c:(72) DS2482-100 bus master reconnected
Oct 18 12:47:56 L203-sn18 OWFS[579]: DEFAULT: ow_reconnect.c:(72) DS2482-100 bus master reconnected
Oct 18 12:48:16 L203-sn18 OWFS[579]: DEFAULT: ow_reconnect.c:(72) DS2482-100 bus master reconnected
Oct 18 12:48:36 L203-sn18 OWFS[579]: DEFAULT: ow_reconnect.c:(72) DS2482-100 bus master reconnected
Oct 18 12:48:56 L203-sn18 OWFS[579]: DEFAULT: ow_reconnect.c:(72) DS2482-100 bus master reconnected
Oct 18 12:49:16 L203-sn18 OWFS[579]: DEFAULT: ow_reconnect.c:(72) DS2482-100 bus master reconnected
Oct 18 12:49:36 L203-sn18 OWFS[579]: DEFAULT: ow_reconnect.c:(72) DS2482-100 bus master reconnected
Oct 18 12:49:56 L203-sn18 OWFS[579]: DEFAULT: ow_reconnect.c:(72) DS2482-100 bus master reconnected
root@L203-sn18:/etc# systemctl status unipitcp
● unipitcp.service - Unipi Neuron/Axon Modbus/Tcp Server
Loaded: loaded (/lib/systemd/system/unipitcp.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2018-10-18 11:53:44 UTC; 56min ago
Main PID: 538 (unipi_tcp_serve)
CGroup: /system.slice/unipitcp.service
└─538 /opt/unipi-bin/unipi_tcp_server -p 502
Oct 18 11:53:44 unipi systemd[1]: Starting Unipi Neuron/Axon Modbus/Tcp Server...
Oct 18 11:53:44 unipi systemd[1]: Started Unipi Neuron/Axon Modbus/Tcp Server.
root@L203-sn18:/etc#
I use the image UniPian-Neuron-OS-2018-06-15.img on NEURON L203 (there already is correct file /etc/apt/sources.list.d/unipi.list and ngix)
After I did an EVOK update according to
https://github.com/UniPiTechnology/evok
sudo su
apt-get install unipi-modbus-tools
apt-get install evok
reboot
and now, I don't see any ports via webbrowser as below
How can I fix it?
When we can do something with that?