Comments (4)
And when pressing that button named "Prana" nothing happens (it moves to "on" position for a moment and then turns itself off)
from ha-prana.
hey @ValiEne can you try to get latest changes it should work now.
from ha-prana.
Hi Alex,
After replacing all the files in /custom_components/prana with the newest ones all entities are unavailable.
With log set to debug I get this type of error messages:
2020-08-27 23:21:03 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for prana which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-08-27 23:21:11 ERROR (PranaWorker) [custom_components.prana.prana] Prana communication failed. Stopping trying.
NoneType: None
2020-08-27 23:22:14 ERROR (PranaWorker) [custom_components.prana.prana] Prana communication failed. Stopping trying.
NoneType: None
2020-08-27 23:23:14 ERROR (PranaWorker) [custom_components.prana.prana] Prana communication failed. Stopping trying.
NoneType: None
2020-08-27 23:24:16 ERROR (PranaWorker) [custom_components.prana.prana] Prana communication failed. Stopping trying.
NoneType: None
2020-08-27 23:25:11 ERROR (PranaWorker) [custom_components.prana.prana] Prana communication failed. Stopping trying.
NoneType: None
2020-08-27 23:26:12 ERROR (PranaWorker) [custom_components.prana.prana] Prana communication failed. Stopping trying.
NoneType: None
2020-08-27 23:27:11 ERROR (PranaWorker) [custom_components.prana.prana] Prana communication failed. Stopping trying.
NoneType: None
2020-08-27 23:28:11 ERROR (PranaWorker) [custom_components.prana.prana] Prana communication failed. Stopping trying.
NoneType: None
2020-08-27 23:29:11 ERROR (PranaWorker) [custom_components.prana.prana] Prana communication failed. Stopping trying.
NoneType: None
2020-08-27 23:30:13 ERROR (PranaWorker) [custom_components.prana.prana] Prana communication failed. Stopping trying.
NoneType: None
from ha-prana.
Here is a sample of debug logs generated by prana on my side:
2020-08-27 21:12:09 DEBUG (PranaWorker) [custom_components.prana] Updating Prana device... 00:A0:50:D3:17:91
2020-08-27 21:12:09 DEBUG (PranaWorker) [custom_components.prana.prana] Sending command BEEF0501000000005A to prana 00:A0:50:D3:17:91
2020-08-27 21:12:09 DEBUG (PranaWorker) [custom_components.prana.prana] Connecting to Prana...
2020-08-27 21:12:12 DEBUG (PranaWorker) [custom_components.prana.prana] Connected to Prana.
2020-08-27 21:12:12 DEBUG (PranaWorker) [custom_components.prana.prana] speed: 2 CO2: 828 VOC: 436, AUTO_MODE: 0, HEATER: 0, THAW: 0
2020-08-27 21:12:12 DEBUG (PranaWorker) [custom_components.prana] Update success...
In your case it seems that there is no connection.
In terminal you can test connection to your bluetooth device by running 1 of the following examples:
EX 1:
sudo bluetoothctl
connect MAC_ADDRESS
menu gatt
select-attribute 0000cccc-0000-1000-8000-00805f9b34fb
notify on
write "0xBE 0xEF 0x05 0x01 0x00 0x00 0x00 0x00 0x5A"
EX 2:
gatttool -b MAC_ADDRESS -I
connect
char-write-req 0x000f 0100
mtu 200
char-write-req 0x000e BEEF0501000000005A
from ha-prana.
Related Issues (14)
- some questions HOT 7
- errors with connection
- auto / night / heat mode
- buffer size error HOT 4
- Only entity is showing and not the Device HOT 2
- Take over project HOT 3
- how to set speed in and out HOT 10
- Does it still work with current HA? HOT 15
- Upgrading to a new version of Python in HA 2022.7 HOT 24
- Home Assistant OS installation
- list of the command codes for remote buttons HOT 3
- HA 2022.11.5 doesn't works HOT 1
- Bluetooth proxy
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 ha-prana.