And me again. Today i have compiled domoticz on my linux server. And again problem with devicez, connected to gateway - i can't see any device. But xiaomi yeelight rgbw lamp connected sucessfully. Tried several ports, add/delete gateway - no luck. Any advicez?
2017-01-11 19:15:38.625 Domoticz V3.6332 (c)2012-2017 GizMoCuz
2017-01-11 19:15:38.625 Build Hash: 2cd9791, Date: 2017-01-11 12:42:08
2017-01-11 19:15:38.625 Startup Path: /share/storage/git/domoticz/
2017-01-11 19:15:38.652 Sunrise: 07:49:00 SunSet:16:35:00
2017-01-11 19:15:38.652 EventSystem: reset all events...
2017-01-11 19:15:38.665 PluginSystem: Started, Python version '3.4.5'.
2017-01-11 19:15:38.666 Active notification Subsystems: (0/12)
2017-01-11 19:15:38.666 WebServer(HTTP) started on address: :: with port 81
2017-01-11 19:15:38.668 Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: listen: Address already in use
2017-01-11 19:15:38.668 Error: WebServer(SSL) check privileges for opening ports below 1024
2017-01-11 19:15:38.668 Proxymanager started.
2017-01-11 19:15:38.668 Starting shared server on: :::6144
2017-01-11 19:15:38.668 TCPServer: shared server started...
2017-01-11 19:15:38.669 RxQueue: queue worker started...
2017-01-11 19:15:40.670 XiaomiGateway: Worker started...
2017-01-11 19:15:40.670 EventSystem: reset all events...
2017-01-11 19:15:40.670 YeeLight Worker started...
2017-01-11 19:15:40.670 EventSystem: reset all device statuses...
2017-01-11 19:15:40.670 EventSystem: Started
2017-01-11 19:15:41.153 PluginSystem: Entering work loop.
2017-01-11 19:15:53.873 PROXY: Authenticate result: success.
2017-01-11 19:27:42.459 Incoming connection from: 192.168.111.100
2017-01-11 19:27:53.996 User: hats initiated a switch command (1/led1/On)
2017-01-11 19:27:54.048 (rgbw.1) Lighting Limitless/Applamp (led1)
2017-01-11 19:27:57.242 User: hats initiated a switch command (1/led1/Off)
2017-01-11 19:27:57.295 (rgbw.1) Lighting Limitless/Applamp (led1)
update: i have isntalled latest beta on windows 10 desktop - it works. I have made backup, imported it to linux server and got this error in logs:
2017-01-12 00:08:14.713 User: Admin initiated a switch command (16/Xiaomi Smart Plug/On)
2017-01-12 00:08:14.713 0117A188
2017-01-12 00:08:14.863 XiaomiGateway: response {"cmd":"write_ack","sid":"158d000117a188","data":"{\"error\":\"Invalid key\"}"}
2017-01-12 00:08:14.863 (gw.living) Light/Switch (Xiaomi Smart Plug)
I've tried to change key several times - no luck.
may be it will be usefull:
desktop domoticz # cmake -DCMAKE_BUILD_TYPE=Release .
-- The C compiler identification is GNU 4.9.3
-- The CXX compiler identification is GNU 4.9.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- 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
-- Using builtin Mosquitto library
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.2j")
-- Found PythonLibs: /usr/lib64/libpython3.4m.so (found suitable version "3.4.5", minimum required is "3.4")
-- Python3 includes found at: /usr/include/python3.4m
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Compiling Revision #6334
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.56.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- system
-- chrono
-- atomic
-- Linking against boost static libraries
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
-- ZLIB libraries found at: /usr/lib64/libz.so
-- ZLIB includes found at: /usr/include
-- Found CURL: /usr/lib64/libcurl.so (found version "7.51.0")
-- Curl libraries found at: /usr/lib64/libcurl.so
-- Curl includes found at: /usr/include
-- Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR)
-- ==== LibUSB not found, support for TE923/Voltcraft disabled!
-- ==== OpenZWave not found, support disabled!
-- ==== WiringPi include file (wiringPi.h) not found. GPIO support disabled.
-- ==== (Please follow
http://wiringpi.com/download-and-install/ if you want to use GPIO.)
-- Not found telldus-core (telldus-core.h), not adding tellstick support
CMake Warning (dev) at CMakeLists.txt:167 (GET_DIRECTORY_PROPERTY):
Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory
property. Run "cmake --help-policy CMP0059" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:636 (ADD_PRECOMPILED_HEADER)
This warning is for project developers. Use -Wno-dev to suppress it.
/usr/bin/c++ ;-O3;-DNDEBUG;-I/usr/include/python3.4m;-I/share/storage/git/domoticz/main;-I/usr/include;-I/usr/include;-I/usr/include;-I/usr/include;;-DBUILTIN_MQTT;-DUSE_PYTHON_PLUGINS;-DHAVE_EXECINFO_H;-DWWW_ENABLE_SSL -x c++-header -o /share/storage/git/domoticz/stdafx.h.gch/.c++ /share/storage/git/domoticz/main/stdafx.h
-- Using static libgcc/libstdc++
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Configuring done
-- Generating done
-- Build files have been written to: /share/storage/git/domoticz