nettemp 3 / beta RC3.1

Gałęzie nettempa
XaverY
Posty: 269
Rejestracja: czw gru 03, 2015 10:25 pm
Lokalizacja: Szczecin

Re: RE: Re: nettemp 3 / beta RC3.1

Post autor: XaverY » czw gru 22, 2016 10:38 am

techfreak pisze:
XaverY pisze:
techfreak pisze:

Co do hostów dodanie odejmowanie powinno być już ok
Jeśli klikniesz na dany czujnik w statusie to zawsze przeniesie Cie do wykresów z jednym czujnikiem, tu się nic nie zmieniło.
Co do grup wydaje mi się teraz logiczne że user może wybrać grupe: none, grupe typu, dodać swoją grupę. Aby opuścic grupę trzeba wywalić z nej wszystkie czujniki.
Co do SMS poprawiłem - nie testowałem
Zrobiłem update będę testował.

Co do wykresów to się chyba nie zrozumieliśmy :-)
Jak kliknę sobie na wartość przy hoście (x ms) to przenosi mnie do zakładki charts>host i widzę tylko wykresy dla tego jednego hosta na którego sobie kliknołem.
Niestety u mnie jest brak wykresów i czujniki które mogę sobie wyklikać mają status "undefinedms"
wygląda to dokładnie tak:


Ale jak przejdę sobie w zdefiniowaną grupę czyli charts>Hosty to wszystko działa jak należy i wygląda to tak:


Mam nadzieję, że teraz widać problem

Dodatkowo, czy jest możliwość w hostach ma zmianę ststusu jak nie ma połaczenia?
"Error ms" brzmi trochę dzwinie wg mnie powinno być "ofline" czy coś w tym stylu...

Dorzucam link do filmiku bo ciężko niektóre rzeczy wytłumaczyć co się u mnie dzieje.


Hosty na mapie-duble, trulble i nie można skasować

Wykresy-opisane powyżej.

Hosty na mapie- nie można ustawić położenia dwóch ikonek, wracają na losowe miejsca.
ok, powinno być już ok w hostami i wykresami.
Do wykresów już prowadzi poprawnie, w wykresach też już się wyświetlają hosty,

Niestety nadal nie mogę skonfigrować mapy (czujniki mi spierdzielają, i mam milion razy host google<skasowałem i ponownie dodałem nie przyniosło to rezultatu>).
Cośtam, cośtam....

techfreak
Site Admin
Posty: 4679
Rejestracja: sob mar 15, 2014 2:23 pm
Lokalizacja: Gdansk
Kontakt:

Re: nettemp 3 / beta RC3.1

Post autor: techfreak » czw gru 22, 2016 11:21 am

Pokaż: sqlite3 -header /var/www/nettemp/dbf/nettemp.db "SELECT * FROM maps"

Awatar użytkownika
pasiekazj
Posty: 727
Rejestracja: pn wrz 28, 2015 10:35 am
Lokalizacja: Częstochowa
Kontakt:

Re: nettemp 3 / beta RC3.1

Post autor: pasiekazj » czw gru 22, 2016 11:22 am

Niestety nadal mam brak reakcji na dodawanie przekaźnika na esp. Na interfejsie go widzę. Po kliknięciu plusa strona się odświeża i nic się nie dzieje. W tabeli relays pusto.

Tak jakby nie widzę w plikach sekcji odpowiedzialnej za dodanie do bazy ??
Ostatnio zmieniony czw gru 22, 2016 11:32 am przez pasiekazj, łącznie zmieniany 1 raz.
Rpi 3 + SSD 240 GB + nettemp.
http://mmsite.pl

techfreak
Site Admin
Posty: 4679
Rejestracja: sob mar 15, 2014 2:23 pm
Lokalizacja: Gdansk
Kontakt:

Re: nettemp 3 / beta RC3.1

Post autor: techfreak » czw gru 22, 2016 11:32 am

pasiekazj pisze:Niestety nadal mam brak reakcji na dodawanie przekaźnika na esp. Na interfejsie go widzę. Po kliknięciu plusa strona się odświeża i nic się nie dzieje. W tabeli relays pusto.
Daj screena z devices.

Awatar użytkownika
pasiekazj
Posty: 727
Rejestracja: pn wrz 28, 2015 10:35 am
Lokalizacja: Częstochowa
Kontakt:

Re: nettemp 3 / beta RC3.1

Post autor: pasiekazj » czw gru 22, 2016 11:35 am

Obrazek
Rpi 3 + SSD 240 GB + nettemp.
http://mmsite.pl

XaverY
Posty: 269
Rejestracja: czw gru 03, 2015 10:25 pm
Lokalizacja: Szczecin

Re: nettemp 3 / beta RC3.1

Post autor: XaverY » czw gru 22, 2016 3:20 pm

techfreak pisze:Pokaż: sqlite3 -header /var/www/nettemp/dbf/nettemp.db "SELECT * FROM maps"

Kod: Zaznacz cały

[email protected]_srv:~# sqlite3 -header /var/www/nettemp/dbf/nettemp.db "SELECT * FROM maps"
id|type|element_id|map_num|map_pos|position|map_on|transparent|control_on_map|display_name|transparent_bkg|background_color|background_low|background_high|font_color|font_size|icon
1|sensors|1|1987|{left:15, top:214}|1|on|||on|||||||
2|sensors|2|9846|{left:549, top:466}|1|on|||on|||||||
3|sensors|3|1424|{left:188, top:52}|1||||on|||||||
4|sensors|4|1723|{left:275, top:38}|1|on|||on|||||||
7|sensors|7|3429|{left:803, top:514}|1|on|||on|||||||
8|sensors|8|1072|{left:803, top:533}|1|on|||on|||||||
9|gpio|1|2005|{left:113, top:198}|1|on|||on|||||||Switch
11|sensors|9|4191|{left:9, top:233}|1|on|||on|||||||
12|sensors|10|1225|{left:8, top:133}|1|on|||on|||||||
13|sensors|11|3445|{left:136, top:234}|1|on|||on|||||||
14|sensors|12|5919|{left:135, top:216}|1|on|||on|||||||
30|sensors|15|6025|{left:2, top:389}|1||||on|||||||
39|sensors|19|1591|{left:4, top:415}|1|on|||on|||||||
40|sensors|20|2071|{left:4, top:451}|1|on|||on|||||||
42|sensors|22|7978|{left:3, top:433}|1|on|||on|||||||
46|hosts|19|1920|{left:940, top:264}|1|on||||||||||
47|sensors|25|4376|{left:770, top:104}|1|on|||on|||||||
48|sensors|26|1974|{left:274, top:150}|1|on|||on|||||||
49|sensors|27|1402|{left:164, top:449}|1|on|||on|||||||
50|sensors|28|8793|{left:947, top:534}|1|on|||on|||||||
51|sensors|29|6450|{left:304, top:76}|1|on|||on|||||||
52|sensors|30|1969|{left:-4, top:469}|1|on|||on|||||||
53|sensors|31|1600|{left:787, top:552}|1|on|||on|||||||
54|sensors|32|5472|{left:757, top:27}|1|on|||on|||||||
55|sensors|33|1285|{left:637, top:552}|1|on|||on|||||||
56|sensors|34|1288|{left:693, top:149}|1|on|||on|||||||
57|sensors|35|1878|{left:635, top:534}|1|on|||on|||||||
58|sensors|36|3182|{left:939, top:552}|1|on|||on|||||||
59|sensors|37|2006|{left:136, top:468}|1|on|||on|||||||
60|sensors|38|1931|{left:274, top:131}|1|on|||on|||||||
61|sensors|39|1719|{left:754, top:53}|1|on|||on|||||||
62|sensors|40|2345|{left:958, top:266}|1|on|||on|||||||
63|sensors|41|2102|{left:805, top:34}|1|on||||||||||
64|sensors|42|9867|{left:627, top:516}|1|on|||on|||||||
65|sensors|43|1625|{left:272, top:112}|1|on|||on|||||||
66|sensors|44|3851|{left:291, top:58}|1|on|||on|||||||
67|sensors|45|3285|{left:813, top:72}|1|on|||on|||||||
68|sensors|45|1951|{left:750, top:81}|1|on|||on|||||||
69|sensors|46|1723|{left:275, top:38}|1|on|||on|||||||
70|sensors|47|6756|{left:149, top:0}|1|on|||on|||||||
71|sensors|48|2121|{left:620, top:128}|1|on|||on|||||||
72|sensors|48|1726|{left:617, top:76}|1|on|||on|||||||
73|sensors|49|1762|{left:738, top:129}|1|on|||on|||||||
74|sensors|48|4030|{left:618, top:49}|1|on|||on|||||||
75|sensors|49|1864|{left:608, top:23}|1|on|||on|||||||
76|sensors|48|1152|{left:652, top:106}|1|on|||on|||||||
77|sensors|48|4561|{left:620, top:180}|1|on|||on|||||||
[email protected]_srv:~#
Cośtam, cośtam....

zgf1
Posty: 154
Rejestracja: ndz sty 31, 2016 11:36 am

Re: nettemp 3 / beta RC3.1

Post autor: zgf1 » czw gru 22, 2016 6:32 pm

techfreak pisze: Betę to może testuj gdzieś na boku żeby zimno w domu nie było :P
No właśnie tak zamierzam, najpierw trzeba kupić kartę SD ;)
Zobacz po update do najnowszej wersji:
HEAD is now at 6f7ae06 update esp8266
Already up-to-date.
2016-12-22 18:26:25 nettemp database update: ok
2016-12-22 18:26:25 You have all system packages
Screeny:
http://imgur.com/a/A3rN2


Czujnik jest na 100% dobrze podpięty.
Log:

Kod: Zaznacz cały

[email protected]:/var/www/nettemp/other# ./ntinfo
-----hostname
raspberrypi
-----kernel
Linux raspberrypi 4.4.8-v7+ #881 SMP Sat Apr 30 12:16:50 BST 2016 armv7l GNU/Linux
-----interfaces
eth0 down
lo unknown
wlan0 up
-----memory
             total       used       free     shared    buffers     cached
Mem:           925        562        362         23         44        359
-/+ buffers/cache:        158        766
Swap:           99          0         99
-----cpu
600000
-----version
4 RC1
beta
-----space
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        29G  4.5G   23G  17% /
devtmpfs        459M     0  459M   0% /dev
tmpfs           463M     0  463M   0% /dev/shm
tmpfs           463M  6.6M  457M   2% /run
tmpfs           5.0M  8.0K  5.0M   1% /run/lock
tmpfs           463M     0  463M   0% /sys/fs/cgroup
/dev/mmcblk0p1   60M   21M   40M  35% /boot
/dev/sda1       459G  137G  299G  32% /media/dysk
tmpfs            93M     0   93M   0% /run/user/1000
tmpfs            93M     0   93M   0% /run/user/0
-----apache
apache2                                         install
apache2-bin                                     install
apache2-data                                    install
apache2-utils                                   install
libapache2-mod-php5                             install
./ntinfo: line 22: /etc/init.d/apache: No such file or directory
-----cron
● cron.service - Regular background program processing daemon
   Loaded: loaded (/lib/systemd/system/cron.service; enabled)
   Active: active (running) since Thu 2016-12-22 18:04:58 CET; 25min ago
     Docs: man:cron(8)
 Main PID: 466 (cron)
   CGroup: /system.slice/cron.service
           └─466 /usr/sbin/cron -f

Dec 22 18:29:01 raspberrypi CRON[14907]: (root) CMD (/var/www/nettemp/modules/cron/1)
Dec 22 18:29:13 raspberrypi CRON[14903]: (CRON) info (No MTA installed, discarding output)
Dec 22 18:29:13 raspberrypi CRON[14903]: pam_unix(cron:session): session closed for user root
Dec 22 18:30:01 raspberrypi CRON[15045]: pam_unix(cron:session): session opened for user root by (uid=0)
Dec 22 18:30:01 raspberrypi CRON[15044]: pam_unix(cron:session): session opened for user root by (uid=0)
Dec 22 18:30:01 raspberrypi CRON[15052]: (root) CMD (/var/www/nettemp/modules/cron/1)
Dec 22 18:30:01 raspberrypi CRON[15053]: (root) CMD (/var/www/nettemp/modules/cron/5)
Dec 22 18:30:01 raspberrypi CRON[15044]: pam_unix(cron:session): session closed for user root
Dec 22 18:30:10 raspberrypi CRON[15045]: (CRON) info (No MTA installed, discarding output)
Dec 22 18:30:10 raspberrypi CRON[15045]: pam_unix(cron:session): session closed for user root
-----perms
total 360
drwxrwxr-x  14 root www-data   4096 Dec 22 18:26 .
drwxr-xr-x   4 root root       4096 Apr 24  2016 ..
drwxrwxr-x   2 root www-data   4096 Dec 22 18:26 common
drwxrwsr-x   2 root www-data   4096 Dec 22 18:30 db
drwxrwsr-x   2 root www-data   4096 Dec 22 18:30 dbf
drwxrwxr-x   8 root www-data   4096 Dec 22 18:26 .git
-rwxrwxr-x   1 root www-data     31 Dec 22 18:26 .gitignore
drwxrwxr-x  13 root www-data   4096 Dec 22 18:26 html
-rwxrwxr-x   1 root www-data   8153 Dec 22 18:26 index.php
drwxrwxr-x  20 root www-data   4096 Dec 22 18:26 install
-rwxrwxr-x   1 root www-data  37059 Apr 24  2016 install_log.txt
-rwxrwxr-x   1 root www-data   2134 Dec 22 18:26 install_nettemp
-rwxrwxr-x   1 root www-data    131 Dec 22 18:26 issue
-rwxrwxr-x   1 root www-data 226632 Apr 24  2016 map.jpg
drwxrwxr-x   6 root www-data   4096 Dec 22 18:06 media
drwxrwxr-x  26 root www-data   4096 Dec 22 18:06 modules
drwxrwxr-x   3 root www-data   4096 Dec 22 18:26 other
-rwxrwxr-x   1 root www-data   2189 Dec 22 18:26 readme.md
-rwxrwxr-x   1 root www-data  10585 Dec 22 18:26 receiver.php
drwxrwxr-x   2 root www-data   4096 Dec 22 18:26 status
drwxrwsr-x+  4 root www-data   4096 Dec 22 18:23 tmp
drwxrwxr-x  10 root www-data   4096 Apr 24  2016 wiringPi
-----ports
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:9091            0.0.0.0:*               LISTEN      955/transmission-da
tcp        0      0 0.0.0.0:8200            0.0.0.0:*               LISTEN      1140/minidlnad
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      1469/smbd
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1124/lighttpd
tcp        0      0 0.0.0.0:51413           0.0.0.0:*               LISTEN      955/transmission-da
tcp        0      0 127.0.0.1:5910          0.0.0.0:*               LISTEN      2718/Xvnc
tcp        0      0 127.0.0.1:3350          0.0.0.0:*               LISTEN      1066/xrdp-sesman
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      953/sshd
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      1469/smbd
tcp        0      0 0.0.0.0:3389            0.0.0.0:*               LISTEN      1061/xrdp
tcp        0      0 127.0.0.1:3551          0.0.0.0:*               LISTEN      508/apcupsd
tcp6       0      0 :::6600                 :::*                    LISTEN      1/init
tcp6       0      0 :::139                  :::*                    LISTEN      1469/smbd
tcp6       0      0 :::80                   :::*                    LISTEN      1124/lighttpd
tcp6       0      0 :::51413                :::*                    LISTEN      955/transmission-da
tcp6       0      0 :::22                   :::*                    LISTEN      953/sshd
tcp6       0      0 :::88                   :::*                    LISTEN      5320/apache2
tcp6       0      0 :::445                  :::*                    LISTEN      1469/smbd
udp        0      0 0.0.0.0:51413           0.0.0.0:*                           955/transmission-da
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           476/avahi-daemon: r
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1140/minidlnad
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1021/minissdpd
udp        0      0 0.0.0.0:47508           0.0.0.0:*                           476/avahi-daemon: r
udp        0      0 0.0.0.0:68              0.0.0.0:*                           943/dhcpcd
udp        0      0 192.168.1.10:123        0.0.0.0:*                           1056/ntpd
udp        0      0 127.0.0.1:123           0.0.0.0:*                           1056/ntpd
udp        0      0 0.0.0.0:123             0.0.0.0:*                           1056/ntpd
udp        0      0 192.168.1.255:137       0.0.0.0:*                           1428/nmbd
udp        0      0 192.168.1.10:137        0.0.0.0:*                           1428/nmbd
udp        0      0 0.0.0.0:137             0.0.0.0:*                           1428/nmbd
udp        0      0 192.168.1.255:138       0.0.0.0:*                           1428/nmbd
udp        0      0 192.168.1.10:138        0.0.0.0:*                           1428/nmbd
udp        0      0 0.0.0.0:138             0.0.0.0:*                           1428/nmbd
udp        0      0 127.0.0.1:161           0.0.0.0:*                           1108/snmpd
udp        0      0 192.168.1.10:39074      0.0.0.0:*                           1140/minidlnad
udp        0      0 0.0.0.0:53441           0.0.0.0:*                           1108/snmpd
udp6       0      0 :::5353                 :::*                                476/avahi-daemon: r
udp6       0      0 :::43427                :::*                                476/avahi-daemon: r
udp6       0      0 fe80::c031:3e31:b69:123 :::*                                1056/ntpd
udp6       0      0 ::1:123                 :::*                                1056/ntpd
udp6       0      0 :::123                  :::*                                1056/ntpd
raw6       0      0 :::58                   :::*                    7           943/dhcpcd
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
unix  2      [ ACC ]     STREAM     LISTENING     17333    2718/Xvnc           /tmp/.X11-unix/X10
unix  2      [ ACC ]     STREAM     LISTENING     11890    1108/snmpd          /var/agentx/master
unix  2      [ ACC ]     STREAM     LISTENING     16187    2771/ssh-agent      /tmp/ssh-UtqlVrdBo6Ww/agent.2717
unix  2      [ ACC ]     STREAM     LISTENING     13831    1428/nmbd           /var/run/samba/nmbd/unexpected
unix  2      [ ACC ]     STREAM     LISTENING     18492    2810/ssh-agent      /tmp/ssh-Z4sntt3RFZJQ/agent.2805
unix  2      [ ACC ]     STREAM     LISTENING     8978     943/dhcpcd          /var/run/dhcpcd.sock
unix  2      [ ACC ]     STREAM     LISTENING     4883     1/init              /run/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     8980     943/dhcpcd          /var/run/dhcpcd.unpriv.sock
unix  2      [ ACC ]     STREAM     LISTENING     16152    2693/systemd        /run/user/0/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     17799    2775/dbus-daemon    @/tmp/dbus-ZIbRrkQLyx
unix  2      [ ACC ]     STREAM     LISTENING     13562    851/X               @/tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     12581    1120/systemd        /run/user/1000/systemd/private
unix  2      [ ACC ]     SEQPACKET  LISTENING     4905     1/init              /run/udev/control
unix  2      [ ACC ]     STREAM     LISTENING     4909     1/init              /run/systemd/journal/stdout
unix  2      [ ACC ]     STREAM     LISTENING     12813    1375/ssh-agent      /tmp/ssh-wbvDB6qEJf5I/agent.1247
unix  2      [ ACC ]     STREAM     LISTENING     14095    1876/ssh-agent      /tmp/ssh-vI10t6YyxTWu/agent.1874
unix  2      [ ACC ]     STREAM     LISTENING     13254    1845/pcmanfm        /tmp/.pcmanfm-socket--0-pi
unix  2      [ ACC ]     STREAM     LISTENING     15574    2092/menu-cached    /tmp/.menu-cached-:0-pi
unix  2      [ ACC ]     STREAM     LISTENING     13436    1021/minissdpd      /var/run/minissdpd.sock
unix  2      [ ACC ]     STREAM     LISTENING     9632     1/init              /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     13563    851/X               /tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     9635     1/init              /run/mpd/socket
unix  2      [ ACC ]     STREAM     LISTENING     9638     1/init              /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     11083    1390/dbus-daemon    @/tmp/dbus-EiFA0NlSFt
unix  2      [ ACC ]     STREAM     LISTENING     15314    2847/menu-cached    /tmp/.menu-cached-:10-root
unix  2      [ ACC ]     STREAM     LISTENING     18488    2802/pcmanfm        /tmp/.pcmanfm-socket--10-root
unix  2      [ ACC ]     STREAM     LISTENING     33746    9427/php-fpm.conf)  /var/run/php5-fpm.sock
unix  2      [ ACC ]     STREAM     LISTENING     10986    1145/php-cgi        /var/run/lighttpd/php.socket-0
unix  2      [ ACC ]     STREAM     LISTENING     57403    2751/xrdp-chansrv   /tmp/.xrdp/xrdp_chansrv_socket_7210
-----firewall
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
-----USB info
Bus 001 Device 005: ID 1058:10a2 Western Digital Technologies, Inc.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[    0.144929] usbcore: registered new interface driver usbfs
[    0.145040] usbcore: registered new interface driver hub
[    0.145160] usbcore: registered new device driver usb
[    2.444560] usbcore: registered new interface driver smsc95xx
[    3.031753] dwc_otg 3f980000.usb: DWC OTG Controller
[    3.041182] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    3.054443] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    3.079279] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.091654] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.104725] usb usb1: Product: DWC OTG Controller
[    3.113680] usb usb1: Manufacturer: Linux 4.4.8-v7+ dwc_otg_hcd
[    3.124618] usb usb1: SerialNumber: 3f980000.usb
[    3.150094] usbcore: registered new interface driver usb-storage
[    3.432645] usbcore: registered new interface driver usbhid
[    3.443135] usbhid: USB HID core driver
[    3.529183] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    3.719439] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    3.731794] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.059185] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    4.159493] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    4.172284] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.283294] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:ef:03:6f
[    4.719225] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    5.229190] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
[    5.347533] usb 1-1.2: New USB device found, idVendor=1058, idProduct=10a2
[    5.372014] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.372022] usb 1-1.2: Product: Elements 10A2
[    5.372030] usb 1-1.2: Manufacturer: Western Digital
[    5.372037] usb 1-1.2: SerialNumber: 575832314139323533323331
[    5.373013] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    5.415099] scsi host0: usb-storage 1-1.2:1.0
[    7.084950] usbcore: registered new interface driver brcmfmac
-----modules
Module                  Size  Used by
iptable_nat             1725  0
nf_conntrack_ipv4      12912  1
nf_defrag_ipv4          1428  1 nf_conntrack_ipv4
nf_nat_ipv4             4992  1 iptable_nat
nf_nat                 12375  1 nf_nat_ipv4
nf_conntrack           77388  3 nf_nat,nf_nat_ipv4,nf_conntrack_ipv4
ip6table_filter         1349  0
ip6_tables             11893  1 ip6table_filter
iptable_filter          1409  0
ip_tables              11637  2 iptable_filter,iptable_nat
x_tables               12507  4 ip6table_filter,ip_tables,iptable_filter,ip6_tables
binfmt_misc             6388  1
bnep                   10340  2
hci_uart               17943  1
btbcm                   5929  1 hci_uart
bluetooth             326105  22 bnep,btbcm,hci_uart
w1_therm                3584  0
sg                     18319  0
brcmfmac              186599  0
brcmutil                5661  1 brcmfmac
cfg80211              427855  1 brcmfmac
rfkill                 16037  4 cfg80211,bluetooth
snd_bcm2835            20511  6
snd_pcm                75698  1 snd_bcm2835
snd_timer              19160  1 snd_pcm
snd                    51844  15 snd_bcm2835,snd_timer,snd_pcm
bcm2835_gpiomem         3040  0
bcm2835_wdt             3225  0
w1_gpio                 3657  0
uio_pdrv_genirq         3164  0
uio                     8000  1 uio_pdrv_genirq
ds2482                  3580  0
wire                   25219  3 w1_gpio,w1_therm,ds2482
cn                      4374  1 wire
i2c_bcm2708             4770  0
i2c_dev                 5859  0
fuse                   83461  5
ipv6                  347530  47
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

i2c-dev
i2c-bcm2708
ds2482
----- Device tree
----- highchats
du: cannot access ‘/var/www/nettemp/modules/highcharts/’: No such file or directory
----- highchats data count
cat: /var/www/nettemp/tmp/highcharts/*: No such file or directory
0
----- sql sensors
id|time|tmp|name|rom|tmp_min|tmp_max|alarm|hour|day|week|month|year|color|type|gpio|ip|device|lcd|method|tmp_5ago|adj|charts|remote|i2c|minmax|sum|map_pos|map_num|position|map|ch_group|display_name|transparent_bkg|background_color|background_low|background_high|font_color|font_size|jg|current|mail|status|USB
1|2016-12-22 18:30:02|49.4|1919|Raspberry_Pi|||off|||||||temp|||rpi|||49.4|0|on||||0|||1||sensors|||||||||||on|
----- sql gpio
----- git status
On branch beta
Your branch is up-to-date with 'origin/beta'.
Untracked files:
  (use "git add <file>..." to include in what will be committed)

        dbf/hosts.dump
        dbf/nettemp.dump
        dbf/snmp.dump
        map.jpg

nothing added to commit but untracked files present (use "git add" to track)
----- END -----
[email protected]:/var/www/nettemp/other#


techfreak
Site Admin
Posty: 4679
Rejestracja: sob mar 15, 2014 2:23 pm
Lokalizacja: Gdansk
Kontakt:

Re: nettemp 3 / beta RC3.1

Post autor: techfreak » czw gru 22, 2016 6:38 pm

zgf1 pisze:
techfreak pisze: Betę to może testuj gdzieś na boku żeby zimno w domu nie było :P
No właśnie tak zamierzam, najpierw trzeba kupić kartę SD ;)
Zobacz po update do najnowszej wersji:
HEAD is now at 6f7ae06 update esp8266
Already up-to-date.
2016-12-22 18:26:25 nettemp database update: ok
2016-12-22 18:26:25 You have all system packages
Screeny:
http://imgur.com/a/A3rN2


Czujnik jest na 100% dobrze podpięty.
Log:

Kod: Zaznacz cały

[email protected]:/var/www/nettemp/other# ./ntinfo
-----hostname
raspberrypi
-----kernel
Linux raspberrypi 4.4.8-v7+ #881 SMP Sat Apr 30 12:16:50 BST 2016 armv7l GNU/Linux
-----interfaces
eth0 down
lo unknown
wlan0 up
-----memory
             total       used       free     shared    buffers     cached
Mem:           925        562        362         23         44        359
-/+ buffers/cache:        158        766
Swap:           99          0         99
-----cpu
600000
-----version
4 RC1
beta
-----space
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        29G  4.5G   23G  17% /
devtmpfs        459M     0  459M   0% /dev
tmpfs           463M     0  463M   0% /dev/shm
tmpfs           463M  6.6M  457M   2% /run
tmpfs           5.0M  8.0K  5.0M   1% /run/lock
tmpfs           463M     0  463M   0% /sys/fs/cgroup
/dev/mmcblk0p1   60M   21M   40M  35% /boot
/dev/sda1       459G  137G  299G  32% /media/dysk
tmpfs            93M     0   93M   0% /run/user/1000
tmpfs            93M     0   93M   0% /run/user/0
-----apache
apache2                                         install
apache2-bin                                     install
apache2-data                                    install
apache2-utils                                   install
libapache2-mod-php5                             install
./ntinfo: line 22: /etc/init.d/apache: No such file or directory
-----cron
● cron.service - Regular background program processing daemon
   Loaded: loaded (/lib/systemd/system/cron.service; enabled)
   Active: active (running) since Thu 2016-12-22 18:04:58 CET; 25min ago
     Docs: man:cron(8)
 Main PID: 466 (cron)
   CGroup: /system.slice/cron.service
           └─466 /usr/sbin/cron -f

Dec 22 18:29:01 raspberrypi CRON[14907]: (root) CMD (/var/www/nettemp/modules/cron/1)
Dec 22 18:29:13 raspberrypi CRON[14903]: (CRON) info (No MTA installed, discarding output)
Dec 22 18:29:13 raspberrypi CRON[14903]: pam_unix(cron:session): session closed for user root
Dec 22 18:30:01 raspberrypi CRON[15045]: pam_unix(cron:session): session opened for user root by (uid=0)
Dec 22 18:30:01 raspberrypi CRON[15044]: pam_unix(cron:session): session opened for user root by (uid=0)
Dec 22 18:30:01 raspberrypi CRON[15052]: (root) CMD (/var/www/nettemp/modules/cron/1)
Dec 22 18:30:01 raspberrypi CRON[15053]: (root) CMD (/var/www/nettemp/modules/cron/5)
Dec 22 18:30:01 raspberrypi CRON[15044]: pam_unix(cron:session): session closed for user root
Dec 22 18:30:10 raspberrypi CRON[15045]: (CRON) info (No MTA installed, discarding output)
Dec 22 18:30:10 raspberrypi CRON[15045]: pam_unix(cron:session): session closed for user root
-----perms
total 360
drwxrwxr-x  14 root www-data   4096 Dec 22 18:26 .
drwxr-xr-x   4 root root       4096 Apr 24  2016 ..
drwxrwxr-x   2 root www-data   4096 Dec 22 18:26 common
drwxrwsr-x   2 root www-data   4096 Dec 22 18:30 db
drwxrwsr-x   2 root www-data   4096 Dec 22 18:30 dbf
drwxrwxr-x   8 root www-data   4096 Dec 22 18:26 .git
-rwxrwxr-x   1 root www-data     31 Dec 22 18:26 .gitignore
drwxrwxr-x  13 root www-data   4096 Dec 22 18:26 html
-rwxrwxr-x   1 root www-data   8153 Dec 22 18:26 index.php
drwxrwxr-x  20 root www-data   4096 Dec 22 18:26 install
-rwxrwxr-x   1 root www-data  37059 Apr 24  2016 install_log.txt
-rwxrwxr-x   1 root www-data   2134 Dec 22 18:26 install_nettemp
-rwxrwxr-x   1 root www-data    131 Dec 22 18:26 issue
-rwxrwxr-x   1 root www-data 226632 Apr 24  2016 map.jpg
drwxrwxr-x   6 root www-data   4096 Dec 22 18:06 media
drwxrwxr-x  26 root www-data   4096 Dec 22 18:06 modules
drwxrwxr-x   3 root www-data   4096 Dec 22 18:26 other
-rwxrwxr-x   1 root www-data   2189 Dec 22 18:26 readme.md
-rwxrwxr-x   1 root www-data  10585 Dec 22 18:26 receiver.php
drwxrwxr-x   2 root www-data   4096 Dec 22 18:26 status
drwxrwsr-x+  4 root www-data   4096 Dec 22 18:23 tmp
drwxrwxr-x  10 root www-data   4096 Apr 24  2016 wiringPi
-----ports
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:9091            0.0.0.0:*               LISTEN      955/transmission-da
tcp        0      0 0.0.0.0:8200            0.0.0.0:*               LISTEN      1140/minidlnad
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      1469/smbd
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1124/lighttpd
tcp        0      0 0.0.0.0:51413           0.0.0.0:*               LISTEN      955/transmission-da
tcp        0      0 127.0.0.1:5910          0.0.0.0:*               LISTEN      2718/Xvnc
tcp        0      0 127.0.0.1:3350          0.0.0.0:*               LISTEN      1066/xrdp-sesman
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      953/sshd
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      1469/smbd
tcp        0      0 0.0.0.0:3389            0.0.0.0:*               LISTEN      1061/xrdp
tcp        0      0 127.0.0.1:3551          0.0.0.0:*               LISTEN      508/apcupsd
tcp6       0      0 :::6600                 :::*                    LISTEN      1/init
tcp6       0      0 :::139                  :::*                    LISTEN      1469/smbd
tcp6       0      0 :::80                   :::*                    LISTEN      1124/lighttpd
tcp6       0      0 :::51413                :::*                    LISTEN      955/transmission-da
tcp6       0      0 :::22                   :::*                    LISTEN      953/sshd
tcp6       0      0 :::88                   :::*                    LISTEN      5320/apache2
tcp6       0      0 :::445                  :::*                    LISTEN      1469/smbd
udp        0      0 0.0.0.0:51413           0.0.0.0:*                           955/transmission-da
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           476/avahi-daemon: r
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1140/minidlnad
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1021/minissdpd
udp        0      0 0.0.0.0:47508           0.0.0.0:*                           476/avahi-daemon: r
udp        0      0 0.0.0.0:68              0.0.0.0:*                           943/dhcpcd
udp        0      0 192.168.1.10:123        0.0.0.0:*                           1056/ntpd
udp        0      0 127.0.0.1:123           0.0.0.0:*                           1056/ntpd
udp        0      0 0.0.0.0:123             0.0.0.0:*                           1056/ntpd
udp        0      0 192.168.1.255:137       0.0.0.0:*                           1428/nmbd
udp        0      0 192.168.1.10:137        0.0.0.0:*                           1428/nmbd
udp        0      0 0.0.0.0:137             0.0.0.0:*                           1428/nmbd
udp        0      0 192.168.1.255:138       0.0.0.0:*                           1428/nmbd
udp        0      0 192.168.1.10:138        0.0.0.0:*                           1428/nmbd
udp        0      0 0.0.0.0:138             0.0.0.0:*                           1428/nmbd
udp        0      0 127.0.0.1:161           0.0.0.0:*                           1108/snmpd
udp        0      0 192.168.1.10:39074      0.0.0.0:*                           1140/minidlnad
udp        0      0 0.0.0.0:53441           0.0.0.0:*                           1108/snmpd
udp6       0      0 :::5353                 :::*                                476/avahi-daemon: r
udp6       0      0 :::43427                :::*                                476/avahi-daemon: r
udp6       0      0 fe80::c031:3e31:b69:123 :::*                                1056/ntpd
udp6       0      0 ::1:123                 :::*                                1056/ntpd
udp6       0      0 :::123                  :::*                                1056/ntpd
raw6       0      0 :::58                   :::*                    7           943/dhcpcd
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
unix  2      [ ACC ]     STREAM     LISTENING     17333    2718/Xvnc           /tmp/.X11-unix/X10
unix  2      [ ACC ]     STREAM     LISTENING     11890    1108/snmpd          /var/agentx/master
unix  2      [ ACC ]     STREAM     LISTENING     16187    2771/ssh-agent      /tmp/ssh-UtqlVrdBo6Ww/agent.2717
unix  2      [ ACC ]     STREAM     LISTENING     13831    1428/nmbd           /var/run/samba/nmbd/unexpected
unix  2      [ ACC ]     STREAM     LISTENING     18492    2810/ssh-agent      /tmp/ssh-Z4sntt3RFZJQ/agent.2805
unix  2      [ ACC ]     STREAM     LISTENING     8978     943/dhcpcd          /var/run/dhcpcd.sock
unix  2      [ ACC ]     STREAM     LISTENING     4883     1/init              /run/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     8980     943/dhcpcd          /var/run/dhcpcd.unpriv.sock
unix  2      [ ACC ]     STREAM     LISTENING     16152    2693/systemd        /run/user/0/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     17799    2775/dbus-daemon    @/tmp/dbus-ZIbRrkQLyx
unix  2      [ ACC ]     STREAM     LISTENING     13562    851/X               @/tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     12581    1120/systemd        /run/user/1000/systemd/private
unix  2      [ ACC ]     SEQPACKET  LISTENING     4905     1/init              /run/udev/control
unix  2      [ ACC ]     STREAM     LISTENING     4909     1/init              /run/systemd/journal/stdout
unix  2      [ ACC ]     STREAM     LISTENING     12813    1375/ssh-agent      /tmp/ssh-wbvDB6qEJf5I/agent.1247
unix  2      [ ACC ]     STREAM     LISTENING     14095    1876/ssh-agent      /tmp/ssh-vI10t6YyxTWu/agent.1874
unix  2      [ ACC ]     STREAM     LISTENING     13254    1845/pcmanfm        /tmp/.pcmanfm-socket--0-pi
unix  2      [ ACC ]     STREAM     LISTENING     15574    2092/menu-cached    /tmp/.menu-cached-:0-pi
unix  2      [ ACC ]     STREAM     LISTENING     13436    1021/minissdpd      /var/run/minissdpd.sock
unix  2      [ ACC ]     STREAM     LISTENING     9632     1/init              /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     13563    851/X               /tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     9635     1/init              /run/mpd/socket
unix  2      [ ACC ]     STREAM     LISTENING     9638     1/init              /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     11083    1390/dbus-daemon    @/tmp/dbus-EiFA0NlSFt
unix  2      [ ACC ]     STREAM     LISTENING     15314    2847/menu-cached    /tmp/.menu-cached-:10-root
unix  2      [ ACC ]     STREAM     LISTENING     18488    2802/pcmanfm        /tmp/.pcmanfm-socket--10-root
unix  2      [ ACC ]     STREAM     LISTENING     33746    9427/php-fpm.conf)  /var/run/php5-fpm.sock
unix  2      [ ACC ]     STREAM     LISTENING     10986    1145/php-cgi        /var/run/lighttpd/php.socket-0
unix  2      [ ACC ]     STREAM     LISTENING     57403    2751/xrdp-chansrv   /tmp/.xrdp/xrdp_chansrv_socket_7210
-----firewall
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
-----USB info
Bus 001 Device 005: ID 1058:10a2 Western Digital Technologies, Inc.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[    0.144929] usbcore: registered new interface driver usbfs
[    0.145040] usbcore: registered new interface driver hub
[    0.145160] usbcore: registered new device driver usb
[    2.444560] usbcore: registered new interface driver smsc95xx
[    3.031753] dwc_otg 3f980000.usb: DWC OTG Controller
[    3.041182] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    3.054443] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    3.079279] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.091654] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.104725] usb usb1: Product: DWC OTG Controller
[    3.113680] usb usb1: Manufacturer: Linux 4.4.8-v7+ dwc_otg_hcd
[    3.124618] usb usb1: SerialNumber: 3f980000.usb
[    3.150094] usbcore: registered new interface driver usb-storage
[    3.432645] usbcore: registered new interface driver usbhid
[    3.443135] usbhid: USB HID core driver
[    3.529183] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    3.719439] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    3.731794] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.059185] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    4.159493] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    4.172284] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.283294] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:ef:03:6f
[    4.719225] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    5.229190] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
[    5.347533] usb 1-1.2: New USB device found, idVendor=1058, idProduct=10a2
[    5.372014] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.372022] usb 1-1.2: Product: Elements 10A2
[    5.372030] usb 1-1.2: Manufacturer: Western Digital
[    5.372037] usb 1-1.2: SerialNumber: 575832314139323533323331
[    5.373013] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    5.415099] scsi host0: usb-storage 1-1.2:1.0
[    7.084950] usbcore: registered new interface driver brcmfmac
-----modules
Module                  Size  Used by
iptable_nat             1725  0
nf_conntrack_ipv4      12912  1
nf_defrag_ipv4          1428  1 nf_conntrack_ipv4
nf_nat_ipv4             4992  1 iptable_nat
nf_nat                 12375  1 nf_nat_ipv4
nf_conntrack           77388  3 nf_nat,nf_nat_ipv4,nf_conntrack_ipv4
ip6table_filter         1349  0
ip6_tables             11893  1 ip6table_filter
iptable_filter          1409  0
ip_tables              11637  2 iptable_filter,iptable_nat
x_tables               12507  4 ip6table_filter,ip_tables,iptable_filter,ip6_tables
binfmt_misc             6388  1
bnep                   10340  2
hci_uart               17943  1
btbcm                   5929  1 hci_uart
bluetooth             326105  22 bnep,btbcm,hci_uart
w1_therm                3584  0
sg                     18319  0
brcmfmac              186599  0
brcmutil                5661  1 brcmfmac
cfg80211              427855  1 brcmfmac
rfkill                 16037  4 cfg80211,bluetooth
snd_bcm2835            20511  6
snd_pcm                75698  1 snd_bcm2835
snd_timer              19160  1 snd_pcm
snd                    51844  15 snd_bcm2835,snd_timer,snd_pcm
bcm2835_gpiomem         3040  0
bcm2835_wdt             3225  0
w1_gpio                 3657  0
uio_pdrv_genirq         3164  0
uio                     8000  1 uio_pdrv_genirq
ds2482                  3580  0
wire                   25219  3 w1_gpio,w1_therm,ds2482
cn                      4374  1 wire
i2c_bcm2708             4770  0
i2c_dev                 5859  0
fuse                   83461  5
ipv6                  347530  47
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

i2c-dev
i2c-bcm2708
ds2482
----- Device tree
----- highchats
du: cannot access ‘/var/www/nettemp/modules/highcharts/’: No such file or directory
----- highchats data count
cat: /var/www/nettemp/tmp/highcharts/*: No such file or directory
0
----- sql sensors
id|time|tmp|name|rom|tmp_min|tmp_max|alarm|hour|day|week|month|year|color|type|gpio|ip|device|lcd|method|tmp_5ago|adj|charts|remote|i2c|minmax|sum|map_pos|map_num|position|map|ch_group|display_name|transparent_bkg|background_color|background_low|background_high|font_color|font_size|jg|current|mail|status|USB
1|2016-12-22 18:30:02|49.4|1919|Raspberry_Pi|||off|||||||temp|||rpi|||49.4|0|on||||0|||1||sensors|||||||||||on|
----- sql gpio
----- git status
On branch beta
Your branch is up-to-date with 'origin/beta'.
Untracked files:
  (use "git add <file>..." to include in what will be committed)

        dbf/hosts.dump
        dbf/nettemp.dump
        dbf/snmp.dump
        map.jpg

nothing added to commit but untracked files present (use "git add" to track)
----- END -----
[email protected]:/var/www/nettemp/other#

Pokaż zakładkę i2c

techfreak
Site Admin
Posty: 4679
Rejestracja: sob mar 15, 2014 2:23 pm
Lokalizacja: Gdansk
Kontakt:

Re: nettemp 3 / beta RC3.1

Post autor: techfreak » czw gru 22, 2016 6:40 pm

XaverY pisze:
techfreak pisze:Pokaż: sqlite3 -header /var/www/nettemp/dbf/nettemp.db "SELECT * FROM maps"

Kod: Zaznacz cały

[email protected]_srv:~# sqlite3 -header /var/www/nettemp/dbf/nettemp.db "SELECT * FROM maps"
id|type|element_id|map_num|map_pos|position|map_on|transparent|control_on_map|display_name|transparent_bkg|background_color|background_low|background_high|font_color|font_size|icon
1|sensors|1|1987|{left:15, top:214}|1|on|||on|||||||
2|sensors|2|9846|{left:549, top:466}|1|on|||on|||||||
3|sensors|3|1424|{left:188, top:52}|1||||on|||||||
4|sensors|4|1723|{left:275, top:38}|1|on|||on|||||||
7|sensors|7|3429|{left:803, top:514}|1|on|||on|||||||
8|sensors|8|1072|{left:803, top:533}|1|on|||on|||||||
9|gpio|1|2005|{left:113, top:198}|1|on|||on|||||||Switch
11|sensors|9|4191|{left:9, top:233}|1|on|||on|||||||
12|sensors|10|1225|{left:8, top:133}|1|on|||on|||||||
13|sensors|11|3445|{left:136, top:234}|1|on|||on|||||||
14|sensors|12|5919|{left:135, top:216}|1|on|||on|||||||
30|sensors|15|6025|{left:2, top:389}|1||||on|||||||
39|sensors|19|1591|{left:4, top:415}|1|on|||on|||||||
40|sensors|20|2071|{left:4, top:451}|1|on|||on|||||||
42|sensors|22|7978|{left:3, top:433}|1|on|||on|||||||
46|hosts|19|1920|{left:940, top:264}|1|on||||||||||
47|sensors|25|4376|{left:770, top:104}|1|on|||on|||||||
48|sensors|26|1974|{left:274, top:150}|1|on|||on|||||||
49|sensors|27|1402|{left:164, top:449}|1|on|||on|||||||
50|sensors|28|8793|{left:947, top:534}|1|on|||on|||||||
51|sensors|29|6450|{left:304, top:76}|1|on|||on|||||||
52|sensors|30|1969|{left:-4, top:469}|1|on|||on|||||||
53|sensors|31|1600|{left:787, top:552}|1|on|||on|||||||
54|sensors|32|5472|{left:757, top:27}|1|on|||on|||||||
55|sensors|33|1285|{left:637, top:552}|1|on|||on|||||||
56|sensors|34|1288|{left:693, top:149}|1|on|||on|||||||
57|sensors|35|1878|{left:635, top:534}|1|on|||on|||||||
58|sensors|36|3182|{left:939, top:552}|1|on|||on|||||||
59|sensors|37|2006|{left:136, top:468}|1|on|||on|||||||
60|sensors|38|1931|{left:274, top:131}|1|on|||on|||||||
61|sensors|39|1719|{left:754, top:53}|1|on|||on|||||||
62|sensors|40|2345|{left:958, top:266}|1|on|||on|||||||
63|sensors|41|2102|{left:805, top:34}|1|on||||||||||
64|sensors|42|9867|{left:627, top:516}|1|on|||on|||||||
65|sensors|43|1625|{left:272, top:112}|1|on|||on|||||||
66|sensors|44|3851|{left:291, top:58}|1|on|||on|||||||
67|sensors|45|3285|{left:813, top:72}|1|on|||on|||||||
68|sensors|45|1951|{left:750, top:81}|1|on|||on|||||||
69|sensors|46|1723|{left:275, top:38}|1|on|||on|||||||
70|sensors|47|6756|{left:149, top:0}|1|on|||on|||||||
71|sensors|48|2121|{left:620, top:128}|1|on|||on|||||||
72|sensors|48|1726|{left:617, top:76}|1|on|||on|||||||
73|sensors|49|1762|{left:738, top:129}|1|on|||on|||||||
74|sensors|48|4030|{left:618, top:49}|1|on|||on|||||||
75|sensors|49|1864|{left:608, top:23}|1|on|||on|||||||
76|sensors|48|1152|{left:652, top:106}|1|on|||on|||||||
77|sensors|48|4561|{left:620, top:180}|1|on|||on|||||||
[email protected]_srv:~#
Tu taj trochę gorzej bo musisz usunąć ręcznie.
Czyli sprawdzić jakie id ma sensor
sqlite3 -header /var/www/nettemp/dbf/nettemp.db "SELECT * FROM sensors"
Sprawdzić jakie id jest w mapach:
sqlite3 -header /var/www/nettemp/dbf/nettemp.db "SELECT * FROM maps"
I skasować id te które nie wysepuja w sensorach:
sqlite3 -header /var/www/nettemp/dbf/nettemp.db "DELETE FROM maps WHERE id='1'"

zgf1
Posty: 154
Rejestracja: ndz sty 31, 2016 11:36 am

Re: nettemp 3 / beta RC3.1

Post autor: zgf1 » czw gru 22, 2016 6:43 pm

Prosze:
http://imgur.com/a/YtIrR


(ten czujnik co wykrylo to czujnik z maliny drugiej, ktora jest w kotlowni, przekazuje temp pieca i steruje piecem na podstawie temp w domu (malina na ktorej jest problem z najnowsza wersja nettemp) - mam nadzieje, ze nie pokrecilem :P

Zablokowany