moroen wrote: ↑Monday 14 May 2018 20:35
Mario wrote: ↑Monday 14 May 2018 14:43
This is the Domoticz log:
2018-05-14 14:41:15.049 Domoticz V3.9439 (c)2012-2018 GizMoCuz
2018-05-14 14:41:15.049 Build Hash: a6a160a8, Date: 2018-05-14 09:01:03
2018-05-14 14:41:15.050 Startup Path: /home/pi/domoticz/
2018-05-14 14:41:15.304 Sunrise: 05:45:00 SunSet: 21:26:00
2018-05-14 14:41:15.305 Day length: 15:41:00 Sun at south: 13:05:00
2018-05-14 14:41:15.305 Civil twilight start: 05:02:00 Civil twilight end: 22:08:00
2018-05-14 14:41:15.305 Nautical twilight start: 04:04:00 Nautical twilight end: 23:07:00
2018-05-14 14:41:15.305 Astronomical twilight start: 02:29:00 Astronomical twilight end: 00:41:00
2018-05-14 14:41:15.305 EventSystem: reset all events...
2018-05-14 14:41:15.337 Active notification Subsystems: (0/14)
2018-05-14 14:41:15.360 WebServer(HTTP) started on address: :: with port 8080
2018-05-14 14:41:15.389 WebServer(SSL) started on address: :: with port 443
2018-05-14 14:41:15.391 Proxymanager started.
2018-05-14 14:41:15.392 Camera: settings (re)loaded
2018-05-14 14:41:15.393 Starting shared server on: :::6144
2018-05-14 14:41:15.394 TCPServer: shared server started...
2018-05-14 14:41:15.394 RxQueue: queue worker started...
2018-05-14 14:41:17.399 ToonThermostat: Worker started...
2018-05-14 14:41:17.399 Wunderground: Worker started...
2018-05-14 14:41:31.983 (TOON) Thermostat (Toon instelling)
2018-05-14 14:41:31.984 (TOON) Temp (Kamer temperatuur)
2018-05-14 14:41:31.985 (TOON) P1 Smart Meter (Stroom)
2018-05-14 14:41:31.986 (TOON) P1 Smart Meter (Gas)
2018-05-14 14:41:33.896 (Weerstation) Temp + Humidity + Baro (Weer)
2018-05-14 14:41:33.897 (Weerstation) Wind (Wind)
2018-05-14 14:41:33.898 (Weerstation) Rain (Unknown)
2018-05-14 14:41:33.899 (Weerstation) General/Visibility (Unknown)
I have V3.9439 of Domoticz up and running, the plugin I used is your's from Github.
I have started all over from the beginning and now I get a problem making the PSK. this is the message I get:
coap-client -m post -u "Client_identity" -k "GATEWAY-KEY" -e '{"9090":"IDENT"}' "coaps://IP:5684/15011/9063"
-bash: coap-client: command not found
(I filled in the IP and Gateway key afcourse)
First, from your log, the python plugin-system doesn't seem to start, you should se something along this line rather early in the log:
Code: Select all
2018-05-14 20:30:42.615 PluginSystem: Started, Python version '3.6.5'.
Second, it appears you are missing the coap-client? Have you tried to install it using the instructions from pytradfri? You'll find the instructions at:
https://github.com/ggravlingen/pytradfr ... -client.sh
Let me know how it works out!
Regards,
M
Hi,
I reinstalled the cap client and when coming to the part " make " I get some errors at the end. See attached Log.
pi@raspberrypi:~/libcoap $ make
make all-recursive
make[1]: Entering directory '/home/pi/libcoap'
Making all in ext/tinydtls
make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls'
make -C aes rijndael.o
make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/aes'
make[3]: 'rijndael.o' is up to date.
make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/aes'
make -C ecc ecc.o
make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/ecc'
make[3]: 'ecc.o' is up to date.
make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/ecc'
make -C sha2 sha2.o
make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/sha2'
make[3]: 'sha2.o' is up to date.
make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/sha2'
make -C doc
make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/doc'
: Doxyfile >./doxygen.out 2>&1
make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/doc'
for dir in tests doc platform-specific sha2 aes ecc; do \
make -C $dir ; \
done
make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/tests'
make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/doc'
: Doxyfile >./doxygen.out 2>&1
make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/doc'
make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/platform-specific'
make[3]: Nothing to be done for 'clean'.
make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/platform-specific'
make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/sha2'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/sha2'
make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/aes'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/aes'
make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/ecc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/ecc'
make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls'
Making all in .
make[2]: Entering directory '/home/pi/libcoap'
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-address.lo -MD -MP -MF src/.deps/libcoap_1_la-address.Tpo -c -o src/libcoap_1_la-address.lo `test -f 'src/address.c' || echo './'`src/address.c
./libtool: ./libtool: is a directory
Makefile:734: recipe for target 'src/libcoap_1_la-address.lo' failed
make[2]: *** [src/libcoap_1_la-address.lo] Error 126
make[2]: Leaving directory '/home/pi/libcoap'
Makefile:940: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/libcoap'
Makefile:526: recipe for target 'all' failed
make: *** [all] Error 2
pi@raspberrypi:~/libcoap $ make install
Making install in ext/tinydtls
make[1]: Entering directory '/home/pi/libcoap/ext/tinydtls'
make -C aes rijndael.o
make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/aes'
make[2]: 'rijndael.o' is up to date.
make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/aes'
make -C ecc ecc.o
make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/ecc'
make[2]: 'ecc.o' is up to date.
make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/ecc'
make -C sha2 sha2.o
make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/sha2'
make[2]: 'sha2.o' is up to date.
make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/sha2'
make -C doc
make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/doc'
: Doxyfile >./doxygen.out 2>&1
make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/doc'
test -d /usr/local/lib || mkdir -p /usr/local/lib
test -d /usr/local/include/tinydtls || mkdir -p /usr/local/include/tinydtls
mkdir: cannot create directory ‘/usr/local/include/tinydtls’: Permission denied
Makefile:107: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/home/pi/libcoap/ext/tinydtls'
Makefile:940: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
pi@raspberrypi:~/libcoap $