Git Product home page Git Product logo

Comments (4)

ValiEne avatar ValiEne commented on August 18, 2024

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.

alextud avatar alextud commented on August 18, 2024

hey @ValiEne can you try to get latest changes it should work now.

from ha-prana.

ValiEne avatar ValiEne commented on August 18, 2024

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.

alextud avatar alextud commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.