Python Plugin: Broadlink RM2 V3
Moderator: leecollings
- Phantom
- Posts: 87
- Joined: Saturday 31 December 2016 14:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11652
- Location: The Netherlands
- Contact:
Re: Python Plugin: Broadlink RM2 V3
With the beta's i get the "segmentation fault " also as soon as i activate the broadlink plugin.
I did a fresh installation of the pi, installed domoticz and then installed the broadlink.
When i copy this: sudo cp -r /usr/local/lib/python3.5/dist-packages/broadlink /usr/lib/python3.5/
Domoticz will crash with the "segmentation fault" and when i move the dir it will start with no problems.
When i edit the __init__.py and change the import:
import time
#import random (i commend this out)
import socket
import sys
import threading
Then domoticz will start again.
I have no idea how to get this fixed or why it gives a problem now.
I did a fresh installation of the pi, installed domoticz and then installed the broadlink.
When i copy this: sudo cp -r /usr/local/lib/python3.5/dist-packages/broadlink /usr/lib/python3.5/
Domoticz will crash with the "segmentation fault" and when i move the dir it will start with no problems.
When i edit the __init__.py and change the import:
import time
#import random (i commend this out)
import socket
import sys
import threading
Then domoticz will start again.
I have no idea how to get this fixed or why it gives a problem now.
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2 V3
@ofershm
just to try to see if it should be related to AES
here is the code :
"
try:
from Crypto.Cipher import AES
except ImportError as e:
import pyaes
"
broadlink use first Crypto and pyaes after.
can you try to uninstall pyaes ( if this is possible for you ) and verify that you have only Crypto, than reload the plugin to see if you have segmentation fault. ?
just to try to see if it should be related to AES
here is the code :
"
try:
from Crypto.Cipher import AES
except ImportError as e:
import pyaes
"
broadlink use first Crypto and pyaes after.
can you try to uninstall pyaes ( if this is possible for you ) and verify that you have only Crypto, than reload the plugin to see if you have segmentation fault. ?
- Phantom
- Posts: 87
- Joined: Saturday 31 December 2016 14:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11652
- Location: The Netherlands
- Contact:
Re: Python Plugin: Broadlink RM2 V3
I tried it with a complete fresh installation:
Downloaded Stretch version from the raspberrypi website
sudo apt-get update
sudo apt-get upgrade
wget http://ftp.nl.debian.org/debian/pool/ma ... _armhf.deb
sudo dpkg -i libssl1.0.0_1.0.1t-1+deb8u6_armhf.deb
sudo apt-get install -y python3-dev
sudo apt-get install libglib2.0-dev
sudo apt-get install python3-pip
sudo pip3 install Crypto
sudo pip3 install broadlink
sudo pip3 install pyaes
sudo cp -r /usr/lib/python3/dist-packages/Crypto/ /usr/lib/python3.5/
sudo cp -r /usr/local/lib/python3.5/dist-packages/broadlink /usr/lib/python3.5/
sudo cp -r /usr/local/lib/python3.5/dist-packages/pyaes /usr/lib/python3.5/
sudo curl -L install.domoticz.com | bash
installed the plugin
And everything works fine
after i update to the beta version
./updatebeta
Then domoticz will not start anymore and crash with a segmentation fault.
When i go back to the release version it works again or if i rename the /usr/lib/python3.5/broadlink folder it works also again.
Hope you have any suggestions.
Downloaded Stretch version from the raspberrypi website
sudo apt-get update
sudo apt-get upgrade
wget http://ftp.nl.debian.org/debian/pool/ma ... _armhf.deb
sudo dpkg -i libssl1.0.0_1.0.1t-1+deb8u6_armhf.deb
sudo apt-get install -y python3-dev
sudo apt-get install libglib2.0-dev
sudo apt-get install python3-pip
sudo pip3 install Crypto
sudo pip3 install broadlink
sudo pip3 install pyaes
sudo cp -r /usr/lib/python3/dist-packages/Crypto/ /usr/lib/python3.5/
sudo cp -r /usr/local/lib/python3.5/dist-packages/broadlink /usr/lib/python3.5/
sudo cp -r /usr/local/lib/python3.5/dist-packages/pyaes /usr/lib/python3.5/
sudo curl -L install.domoticz.com | bash
installed the plugin
And everything works fine
after i update to the beta version
./updatebeta
Then domoticz will not start anymore and crash with a segmentation fault.
When i go back to the release version it works again or if i rename the /usr/lib/python3.5/broadlink folder it works also again.
Hope you have any suggestions.
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2 V3
@Phantom
there is some problem with the last beta and some python plugins.
I think that this is under investigation.
there is some problem with the last beta and some python plugins.
I think that this is under investigation.
- gizmocuz
- Posts: 2350
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Not sure if it is under investigation, at least not by me...
Quality outlives Quantity!
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2 V3
@gizmocuz
as you have already provided response to an open issue in github https://github.com/domoticz/domoticz/issues/1891 had let me supposed you taken ownership if this..sorry.
@phantom
can you try by removing pyaes from your system ? thanks
(all place, even this one sudo cp -r /usr/local/lib/python3.5/dist-packages/pyaes /usr/lib/python3.5/)
as you have already provided response to an open issue in github https://github.com/domoticz/domoticz/issues/1891 had let me supposed you taken ownership if this..sorry.
@phantom
can you try by removing pyaes from your system ? thanks
(all place, even this one sudo cp -r /usr/local/lib/python3.5/dist-packages/pyaes /usr/lib/python3.5/)
- Phantom
- Posts: 87
- Joined: Saturday 31 December 2016 14:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11652
- Location: The Netherlands
- Contact:
Re: Python Plugin: Broadlink RM2 V3
i tried the below and got the same result.
pi@raspberrypi:~ $ sudo rm -rf /usr/lib/python3.5/pyaes
pi@raspberrypi:~ $ sudo pip3 uninstall pyaes
Uninstalling pyaes-1.6.1:
/usr/local/lib/python3.5/dist-packages/pyaes-1.6.1.dist-info/DESCRIPTION.rst
/usr/local/lib/python3.5/dist-packages/pyaes-1.6.1.dist-info/INSTALLER
/usr/local/lib/python3.5/dist-packages/pyaes-1.6.1.dist-info/METADATA
/usr/local/lib/python3.5/dist-packages/pyaes-1.6.1.dist-info/RECORD
/usr/local/lib/python3.5/dist-packages/pyaes-1.6.1.dist-info/WHEEL
/usr/local/lib/python3.5/dist-packages/pyaes-1.6.1.dist-info/metadata.json
/usr/local/lib/python3.5/dist-packages/pyaes-1.6.1.dist-info/top_level.txt
/usr/local/lib/python3.5/dist-packages/pyaes/__init__.py
/usr/local/lib/python3.5/dist-packages/pyaes/__pycache__/__init__.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/pyaes/__pycache__/aes.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/pyaes/__pycache__/blockfeeder.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/pyaes/__pycache__/util.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/pyaes/aes.py
/usr/local/lib/python3.5/dist-packages/pyaes/blockfeeder.py
/usr/local/lib/python3.5/dist-packages/pyaes/util.py
Proceed (y/n)? y
Successfully uninstalled pyaes-1.6.1
pi@raspberrypi:~ $ cd domoticz/
pi@raspberrypi:~/domoticz $ ./updatebeta
pi@raspberrypi:~ $ sudo rm -rf /usr/lib/python3.5/pyaes
pi@raspberrypi:~ $ sudo pip3 uninstall pyaes
Uninstalling pyaes-1.6.1:
/usr/local/lib/python3.5/dist-packages/pyaes-1.6.1.dist-info/DESCRIPTION.rst
/usr/local/lib/python3.5/dist-packages/pyaes-1.6.1.dist-info/INSTALLER
/usr/local/lib/python3.5/dist-packages/pyaes-1.6.1.dist-info/METADATA
/usr/local/lib/python3.5/dist-packages/pyaes-1.6.1.dist-info/RECORD
/usr/local/lib/python3.5/dist-packages/pyaes-1.6.1.dist-info/WHEEL
/usr/local/lib/python3.5/dist-packages/pyaes-1.6.1.dist-info/metadata.json
/usr/local/lib/python3.5/dist-packages/pyaes-1.6.1.dist-info/top_level.txt
/usr/local/lib/python3.5/dist-packages/pyaes/__init__.py
/usr/local/lib/python3.5/dist-packages/pyaes/__pycache__/__init__.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/pyaes/__pycache__/aes.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/pyaes/__pycache__/blockfeeder.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/pyaes/__pycache__/util.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/pyaes/aes.py
/usr/local/lib/python3.5/dist-packages/pyaes/blockfeeder.py
/usr/local/lib/python3.5/dist-packages/pyaes/util.py
Proceed (y/n)? y
Successfully uninstalled pyaes-1.6.1
pi@raspberrypi:~ $ cd domoticz/
pi@raspberrypi:~/domoticz $ ./updatebeta
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2 V3
@Phantom
thanks a lot.
Can we do inverse now ?
this mean re-install pyaes but remove pyCrypto
thanks a lot.
Can we do inverse now ?
this mean re-install pyaes but remove pyCrypto
- Phantom
- Posts: 87
- Joined: Saturday 31 December 2016 14:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11652
- Location: The Netherlands
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Sadly the same result:
Code: Select all
pi@raspberrypi:~ $ sudo pip3 uninstall Crypto
Uninstalling crypto-1.4.1:
/usr/local/bin/crypto
/usr/local/bin/decrypto
/usr/local/lib/python3.5/dist-packages/crypto-1.4.1.dist-info/DESCRIPTION.rst
/usr/local/lib/python3.5/dist-packages/crypto-1.4.1.dist-info/INSTALLER
/usr/local/lib/python3.5/dist-packages/crypto-1.4.1.dist-info/METADATA
/usr/local/lib/python3.5/dist-packages/crypto-1.4.1.dist-info/RECORD
/usr/local/lib/python3.5/dist-packages/crypto-1.4.1.dist-info/WHEEL
/usr/local/lib/python3.5/dist-packages/crypto-1.4.1.dist-info/entry_points.txt
/usr/local/lib/python3.5/dist-packages/crypto-1.4.1.dist-info/pydist.json
/usr/local/lib/python3.5/dist-packages/crypto-1.4.1.dist-info/top_level.txt
/usr/local/lib/python3.5/dist-packages/crypto/__init__.py
/usr/local/lib/python3.5/dist-packages/crypto/__pycache__/__init__.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/crypto/__pycache__/app.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/crypto/__pycache__/decryptoapp.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/crypto/__pycache__/settings.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/crypto/app.py
/usr/local/lib/python3.5/dist-packages/crypto/decryptoapp.py
/usr/local/lib/python3.5/dist-packages/crypto/library/__init__.py
/usr/local/lib/python3.5/dist-packages/crypto/library/__pycache__/__init__.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/crypto/library/__pycache__/cryptor.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/crypto/library/__pycache__/hash.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/crypto/library/__pycache__/package.cpython-35.pyc
/usr/local/lib/python3.5/dist-packages/crypto/library/cryptor.py
/usr/local/lib/python3.5/dist-packages/crypto/library/hash.py
/usr/local/lib/python3.5/dist-packages/crypto/library/package.py
/usr/local/lib/python3.5/dist-packages/crypto/settings.py
Proceed (y/n)? y
Your response ('sudo pip3 install pyaesy') was not one of the expected responses: y, n
Proceed (y/n)? y
Successfully uninstalled crypto-1.4.1
pi@raspberrypi:~ $ sudo pip3 install pyaes
Collecting pyaes
Using cached https://www.piwheels.hostedpi.com/simple/pyaes/pyaes-1.6.1-py3-none-any.whl
Installing collected packages: pyaes
Successfully installed pyaes-1.6.1
pi@raspberrypi:~ $ sudo rm -rf /usr/lib/python3.5/Crypto
pi@raspberrypi:~ $ sudo cp -r /usr/local/lib/python3.5/dist-packages/pyaes /usr/lib/python3.5/
pi@raspberrypi:~ $
pi@raspberrypi:~/domoticz $ ./updatebeta
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2 V3
have made a linux test desktop into a VM and no problem on my side.
this run on Desktop ubuntu 16.04 LTS
self compiled and installation done using the wiki
this run on Desktop ubuntu 16.04 LTS
self compiled and installation done using the wiki
Code: Select all
test@test-virtual-machine:~/domoticz$ ./domoticz
2017-11-07 21:26:16.859 Domoticz V3.8703 (c)2012-2017 GizMoCuz
2017-11-07 21:26:16.859 Build Hash: 47146ce2, Date: 2017-11-07 19:46:12
2017-11-07 21:26:16.859 Startup Path: /home/test/domoticz/
2017-11-07 21:26:16.890 PluginSystem: Started, Python version '3.5.2'.
2017-11-07 21:26:16.892 Active notification Subsystems: gcm, http (2/14)
2017-11-07 21:26:16.892 WebServer(HTTP) started on address: :: with port 8080
2017-11-07 21:26:16.895 Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: bind: Permission denied
2017-11-07 21:26:16.895 Error: WebServer(SSL) check privileges for opening ports below 1024
2017-11-07 21:26:16.896 Proxymanager started.
2017-11-07 21:26:16.897 Starting shared server on: :::6144
2017-11-07 21:26:16.897 TCPServer: shared server started...
2017-11-07 21:26:16.898 RxQueue: queue worker started...
2017-11-07 21:26:18.911 (sts) Started.
2017-11-07 21:26:18.911 (sts) Started.
2017-11-07 21:26:18.911 EventSystem: reset all events...
2017-11-07 21:26:18.912 EventSystem: reset all device statuses...
2017-11-07 21:26:18.935 Python EventSystem: Initalizing event module.
2017-11-07 21:26:18.935 EventSystem: Started
2017-11-07 21:26:18.935 EventSystem: Queue thread started...
2017-11-07 21:26:19.380 PluginSystem: Entering work loop.
2017-11-07 21:26:19.439 (sts) Initialized version 4.0.0, author 'zak45'
2017-11-07 21:26:19.439 (sts) Entering work loop.
2017-11-07 21:26:19.490 (sts) Entering work loop.
2017-11-07 21:26:19.490 (sts) Initialized version 4.0.0, author 'zak45'
2017-11-07 21:26:19.490 (sts) Debug log level set to: 'true'.
2017-11-07 21:26:19.490 (sts) 'HomeFolder':'/home/test/domoticz/plugins/BroadlinkRM2/'
2017-11-07 21:26:19.490 (sts) 'Mode2':'C:/BroadlinkRM2'
2017-11-07 21:26:19.490 (sts) 'Mode3':'RM2T'
2017-11-07 21:26:19.490 (sts) 'Mode1':'000000000000'
2017-11-07 21:26:19.490 (sts) 'Author':'zak45'
2017-11-07 21:26:19.490 (sts) 'Mode5':'9002'
2017-11-07 21:26:19.491 (sts) 'Mode6':'Debug'
2017-11-07 21:26:19.491 (sts) 'Version':'4.0.0'
2017-11-07 21:26:19.491 (sts) 'Name':'sts'
2017-11-07 21:26:19.491 (sts) 'Address':'127.0.0.1'
2017-11-07 21:26:19.491 (sts) 'Port':'0'
2017-11-07 21:26:19.491 (sts) 'HardwareID':'3'
2017-11-07 21:26:19.491 (sts) 'Key':'BroadlinkRM2'
2017-11-07 21:26:19.491 (sts) 'Mode4':'no'
2017-11-07 21:26:19.491 (sts) Device count: 3
2017-11-07 21:26:19.491 (sts) Device: 1 - ID: 2, Name: 'sts - Discover', nValue: 0, sValue: 'Off'
2017-11-07 21:26:19.491 (sts) Device ID: '2'
2017-11-07 21:26:19.491 (sts) Device Name: 'sts - Discover'
2017-11-07 21:26:19.491 (sts) Device nValue: 0
2017-11-07 21:26:19.491 (sts) Device sValue: 'Off'
2017-11-07 21:26:19.491 (sts) Device LastLevel: 0
2017-11-07 21:26:19.491 (sts) Device: 2 - ID: 3, Name: 'sts - Temp', nValue: 0, sValue: ''
2017-11-07 21:26:19.491 (sts) Device ID: '3'
2017-11-07 21:26:19.491 (sts) Device Name: 'sts - Temp'
2017-11-07 21:26:19.491 (sts) Device nValue: 0
2017-11-07 21:26:19.491 (sts) Device sValue: ''
2017-11-07 21:26:19.491 (sts) Device LastLevel: 0
2017-11-07 21:26:19.491 (sts) Device: 254 - ID: 4, Name: 'sts - Remote', nValue: 0, sValue: ''
2017-11-07 21:26:19.491 (sts) Device ID: '4'
2017-11-07 21:26:19.491 (sts) Device Name: 'sts - Remote'
2017-11-07 21:26:19.491 (sts) Device nValue: 0
2017-11-07 21:26:19.491 (sts) Device sValue: ''
2017-11-07 21:26:19.491 (sts) Device LastLevel: 0
2017-11-07 21:26:19.491 (sts) Connecting to: 127.0.0.1:000000000000
2017-11-07 21:26:19.492 Error: (sts) Error Connecting to Broadlink device....127.0.0.1
2017-11-07 21:26:19.496 (sts) No ini file :C:/BroadlinkRM2/remote/plugin_remote_3.ini
2017-11-07 21:26:19.496 (sts) Custom Commands for Remote not managed
2017-11-07 21:26:19.496 (sts) Device Number begin to : 2
2017-11-07 21:26:19.497 (sts) Debug log level set to: 'true'.
2017-11-07 21:26:19.497 (sts) 'HomeFolder':'/home/test/domoticz/plugins/BroadlinkRM2/'
2017-11-07 21:26:19.497 (sts) 'Mode2':'C:/BroadlinkRM2'
2017-11-07 21:26:19.497 (sts) 'Mode3':'RM2T'
2017-11-07 21:26:19.497 (sts) 'Mode1':'000000000000'
2017-11-07 21:26:19.497 (sts) 'Author':'zak45'
2017-11-07 21:26:19.497 (sts) 'Mode5':'9002'
2017-11-07 21:26:19.497 (sts) 'Mode6':'Debug'
2017-11-07 21:26:19.497 (sts) 'Version':'4.0.0'
2017-11-07 21:26:19.497 (sts) 'Name':'sts'
2017-11-07 21:26:19.498 (sts) 'Address':'127.0.0.1'
2017-11-07 21:26:19.498 (sts) 'Port':'0'
2017-11-07 21:26:19.498 (sts) 'HardwareID':'4'
2017-11-07 21:26:19.498 (sts) 'Key':'BroadlinkRM2'
2017-11-07 21:26:19.498 (sts) 'Mode4':'no'
2017-11-07 21:26:19.498 (sts) Device count: 3
2017-11-07 21:26:19.498 (sts) Device: 1 - ID: 5, Name: 'sts - Discover', nValue: 0, sValue: 'Off'
2017-11-07 21:26:19.498 (sts) Device ID: '5'
2017-11-07 21:26:19.498 (sts) Device Name: 'sts - Discover'
2017-11-07 21:26:19.498 (sts) Device nValue: 0
2017-11-07 21:26:19.498 (sts) Device sValue: 'Off'
2017-11-07 21:26:19.499 (sts) Device LastLevel: 0
2017-11-07 21:26:19.499 (sts) Device: 2 - ID: 6, Name: 'sts - Temp', nValue: 0, sValue: ''
2017-11-07 21:26:19.499 (sts) Device ID: '6'
2017-11-07 21:26:19.499 (sts) Device Name: 'sts - Temp'
2017-11-07 21:26:19.499 (sts) Device nValue: 0
2017-11-07 21:26:19.499 (sts) Device sValue: ''
2017-11-07 21:26:19.499 (sts) Device LastLevel: 0
2017-11-07 21:26:19.499 (sts) Device: 254 - ID: 7, Name: 'sts - Remote', nValue: 0, sValue: ''
2017-11-07 21:26:19.499 (sts) Device ID: '7'
2017-11-07 21:26:19.499 (sts) Device Name: 'sts - Remote'
2017-11-07 21:26:19.499 (sts) Device nValue: 0
2017-11-07 21:26:19.500 (sts) Device sValue: ''
2017-11-07 21:26:19.500 (sts) Device LastLevel: 0
2017-11-07 21:26:19.500 (sts) Connecting to: 127.0.0.1:000000000000
2017-11-07 21:26:19.502 Error: (sts) Error Connecting to Broadlink device....127.0.0.1
2017-11-07 21:26:19.503 (sts) No ini file :C:/BroadlinkRM2/remote/plugin_remote_4.ini
2017-11-07 21:26:19.503 (sts) Custom Commands for Remote not managed
2017-11-07 21:26:19.503 (sts) Device Number begin to : 2
2017-11-07 21:26:19.503 (sts) Heartbeat interval set to: 30.
2017-11-07 21:26:19.503 (sts) Heartbeat interval set to: 30.
2017-11-07 21:26:29.008 (sts) Calling message handler 'onHeartbeat'.
2017-11-07 21:26:29.009 Error: (sts) Error Connecting to Broadlink device....127.0.0.1
2017-11-07 21:26:29.063 (sts) Calling message handler 'onHeartbeat'.
2017-11-07 21:26:29.064 Error: (sts) Error Connecting to Broadlink device....127.0.0.1
- Phantom
- Posts: 87
- Joined: Saturday 31 December 2016 14:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11652
- Location: The Netherlands
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Strange, i did not compile domoticz myself but used this: sudo curl -L install.domoticz.com | bash
i assume you refer to this page: http://www.domoticz.com/wiki/Raspberry_ ... rom_source
I'll try that in a few days.
i assume you refer to this page: http://www.domoticz.com/wiki/Raspberry_ ... rom_source
I'll try that in a few days.
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2 V3
No... Do not own Raspberry.Phantom wrote: ↑Tuesday 07 November 2017 23:22 Strange, i did not compile domoticz myself but used this: sudo curl -L install.domoticz.com | bash
i assume you refer to this page: http://www.domoticz.com/wiki/Raspberry_ ... rom_source
I'll try that in a few days.
this one : http://www.domoticz.com/wiki/Linux
- gizmocuz
- Posts: 2350
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Instructions are the same (99%... if not all)
I always use the first page to compile on any system.
Don't know who created the separate Linux page... but i think its not needed, and you better follow the other one.
(of course you might need to tweak some lines... some systems use pacman instead of apt, etc)
I always use the first page to compile on any system.
Don't know who created the separate Linux page... but i think its not needed, and you better follow the other one.
(of course you might need to tweak some lines... some systems use pacman instead of apt, etc)
Quality outlives Quantity!
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Thanks for the advice...
Just need to say that the linux page had made me the system up without any trouble, nice to know.
And "pacman"... , I only know the video game I play when have been younger
Just need to say that the linux page had made me the system up without any trouble, nice to know.
And "pacman"... , I only know the video game I play when have been younger
- Phantom
- Posts: 87
- Joined: Saturday 31 December 2016 14:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11652
- Location: The Netherlands
- Contact:
Re: Python Plugin: Broadlink RM2 V3
That took a long time to compile and all.
It is working indeed when i compile it from the source
Why it is not working with the "easy" way i have no idea
Not sure why i get this error:
2017-11-12 14:24:13.439 Error: Notification sent (telegram) => Failed
2017-11-12 14:24:13.453 Active notification Subsystems: gcm, telegram (2/14)
It is working indeed when i compile it from the source
Code: Select all
pi@raspberrypi:~/dev-domoticz $ cmake -DCMAKE_BUILD_TYPE=Release CMakeLists.txt
-- ###########################
-- Compiling Revision #8730
-- ###########################
-- Using builtin Mosquitto library
-- Found OpenSSL: /usr/lib/arm-linux-gnueabihf/libssl.a;/usr/lib/arm-linux-gnueabihf/libcrypto.a (found version "1.1.0f")
-- Python3 includes found at: /usr/include/python3.5m
-- Building with I2C support
-- Building with SPI support
-- OPENSSL_LIBRARIES: /usr/lib/arm-linux-gnueabihf/libssl.a;/usr/lib/arm-linux-gnueabihf/libcrypto.a
CMake Warning at /usr/share/cmake-3.7/Modules/FindBoost.cmake:761 (message):
Imported targets not available for Boost version 106501
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/FindBoost.cmake:865 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.7/Modules/FindBoost.cmake:1470 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:529 (find_package)
CMake Warning at /usr/share/cmake-3.7/Modules/FindBoost.cmake:761 (message):
Imported targets not available for Boost version 106501
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/FindBoost.cmake:865 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.7/Modules/FindBoost.cmake:1470 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:529 (find_package)
CMake Warning at /usr/share/cmake-3.7/Modules/FindBoost.cmake:761 (message):
Imported targets not available for Boost version 106501
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/FindBoost.cmake:865 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.7/Modules/FindBoost.cmake:1470 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:529 (find_package)
-- 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.65.1
-- Found the following Boost libraries:
-- thread
-- date_time
-- system
-- Linking against boost static libraries
-- Found ZLIB: /usr/lib/arm-linux-gnueabihf/libz.so (found version "1.2.8")
-- ZLIB libraries found at: /usr/lib/arm-linux-gnueabihf/libz.so
-- ZLIB includes found at: /usr/include
-- Found CURL: /usr/lib/arm-linux-gnueabihf/libcurl.so (found version "7.52.1")
-- Curl libraries found at: /usr/lib/arm-linux-gnueabihf/libcurl.so
-- Curl includes found at: /usr/include/arm-linux-gnueabihf
-- Found LIBUSB: /usr/lib/arm-linux-gnueabihf/libusb.so
-- LIBUSB found at: /usr/lib/arm-linux-gnueabihf/libusb.so
-- /home/pi/open-zwave-read-only/libopenzwave.a
-- /lib/arm-linux-gnueabihf/libudev.so
-- GPIO is available
-- Not found telldus-core (telldus-core.h), not adding tellstick support
CMake Warning (dev) at CMakeLists.txt:234 (GET_DIRECTORY_PROPERTY):
Policy CMP0059 is not set: Do not 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:686 (ADD_PRECOMPILED_HEADER)
This warning is for project developers. Use -Wno-dev to suppress it.
/usr/bin/c++ ;-O3;-DNDEBUG;-I/usr/include/python3.5m;-I/home/pi/dev-domoticz/main;-I/home/pi/dev-domoticz/tinyxpath;-I/usr/include;-I/usr/local/include;-I/usr/include;-I/usr/include/arm-linux-gnueabihf;-I/home/pi/dev-domoticz/hardware/openzwave;;-DBUILTIN_MQTT;-DENABLE_PYTHON;-DHAVE_EXECINFO_H;-DHAVE_LINUX_I2C;-DHAVE_LINUX_SPI;-DWWW_ENABLE_SSL;-DWITH_LIBUSB;-DWITH_OPENZWAVE;-DWITH_GPIO -x c++-header -o /home/pi/dev-domoticz/stdafx.h.gch/.c++ /home/pi/dev-domoticz/main/stdafx.h
-- Using static libgcc/libstdc++
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/dev-domoticz
pi@raspberrypi:~/dev-domoticz $ CONF_SWAPFILE=1024
pi@raspberrypi:~/dev-domoticz $ make
Scanning dependencies of target sqlite
[ 0%] Building C object sqlite/CMakeFiles/sqlite.dir/sqlite3.c.o
[ 1%] Linking C static library libsqlite.a
[ 1%] Built target sqlite
Scanning dependencies of target lua
[ 1%] Building C object lua/src/CMakeFiles/lua.dir/lauxlib.c.o
[ 2%] Building C object lua/src/CMakeFiles/lua.dir/lbaselib.c.o
[ 2%] Building C object lua/src/CMakeFiles/lua.dir/lbitlib.c.o
[ 2%] Building C object lua/src/CMakeFiles/lua.dir/lcorolib.c.o
[ 3%] Building C object lua/src/CMakeFiles/lua.dir/ldblib.c.o
[ 3%] Building C object lua/src/CMakeFiles/lua.dir/liolib.c.o
[ 3%] Building C object lua/src/CMakeFiles/lua.dir/lmathlib.c.o
[ 4%] Building C object lua/src/CMakeFiles/lua.dir/loslib.c.o
[ 4%] Building C object lua/src/CMakeFiles/lua.dir/lstrlib.c.o
[ 5%] Building C object lua/src/CMakeFiles/lua.dir/ltablib.c.o
[ 5%] Building C object lua/src/CMakeFiles/lua.dir/loadlib.c.o
[ 5%] Building C object lua/src/CMakeFiles/lua.dir/linit.c.o
[ 6%] Building C object lua/src/CMakeFiles/lua.dir/lapi.c.o
[ 6%] Building C object lua/src/CMakeFiles/lua.dir/lcode.c.o
[ 6%] Building C object lua/src/CMakeFiles/lua.dir/lctype.c.o
[ 7%] Building C object lua/src/CMakeFiles/lua.dir/ldebug.c.o
[ 7%] Building C object lua/src/CMakeFiles/lua.dir/ldo.c.o
[ 7%] Building C object lua/src/CMakeFiles/lua.dir/ldump.c.o
[ 8%] Building C object lua/src/CMakeFiles/lua.dir/lfunc.c.o
[ 8%] Building C object lua/src/CMakeFiles/lua.dir/lgc.c.o
[ 9%] Building C object lua/src/CMakeFiles/lua.dir/llex.c.o
[ 9%] Building C object lua/src/CMakeFiles/lua.dir/lmem.c.o
[ 9%] Building C object lua/src/CMakeFiles/lua.dir/lobject.c.o
[ 10%] Building C object lua/src/CMakeFiles/lua.dir/lopcodes.c.o
[ 10%] Building C object lua/src/CMakeFiles/lua.dir/lparser.c.o
[ 10%] Building C object lua/src/CMakeFiles/lua.dir/lstate.c.o
[ 11%] Building C object lua/src/CMakeFiles/lua.dir/lstring.c.o
[ 11%] Building C object lua/src/CMakeFiles/lua.dir/ltable.c.o
[ 11%] Building C object lua/src/CMakeFiles/lua.dir/ltm.c.o
[ 12%] Building C object lua/src/CMakeFiles/lua.dir/lundump.c.o
[ 12%] Building C object lua/src/CMakeFiles/lua.dir/lvm.c.o
[ 13%] Building C object lua/src/CMakeFiles/lua.dir/lzio.c.o
[ 13%] Linking C static library liblua.a
[ 13%] Built target lua
Scanning dependencies of target revisiontag
-- Found Git: /usr/bin/git (found version "2.11.0")
[ 13%] Built target revisiontag
Scanning dependencies of target domoticz_gch
[ 13%] Generating stdafx.h.gch/.c++
[ 13%] Built target domoticz_gch
Scanning dependencies of target mqtt
[ 13%] Building CXX object MQTT/CMakeFiles/mqtt.dir/mosquittopp.cpp.o
[ 14%] Building C object MQTT/CMakeFiles/mqtt.dir/mosquitto.c.o
[ 14%] Building C object MQTT/CMakeFiles/mqtt.dir/logging_mosq.c.o
[ 14%] Building C object MQTT/CMakeFiles/mqtt.dir/memory_mosq.c.o
[ 15%] Building C object MQTT/CMakeFiles/mqtt.dir/messages_mosq.c.o
[ 15%] Building C object MQTT/CMakeFiles/mqtt.dir/net_mosq.c.o
/home/pi/dev-domoticz/MQTT/net_mosq.c: In function ‘_mosquitto_net_cleanup’:
/home/pi/dev-domoticz/MQTT/net_mosq.c:114:2: warning: ‘ERR_remove_state’ is deprecated [-Wdeprecated-declarations]
ERR_remove_state(0);
^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/ui.h:13:0,
from /usr/include/openssl/engine.h:29,
from /home/pi/dev-domoticz/MQTT/net_mosq.c:55:
/usr/include/openssl/err.h:248:1: note: declared here
DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
^
/home/pi/dev-domoticz/MQTT/net_mosq.c: In function ‘_mosquitto_socket_connect’:
/home/pi/dev-domoticz/MQTT/net_mosq.c:428:4: warning: ‘TLSv1_2_client_method’ is deprecated [-Wdeprecated-declarations]
mosq->ssl_ctx = SSL_CTX_new(TLSv1_2_client_method());
^~~~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from /home/pi/dev-domoticz/MQTT/tls_mosq.h:28,
from /home/pi/dev-domoticz/MQTT/net_mosq.c:57:
/usr/include/openssl/ssl.h:1626:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) /* TLSv1.2 */
^
/home/pi/dev-domoticz/MQTT/net_mosq.c:430:4: warning: ‘TLSv1_1_client_method’ is deprecated [-Wdeprecated-declarations]
mosq->ssl_ctx = SSL_CTX_new(TLSv1_1_client_method());
^~~~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from /home/pi/dev-domoticz/MQTT/tls_mosq.h:28,
from /home/pi/dev-domoticz/MQTT/net_mosq.c:57:
/usr/include/openssl/ssl.h:1620:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) /* TLSv1.1 */
^
/home/pi/dev-domoticz/MQTT/net_mosq.c:432:4: warning: ‘TLSv1_client_method’ is deprecated [-Wdeprecated-declarations]
mosq->ssl_ctx = SSL_CTX_new(TLSv1_client_method());
^~~~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from /home/pi/dev-domoticz/MQTT/tls_mosq.h:28,
from /home/pi/dev-domoticz/MQTT/net_mosq.c:57:
/usr/include/openssl/ssl.h:1614:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */
^
[ 15%] Building C object MQTT/CMakeFiles/mqtt.dir/read_handle.c.o
[ 16%] Building C object MQTT/CMakeFiles/mqtt.dir/read_handle_client.c.o
[ 16%] Building C object MQTT/CMakeFiles/mqtt.dir/read_handle_shared.c.o
[ 17%] Building C object MQTT/CMakeFiles/mqtt.dir/send_client_mosq.c.o
[ 17%] Building C object MQTT/CMakeFiles/mqtt.dir/send_mosq.c.o
[ 17%] Building C object MQTT/CMakeFiles/mqtt.dir/socks_mosq.c.o
[ 18%] Building C object MQTT/CMakeFiles/mqtt.dir/srv_mosq.c.o
[ 18%] Building C object MQTT/CMakeFiles/mqtt.dir/thread_mosq.c.o
[ 18%] Building C object MQTT/CMakeFiles/mqtt.dir/time_mosq.c.o
[ 19%] Building C object MQTT/CMakeFiles/mqtt.dir/tls_mosq.c.o
/home/pi/dev-domoticz/MQTT/tls_mosq.c: In function ‘_mosquitto_verify_certificate_hostname’:
/home/pi/dev-domoticz/MQTT/tls_mosq.c:130:5: warning: ‘ASN1_STRING_data’ is deprecated [-Wdeprecated-declarations]
data = ASN1_STRING_data(nval->d.dNSName);
^~~~
In file included from /usr/include/openssl/bn.h:31:0,
from /usr/include/openssl/asn1.h:24,
from /usr/include/openssl/objects.h:916,
from /usr/include/openssl/evp.h:27,
from /usr/include/openssl/x509.h:23,
from /usr/include/openssl/x509v3.h:14,
from /home/pi/dev-domoticz/MQTT/tls_mosq.c:29:
/usr/include/openssl/asn1.h:553:1: note: declared here
DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
^
/home/pi/dev-domoticz/MQTT/tls_mosq.c:136:5: warning: ‘ASN1_STRING_data’ is deprecated [-Wdeprecated-declarations]
data = ASN1_STRING_data(nval->d.iPAddress);
^~~~
In file included from /usr/include/openssl/bn.h:31:0,
from /usr/include/openssl/asn1.h:24,
from /usr/include/openssl/objects.h:916,
from /usr/include/openssl/evp.h:27,
from /usr/include/openssl/x509.h:23,
from /usr/include/openssl/x509v3.h:14,
from /home/pi/dev-domoticz/MQTT/tls_mosq.c:29:
/usr/include/openssl/asn1.h:553:1: note: declared here
DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
^
[ 19%] Building C object MQTT/CMakeFiles/mqtt.dir/util_mosq.c.o
[ 19%] Building C object MQTT/CMakeFiles/mqtt.dir/will_mosq.c.o
[ 20%] Linking CXX static library libmqtt.a
[ 20%] Built target mqtt
Scanning dependencies of target domoticz
[ 20%] Building CXX object CMakeFiles/domoticz.dir/main/stdafx.cpp.o
[ 20%] Building CXX object CMakeFiles/domoticz.dir/main/CmdLine.cpp.o
[ 21%] Building CXX object CMakeFiles/domoticz.dir/main/Camera.cpp.o
[ 21%] Building CXX object CMakeFiles/domoticz.dir/main/domoticz.cpp.o
[ 21%] Building CXX object CMakeFiles/domoticz.dir/main/dzVents.cpp.o
[ 22%] Building CXX object CMakeFiles/domoticz.dir/main/EventSystem.cpp.o
In file included from /usr/include/c++/6/map:60:0,
from /usr/local/include/boost/date_time/gregorian/greg_month.hpp:18,
from /usr/local/include/boost/date_time/gregorian/greg_ymd.hpp:16,
from /usr/local/include/boost/date_time/gregorian/greg_calendar.hpp:17,
from /usr/local/include/boost/date_time/gregorian/gregorian_types.hpp:19,
from /usr/local/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/local/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/local/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/local/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/local/include/boost/thread/thread_time.hpp:11,
from /usr/local/include/boost/thread/lock_types.hpp:18,
from /usr/local/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/local/include/boost/thread/thread_only.hpp:17,
from /usr/local/include/boost/thread/thread.hpp:12,
from /usr/local/include/boost/thread.hpp:13,
from /home/pi/dev-domoticz/main/stdafx.h:57:
/usr/include/c++/6/bits/stl_tree.h: In member function ‘std::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = long long unsigned int; _Val = std::pair<const long long unsigned int, CEventSystem::_tUserVariable>; _KeyOfValue = std::_Select1st<std::pair<const long long unsigned int, CEventSystem::_tUserVariable> >; _Compare = std::less<long long unsigned int>; _Alloc = std::allocator<std::pair<const long long unsigned int, CEventSystem::_tUserVariable> >]’:
/usr/include/c++/6/bits/stl_tree.h:1928:5: note: parameter passing for argument of type ‘std::_Rb_tree<long long unsigned int, std::pair<const long long unsigned int, CEventSystem::_tUserVariable>, std::_Select1st<std::pair<const long long unsigned int, CEventSystem::_tUserVariable> >, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, CEventSystem::_tUserVariable> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const long long unsigned int, CEventSystem::_tUserVariable> >}’ will change in GCC 7.1
_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_tree.h: In function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const long long unsigned int&>, std::tuple<>}; _Key = long long unsigned int; _Val = std::pair<const long long unsigned int, int>; _KeyOfValue = std::_Select1st<std::pair<const long long unsigned int, int> >; _Compare = std::less<long long unsigned int>; _Alloc = std::allocator<std::pair<const long long unsigned int, int> >]’:
/usr/include/c++/6/bits/stl_tree.h:2193:7: note: parameter passing for argument of type ‘std::_Rb_tree<long long unsigned int, std::pair<const long long unsigned int, int>, std::_Select1st<std::pair<const long long unsigned int, int> >, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, int> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const long long unsigned int, int> >}’ will change in GCC 7.1
_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/map:61:0,
from /usr/local/include/boost/date_time/gregorian/greg_month.hpp:18,
from /usr/local/include/boost/date_time/gregorian/greg_ymd.hpp:16,
from /usr/local/include/boost/date_time/gregorian/greg_calendar.hpp:17,
from /usr/local/include/boost/date_time/gregorian/gregorian_types.hpp:19,
from /usr/local/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/local/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/local/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/local/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/local/include/boost/thread/thread_time.hpp:11,
from /usr/local/include/boost/thread/lock_types.hpp:18,
from /usr/local/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/local/include/boost/thread/thread_only.hpp:17,
from /usr/local/include/boost/thread/thread.hpp:12,
from /usr/local/include/boost/thread.hpp:13,
from /home/pi/dev-domoticz/main/stdafx.h:57:
/usr/include/c++/6/bits/stl_map.h: In member function ‘void CEventSystem::GetCurrentMeasurementStates()’:
/usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<long long unsigned int, std::pair<const long long unsigned int, int>, std::_Select1st<std::pair<const long long unsigned int, int> >, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, int> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const long long unsigned int, int> >}’ will change in GCC 7.1
__i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
^~~
/usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<long long unsigned int, std::pair<const long long unsigned int, int>, std::_Select1st<std::pair<const long long unsigned int, int> >, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, int> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const long long unsigned int, int> >}’ will change in GCC 7.1
__i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
^~~
[ 22%] Building CXX object CMakeFiles/domoticz.dir/main/EventsPythonModule.cpp.o
[ 22%] Building CXX object CMakeFiles/domoticz.dir/main/EventsPythonDevice.cpp.o
[ 23%] Building CXX object CMakeFiles/domoticz.dir/main/Helper.cpp.o
[ 23%] Building CXX object CMakeFiles/domoticz.dir/main/IFTTT.cpp.o
[ 23%] Building CXX object CMakeFiles/domoticz.dir/main/localtime_r.cpp.o
[ 24%] Building CXX object CMakeFiles/domoticz.dir/main/Logger.cpp.o
[ 24%] Building CXX object CMakeFiles/domoticz.dir/main/LuaCommon.cpp.o
[ 25%] Building CXX object CMakeFiles/domoticz.dir/main/LuaHandler.cpp.o
[ 25%] Building CXX object CMakeFiles/domoticz.dir/main/mainworker.cpp.o
[ 25%] Building CXX object CMakeFiles/domoticz.dir/main/RFXNames.cpp.o
[ 26%] Building CXX object CMakeFiles/domoticz.dir/main/Scheduler.cpp.o
In file included from /usr/include/c++/6/algorithm:62:0,
from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:39,
from /usr/local/include/boost/shared_ptr.hpp:17,
from /usr/local/include/boost/date_time/time_clock.hpp:17,
from /usr/local/include/boost/thread/thread_time.hpp:9,
from /usr/local/include/boost/thread/lock_types.hpp:18,
from /usr/local/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/local/include/boost/thread/thread_only.hpp:17,
from /usr/local/include/boost/thread/thread.hpp:12,
from /usr/local/include/boost/thread.hpp:13,
from /home/pi/dev-domoticz/main/stdafx.h:57:
/usr/include/c++/6/bits/stl_algo.h: In function ‘_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, std::random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<tScheduleItem*, std::vector<tScheduleItem> >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val<const tScheduleItem>]’:
/usr/include/c++/6/bits/stl_algo.h:112:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<tScheduleItem*, std::vector<tScheduleItem> >’ will change in GCC 7.1
__find_if(_RandomAccessIterator __first, _RandomAccessIterator __last,
^~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:112:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<tScheduleItem*, std::vector<tScheduleItem> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h: In member function ‘void http::server::CWebServer::RType_Schedules(http::server::WebEmSession&, const http::server::request&, Json::Value&)’:
/usr/include/c++/6/bits/stl_algo.h:162:43: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<tScheduleItem*, std::vector<tScheduleItem> >’ will change in GCC 7.1
std::__iterator_category(__first));
^
[ 26%] Building CXX object CMakeFiles/domoticz.dir/main/SQLHelper.cpp.o
In file included from /usr/include/c++/6/vector:69:0,
from /usr/local/include/boost/thread/pthread/thread_data.hpp:24,
from /usr/local/include/boost/thread/thread_only.hpp:17,
from /usr/local/include/boost/thread/thread.hpp:12,
from /usr/local/include/boost/thread.hpp:13,
from /home/pi/dev-domoticz/main/stdafx.h:57:
/usr/include/c++/6/bits/vector.tcc: In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(std::vector<_Tp, _Alloc>::iterator) [with _Tp = _tTaskItem; _Alloc = std::allocator<_tTaskItem>]’:
/usr/include/c++/6/bits/vector.tcc:141:5: note: parameter passing for argument of type ‘std::vector<_tTaskItem>::iterator {aka __gnu_cxx::__normal_iterator<_tTaskItem*, std::vector<_tTaskItem> >}’ will change in GCC 7.1
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/vector.tcc:141:5: note: parameter passing for argument of type ‘std::vector<_tTaskItem>::iterator {aka __gnu_cxx::__normal_iterator<_tTaskItem*, std::vector<_tTaskItem> >}’ will change in GCC 7.1
In file included from /usr/include/c++/6/vector:64:0,
from /usr/local/include/boost/thread/pthread/thread_data.hpp:24,
from /usr/local/include/boost/thread/thread_only.hpp:17,
from /usr/local/include/boost/thread/thread.hpp:12,
from /usr/local/include/boost/thread.hpp:13,
from /home/pi/dev-domoticz/main/stdafx.h:57:
/usr/include/c++/6/bits/stl_vector.h: In member function ‘void CSQLHelper::AddTaskItem(const _tTaskItem&)’:
/usr/include/c++/6/bits/stl_vector.h:1148:58: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<_tTaskItem*, std::vector<_tTaskItem> >’ will change in GCC 7.1
{ return _M_erase(begin() + (__position - cbegin())); }
^
/usr/include/c++/6/bits/stl_vector.h: In member function ‘uint64_t CSQLHelper::UpdateValueInt(int, const char*, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, int, const char*, std::__cxx11::string&, bool ’:
/usr/include/c++/6/bits/stl_vector.h:1148:58: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<_tTaskItem*, std::vector<_tTaskItem> >’ will change in GCC 7.1
{ return _M_erase(begin() + (__position - cbegin())); }
^
/usr/include/c++/6/bits/stl_vector.h: In member function ‘void CSQLHelper::Do_Work()’:
/usr/include/c++/6/bits/stl_vector.h:1148:58: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<_tTaskItem*, std::vector<_tTaskItem> >’ will change in GCC 7.1
{ return _M_erase(begin() + (__position - cbegin())); }
^
/usr/include/c++/6/bits/stl_vector.h:1148:58: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<_tTaskItem*, std::vector<_tTaskItem> >’ will change in GCC 7.1
{ return _M_erase(begin() + (__position - cbegin())); }
^
[ 26%] Building CXX object CMakeFiles/domoticz.dir/main/SunRiseSet.cpp.o
[ 27%] Building CXX object CMakeFiles/domoticz.dir/main/WebServer.cpp.o
[ 27%] Building CXX object CMakeFiles/domoticz.dir/main/WebServerHelper.cpp.o
[ 27%] Building CXX object CMakeFiles/domoticz.dir/main/WindCalculation.cpp.o
[ 28%] Building CXX object CMakeFiles/domoticz.dir/push/BasePush.cpp.o
[ 28%] Building CXX object CMakeFiles/domoticz.dir/push/FibaroPush.cpp.o
[ 29%] Building CXX object CMakeFiles/domoticz.dir/push/GooglePubSubPush.cpp.o
[ 29%] Building CXX object CMakeFiles/domoticz.dir/push/HttpPush.cpp.o
[ 29%] Building CXX object CMakeFiles/domoticz.dir/push/InfluxPush.cpp.o
[ 30%] Building CXX object CMakeFiles/domoticz.dir/push/WebsocketPush.cpp.o
In file included from /usr/include/c++/6/algorithm:62:0,
from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:39,
from /usr/local/include/boost/shared_ptr.hpp:17,
from /usr/local/include/boost/date_time/time_clock.hpp:17,
from /usr/local/include/boost/thread/thread_time.hpp:9,
from /usr/local/include/boost/thread/lock_types.hpp:18,
from /usr/local/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/local/include/boost/thread/thread_only.hpp:17,
from /usr/local/include/boost/thread/thread.hpp:12,
from /usr/local/include/boost/thread.hpp:13,
from /home/pi/dev-domoticz/main/stdafx.h:57:
/usr/include/c++/6/bits/stl_algo.h: In function ‘_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, std::random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Predicate = __gnu_cxx::__ops::_Iter_equals_val<const long long unsigned int>]’:
/usr/include/c++/6/bits/stl_algo.h:112:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
__find_if(_RandomAccessIterator __first, _RandomAccessIterator __last,
^~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:112:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h: In member function ‘void CWebSocketPush::OnDeviceReceived(int, long long unsigned int, const string&, const unsigned char*)’:
/usr/include/c++/6/bits/stl_algo.h:162:43: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
std::__iterator_category(__first));
^
/usr/include/c++/6/bits/stl_algo.h: In member function ‘void CWebSocketPush::UnlistenTo(long long unsigned int)’:
/usr/include/c++/6/bits/stl_algo.h:162:43: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
std::__iterator_category(__first));
^
/usr/include/c++/6/bits/stl_algo.h: In member function ‘bool CWebSocketPush::WeListenTo(long long unsigned int)’:
/usr/include/c++/6/bits/stl_algo.h:162:43: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
std::__iterator_category(__first));
^
/usr/include/c++/6/bits/stl_algo.h: In member function ‘void CWebSocketPush::ListenTo(long long unsigned int)’:
/usr/include/c++/6/bits/stl_algo.h:162:43: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
std::__iterator_category(__first));
^
[ 30%] Building CXX object CMakeFiles/domoticz.dir/httpclient/HTTPClient.cpp.o
[ 30%] Building CXX object CMakeFiles/domoticz.dir/httpclient/UrlEncode.cpp.o
[ 31%] Building CXX object CMakeFiles/domoticz.dir/hardware/1Wire.cpp.o
[ 31%] Building CXX object CMakeFiles/domoticz.dir/hardware/1Wire/1WireByOWFS.cpp.o
........
[ 92%] Building CXX object CMakeFiles/domoticz.dir/webserver/WebsocketHandler.cpp.o
[ 93%] Building CXX object CMakeFiles/domoticz.dir/json/json_reader.cpp.o
[ 93%] Building CXX object CMakeFiles/domoticz.dir/json/json_value.cpp.o
In file included from /usr/include/c++/6/map:60:0,
from /usr/local/include/boost/date_time/gregorian/greg_month.hpp:18,
from /usr/local/include/boost/date_time/gregorian/greg_ymd.hpp:16,
from /usr/local/include/boost/date_time/gregorian/greg_calendar.hpp:17,
from /usr/local/include/boost/date_time/gregorian/gregorian_types.hpp:19,
from /usr/local/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/local/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/local/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/local/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/local/include/boost/thread/thread_time.hpp:11,
from /usr/local/include/boost/thread/lock_types.hpp:18,
from /usr/local/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/local/include/boost/thread/thread_only.hpp:17,
from /usr/local/include/boost/thread/thread.hpp:12,
from /usr/local/include/boost/thread.hpp:13,
from /home/pi/dev-domoticz/main/stdafx.h:57:
/usr/include/c++/6/bits/stl_tree.h: In member function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const Json::Value::CZString&>, std::tuple<>}; _Key = Json::Value::CZString; _Val = std::pair<const Json::Value::CZString, Json::Value>; _KeyOfValue = std::_Select1st<std::pair<const Json::Value::CZString, Json::Value> >; _Compare = std::less<Json::Value::CZString>; _Alloc = std::allocator<std::pair<const Json::Value::CZString, Json::Value> >]’:
/usr/include/c++/6/bits/stl_tree.h:2193:7: note: parameter passing for argument of type ‘std::_Rb_tree<Json::Value::CZString, std::pair<const Json::Value::CZString, Json::Value>, std::_Select1st<std::pair<const Json::Value::CZString, Json::Value> >, std::less<Json::Value::CZString>, std::allocator<std::pair<const Json::Value::CZString, Json::Value> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const Json::Value::CZString, Json::Value> >}’ will change in GCC 7.1
_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_tree.h: In function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique_(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Arg&&, _NodeGen&) [with _Arg = std::pair<const Json::Value::CZString, Json::Value>&; _NodeGen = std::_Rb_tree<Json::Value::CZString, std::pair<const Json::Value::CZString, Json::Value>, std::_Select1st<std::pair<const Json::Value::CZString, Json::Value> >, std::less<Json::Value::CZString>, std::allocator<std::pair<const Json::Value::CZString, Json::Value> > >::_Alloc_node; _Key = Json::Value::CZString; _Val = std::pair<const Json::Value::CZString, Json::Value>; _KeyOfValue = std::_Select1st<std::pair<const Json::Value::CZString, Json::Value> >; _Compare = std::less<Json::Value::CZString>; _Alloc = std::allocator<std::pair<const Json::Value::CZString, Json::Value> >]’:
/usr/include/c++/6/bits/stl_tree.h:1989:7: note: parameter passing for argument of type ‘std::_Rb_tree<Json::Value::CZString, std::pair<const Json::Value::CZString, Json::Value>, std::_Select1st<std::pair<const Json::Value::CZString, Json::Value> >, std::less<Json::Value::CZString>, std::allocator<std::pair<const Json::Value::CZString, Json::Value> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const Json::Value::CZString, Json::Value> >}’ will change in GCC 7.1
_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_tree.h:1989:7: note: parameter passing for argument of type ‘std::_Rb_tree<Json::Value::CZString, std::pair<const Json::Value::CZString, Json::Value>, std::_Select1st<std::pair<const Json::Value::CZString, Json::Value> >, std::less<Json::Value::CZString>, std::allocator<std::pair<const Json::Value::CZString, Json::Value> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const Json::Value::CZString, Json::Value> >}’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_tree.h: In member function ‘Json::Value& Json::Value::operator[](Json::Value::ArrayIndex)’:
/usr/include/c++/6/bits/stl_tree.h:950:65: note: parameter passing for argument of type ‘std::_Rb_tree<Json::Value::CZString, std::pair<const Json::Value::CZString, Json::Value>, std::_Select1st<std::pair<const Json::Value::CZString, Json::Value> >, std::less<Json::Value::CZString>, std::allocator<std::pair<const Json::Value::CZString, Json::Value> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const Json::Value::CZString, Json::Value> >}’ will change in GCC 7.1
return _M_insert_unique_(__pos, std::forward<_Arg>(__x), __an);
^
In file included from /usr/include/c++/6/map:61:0,
from /usr/local/include/boost/date_time/gregorian/greg_month.hpp:18,
from /usr/local/include/boost/date_time/gregorian/greg_ymd.hpp:16,
from /usr/local/include/boost/date_time/gregorian/greg_calendar.hpp:17,
from /usr/local/include/boost/date_time/gregorian/gregorian_types.hpp:19,
from /usr/local/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/local/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/local/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/local/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/local/include/boost/thread/thread_time.hpp:11,
from /usr/local/include/boost/thread/lock_types.hpp:18,
from /usr/local/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/local/include/boost/thread/thread_only.hpp:17,
from /usr/local/include/boost/thread/thread.hpp:12,
from /usr/local/include/boost/thread.hpp:13,
from /home/pi/dev-domoticz/main/stdafx.h:57:
/usr/include/c++/6/bits/stl_map.h: In member function ‘bool Json::Value::removeIndex(Json::Value::ArrayIndex, Json::Value*)’:
/usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<Json::Value::CZString, std::pair<const Json::Value::CZString, Json::Value>, std::_Select1st<std::pair<const Json::Value::CZString, Json::Value> >, std::less<Json::Value::CZString>, std::allocator<std::pair<const Json::Value::CZString, Json::Value> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const Json::Value::CZString, Json::Value> >}’ will change in GCC 7.1
__i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
^~~
In file included from /usr/include/c++/6/map:60:0,
from /usr/local/include/boost/date_time/gregorian/greg_month.hpp:18,
from /usr/local/include/boost/date_time/gregorian/greg_ymd.hpp:16,
from /usr/local/include/boost/date_time/gregorian/greg_calendar.hpp:17,
from /usr/local/include/boost/date_time/gregorian/gregorian_types.hpp:19,
from /usr/local/include/boost/date_time/posix_time/posix_time_config.hpp:18,
from /usr/local/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/local/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/local/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/local/include/boost/thread/thread_time.hpp:11,
from /usr/local/include/boost/thread/lock_types.hpp:18,
from /usr/local/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/local/include/boost/thread/thread_only.hpp:17,
from /usr/local/include/boost/thread/thread.hpp:12,
from /usr/local/include/boost/thread.hpp:13,
from /home/pi/dev-domoticz/main/stdafx.h:57:
/usr/include/c++/6/bits/stl_tree.h: In member function ‘Json::Value& Json::Value::resolveReference(const char*)’:
/usr/include/c++/6/bits/stl_tree.h:950:65: note: parameter passing for argument of type ‘std::_Rb_tree<Json::Value::CZString, std::pair<const Json::Value::CZString, Json::Value>, std::_Select1st<std::pair<const Json::Value::CZString, Json::Value> >, std::less<Json::Value::CZString>, std::allocator<std::pair<const Json::Value::CZString, Json::Value> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const Json::Value::CZString, Json::Value> >}’ will change in GCC 7.1
return _M_insert_unique_(__pos, std::forward<_Arg>(__x), __an);
^
/usr/include/c++/6/bits/stl_tree.h: In member function ‘Json::Value& Json::Value::resolveReference(const char*, const char*)’:
/usr/include/c++/6/bits/stl_tree.h:950:65: note: parameter passing for argument of type ‘std::_Rb_tree<Json::Value::CZString, std::pair<const Json::Value::CZString, Json::Value>, std::_Select1st<std::pair<const Json::Value::CZString, Json::Value> >, std::less<Json::Value::CZString>, std::allocator<std::pair<const Json::Value::CZString, Json::Value> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const Json::Value::CZString, Json::Value> >}’ will change in GCC 7.1
return _M_insert_unique_(__pos, std::forward<_Arg>(__x), __an);
^
[ 93%] Building CXX object CMakeFiles/domoticz.dir/json/json_writer.cpp.o
[ 94%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/action_store.cpp.o
[ 94%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/htmlutil.cpp.o
[ 95%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/lex_util.cpp.o
[ 95%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/node_set.cpp.o
[ 95%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/tinystr.cpp.o
[ 96%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/tinyxml.cpp.o
[ 96%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/tinyxmlerror.cpp.o
[ 96%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/tinyxmlparser.cpp.o
[ 97%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/tokenlist.cpp.o
[ 97%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/xml_util.cpp.o
[ 97%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/xpath_expression.cpp.o
[ 98%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/xpath_processor.cpp.o
[ 98%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/xpath_stream.cpp.o
[ 98%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/xpath_stack.cpp.o
[ 99%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/xpath_static.cpp.o
[ 99%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/xpath_syntax.cpp.o
[100%] Linking CXX executable domoticz
[100%] Built target domoticz
Not sure why i get this error:
2017-11-12 14:24:13.439 Error: Notification sent (telegram) => Failed
2017-11-12 14:24:13.453 Active notification Subsystems: gcm, telegram (2/14)
Code: Select all
pi@raspberrypi:~/dev-domoticz $ ./domoticz
2017-11-12 14:20:34.620 Domoticz V3.8730 (c)2012-2017 GizMoCuz
2017-11-12 14:20:34.620 Build Hash: 90392822, Date: 2017-11-12 12:20:44
2017-11-12 14:20:34.621 Startup Path: /home/pi/dev-domoticz/
2017-11-12 14:20:34.719 Sunrise: 07:58:00 SunSet:16:52:00
2017-11-12 14:20:34.720 EventSystem: reset all events...
2017-11-12 14:20:34.720 EventSystem: Write file: /home/pi/dev-domoticz/scripts/dzVents/generated_scripts/Slapen event.lua
2017-11-12 14:20:34.721 EventSystem: Write file: /home/pi/dev-domoticz/scripts/dzVents/generated_scripts/Airco variable.lua
2017-11-12 14:20:34.721 EventSystem: Write file: /home/pi/dev-domoticz/scripts/dzVents/generated_scripts/Film kijken.lua
2017-11-12 14:20:34.863 PluginSystem: Started, Python version '3.5.3'.
2017-11-12 14:20:34.864 Philips Hue: Using default poll interval of 10 secs.
2017-11-12 14:20:34.872 Active notification Subsystems: gcm, telegram (2/14)
2017-11-12 14:20:34.873 WebServer(HTTP) started on address: :: with port 8080
2017-11-12 14:20:34.888 Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: bind: Permission denied
2017-11-12 14:20:34.888 Error: WebServer(SSL) check privileges for opening ports below 1024
2017-11-12 14:20:34.888 Proxymanager started.
2017-11-12 14:20:34.890 Starting shared server on: :::6144
2017-11-12 14:20:34.890 TCPServer: shared server started...
2017-11-12 14:20:34.890 RxQueue: queue worker started...
2017-11-12 14:20:36.891 Hardware Monitor: Started
2017-11-12 14:20:36.906 Pinger: Started
2017-11-12 14:20:36.906 Philips Hue: Worker started...
2017-11-12 14:20:36.907 (Battery) Started.
2017-11-12 14:20:36.907 (RM3 mini remote) Started.
2017-11-12 14:20:36.907 (RM Pro woonkamer) Started.
2017-11-12 14:20:36.907 EventSystem: reset all events...
2017-11-12 14:20:36.908 EventSystem: Write file: /home/pi/dev-domoticz/scripts/dzVents/generated_scripts/Slapen event.lua
2017-11-12 14:20:36.909 EventSystem: Write file: /home/pi/dev-domoticz/scripts/dzVents/generated_scripts/Airco variable.lua
2017-11-12 14:20:36.909 EventSystem: Write file: /home/pi/dev-domoticz/scripts/dzVents/generated_scripts/Film kijken.lua
2017-11-12 14:20:36.911 EventSystem: reset all device statuses...
2017-11-12 14:20:37.223 PluginSystem: Entering work loop.
2017-11-12 14:20:37.273 Python EventSystem: Initalizing event module.
2017-11-12 14:20:37.273 EventSystem: Started
2017-11-12 14:20:37.273 EventSystem: Queue thread started...
2017-11-12 14:20:37.406 OpenZWave: using config in: /home/pi/dev-domoticz/Config/
2017-11-12 14:20:37.408 Always, OpenZwave Version 1.4.2804 Starting Up
2017-11-12 14:20:37.409 OpenZWave: Starting...
2017-11-12 14:20:37.409 OpenZWave: Version: 1.4-2804-g25076055-dirty
2017-11-12 14:20:37.468 (Battery) Entering work loop.
2017-11-12 14:20:37.468 (Battery) Initialized version 0.4.4, author 'logread'
2017-11-12 14:20:37.615 OpenZWave: Driver Ready
2017-11-12 14:20:37.622 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: SENSOR BINARY, Label: Sensor, Instance: 0
2017-11-12 14:20:37.622 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: SENSOR MULTILEVEL, Label: Temperature, Instance: 1
2017-11-12 14:20:37.623 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: SENSOR MULTILEVEL, Label: Luminance, Instance: 3
2017-11-12 14:20:37.623 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: SENSOR MULTILEVEL, Label: Relative Humidity, Instance: 5
2017-11-12 14:20:37.623 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: SENSOR MULTILEVEL, Label: Ultraviolet, Instance: 27
2017-11-12 14:20:37.624 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: ALARM, Label: Alarm Type, Instance: 1
2017-11-12 14:20:37.624 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: ALARM, Label: Alarm Level, Instance: 1
2017-11-12 14:20:37.624 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: ALARM, Label: SourceNodeId, Instance: 1
2017-11-12 14:20:37.624 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: ALARM, Label: Burglar, Instance: 1
2017-11-12 14:20:37.625 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: BATTERY, Label: Battery Level, Instance: 1
2017-11-12 14:20:37.626 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SENSOR BINARY, Label: Sensor, Instance: 0
2017-11-12 14:20:37.626 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SENSOR BINARY, Label: Sensor, Instance: 2
2017-11-12 14:20:37.626 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SENSOR MULTILEVEL, Label: Temperature, Instance: 1
2017-11-12 14:20:37.627 OpenZWave: Value_Added: Node: 6 (0x06), CommandClass: SWITCH BINARY, Label: Switch, Instance: 1
2017-11-12 14:20:37.628 OpenZWave: Value_Added: Node: 6 (0x06), CommandClass: METER, Label: Energy, Instance: 1
2017-11-12 14:20:37.628 OpenZWave: Value_Added: Node: 6 (0x06), CommandClass: METER, Label: Power, Instance: 1
2017-11-12 14:20:37.628 OpenZWave: Value_Added: Node: 6 (0x06), CommandClass: METER, Label: Voltage, Instance: 1
2017-11-12 14:20:37.628 OpenZWave: Value_Added: Node: 6 (0x06), CommandClass: METER, Label: Current, Instance: 1
2017-11-12 14:20:37.629 OpenZWave: Value_Added: Node: 6 (0x06), CommandClass: ALARM, Label: Alarm Type, Instance: 1
2017-11-12 14:20:37.629 OpenZWave: Value_Added: Node: 6 (0x06), CommandClass: ALARM, Label: Alarm Level, Instance: 1
2017-11-12 14:20:37.629 OpenZWave: Value_Added: Node: 6 (0x06), CommandClass: ALARM, Label: SourceNodeId, Instance: 1
2017-11-12 14:20:37.629 OpenZWave: Value_Added: Node: 6 (0x06), CommandClass: ALARM, Label: Power Management, Instance: 1
2017-11-12 14:20:37.631 OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: SENSOR BINARY, Label: Sensor, Instance: 0
2017-11-12 14:20:37.631 OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: SENSOR BINARY, Label: Sensor, Instance: 2
2017-11-12 14:20:37.632 OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: SENSOR MULTILEVEL, Label: Temperature, Instance: 1
2017-11-12 14:20:37.632 OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: SENSOR MULTILEVEL, Label: Temperature, Instance: 2
2017-11-12 14:20:37.632 OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: SENSOR MULTILEVEL, Label: Temperature, Instance: 3
2017-11-12 14:20:37.810 (RM3 mini remote) Entering work loop.
2017-11-12 14:20:37.810 (RM3 mini remote) Initialized version 3.0.0, author 'zak45'
2017-11-12 14:20:38.098 (RM Pro woonkamer) Entering work loop.
2017-11-12 14:20:38.098 (RM Pro woonkamer) Initialized version 3.0.0, author 'zak45'
2017-11-12 14:20:38.101 (Battery) Debug log level set to: 'false'.
2017-11-12 14:20:38.101 (Battery) Using polling interval of 60 minutes
2017-11-12 14:20:38.108 (RM3 mini remote) Connecting to: 192.168.150.143:34ea34b302a5
2017-11-12 14:20:38.150 (RM3 mini remote) Connected to Broadlink device.
2017-11-12 14:20:38.152 (RM3 mini remote) Device Number begin to : 7
2017-11-12 14:20:38.221 (RM Pro woonkamer) Connecting to: 192.168.150.147:34ea34b52967
2017-11-12 14:20:38.255 (RM Pro woonkamer) Connected to Broadlink device.
2017-11-12 14:20:38.257 (RM Pro woonkamer) Device Number begin to : 8
2017-11-12 14:20:38.362 (Philips Hue bridge) Lighting Limitless/Applamp (Group Keuken uit)
2017-11-12 14:20:38.367 (Philips Hue bridge) Lighting Limitless/Applamp (Group Eetkamer uit)
2017-11-12 14:20:38.372 (Philips Hue bridge) Lighting Limitless/Applamp (Woonkamer)
2017-11-12 14:20:38.395 (Philips Hue bridge) Lighting Limitless/Applamp (Group All Lights)
.....
2017-11-12 14:20:45.639 Incoming connection from: 192.168.150.200
2017-11-12 14:20:47.362 (RM3 mini remote) Connected to Broadlink device.
2017-11-12 14:20:47.646 (RM Pro woonkamer) Connected to Broadlink device.
2017-11-12 14:20:50.928 (Z-Wave) Temp (Temperature Slaapkamer)
2017-11-12 14:20:51.049 (Z-Wave) Temp (Temperatuur retour)
2017-11-12 14:20:51.086 (Z-Wave) Temp (Temperatuur vloer)
2017-11-12 14:20:51.128 (Z-Wave) Temp (Temperatuur toevoer)
2017-11-12 14:20:51.239 (Z-Wave) Light/Switch (Beweging sensor)
2017-11-12 14:20:51.729 (Z-Wave) Temp + Humidity (Temperatuur / luchtvochtigheid)
2017-11-12 14:20:54.748 (Z-Wave) Lux (Lux)
2017-11-12 14:20:55.386 (Z-Wave) Temp + Humidity (Temperatuur / luchtvochtigheid)
2017-11-12 14:20:58.505 (Z-Wave) UV (UV)
2017-11-12 14:21:00.107 (Z-Wave) General/kWh (kWh Meter)
2017-11-12 14:21:00.171 (Z-Wave) Usage (Power Meter)
2017-11-12 14:21:00.190 (Z-Wave) General/kWh (kWh Meter)
2017-11-12 14:21:00.214 (Z-Wave) General/Voltage (Voltage)
2017-11-12 14:21:00.259 (Z-Wave) Current (Ampere)
2017-11-12 14:21:00.300 (Z-Wave) Light/Switch (Alarm Type)
2017-11-12 14:21:00.305 (Z-Wave) Light/Switch (Alarm Level)
2017-11-12 14:21:00.324 OpenZWave: Awake Nodes queried
2017-11-12 14:21:09.086 (Z-Wave) Temp + Humidity (Temperatuur / luchtvochtigheid)
2017-11-12 14:21:09.477 (Z-Wave) Temp + Humidity (Temperatuur / luchtvochtigheid)
2017-11-12 14:21:10.320 (Z-Wave) Lux (Lux)
2017-11-12 14:21:10.418 (Z-Wave) UV (UV)
2017-11-12 14:21:12.663 (Z-Wave) Temp (Temperatuur toevoer)
2017-11-12 14:21:43.448 User: Admin initiated a switch command (149/Klik 1 uit/On)
2017-11-12 14:21:43.450 (RM Pro woonkamer) onCommand called for Unit 7: Parameter 'On', Level: 0 , Connected : True
2017-11-12 14:21:43.451 (RM Pro woonkamer) Generate on Command for learned code stored on unit/ini :7
2017-11-12 14:21:43.496 (RM Pro woonkamer) Connected to Broadlink device.
2017-11-12 14:21:45.654 (RM Pro woonkamer) Code Sent....
2017-11-12 14:21:54.668 (Z-Wave) Temp (Temperatuur toevoer)
2017-11-12 14:22:10.621 (Z-Wave) Temp + Humidity (Temperatuur / luchtvochtigheid)
2017-11-12 14:22:11.013 (Z-Wave) Temp + Humidity (Temperatuur / luchtvochtigheid)
2017-11-12 14:22:11.853 (Z-Wave) Lux (Lux)
2017-11-12 14:22:11.954 (Z-Wave) UV (UV)
2017-11-12 14:22:33.770 (Philips Hue bridge) Lighting Limitless/Applamp (Scene Energie)
2017-11-12 14:22:44.249 (Philips Hue bridge) Lighting Limitless/Applamp (Scene Energie)
2017-11-12 14:22:57.673 (Z-Wave) Temp (Temperatuur toevoer)
2017-11-12 14:23:06.338 (Z-Wave) Light/Switch (Beweging sensor)
2017-11-12 14:23:06.633 (Z-Wave) Light/Switch (Alarm Type)
2017-11-12 14:23:06.634 (Z-Wave) Light/Switch (Alarm Level)
2017-11-12 14:23:06.637 (Z-Wave) General/Alarm (Alarm Type: Burglar)
2017-11-12 14:23:06.643 (Z-Wave) Light/Switch (Tril sensor)
2017-11-12 14:23:12.157 (Z-Wave) Temp + Humidity (Temperatuur / luchtvochtigheid)
2017-11-12 14:23:12.549 (Z-Wave) Temp + Humidity (Temperatuur / luchtvochtigheid)
2017-11-12 14:23:13.391 (Z-Wave) Lux (Lux)
2017-11-12 14:23:13.509 (Z-Wave) UV (UV)
2017-11-12 14:23:19.106 Active notification Subsystems: gcm, telegram (2/14)
2017-11-12 14:23:37.437 Active notification Subsystems: gcm, telegram (2/14)
2017-11-12 14:23:38.796 (Z-Wave) Temp (Temperature Slaapkamer)
2017-11-12 14:23:39.677 (Z-Wave) Temp (Temperatuur retour)
2017-11-12 14:23:39.707 (Z-Wave) Temp (Temperatuur vloer)
2017-11-12 14:23:39.720 (Z-Wave) Temp (Temperatuur toevoer)
2017-11-12 14:24:13.439 Error: Telegram:
2017-11-12 14:24:13.439 Error: Notification sent (telegram) => Failed
2017-11-12 14:24:13.453 Active notification Subsystems: gcm, telegram (2/14)
2017-11-12 14:24:13.693 (Z-Wave) Temp + Humidity (Temperatuur / luchtvochtigheid)
2017-11-12 14:24:14.084 (Z-Wave) Temp + Humidity (Temperatuur / luchtvochtigheid)
2017-11-12 14:24:14.927 (Z-Wave) Lux (Lux)
2017-11-12 14:24:15.029 (Z-Wave) UV (UV)
2017-11-12 14:24:20.610 (Z-Wave) Light/Switch (Beweging sensor)
2017-11-12 14:24:20.905 (Z-Wave) Light/Switch (Alarm Type)
2017-11-12 14:24:20.906 (Z-Wave) Light/Switch (Alarm Level)
2017-11-12 14:24:20.909 (Z-Wave) General/Alarm (Alarm Type: Burglar)
2017-11-12 14:24:20.914 (Z-Wave) Light/Switch (Tril sensor)
2017-11-12 14:24:36.419 Active notification Subsystems: (0/14)
2017-11-12 14:24:46.863 Active notification Subsystems: gcm, telegram (2/14)
2017-11-12 14:24:55.894 Error: GCM: Could not send message, HTTP Error
2017-11-12 14:24:55.894 Error: Notification sent (gcm) => Failed
2017-11-12 14:24:55.909 Active notification Subsystems: gcm, telegram (2/14)
2017-11-12 14:25:15.239 (Z-Wave) Temp + Humidity (Temperatuur / luchtvochtigheid)
2017-11-12 14:25:15.624 (Z-Wave) Temp + Humidity (Temperatuur / luchtvochtigheid)
2017-11-12 14:25:16.467 (Z-Wave) Lux (Lux)
2017-11-12 14:25:16.561 (Z-Wave) UV (UV)
2017-11-12 14:25:17.440 (RM3 mini remote) Connected to Broadlink device.
2017-11-12 14:25:17.723 (RM Pro woonkamer) Connected to Broadlink device.
2017-11-12 14:25:33.591 (Z-Wave) General/kWh (kWh Meter)
2017-11-12 14:25:34.556 (Z-Wave) Usage (Power Meter)
2017-11-12 14:25:34.565 (Z-Wave) General/kWh (kWh Meter)
^C2017-11-12 14:25:35.091 Closing application!...
2017-11-12 14:25:35.092 Stopping worker...
2017-11-12 14:25:35.092 RxQueue: queue worker stopped...
2017-11-12 14:25:35.093 WebServer(HTTP) stopped
2017-11-12 14:25:35.594 TCPServer: shared server stopped
2017-11-12 14:25:35.594 Stopping all hardware...
2017-11-12 14:25:36.054 Hardware Monitor: Stopped...
2017-11-12 14:25:36.468 Pinger: Worker stopped...
2017-11-12 14:25:37.026 OpenZWave: Closed
2017-11-12 14:25:38.026 Always, ***************************************************************************
2017-11-12 14:25:38.026 Always, ********************* Cumulative Network Statistics *********************
2017-11-12 14:25:38.026 Always, *** General
2017-11-12 14:25:38.027 Always, Driver run time: . . . 0 days, 0 hours, 5 minutes
2017-11-12 14:25:38.027 Always, Frames processed: . . . . . . . . . . . . . . . . . . . . 221
2017-11-12 14:25:38.027 Always, Total messages successfully received: . . . . . . . . . . 221
2017-11-12 14:25:38.027 Always, Total Messages successfully sent: . . . . . . . . . . . . 61
2017-11-12 14:25:38.027 Always, ACKs received from controller: . . . . . . . . . . . . . 59
2017-11-12 14:25:38.028 Always, *** Errors
2017-11-12 14:25:38.028 Always, Unsolicited messages received while waiting for ACK: . . 2
2017-11-12 14:25:38.028 Always, Reads aborted due to timeouts: . . . . . . . . . . . . . 0
2017-11-12 14:25:38.028 Always, Bad checksum errors: . . . . . . . . . . . . . . . . . . 0
2017-11-12 14:25:38.028 Always, CANs received from controller: . . . . . . . . . . . . . 2
2017-11-12 14:25:38.028 Always, NAKs received from controller: . . . . . . . . . . . . . 0
2017-11-12 14:25:38.029 Always, Out of frame data flow errors: . . . . . . . . . . . . . 0
2017-11-12 14:25:38.029 Always, Messages retransmitted: . . . . . . . . . . . . . . . . . 2
2017-11-12 14:25:38.029 Always, Messages dropped and not delivered: . . . . . . . . . . . 0
2017-11-12 14:25:38.029 Always, ***************************************************************************
2017-11-12 14:25:40.462 Philips Hue: Worker stopped...
2017-11-12 14:25:40.463 (Battery) Stop directive received.
2017-11-12 14:25:40.512 (Battery) Debug log level set to: 'false'.
2017-11-12 14:25:40.519 (Battery) Exiting work loop.
2017-11-12 14:25:40.664 (Battery) Stopping threads.
2017-11-12 14:25:40.664 (Battery) Stopped.
2017-11-12 14:25:40.665 (RM3 mini remote) Stop directive received.
2017-11-12 14:25:40.689 (RM3 mini remote) onStop called
2017-11-12 14:25:40.765 (RM3 mini remote) Stopping threads.
2017-11-12 14:25:40.861 (RM3 mini remote) Exiting work loop.
2017-11-12 14:25:40.862 (RM3 mini remote) Stopped.
2017-11-12 14:25:40.862 (RM Pro woonkamer) Stop directive received.
2017-11-12 14:25:40.908 (RM Pro woonkamer) onStop called
2017-11-12 14:25:40.962 (RM Pro woonkamer) Stopping threads.
2017-11-12 14:25:41.148 (RM Pro woonkamer) Exiting work loop.
2017-11-12 14:25:41.148 (RM Pro woonkamer) Stopped.
2017-11-12 14:25:41.922 Scheduler stopped...
2017-11-12 14:25:42.328 EventSystem: Stopped...
2017-11-12 14:25:42.370 EventSystem - Python stopped...
2017-11-12 14:25:42.462 PluginSystem: Exiting work loop.
2017-11-12 14:25:42.503 PluginSystem: Stopped.
2017-11-12 14:25:42.729 Mainworker Stopped...
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2 V3
@Phantom
that's great that you have it running.
probably some directive/lib need to be changed/adapted and the easy way would come back ...
that's great that you have it running.
probably some directive/lib need to be changed/adapted and the easy way would come back ...
- Phantom
- Posts: 87
- Joined: Saturday 31 December 2016 14:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11652
- Location: The Netherlands
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Alright, thanks also for your time with this.
-
- Posts: 7
- Joined: Friday 10 November 2017 4:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Hi
Works with RM mini 3 as well.
Would be nice if you could update the Wiki page how to setup the remote (Kodi like)
Works with RM mini 3 as well.
Would be nice if you could update the Wiki page how to setup the remote (Kodi like)
- gizmocuz
- Posts: 2350
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Python Plugin: Broadlink RM2 V3
@Phantom, is your HTTP/HTTPS still working ? (because of the notification issue)
I had to struggle a lot to get this working during compilation (right openssl library)
Maybe we need a specific python version/libray on our build system?
I had to struggle a lot to get this working during compilation (right openssl library)
Maybe we need a specific python version/libray on our build system?
Quality outlives Quantity!
-
- Posts: 43
- Joined: Tuesday 27 May 2014 10:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2.4xxx
- Location: Sweden
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Hm, can this be related to the fact that NMA-notifications and HTTPS-notifications for some people doesn't work?
I just tried an HTTP-notification: Worked
Then with the exact same URL but HTTPS: Failed.
Something with SSL in general then?
I just tried an HTTP-notification: Worked
Then with the exact same URL but HTTPS: Failed.
Something with SSL in general then?
Who is online
Users browsing this forum: No registered users and 0 guests