This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: Sonoff T1 US 1 Gang | |
category: switch | |
type: Switch | |
standard: us | |
mlink: https://www.itead.cc/smart-home/sonoff-t1-us.html | |
image: https://user-images.githubusercontent.com/5904370/57944870-a0f21700-78d8-11e9-8937-63ba1dfd6583.png | |
template: '{"NAME":"Sonoff T1 1CH","GPIO":[17,255,255,255,0,0,0,0,21,56,0,0,0],"FLAG":0,"BASE":28}' | |
link: https://www.aliexpress.com/item/4000075029317.html | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@raspberrypi:~/opencv/build $ sudo cmake -D CMAKE_BUILD_TYPE=RELEASE \ | |
> -D CMAKE_INSTALL_PREFIX=/usr/local \ | |
> -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules \ | |
> -D ENABLE_NEON=ON \ | |
> -D ENABLE_VFPV3=ON \ | |
> -D BUILD_TESTS=OFF \ | |
> -D OPENCV_ENABLE_NONFREE=ON \ | |
> -D INSTALL_PYTHON_EXAMPLES=OFF \ | |
> -D BUILD_EXAMPLES=OFF .. | |
-- The CXX compiler identification is GNU 8.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple | |
Requirement already satisfied: numpy in /usr/lib/python2.7/dist-packages (1.16.2) | |
-- The CXX compiler identification is GNU 8.3.0 | |
-- The C compiler identification is GNU 8.3.0 | |
-- Check for working CXX compiler: /usr/bin/c++ | |
-- Check for working CXX compiler: /usr/bin/c++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build output check failed: | |
Regex: 'command line option .* is valid for .* but not for C\+\+' | |
Output line: 'cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++' | |
Compilation failed: | |
source file: '/home/pi/opencv/build/CMakeFiles/CMakeTmp/src.cxx' | |
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes' | |
===== BUILD LOG ===== | |
Change Dir: /home/pi/opencv/build/CMakeFiles/CMakeTmp | |
Run Build Command:"/usr/bin/make" "cmTC_13826/fast" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The system is: Linux - 4.19.75-v7l+ - armv7l | |
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. | |
Compiler: /usr/bin/c++ | |
Build flags: | |
Id flags: | |
The output was: | |
0 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build output check failed: | |
Regex: 'command line option .* is valid for .* but not for C\+\+' | |
Output line: 'cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++' | |
Compilation failed: | |
source file: '/home/pi/opencv/build/CMakeFiles/CMakeTmp/src.cxx' | |
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes' | |
===== BUILD LOG ===== | |
Change Dir: /home/pi/opencv/build/CMakeFiles/CMakeTmp | |
Run Build Command:"/usr/bin/make" "cmTC_2ec00/fast" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The system is: Linux - 4.19.75-v7l+ - armv7l | |
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. | |
Compiler: /usr/bin/c++ | |
Build flags: | |
Id flags: | |
The output was: | |
0 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@ArmstrongSE:~ $ sudo tcpdump -i eth0 -U -w - tcp and host 192.168.2.29| tee capture.pcap | ./solaredge/semonitor.py -d bill2_log -o bill2.json -vvvv | |
bill2_log file output: | |
Nov 10 21:48:40 append: False | |
Nov 10 21:48:40 baudrate: 115200 | |
Nov 10 21:48:40 commands: | |
Nov 10 21:48:40 datasource: stdin | |
Nov 10 21:48:40 follow: False | |
Nov 10 21:48:40 interface: None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Accessing pgAdmin | |
The pgAdmin server launches without a connection to the Postgres data base. In order to connect the admin tool to the app database you'll need to select "Add New Server" under the Quick Links section. On the Create-Server dialoge box, under the General tab you'll need to provide a "Name". The name is for pgAdmin user only. On the second tab titled "Connection" you'll need to provide a "Host name/address". This Host Name is actually the Docker service and not the actual HTTP address or 'localhost'. The service name by default installation is "db" but if changed it can be found in the "docker-compose.shared.env.yml" file. Under "services:" there will be a service related to postgres which by default is db. As a side note, if you change any of the service names you'll need to be careful to change them throughout the entier docker-compose yml file system. | |
The Login Name is "postgres" and the password is your superuser password setup in cookiecutter-config-file.yml. If you don't rememb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Title: left_trunc_prime.py | |
# Description: This is a generator of left truncating prime numbers. Each | |
# number in the 'all_primes' list will have the property of | |
# being a prime number after the left most digit is truncated. | |
# For example, the prime number 137 is such a left truncating | |
# prime. If you truncate the 1, the number 37 is also a prime | |
# number, if you truncate the 3, the number 7 is a prime | |
# number. | |
# | |
# If run successfully, the result should be a list of 1,442 |
NewerOlder