Autor Tema: Orange Pi One y Orange Pi PC  (Leído 39789 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 5.647
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Orange Pi One y Orange Pi PC
« en: 24 de Febrero del 2016, 18:40:12 pm »
Ya está aquí, ya ha llegado.

El mundo no se termina en Raspberry Pi.

Os presente mi nueva Orange Pi One.....veremos a ver que tal se comporta.

Todo esto por 12 euros puesta en casa

CPU H3 Quad-core Cortex-A7 H.265/HEVC 4K

GPU Mali400MP2 GPU @600MHz. Con soporte OpenGL ES 2.0

Memoria 512MB DDR3 (compartida conGPU)

TF/MMC  (Max. 64GB)

10/100M Ethernet RJ45

USB 2.0 Port

USB 2.0 OTG

Power Button(SW4)

Low-level peripherals

40 Pins Header,compatible with Raspberry Pi B+

Supported OS Android Ubuntu, Debian, Rasberry Pi Image

Y algo más.......por 12 Euros.....

« Última modificación: 11 de Enero del 2017, 15:34:41 pm por jantoni »

Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

GW2000 + WS90 con Weewx (https://www.ecowitt.net/home/index?id=199315)
WH2650 con WH65 con Home Assistant y Weewx (https://www.ecowitt.net/home/index?id=40387)
GW1000 con WH32 y Home Assistant (https://www.ecowitt.net/home/index?id=17080)
Sensores adicionales: WH31 (3) + WH41

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 5.647
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Orange Pi One
« Respuesta #1 en: 24 de Febrero del 2016, 18:45:19 pm »
Más información en

http://www.orangepi.org/orangepione/

Ah....que nadie piense que una "imagen" de Raspberry funciona directamente......es compatible con Raspbian.....pero con una versión adaptada.

Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

GW2000 + WS90 con Weewx (https://www.ecowitt.net/home/index?id=199315)
WH2650 con WH65 con Home Assistant y Weewx (https://www.ecowitt.net/home/index?id=40387)
GW1000 con WH32 y Home Assistant (https://www.ecowitt.net/home/index?id=17080)
Sensores adicionales: WH31 (3) + WH41

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 5.647
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Orange Pi One
« Respuesta #2 en: 27 de Febrero del 2016, 11:13:57 am »
Bueno, tras unos intentos fallidos, ya tengo una imagen funcionando.

Después de un intento fallido con Debian, ahora tengo una imagen de Ubuntu 14.04 como server.

Deseché Debian por una poderosa razón. No había modo de reiniciar el sistema. Siempre que se solicitaba el reinicio, se apagaba pero no volvía a iniciar.

Citar
jantoni@Dell-Vostro:~/orangepi$ ssh root@192.168.0.120
root@192.168.0.120's password:
Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.4.39 armv7l)

 * Documentation:  https://help.ubuntu.com/
Last login: Thu Jan  1 00:01:29 1970 from 192.168.0.111
****************************************
WARNING: TO RESIZE FILESYSTEM RUN:
sudo fs_resize
to remove this message run:
sudo rm /usr/local/bin/fs_resize_warning
****************************************
root@OrangePI:~#

Seguimos con ello

Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

GW2000 + WS90 con Weewx (https://www.ecowitt.net/home/index?id=199315)
WH2650 con WH65 con Home Assistant y Weewx (https://www.ecowitt.net/home/index?id=40387)
GW1000 con WH32 y Home Assistant (https://www.ecowitt.net/home/index?id=17080)
Sensores adicionales: WH31 (3) + WH41

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 5.647
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Orange Pi One
« Respuesta #3 en: 27 de Febrero del 2016, 11:40:01 am »
Modificado el script.bin siguiendo las instrucciones de CNX-Software.

http://www.cnx-software.com/orange-pi/xunlong_orange_pi_one_script.bin

Código: [Seleccionar]
jantoni@Dell-Vostro:~/orangepi$ ssh root@192.168.0.120
root@192.168.0.120's password:
Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.4.39 armv7l)

 * Documentation:  https://help.ubuntu.com/
Last login: Thu Jan  1 00:04:37 1970 from 192.168.0.111
****************************************
WARNING: TO RESIZE FILESYSTEM RUN:
sudo fs_resize
to remove this message run:
sudo rm /usr/local/bin/fs_resize_warning
****************************************
root@OrangePI:~# dmesg
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.39 (boris@UbuntuMate) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #1 SMP PREEMPT Mon Oct 12 12:02:29 CEST 2015
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun8i
[    0.000000] Ignoring tag cmdline (using the default kernel command line)
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] cma: CMA: reserved 160 MiB at 56000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c1000cc0, node_mem_map c10dd000
[    0.000000]   Normal zone: 1152 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 129920 pages, LIFO batch:31
[    0.000000] script_init enter!
[    0.000000] script_init exit!
[    0.000000] PERCPU: Embedded 8 pages/cpu @c156f000 s11840 r8192 d12736 u32768
[    0.000000] pcpu-alloc: s11840 r8192 d12736 u32768 alloc=8*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: earlyprintk=ttyS0,115200 loglevel=8 initcall_debug=0 console=ttyS0,115200 console=tty0 init=/init
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 337392k/337392k available, 186896k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0986378   (9721 kB)
[    0.000000]       .init : 0xc0987000 - 0xc0f86e40   (6144 kB)
[    0.000000]       .data : 0xc0f88000 - 0xc1003738   ( 494 kB)
[    0.000000]        .bss : 0xc1003eec - 0xc10dc400   ( 866 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:544
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty0] enabled, bootconsole disabled
[    0.019904] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.019959] pid_max: default: 32768 minimum: 301
[    0.020229] Mount-cache hash table entries: 512
[    0.021113] Initializing cgroup subsys cpuacct
[    0.021142] Initializing cgroup subsys freezer
[    0.021187] CPU: Testing write buffer coherency: ok
[    0.021249] ftrace: allocating 26203 entries in 77 pages
[    0.050266] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.050298] [sunxi_smp_prepare_cpus] enter
[    0.050339] Setting up static identity map for 0x406d2af0 - 0x406d2b48
[    0.051173] CPU1: Booted secondary processor
[    0.051173] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.051305] CPU2: Booted secondary processor
[    0.051305] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.051305] CPU3: Booted secondary processor
[    0.051305] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.060173] Brought up 4 CPUs
[    0.060255] SMP: Total of 4 processors activated (19200.00 BogoMIPS).
[    0.060838] devtmpfs: initialized
[    0.063147] wakeup src cnt is : 1.
[    0.063166] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000
[    0.063189] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x0
[    0.063213] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40
[    0.063238] sunxi pm init
[    0.063358] pinctrl core: initialized pinctrl subsystem
[    0.070820] NET: Registered protocol family 16
[    0.071469] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.071469] script_sysfs_init success
[    0.071469] sunxi_dump_init success
[    0.072147] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl
[    0.072147] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.072147] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.072147] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.072147] script config pll_video to 297 Mhz
[    0.072147] script config pll_de to 864 Mhz
[    0.072147] script config pll_ve to 402 Mhz
[    0.072147] sunxi_default_clk_init
[    0.072147] try to set pll6ahb1 to 200000000
[    0.072147] try to set ahb clk source to pll6ahb1
[    0.072147] set ahb clk source to pll6ahb1
[    0.072147] try to set ahb1 to 200000000
[    0.072147] try to set apb1 to 100000000
[    0.072147] ===fe3o4==== sunxi_root_procfs_attach ret:0
[    0.080218] bio: create slab <bio-0> at 0
[    0.080369] [ARISC] :sunxi-arisc driver v1.04
[    0.091573] [ARISC] :arisc version: [v0.1.34]
[    0.173958] [ARISC] :sunxi-arisc driver v1.04 startup succeeded
[    0.180383] SCSI subsystem initialized
[    0.180571] usbcore: registered new interface driver usbfs
[    0.180648] usbcore: registered new interface driver hub
[    0.180691] usbcore: registered new device driver usb
[    0.180691] twi_chan_cfg()335 - [twi0] has no twi_regulator.
[    0.180691] twi_chan_cfg()335 - [twi1] has no twi_regulator.
[    0.180691] twi_chan_cfg()335 - [twi2] has no twi_regulator.
[    0.180691] Linux video capture interface: v2.00
[    0.180708] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.181184] Bluetooth: Core ver 2.16
[    0.181232] NET: Registered protocol family 31
[    0.181253] Bluetooth: HCI device and connection manager initialized
[    0.181280] Bluetooth: HCI socket layer initialized
[    0.181302] Bluetooth: L2CAP socket layer initialized
[    0.181342] Bluetooth: SCO socket layer initialized
[    0.181554] cfg80211: Calling CRDA to update world regulatory domain
[    0.181632] Switching to clocksource arch_sys_counter
[    0.191984] FS-Cache: Loaded
[    0.192257] CacheFiles: Loaded
[    0.201780] NET: Registered protocol family 2
[    0.202048] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.202532] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.202774] TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
[    0.202991] TCP: Hash tables configured (established 16384 bind 16384)
[    0.203015] TCP: reno registered
[    0.203034] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.203068] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.203337] NET: Registered protocol family 1
[    0.203678] RPC: Registered named UNIX socket transport module.
[    0.203706] RPC: Registered udp transport module.
[    0.203724] RPC: Registered tcp transport module.
[    0.203741] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.540000] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available
[    0.540203] sunxi_reg_init enter
[    0.540922] audit: initializing netlink socket (disabled)
[    0.540980] type=2000 audit(0.540:1): initialized
[    0.542632] NFS: Registering the id_resolver key type
[    0.542970] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.543609] NTFS driver 2.1.30 [Flags: R/W].
[    0.543741] fuse init (API version 7.18)
[    0.544421] Btrfs loaded
[    0.544453] msgmni has been set to 978
[    0.545469] io scheduler noop registered
[    0.545493] io scheduler deadline registered
[    0.545575] io scheduler cfq registered (default)
[    0.545994] [DISP]disp_module_init
[    0.546299] cmdline,disp=
[    0.552717] [DISP] Fb_map_kernel_logo,line:925:Fb_map_kernel_logo failed!
[    0.565469] Console: switching to colour frame buffer device 160x45
[    0.579113] [DISP]disp_module_init finish
[    0.579402] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.
[    0.579810] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[    0.579953] sw_uart_pm()890 - uart0 clk is already enable
[    0.580144] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[    0.772113] console [ttyS0] enabled
[    1.209735] sunxi_cmatest_init enter
[    1.372484] sunxi_cmatest_init success
[    1.531611] loop: module loaded
[    1.678536] sunxi_spi_chan_cfg()1355 - [spi-0] has no spi_regulator.
[    1.839756] sunxi_spi_chan_cfg()1355 - [spi-1] has no spi_regulator.
[    1.902337] tun: Universal TUN/TAP device driver, 1.6
[    1.911793] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.923352] PPP generic driver version 2.4.2
[    1.932182] PPP BSD Compression module registered
[    1.941328] PPP Deflate Compression module registered
[    1.952918] PPP MPPE Compression module registered
[    1.962098] NET: Registered protocol family 24
[    1.970830] PPTP driver version 0.8.5
[    1.978787] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.009914] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.022695] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[    2.035485] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[    2.060029] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[    2.070974] hub 1-0:1.0: USB hub found
[    2.078914] hub 1-0:1.0: 1 port detected
[    2.107403] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.120261] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2
[    2.133010] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000
[    2.160037] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00
[    2.170858] hub 2-0:1.0: USB hub found
[    2.178770] hub 2-0:1.0: 1 port detected
[    2.187203] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.217868] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.230199] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 3
[    2.242465] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[    2.314479] hub 3-0:1.0: USB hub found
[    2.322496] hub 3-0:1.0: 1 port detected
[    2.350976] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.363475] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 4
[    2.375915] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400
[    2.444494] hub 4-0:1.0: USB hub found
[    2.452670] hub 4-0:1.0: 1 port detected
[    2.461269] Initializing USB Mass Storage driver...
[    2.470730] usbcore: registered new interface driver usb-storage
[    2.481324] USB Mass Storage support registered.
[    2.490383] usbcore: registered new interface driver ums-alauda
[    2.500902] usbcore: registered new interface driver ums-cypress
[    2.511452] usbcore: registered new interface driver ums-datafab
[    2.521896] usbcore: registered new interface driver ums_eneub6250
[    2.532438] usbcore: registered new interface driver ums-freecom
[    2.542766] usbcore: registered new interface driver ums-isd200
[    2.552984] usbcore: registered new interface driver ums-jumpshot
[    2.563415] usbcore: registered new interface driver ums-karma
[    2.573431] usbcore: registered new interface driver ums-onetouch
[    2.583756] usbcore: registered new interface driver ums-realtek
[    2.593895] usbcore: registered new interface driver ums-sddr09
[    2.603864] usbcore: registered new interface driver ums-sddr55
[    2.613754] usbcore: registered new interface driver ums-usbat
[    2.623570] usbcore: registered new interface driver usbserial
[    2.633232] usbserial: USB Serial Driver core
[    2.641278] usbcore: registered new interface driver option
[    2.650694] USB Serial support registered for GSM modem (1-port)
[    2.661032] file system registered
[    2.669424] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    2.680307] android_usb gadget: Number of LUNs=3
[    2.688575]  lun0: LUN: removable file: (no medium)
[    2.697147]  lun1: LUN: removable file: (no medium)
[    2.705677]  lun2: LUN: removable file: (no medium)
[    2.714438] android_usb gadget: android_usb ready
[    2.722942]  uinput result 0 , vmouse_init
[    2.731105] mousedev: PS/2 mouse device common for all mice
[    2.740544] sunxikbd_init failed.
[    2.747301] ls_fetch_sysconfig_para: type err  device_used = 0.
« Última modificación: 27 de Febrero del 2016, 19:27:36 pm por jantoni »

Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

GW2000 + WS90 con Weewx (https://www.ecowitt.net/home/index?id=199315)
WH2650 con WH65 con Home Assistant y Weewx (https://www.ecowitt.net/home/index?id=40387)
GW1000 con WH32 y Home Assistant (https://www.ecowitt.net/home/index?id=17080)
Sensores adicionales: WH31 (3) + WH41

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 5.647
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Orange Pi One
« Respuesta #4 en: 27 de Febrero del 2016, 11:40:15 am »
Código: [Seleccionar]
[    2.757046] =========script_get_err============
[    2.765120] ltr_init: ls_fetch_sysconfig_para err.
[    2.773772] [RTC] WARNING: Rtc time will be wrong!!
[    2.782473] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[    2.792956] i2c /dev entries driver
[    2.800100] IR RC5(x) protocol handler initialized
[    2.808547] sunxi tsc version 0.1
[    2.815374] tscdev_init: tsc driver is disabled
[    2.823566] sunxi cedar version 0.1
[    2.830558] [cedar]: install start!!!
[    2.837746] [cedar]: install end!!!
[    2.844552] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[    2.854637] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[    2.865991] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[    2.879547] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[    2.888885] timeout_to_interv, line 167
[    2.896250] interv_to_timeout, line 189
[    2.903570] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[    2.916243] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[    2.929044] Bluetooth: HCI UART driver ver 2.2
[    2.937435] [cpu_freq] ERR:get cpu extremity frequency from sysconfig failed, use max_freq
[    2.950454] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.109 2014-12-4 20:51) Compiled in Oct 12 2015 at 12:00:18
[    2.965662] [mmc]: get mmc0's sdc_power is null!
[    2.974619] [mmc]: get mmc1's sdc_power is null!
[    2.983670] [mmc]: get mmc1's 2xmode ok, val = 1
[    2.992624] [mmc]: get mmc1's ddrmode ok, val = 1
[    3.001701] [mmc]: MMC host used card: 0x3, boot card: 0x0, io_card 2
[    3.013736] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.030919] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.047584] no blue_led, ignore it!
[    3.055791] Registered led device: red_led
[    3.064559] Registered led device: green_led
[    3.074768] usbcore: registered new interface driver usbhid
[    3.085056] usbhid: USB HID core driver
[    3.096795] asoc: sndcodec <-> sunxi-codec mapping ok
[    3.109483] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok
[    3.120466] oprofile: using arm/armv7-ca7
[    3.129073] u32 classifier
[    3.136109]     Actions configured
[    3.143965] Netfilter messages via NETLINK v0.30.
[    3.153352] nf_conntrack version 0.5.0 (7831 buckets, 31324 max)
[    3.164520] ctnetlink v0.93: registering with nfnetlink.
[    3.174611] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    3.186542] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    3.197522] xt_time: kernel timezone is -0000
[    3.206679] IPv4 over IPv4 tunneling driver
[    3.215875] gre: GRE over IPv4 demultiplexor driver
[    3.225455] ip_gre: GRE over IPv4 tunneling driver
[    3.235486] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.245683] arp_tables: (C) 2002 David S. Miller
[    3.254956] TCP: cubic registered
[    3.262698] Initializing XFRM netlink socket
[    3.271712] NET: Registered protocol family 10
[    3.281817] Mobile IPv6
[    3.288612] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    3.298956] IPv6 over IPv4 tunneling driver
[    3.308748] NET: Registered protocol family 17
[    3.317782] NET: Registered protocol family 15
[    3.326850] Bluetooth: RFCOMM TTY layer initialized
[    3.336181] Bluetooth: RFCOMM socket layer initialized
[    3.345738] Bluetooth: RFCOMM ver 1.11
[    3.353729] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.363417] Bluetooth: BNEP filters: protocol multicast
[    3.372937] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.383274] L2TP core driver, V2.0
[    3.390622] PPPoL2TP kernel driver, V2.0
[    3.398408] L2TP IP encapsulation support (L2TPv3)
[    3.407167] L2TP netlink interface
[    3.414376] L2TP ethernet pseudowire support (L2TPv3)
[    3.423463] Registering the dns_resolver key type
[    3.432373] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    3.444474] ThumbEE CPU extension supported.
[    3.452773] Registering SWP/SWPB emulation handler
[    3.462488] cmdline,disp=
[    3.468883] [HDMI] power vcc-hdmi-18
[    3.507059] sunxi-rtc sunxi-rtc: hctosys: unable to read the hardware clock
[    3.518447] ths_fetch_sysconfig_para: type err  device_used = 1.
[    3.530159] CPU Budget:Register notifier
[    3.538114] CPU Budget:register Success
[    3.545918] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0
[    3.562360] [rf_pm]: select module num is 7
[    3.570765] [rf_pm]: module power0 name vcc-wifi-33
[    3.579874] [rf_pm]: failed to fetch module_power1
[    3.588913] [rf_pm]: mod has no chip_en gpio
[    3.597344] [rf_pm]: failed to fetch lpo_use_apclk
[    3.606324] [rf_pm]: regulator on.
[    3.613700] [wifi_pm]: no wifi used in configuration
[    3.622844] ALSA device list:
[    3.629704]   #0: audiocodec
[    3.636384]   #1: sndhdmi
[    3.642780] Warning: unable to open an initial console.
[    3.657250] Freeing init memory: 6140K
[    4.015067] [mmc]: mmc 0 detect change, present 1
[    4.110080] [DISP] disp_device_attached_and_enable,line:159:attched ok, mgr0<-->device0, type=4, mode=4
[    4.520117] [mmc]: sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.538404] [mmc]: sdc0 power_supply is null
[    4.570075] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.602394] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 52,  RTO !!
[    4.618682] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 52,  RTO !!
[    4.628659] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.654271] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.673212] *******************Try sdio*******************
[    4.685210] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !!
[    4.698879] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !!
[    4.712635] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !!
[    4.726229] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !!
[    4.738499] *******************Try sd *******************
[    4.749375] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.764052] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.781025] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.811522] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.826717] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    4.840978] [mmc]: sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    4.855209] [mmc]: sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[    4.869339] mmc0: new high speed SDHC card at address 0001
[    4.879661] mmcblk0: mmc0:0001 00000 14.6 GiB
[    4.889458]  mmcblk0: p1 p2
[    4.896877] *******************sd init ok*******************
[   10.031432] systemd-udevd[107]: starting version 215
[   11.141508] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   11.978483] init: plymouth-upstart-bridge main process (152) terminated with status 1
[   11.992210] init: plymouth-upstart-bridge main process ended, respawning
[   12.031830] init: plymouth-upstart-bridge main process (161) terminated with status 1
[   12.045299] init: plymouth-upstart-bridge main process ended, respawning
[   12.077509] init: plymouth-upstart-bridge main process (164) terminated with status 1
[   12.090985] init: plymouth-upstart-bridge main process ended, respawning
[   12.441549] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[   13.165742] systemd-udevd[273]: starting version 204
[   13.326608] 8189es: disagrees about version of symbol module_layout
[   15.269924] init: plymouth-upstart-bridge main process ended, respawning
[   15.298754] gmac0: probed
[   15.298933] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00)
[   19.290286] PHY: gmac0-0:00 - Link is Up - 100/Full
[   21.290266] PHY: gmac0-0:00 - Link is Down
[   23.290265] PHY: gmac0-0:00 - Link is Up - 100/Full
[   25.290428] PHY: gmac0-0:00 - Link is Down
[   26.290279] PHY: gmac0-0:00 - Link is Up - 100/Full
[   26.340038] eth0: no IPv6 routers present
[   28.290417] PHY: gmac0-0:00 - Link is Down
[   29.290268] PHY: gmac0-0:00 - Link is Up - 100/Full
[   31.290371] PHY: gmac0-0:00 - Link is Down
[   35.290283] PHY: gmac0-0:00 - Link is Up - 100/Full
[   37.290270] PHY: gmac0-0:00 - Link is Down
[   38.290263] PHY: gmac0-0:00 - Link is Up - 100/Full
[   40.290261] PHY: gmac0-0:00 - Link is Down
[   41.290272] PHY: gmac0-0:00 - Link is Up - 100/Full
[   43.290271] PHY: gmac0-0:00 - Link is Down
[   44.290265] PHY: gmac0-0:00 - Link is Up - 100/Full
root@OrangePI:~#

Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

GW2000 + WS90 con Weewx (https://www.ecowitt.net/home/index?id=199315)
WH2650 con WH65 con Home Assistant y Weewx (https://www.ecowitt.net/home/index?id=40387)
GW1000 con WH32 y Home Assistant (https://www.ecowitt.net/home/index?id=17080)
Sensores adicionales: WH31 (3) + WH41

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 5.647
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Orange Pi One
« Respuesta #5 en: 27 de Febrero del 2016, 11:55:14 am »
Vamos a instalar Weewx con una Fine Offset (PCE FWS-20)

Lo primero es conectar la consola a la Orange Pi One

Citar
dmesg

[  734.168514] ehci_irq: highspeed device connect
[  734.310195] ehci_irq: highspeed device disconnect
[  734.310227] ohci_irq: fullspeed or lowspeed device connect
[  734.730096] usb 4-1: new low-speed USB device number 2 using sunxi-ohci
[  734.965877] generic-usb 0003:1941:8021.0001: hiddev0,hidraw0: USB HID v1.00 Device [HID 1941:8021] on usb-sunxi-ohci-1/input0
root@OrangePI:/#

Nos la detecta correctamente.
Citar
lsusb

root@OrangePI:/# lsusb
Bus 004 Device 002: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@OrangePI:/#
« Última modificación: 27 de Febrero del 2016, 11:56:57 am por jantoni »

Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

GW2000 + WS90 con Weewx (https://www.ecowitt.net/home/index?id=199315)
WH2650 con WH65 con Home Assistant y Weewx (https://www.ecowitt.net/home/index?id=40387)
GW1000 con WH32 y Home Assistant (https://www.ecowitt.net/home/index?id=17080)
Sensores adicionales: WH31 (3) + WH41

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 5.647
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Orange Pi One
« Respuesta #6 en: 27 de Febrero del 2016, 12:08:10 pm »
Citar
root@OrangePI:/# cd
root@OrangePI:~# ls
root@OrangePI:~# ls
root@OrangePI:~# wget http://www.weewx.com/downloads/weewx_3.4.0-1_all.deb
--2016-02-27 10:59:59--  http://www.weewx.com/downloads/weewx_3.4.0-1_all.deb
Resolving www.weewx.com (www.weewx.com)... 97.74.144.107
Connecting to www.weewx.com (www.weewx.com)|97.74.144.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1009128 (985K) [text/plain]
Saving to: ‘weewx_3.4.0-1_all.deb’

100%[=============================================================================>] 1,009,128    443KB/s   in 2.2s   

2016-02-27 11:00:02 (443 KB/s) - ‘weewx_3.4.0-1_all.deb’ saved [1009128/1009128]

root@OrangePI:~# ls
weewx_3.4.0-1_all.deb
root@OrangePI:~# dpkg -k wee*.deb
dpkg: error: unknown option -k

Type dpkg --help for help about installing and deinstalling packages
  • ;

Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked
  • produce a lot of output - pipe it through 'less' or 'more' !

root@OrangePI:~# dpkg -i wee*.deb
Selecting previously unselected package weewx.
(Reading database ... 14587 files and directories currently installed.)
Preparing to unpack weewx_3.4.0-1_all.deb ...

Vienen las preguntas de configuración de ubicación, tipo de estación, etc.....

Cuando terminan las preguntas, viene el error por faltar programas como apache, etc, etc.

Unpacking weewx (3.4.0-1) ...
dpkg: dependency problems prevent configuration of weewx:
 weewx depends on python (>= 2.5); however:
  Package python is not installed.
 weewx depends on python-configobj (>= 4.5); however:
  Package python-configobj is not installed.
 weewx depends on python-cheetah (>= 2.0); however:
  Package python-cheetah is not installed.
 weewx depends on python-imaging (>= 1.1.6); however:
  Package python-imaging is not installed.
 weewx depends on python-serial (>= 2.3); however:
  Package python-serial is not installed.
 weewx depends on python-usb (>= 0.4); however:
  Package python-usb is not installed.

dpkg: error processing package weewx (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 weewx

No problem.....seguimos como se indica en el manual de instalación

Citar
root@OrangePI:~# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libmpdec2
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  libfreetype6 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libpython-stdlib
  libpython2.7-minimal libpython2.7-stdlib libtiff5 libwebp5 libwebpmux1
  python python-cheetah python-configobj python-imaging python-minimal
  python-pil python-serial python-usb python2.7 python2.7-minimal
Suggested packages:
  liblcms2-utils python-doc python-tk python-markdown python-pygments
  python-memcache python-pil-doc python-pil-dbg python-wxgtk2.8 python-wxgtk
  python2.7-doc binutils binfmt-support
The following NEW packages will be installed:
  libfreetype6 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libpython-stdlib
  libpython2.7-minimal libpython2.7-stdlib libtiff5 libwebp5 libwebpmux1
  python python-cheetah python-configobj python-imaging python-minimal
  python-pil python-serial python-usb python2.7 python2.7-minimal
0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 4,930 kB of archives.
After this operation, 20.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libpython2.7-minimal armhf 2.7.6-8ubuntu0.2 [307 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python2.7-minimal armhf 2.7.6-8ubuntu0.2 [1,049 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libpython2.7-stdlib armhf 2.7.6-8ubuntu0.2 [1,821 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python2.7 armhf 2.7.6-8ubuntu0.2 [197 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-minimal armhf 2.7.5-5ubuntu3 [27.4 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libpython-stdlib armhf 2.7.5-5ubuntu3 [6,984 B]
Get:7 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python armhf 2.7.5-5ubuntu3 [134 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-configobj all 4.7.2+ds-5build1 [174 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-cheetah armhf 2.4.4-3.fakesyncbuild1 [143 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libfreetype6 armhf 2.5.2-1ubuntu2.5 [253 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libjpeg-turbo8 armhf 1.3.0-0ubuntu2 [85.2 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libjpeg8 armhf 8c-2ubuntu8 [2,202 B]
Get:13 http://ports.ubuntu.com/ubuntu-ports/ trusty/main liblcms2-2 armhf 2.5-0ubuntu4 [107 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libjbig0 armhf 2.0-2ubuntu4.1 [23.3 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libtiff5 armhf 4.0.3-7ubuntu0.3 [129 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libwebp5 armhf 0.4.0-4 [122 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libwebpmux1 armhf 0.4.0-4 [11.5 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-pil armhf 2.3.0-1ubuntu3 [257 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-imaging all 2.3.0-1ubuntu3 [4,348 B]
Get:20 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-serial all 2.6-1build1 [60.1 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports/ trusty/universe python-usb armhf 0.4.3-1 [16.4 kB]
Fetched 4,930 kB in 2s (1,771 kB/s)     
Selecting previously unselected package libpython2.7-minimal:armhf.
(Reading database ... 14837 files and directories currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.6-8ubuntu0.2_armhf.deb ...
Unpacking libpython2.7-minimal:armhf (2.7.6-8ubuntu0.2) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.6-8ubuntu0.2_armhf.deb ...
Unpacking python2.7-minimal (2.7.6-8ubuntu0.2) ...
Selecting previously unselected package libpython2.7-stdlib:armhf.
Preparing to unpack .../libpython2.7-stdlib_2.7.6-8ubuntu0.2_armhf.deb ...
Unpacking libpython2.7-stdlib:armhf (2.7.6-8ubuntu0.2) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.6-8ubuntu0.2_armhf.deb ...
Unpacking python2.7 (2.7.6-8ubuntu0.2) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.5-5ubuntu3_armhf.deb ...
Unpacking python-minimal (2.7.5-5ubuntu3) ...
Selecting previously unselected package libpython-stdlib:armhf.
Preparing to unpack .../libpython-stdlib_2.7.5-5ubuntu3_armhf.deb ...
Unpacking libpython-stdlib:armhf (2.7.5-5ubuntu3) ...
Selecting previously unselected package python.
Preparing to unpack .../python_2.7.5-5ubuntu3_armhf.deb ...
Unpacking python (2.7.5-5ubuntu3) ...
Selecting previously unselected package python-configobj.
Preparing to unpack .../python-configobj_4.7.2+ds-5build1_all.deb ...
Unpacking python-configobj (4.7.2+ds-5build1) ...
Selecting previously unselected package python-cheetah.
Preparing to unpack .../python-cheetah_2.4.4-3.fakesyncbuild1_armhf.deb ...
Unpacking python-cheetah (2.4.4-3.fakesyncbuild1) ...
Selecting previously unselected package libfreetype6:armhf.
Preparing to unpack .../libfreetype6_2.5.2-1ubuntu2.5_armhf.deb ...
Unpacking libfreetype6:armhf (2.5.2-1ubuntu2.5) ...
Selecting previously unselected package libjpeg-turbo8:armhf.
Preparing to unpack .../libjpeg-turbo8_1.3.0-0ubuntu2_armhf.deb ...
Unpacking libjpeg-turbo8:armhf (1.3.0-0ubuntu2) ...
Selecting previously unselected package libjpeg8:armhf.
Preparing to unpack .../libjpeg8_8c-2ubuntu8_armhf.deb ...
Unpacking libjpeg8:armhf (8c-2ubuntu8) ...
Selecting previously unselected package liblcms2-2:armhf.
Preparing to unpack .../liblcms2-2_2.5-0ubuntu4_armhf.deb ...
Unpacking liblcms2-2:armhf (2.5-0ubuntu4) ...
Selecting previously unselected package libjbig0:armhf.
Preparing to unpack .../libjbig0_2.0-2ubuntu4.1_armhf.deb ...
Unpacking libjbig0:armhf (2.0-2ubuntu4.1) ...
Selecting previously unselected package libtiff5:armhf.
Preparing to unpack .../libtiff5_4.0.3-7ubuntu0.3_armhf.deb ...
Unpacking libtiff5:armhf (4.0.3-7ubuntu0.3) ...
Selecting previously unselected package libwebp5:armhf.
Preparing to unpack .../libwebp5_0.4.0-4_armhf.deb ...
Unpacking libwebp5:armhf (0.4.0-4) ...
Selecting previously unselected package libwebpmux1:armhf.
Preparing to unpack .../libwebpmux1_0.4.0-4_armhf.deb ...
Unpacking libwebpmux1:armhf (0.4.0-4) ...
Selecting previously unselected package python-pil.
Preparing to unpack .../python-pil_2.3.0-1ubuntu3_armhf.deb ...
Unpacking python-pil (2.3.0-1ubuntu3) ...
Selecting previously unselected package python-imaging.
Preparing to unpack .../python-imaging_2.3.0-1ubuntu3_all.deb ...
Unpacking python-imaging (2.3.0-1ubuntu3) ...
Selecting previously unselected package python-serial.
Preparing to unpack .../python-serial_2.6-1build1_all.deb ...
Unpacking python-serial (2.6-1build1) ...
Selecting previously unselected package python-usb.
Preparing to unpack .../python-usb_0.4.3-1_armhf.deb ...
Unpacking python-usb (0.4.3-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Setting up libpython2.7-minimal:armhf (2.7.6-8ubuntu0.2) ...
Setting up python2.7-minimal (2.7.6-8ubuntu0.2) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up libpython2.7-stdlib:armhf (2.7.6-8ubuntu0.2) ...
Setting up python2.7 (2.7.6-8ubuntu0.2) ...
Setting up python-minimal (2.7.5-5ubuntu3) ...
Setting up libpython-stdlib:armhf (2.7.5-5ubuntu3) ...
Setting up python (2.7.5-5ubuntu3) ...
Setting up python-configobj (4.7.2+ds-5build1) ...
Setting up python-cheetah (2.4.4-3.fakesyncbuild1) ...
Setting up libfreetype6:armhf (2.5.2-1ubuntu2.5) ...
Setting up libjpeg-turbo8:armhf (1.3.0-0ubuntu2) ...
Setting up libjpeg8:armhf (8c-2ubuntu8) ...
Setting up liblcms2-2:armhf (2.5-0ubuntu4) ...
Setting up libjbig0:armhf (2.0-2ubuntu4.1) ...
Setting up libtiff5:armhf (4.0.3-7ubuntu0.3) ...
Setting up libwebp5:armhf (0.4.0-4) ...
Setting up libwebpmux1:armhf (0.4.0-4) ...
Setting up python-pil (2.3.0-1ubuntu3) ...
Setting up python-imaging (2.3.0-1ubuntu3) ...
Setting up python-serial (2.6-1build1) ...
Setting up python-usb (0.4.3-1) ...
Setting up weewx (3.4.0-1) ...
Saved configuration to /etc/weewx/weewx.conf
 * Starting weewx weather system weewx                                                                          [ OK ]
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
root@OrangePI:~#


Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

GW2000 + WS90 con Weewx (https://www.ecowitt.net/home/index?id=199315)
WH2650 con WH65 con Home Assistant y Weewx (https://www.ecowitt.net/home/index?id=40387)
GW1000 con WH32 y Home Assistant (https://www.ecowitt.net/home/index?id=17080)
Sensores adicionales: WH31 (3) + WH41

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 5.647
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Orange Pi One
« Respuesta #7 en: 27 de Febrero del 2016, 12:09:24 pm »
El sistema está funcionando

Citar
root@OrangePI:~# ps aux | grep weewx
root      1455  0.2  1.6  14252  8540 ?        S    11:04   0:00 python /usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
root      1468  0.0  0.1   3772   680 pts/0    S+   11:09   0:00 grep --color=auto weewx
root@OrangePI:~#

Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

GW2000 + WS90 con Weewx (https://www.ecowitt.net/home/index?id=199315)
WH2650 con WH65 con Home Assistant y Weewx (https://www.ecowitt.net/home/index?id=40387)
GW1000 con WH32 y Home Assistant (https://www.ecowitt.net/home/index?id=17080)
Sensores adicionales: WH31 (3) + WH41

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 5.647
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Orange Pi One
« Respuesta #8 en: 27 de Febrero del 2016, 12:10:03 pm »
Una vez iniciada la imagen y funcionando, la instalación de Weewx ha llevado menos de 5 minutos.

Ahora toca ver si todo funciona perfectamente

Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

GW2000 + WS90 con Weewx (https://www.ecowitt.net/home/index?id=199315)
WH2650 con WH65 con Home Assistant y Weewx (https://www.ecowitt.net/home/index?id=40387)
GW1000 con WH32 y Home Assistant (https://www.ecowitt.net/home/index?id=17080)
Sensores adicionales: WH31 (3) + WH41

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 5.647
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Orange Pi One
« Respuesta #9 en: 27 de Febrero del 2016, 12:11:49 pm »
Bien....veo que el servidor apache2 no está funcionando

Soluciono con:

apt-get install apache2


Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

GW2000 + WS90 con Weewx (https://www.ecowitt.net/home/index?id=199315)
WH2650 con WH65 con Home Assistant y Weewx (https://www.ecowitt.net/home/index?id=40387)
GW1000 con WH32 y Home Assistant (https://www.ecowitt.net/home/index?id=17080)
Sensores adicionales: WH31 (3) + WH41

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 5.647
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Orange Pi One
« Respuesta #10 en: 27 de Febrero del 2016, 12:20:44 pm »
Ya está funcionando Apache2

Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

GW2000 + WS90 con Weewx (https://www.ecowitt.net/home/index?id=199315)
WH2650 con WH65 con Home Assistant y Weewx (https://www.ecowitt.net/home/index?id=40387)
GW1000 con WH32 y Home Assistant (https://www.ecowitt.net/home/index?id=17080)
Sensores adicionales: WH31 (3) + WH41

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 5.647
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Orange Pi One
« Respuesta #11 en: 27 de Febrero del 2016, 12:33:50 pm »
Creo un enlace simbólico por el rollo de /var/www/html y todo funcionando, al menos de momento

Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

GW2000 + WS90 con Weewx (https://www.ecowitt.net/home/index?id=199315)
WH2650 con WH65 con Home Assistant y Weewx (https://www.ecowitt.net/home/index?id=40387)
GW1000 con WH32 y Home Assistant (https://www.ecowitt.net/home/index?id=17080)
Sensores adicionales: WH31 (3) + WH41

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 5.647
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Orange Pi One
« Respuesta #12 en: 27 de Febrero del 2016, 12:39:20 pm »
Algo falla....ademmás no hay log.....hay que recordar que era una imagen mínima

Instalamos el sistema de log de Linux

apt-get install rsyslog

y modificamos para que weewx tenga su log tal como se indica en el manual

Una vez reiniciado el sistema, ya tenemos log en /var/log/weewx.log
Citar
root@OrangePI:/var/log# tail -f weewx.log
Feb 27 11:43:49 OrangePI weewx[763]: fousb: found station on USB bus=004 device=002
Feb 27 11:43:49 OrangePI weewx[763]: engine: StdConvert target unit is 0x1
Feb 27 11:43:49 OrangePI weewx[763]: engine: Archive will use data binding wx_binding
Feb 27 11:43:49 OrangePI weewx[763]: engine: Record generation will be attempted in 'hardware'
Feb 27 11:43:50 OrangePI weewx[763]: engine: Using archive interval of 300 seconds
Feb 27 11:43:50 OrangePI weewx[763]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Feb 27 11:43:50 OrangePI weewx[763]: engine: Starting backfill of daily summaries
Feb 27 11:43:50 OrangePI weewx[763]: engine: Daily summaries up to date.
Feb 27 11:43:50 OrangePI weewx[763]: engine: Starting up weewx version 3.4.0
Feb 27 11:43:51 OrangePI weewx[763]: fousb: synchronising to the weather station (quality=1)
Feb 27 11:46:41 OrangePI weewx[763]: manager: added record 2016-02-27 11:41:41 UTC (1456573301) to database 'weewx.sdb'
Feb 27 11:46:41 OrangePI weewx[763]: manager: added record 2016-02-27 11:41:41 UTC (1456573301) to daily summary in 'weewx.sdb'
Feb 27 11:46:42 OrangePI weewx[763]: manager: added record 2016-02-27 11:46:41 UTC (1456573601) to database 'weewx.sdb'
Feb 27 11:46:42 OrangePI weewx[763]: manager: added record 2016-02-27 11:46:41 UTC (1456573601) to daily summary in 'weewx.sdb'
Feb 27 11:46:42 OrangePI weewx[763]: engine: Starting main packet loop.
Feb 27 11:46:44 OrangePI weewx[763]: fousb: station status {'unknown': 0, 'lost_connection': 0, 'rain_overflow': 0} (0)

« Última modificación: 27 de Febrero del 2016, 12:47:50 pm por jantoni »

Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

GW2000 + WS90 con Weewx (https://www.ecowitt.net/home/index?id=199315)
WH2650 con WH65 con Home Assistant y Weewx (https://www.ecowitt.net/home/index?id=40387)
GW1000 con WH32 y Home Assistant (https://www.ecowitt.net/home/index?id=17080)
Sensores adicionales: WH31 (3) + WH41

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 5.647
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Orange Pi One
« Respuesta #13 en: 27 de Febrero del 2016, 18:13:02 pm »
¡Exito total!

Por 12 euros


Bueno, más el alimentador.....pero tengo toneladas de ellos por casa.

Y en menos de media hora.....

Cuando tenga un rato, simplificaré el post.

Davis Vantage Vue (sin datalogger) + Orange Pi PC + Weewx

GW2000 + WS90 con Weewx (https://www.ecowitt.net/home/index?id=199315)
WH2650 con WH65 con Home Assistant y Weewx (https://www.ecowitt.net/home/index?id=40387)
GW1000 con WH32 y Home Assistant (https://www.ecowitt.net/home/index?id=17080)
Sensores adicionales: WH31 (3) + WH41

Desconectado Fran rios (nuco_ne)

  • Newbie
  • *
  • Mensajes: 6
    • Ver Perfil
    • Web Meteorologica
  • Estación: Torreblanca-Fuengirola Malaga ESAND2900000029640A
Re:Orange Pi One
« Respuesta #14 en: 27 de Febrero del 2016, 21:50:19 pm »
 apla3 apla3 apla3 apla3
Web Meteorologica: www.meteofuengirola.no-ip.org/weewx



PCE-FWS 20 + Raspberry pi B + Weewx 3.3.1