domoticz espeasy mqtt

Pro nastaveni promenne Dummy musime nejdrive vytvorit Rules on dumb1 do TaskValueSet 6,2,%eventvalue% if [tempsensor#Temperature]<[dumb#temp] do mcpgpio,5,0 else mcpgpio,5,1 endon vysvetleni TaskValueSet TaskValueSet [TaskID],[VariableIDX],[Hodnota]   nepodarilo se me poslat event pres mqtt a domoticz z duvodu json formatu, ale ukazka jak toto volat pres http http://[ipaddressesp]/control?cmd=event,dumb1=10

Samba Ubuntu 16.04 + – share adresáře

apt-get install samba mcedit /etc/samba/smb.conf [accounting] comment = BlaBla # Komentar writable = yes # Povoleni zapisu force group = users # vynuceni skupiny o vytvareni souboru nebo adresare valid users = @users # overeni uzivatele v tomto pripade musi uzivatel byt ve skupine path = /data # cesta ke sdilenemu adresari create mode = … Číst dál

mini m8s mx

boot load default setting printenv baudrate=115200 bootargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend eaa bootcmd=run storeboot bootdelay=1 bootmode_check=get_rebootmode; echo reboot_mode=${reboot_mode};if test ${reboot; bootup_offset=0x115c0f0 bootup_size=0x3f4c8 cmdline_keys=if keyman init 0x1234; then if keyman read usid ${loadaddr} str; t; cvbsmode=576cvbs display_bpp=24 display_color_bg=0 display_color_fg=0xffff display_color_index=24 display_height=576 display_layer=osd1 display_width=720 dtb_mem_addr=0x1000000 ethact=Meson_Ethernet ethaddr=00:15:18:01:81:31 factory_reset_poweroff_protect=echo wipe_data=${wipe_data}; echo wipe_cache=${w fb_addr=0x3f800000 fb_height=1080 fb_width=1920 fdt_high=0x20000000 firstboot=1 gatewayip=10.18.9.1 hdmimode=1080p60hz … Číst dál

Cisco subinterface 802.1Q

!!switch interface FastEthernet0/1 switchport access vlan 10 switchport mode access ! interface FastEthernet0/2 switchport access vlan 20 switchport mode access ! interface GigabitEthernet0/1 switchport mode trunk !! router int g0/0 no sh ! int g0/0.1 encapsulation dot1Q 10 ip add 192.168.10.1 255.255.255.0 ! int g0/0.2 encapsulation dot1Q 20 ip add 192.168.11.1 255.255.255.0

flask-skeleton příprava virtual enviromentu v terminálu

sudo apt-get install virtualenvsudo apt-get install libpython-devsudo apt-get install build-essentialmkdir it3sitcd it3sitgit clone https://github.com/petrgru/flask-skeleton-novy.gitcd flask-skeleton-novy### v requirements.txt je zakomentovany konektor na postgressDB radek psycopg2==2.5.2virtualenv ../.venv. ../.venv/bin/activate pip install -r ./requirements.txt #nasledne vytvorit DBpython manage.py db upgrade a spustit server python manage.py runserver pripadne aktualizovat DB model pokud chcete vytvorit novou databazi musite smazat rm migrations/versions/*rm … Číst dál

ipv6to4 tunnel technologie

        ipv6to4-tunnel-pkt R1 config ! interface Tunnel1 no ip address mtu 1476 ipv6 address CCCC::/64 ipv6 ospf 1 area 0.0.0.0 tunnel source GigabitEthernet0/0 tunnel destination 192.168.0.2 tunnel mode ipv6ip ! ! interface GigabitEthernet0/0 ip address 192.168.0.1 255.255.255.0 duplex auto speed auto ipv6 dhcp server localipv6 ! interface GigabitEthernet0/1 no ip address duplex … Číst dál

CPT IPV6 OSPFv3 SLAAC

router                Konfigurace router0 ipv6 unicast-routing interface GigabitEthernet0/0 no ip address duplex auto speed auto ipv6 address 2001:1CC1:DDDD:2::/64 ipv6 ospf 1 area 0.0.0.0 ipv6 router ospf 1 router-id 1.1.1.1 log-adjacency-changes Konfigurace router1 ipv6 unicast-routing interface GigabitEthernet0/0 no ip address duplex auto speed auto ipv6 address 2001:1CC1:DDDD:2::1/64 ipv6 ospf 1 … Číst dál

RSTP a STP cisco

Cisco STP – odkaz   https://cs.wikipedia.org/wiki/Spanning_Tree_Protocol bridge priority odkaz, odkaz úkol 2-3-2-3-lab-configuring-rapid-pvst-portfast-and-bpdu-guard