-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I install Python on Raspberrymatic (and use pmatic then)? #20
Comments
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?
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 ***@***.***> 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 <#20 (comment)>, 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: I have written many plugins in py 2 and 3 that run on 2 MACs and 20 raspberries. I would love to get involved in this add-on. Any pointers would be great. thanks Karl |
Is there a brief explanation how to install Python on Raspberrymatic?
Thx Axel.
The text was updated successfully, but these errors were encountered: