Code Monkey home page Code Monkey logo

fhem-bluetoothsmartbms's People

Contributors

sw-home avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fhem-bluetoothsmartbms's Issues

CONNECTION ISSUE - DBUS

Hey,
i'm trying to get your python3 script running but i'm running into this Exception and i'm pretty lost from here.

Do you have an idea what the problem is?

pi@raspberrypi:/opt/FHEM-BluetoothSmartBMS/Raspberry$ sudo python3 bmstcp.py AA:BB:CC:A2:23:45 9998 [AA:BB:CC:A2:23:45] Connecting [AA:BB:CC:A2:23:45] Connected BMS server for AA:BB:CC:A2:23:45 is listening on 0.0.0.0:9998 ERROR:dbus.connection:Exception in handler for D-Bus signal: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/dbus/connection.py", line 230, in maybe_handle_message self._handler(*args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/gatt/gatt_linux.py", line 398, in properties_changed self.services_resolved() File "bmstcp.py", line 31, in services_resolved s for s in self.services StopIteration [AA:BB:CC:A2:23:45] Disconnected

Node Red

Hello,

I hope that I am not completely wrong with my request here, since this is probably more about problems with the project.

The script bmsinfo.py works fine for me. Thank you very much! I don't manage to use ist with Node-Red. I was able to establish a Bluetooth connection with Node-Red. I can also send a command and end the connection again.

But I can't get it to read and display the values.

Can anyone help me?

WhatsApp Image 2020-07-08 at 18 28 33

WhatsApp Image 2020-07-08 at 18 19 30

WhatsApp Image 2020-07-08 at 18 22 36

connection failed: Input/output error

Hi,

I try to connect to my SmartBMS the way you mention but I reciev an error:
sudo python3 bmstcp.py A4:C1:38:06:BC:A6 9998
[A4:C1:38:06:BC:A6] Connecting
[A4:C1:38:06:BC:A6] Connection failed: Input/output error

I am able to connect using gatttool:
sudo gatttool -i hci0 -b A4:C1:38:06:BC:A6 -I
[A4:C1:38:06:BC:A6][LE]> connect
Attempting to connect to A4:C1:38:06:BC:A6
Connection successful

Any idea what I could do?

Thanks

Maarten

syntax invalid

Hi. I'm really new, need some help
after execute: sudo python3 bmstcp.py A4:C1:38:17:FA:44 9998

I get:
File "/home/pop/bmstcp.py", line 8

^
SyntaxError: invalid syntax

Temperature conversion problem

It seems there is something wrong with the temperature. Also when the temperature is below 0, there are no values any more.
Screenshot_2019-12-28_22-21-27

Many many thanks for this project! Using it in my micro camper van.

Feature request

Hi there, thanks for your great work.
Is it possible to include the SOC (State of Charge) into the code?
Or do i have to calculate it by my own out of the Battery Voltage?

Thank You and a happy new Year!

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.