alextud / ha-prana Goto Github PK
View Code? Open in Web Editor NEWPrana recuperators (fan) for Home Assistant
Prana recuperators (fan) for Home Assistant
Hi,
I'm using the latest HA. The bluetooth proxy also works with esphome and shelly. Unfortunately, prana is far from my server. With shelly, you can choose active or passive mode. Could the integration be made to work through a proxy?
Thanks!
Hello,
I have setup your integration and it is working ok-ish with HA. I am having some issues though:
Check out the attached picture. If I want to set the fan direction for both in and out it is not working. Only In or Out. Also how would I go about setting one speed for In and another for Out?
Another question, if you don't mind: how do I access these parameters from within HA in an automation. For example if I want to set the fan speed to 2 and direction In and speed 1 for direction Out at a certain time and run for say 30 mins then switch off.
Where can I access these?
Thank you and keep up the good work!
I have tried to install it with HACS on current version and when I try to add the integration I get an error.
After I have the error, the integration is not visible in the list anymore. I cannot try to add it again. However I can find the Prana Recuperator.. CO2, Speed under Entities but cannot d anything with them.
I also tried to Downgrade HA core to an older version(2021.7.1), but I cannot even get the integration to show up in the list?
Any advice?
I have Prana 200C Pemium
The plugin stopped working in the new version of Home Assistant (2022.7) on HasOs.I think the reason for this is the switch to the new version of Python.
Logger: homeassistant.setup
Source: setup.py:162
First occurred: 12:50:05 (1 occurrences)
Last logged: 12:50:05
Setup failed for custom integration prana: Requirements for prana not found: ['bluepy==1.3.0'].
I can't change auto / night / heat mode unfortunately
there is only auto and manual preset mode
Hi,
Is Home assistant core installed.. maybe is not compatible?
A message handler raised an exception: unpack_from requires a buffer of at least 65 bytes for unpacking 2 bytes at offset 63 (actual buffer size is 15). Traceback (most recent call last): File "src/dbus_fast/message_bus.py", line 811, in dbus_fast.message_bus.BaseMessageBus._process_message File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/manager.py", line 860, in _parse_msg on_value_changed(message.path, self_interface["Value"]) File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py", line 152, in on_value_changed callback(bytearray(value)) File "/config/custom_components/prana/prana.py", line 65, in handleNotification voc = int(struct.unpack_from(">h", data, 63)[0] & 0b0011_1111_1111_1111) struct.error: unpack_from requires a buffer of at least 65 bytes for unpacking 2 bytes at offset 63 (actual buffer size is 15)
Hi,
it's the third time in two year that i install this custom component.
Now i see the status of the two prana but it is impossible to change the status.
the HA log show this:
Logger: custom_components.prana.prana
Source: custom_components/prana/prana.py:148
Integration: Prana
First occurred: 17:41:10 (51 occurrences)
Last logged: 18:33:08
Logger: custom_components.prana.prana
Source: custom_components/prana/prana.py:163
Integration: Prana
First occurred: 18:04:54 (3 occurrences)
Last logged: 18:05:19
Prana communication failed. Stopping trying.
Logger: custom_components.prana.prana
Source: custom_components/prana/prana.py:157
Integration: Prana
First occurred: 18:05:14 (1 occurrences)
Last logged: 18:05:14
Prana communication failed. Stopping trying.
is there something i can do to fix the issue?
Me and other users are open to finance the project in order to have a fully integration working.
Are you open for this? @alextud
Thanks
Hi @alextud
can you tell me what I'm doing wrong? I've followed your indication and I was able to see the fan but I have only four entities:
Integration not working
Logger: custom_components.prana.prana
Source: custom_components/prana/prana.py:148
Integration: Prana
First occurred: 23:45:37 (14 occurrences)
Last logged: 23:58:43
Prana communication failed. Stopping trying.
Tried with enabled\disabled bluetooth built-in integration, same results.
is there a list with all the codes corresponding to the buttons on the remote?
I have noticed that esphome has implemented the possibility to send bluetooth commands using an esp32 and was wondering if it was possible to use that as a remote from homeassistant.
Hi,
I also have a recuperator (prana-150, not premium) (no sensors). The ios app partially works. I tried your component.
in app only these features are available:
your program handles it well:
it does not exist
(night mode = speed 1 (low)) (not a separate mode)
(auto mode cannot be switched - or I couldn't find a way :)) because of this: speed_list: off, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Unfortunately I failed to control, the server is far enough away from the recuperator and I get quite a few communication errors. I'm trying to bridge the problem somehow. Don't have an idea to extend bluetooth?
Thanks,
Laszlo
Hi there,
I tried using your custom component, however, it seems that it doesn't work with Bluetooth proxy. I am not a Python programmer, however, I've made a custom component for Prana that also uses Homeassitant config flow, has autodetection for Prana devices, and also works well with Bluetooth proxy. There are some areas that are not 100% working, however, for my use case it's working properly.
Would you be interested to take over the project I've created or use the code I've made to improve this extension? I do not have time to further develop it.
The code can be found at https://github.com/zauan/hassio-prana
Best regards,
Stefan
Hello,
I'm trying to make integrate prana 150 fans into Home Assistant, but can't figure out how to make it work.
I followed the Installation guidelines, but got the following error "prana integration doesn't exist".
Could you please make a bit more extended install guidelines?
I would really appreciate your answer, thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.