Comments (7)
Don't use the pip version. Needs upgrading. Use the github repo. Good luck!
from homematicip-rest-api.
What do you exactly mean ?
I do get
Traceback (most recent call last):
File "./generate_auth_token.py", line 2, in
import homematicip.auth
File "/home/cam/homematicip-rest-api/homematicip/auth.py", line 7, in
from homematicip.home import Home
File "/home/cam/homematicip-rest-api/homematicip/home.py", line 12, in
import websocket
ImportError: No module named 'websocket'
from homematicip-rest-api.
@kuzco1 This is not really homematic related but you could try and do the following:
# create a virtualenv
cd # go to your home folder.
python3 -m venv hmip # create virtualenv
cd hmip # enter the virtualenv
source bin/activate # activate it.
# get this library from github.
git clone https://github.com/coreGreenberet/homematicip-rest-api.git
cd homematicip # enter the cloned folder
pip install -r requirements.txt # install requirements.
python setup.py install # install the actual library.
After this try and generate the auth token.
from homematicip-rest-api.
Many thanks. Working now 👍 :-)
from homematicip-rest-api.
Hello,
sorry, but I have to asked again (I am not a Linux guru).
I was able to "list may things", i.e. firmware, groups, etc..
After disconnecting my SSH session yesterday and reconnecting today; I have again an issue.
Going to hmip/homematicip-rest-api and running:
root@camserver:~/hmip/homematicip-rest-api# python ./homematicip_cli.py --list-firmware
Traceback (most recent call last):
File "./homematicip_cli.py", line 12, in
from homematicip.home import Home
File "/root/hmip/homematicip-rest-api/homematicip/home.py", line 12, in
import websocket
ImportError: No module named 'websocket'
Any hint is welcome.
from homematicip-rest-api.
@kuzco1
do a pip freeze
and see whether it says websocket somewhere (after you've activated the virtualenv)
btw. this is not linux stuff. This is python related. Works on windows too !
from homematicip-rest-api.
i found the problem, if you type python on raspbean it uses python2 but the script works only with python3 so type python3 , things you need to know :)
and for installation
pip3 install homematicip
from homematicip-rest-api.
Related Issues (20)
- Can't set shutter level for HmIPW-DRBL4 HOT 1
- Homematic IP HmIP-DSD-PCB Klingelsignalsensor (Doorbell- or Ringing Signal Sensor) HOT 3
- 'ENERGY' isn't a valid option for class 'FunctionalHomeType' HOT 4
- Optional Device Feature 'IOptionalFeatureFilteredMulticastRouter' is not yet supported HOT 2
- Set Logger Level - Not an issue HOT 3
- KEY_REMOTE_CONTROL_KEY_MATIC HOT 2
- TOGGLE_GARAGE_DOOR IS NOT allowed for channel DOOR_CHANNEL HOT 2
- New Device: Interface for Smart Meters HOT 6
- HmIP-ESI Engergymeter not shown HOT 1
- Support for Homematic HmIP-ESI-IEC HOT 2
- Please add "HmIP-FAL230-C10" HOT 1
- Please Add new device HmIP-RGBW HOT 3
- bump latest version to homeassistant core HOT 2
- Please add new device "HmIP-ESI-GAS" (new gas energy sensor) HOT 2
- HMIP-MOD-HO HOT 1
- 'ENERGY' isn't a valid option for class 'GroupType' HOT 3
- Please add new device "HmIP-ESI-IEC" (new energy sensor for smart meters) HOT 3
- HmIP-FALMOT-C12
- HMIP-BSL with new Functions after Firmwareupgrade HOT 2
- HmIP.Cloud HA Dump Config HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homematicip-rest-api.