Migrate to Cloud not working

Hello,
I would like to migrate my local Thinger installation (Release 1.6.2) to the Cloud but have problems to do.
When I start my thingerClient to the local server everything works fine. As soon as I connect it to the Cloud server (2.9.92) it displays the api interfaces but cannot display what is inside.
What is wrong with the Cloud server?
Local Release 1.6.2


Cloud Release 2.9.92

Any idea what it is wront on my account securexperts?

I am willing to licence in the Cloud but it must work first otherwise I cannot migrate my Productive installation

Many tanks

Roman

Hi @SecureXperts , do you have the latest arduino client library version?

Hello,
Yes I have just downloaded the latest version but it is the same.
I have found that when I compile
cmake -DCMAKE_BUILD_TYPE=Release -DDAEMON=OFF -DRASPBERRY=ON …/
it works
But if I compile with
cmake -DCMAKE_BUILD_TYPE=Release -DDAEMON=ON -DRASPBERRY=ON …/
it does not work

Any Idea on that?

Many Thanks

Roman

This is my actual CMake File
I have added two libraries curl and pthread

cmake_minimum_required(VERSION 2.8.9)
project(thinger)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} “${CMAKE_SOURCE_DIR}/cmake/modules/”)

include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X)
if(COMPILER_SUPPORTS_CXX11)
set(CMAKE_CXX_FLAGS “${CMAKE_CXX_FLAGS} -std=c++11 -pthread -lcurl”)
elseif(COMPILER_SUPPORTS_CXX0X)
set(CMAKE_CXX_FLAGS “${CMAKE_CXX_FLAGS} -std=c++0x -pthread -lcurl”)
else()
message(STATUS “The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.”)
endif()

OPTION(ENABLE_OPENSSL “Enable use of OpenSSL” ON)
OPTION(DAEMON “Build thinger client as daemon” OFF)
OPTION(EDISON “Enable build and install for Intel Edison” OFF)
OPTION(RASPBERRY “Enable build and isntall for Raspberry Pi” OFF)

IF(ENABLE_OPENSSL)
if(APPLE) # point to the correct OpenSSL path (installed by homebrew)
SET(OPEN_SSL 1)
include_directories(/usr/local/opt/openssl/include)
list(APPEND ADDITIONAL_LIBS /usr/local/opt/openssl/lib/libssl.a)
list(APPEND ADDITIONAL_LIBS /usr/local/opt/openssl/lib/libcrypto.a)
else()
find_package(OpenSSL REQUIRED)
if(OPENSSL_FOUND)
SET(OPEN_SSL 1)
include_directories(${OPENSSL_INCLUDE_DIR})
list(APPEND ADDITIONAL_LIBS ${OPENSSL_LIBRARIES})
message(STATUS “OpenSSL Version: ${OPENSSL_VERSION}”)
else()
SET(OPEN_SSL 0)
endif()
endif()
ELSE()
SET(OPEN_SSL 0)
ENDIF()

set(SOURCE_FILES src/main.cpp src/mmapGpio.cpp src/pstream.h src/cJSON.h src/cJSON.c src/curl.h )

add_definitions( -DOPEN_SSL=${OPEN_SSL} )

if(RASPBERRY)
find_package(WiringPi)
if(WiringPi_FOUND)
include_directories(${WiringPi_INCLUDE_DIR})
list(APPEND ADDITIONAL_LIBS ${WiringPi_LIBRARIES})
endif()
endif()

if(DAEMON)
# daemon service that can be installed as a linux service
add_executable(thinger ${SOURCE_FILES})
target_link_libraries(thinger ${ADDITIONAL_LIBS})
set_target_properties(thinger PROPERTIES COMPILE_DEFINITIONS “DAEMON=1”)

if(EDISON)
install(TARGETS thinger RUNTIME DESTINATION bin)
install(FILES “${CMAKE_SOURCE_DIR}/install/intel_edison/thinger.service” DESTINATION /lib/systemd/system)
elseif(RASPBERRY)
install(TARGETS thinger RUNTIME DESTINATION bin)
install(FILES “${CMAKE_SOURCE_DIR}/install/raspberry/thinger” DESTINATION /etc/init.d)
elseif(MAC)

endif()
else()
add_executable(thinger ${SOURCE_FILES})
target_link_libraries(thinger ${ADDITIONAL_LIBS})
set_target_properties(thinger PROPERTIES COMPILE_DEFINITIONS “DAEMON=0”)
endif()

Is This a problem?

Thanks

Hello,

I think I have found the reason. In the Code wherer I initialize teh On/Off state of the Relays I need to give more time bevore the state are displayed by the thinger Client API.

Many Thanks for your help

Roman