Open aberghoff opened 7 years ago
I am wondering, before I get into it, Is this project actively maintained?
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.
Hi Marian,
yes, I am using it from a CCU2 device.
I have never used it with Homematic IP devices. I have no Idea wether or not they behave like the regular Homematic devices.
The ccu.devices.query() method proviced python objects for each matched device in a collection. Each object is constructed using the Devices.from_dict() class method which can be found in pmatic/entities.py. If no specific implementation for a device type can be found the generic class Device() is used for these devices.
If you don’t get any object back, you may use the lower level implementations to check whether or not the CCU returns any relevant data. This implementation can be found in pmatic/api.py.
There are also some examples available at examples/lowlevel_api/.
Best regards Lars
On 26. Dec 2017, at 20:15, Mariano Kamp notifications@github.com wrote:
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 it 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.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LarsMichelsen/pmatic/issues/20#issuecomment-354002802, or mute the thread https://github.com/notifications/unsubscribe-auth/ACl_jRI6Lz7zI0HPwbRQfEs8i-mtSTAuks5tEUW3gaJpZM4N8kSm.
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
Is there a brief explanation how to install Python on Raspberrymatic? Thx Axel.