LarsMichelsen / pmatic

Python API for Homematic. Easy to use.

Home Page:https://larsmichelsen.github.io/pmatic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I install Python on Raspberrymatic (and use pmatic then)?

aberghoff opened this issue · comments

Is there a brief explanation how to install Python on Raspberrymatic?
Thx Axel.

I am wondering, before I get into it, Is this project actively maintained?

commented

Sorry, I dont have much time for this project.

In case you have detail questions let me know. Pull requests are welcome

Hi Lars.

I can relate. As a man of many interests it is easy to stretch yourself thin. Fair enough. Are you still using pmatic yourself?

Indeed I had a specific question as well. I have a dozen Homematic IP devices, but don't see any when querying my CCU2 with pmatic?

>>> ccu = pmatic.CCU(address='http://myccu2', credentials=('Admin', 'xxx') )
>>> for device in ccu.devices.query(device_type='HmIP-WTH-2'): 
...   print(device.name)
...
>>> for device in ccu.devices.query():
...   print(device.name)
...
HM-RCV-50 BidCoS-RF

Thanks for any help.

commented

Thanks Lars.

i really like the idea of using python on my raspbeerymatic.

BUT after installing the add-on I run into the first issue:
just doing
python
gives error
/usr/local/bin/python: line 9: python2.7: not found

I have written many plugins in py 2 and 3 that run on 2 MACs and 20 raspberries.
have 90 hue, 120 bluetooth , 90 ip devices and now ~30 homematic devices .
Network is Unifi w 5 AP and 7 switches and 8 Cameras

I would love to get involved in this add-on. Any pointers would be great.

thanks

Karl
ps my homematic runs on an RPI4, it has plenty of juice to run any other programs besides homematic