GithubHelp home page GithubHelp logo

New gatt attributes about victron HOT 1 OPEN

birdie1 avatar birdie1 commented on August 16, 2024
New gatt attributes

from victron.

Comments (1)

robwolff3 avatar robwolff3 commented on August 16, 2024

Not sure if you see need output. Here is what I got

[INFO   ] (2023-03-14 16:05:32,337) victron_ble.py::45 HouseShunt: Connecting...
[INFO   ] (2023-03-14 16:05:35,865) victron_ble.py::45 HouseShunt: Connecting...
[DEBUG  ] (2023-03-14 16:05:35,915) victron_gatt_ble.py::71 HouseShunt: [E0:9E:8C:1D:D7:03] Resolved services
[DEBUG  ] (2023-03-14 16:05:35,915) victron_gatt_ble.py::75 HouseShunt: Read value from characteristic <gatt.gatt_linux.Characteristic object at 0x7f6243c8c940>
[DEBUG  ] (2023-03-14 16:05:35,927) victron_gatt_ble.py::75 HouseShunt: Read value from characteristic <gatt.gatt_linux.Characteristic object at 0x7f6243c8c820>
[DEBUG  ] (2023-03-14 16:05:35,949) victron_gatt_ble.py::75 HouseShunt: Read value from characteristic <gatt.gatt_linux.Characteristic object at 0x7f6243c8c790>
[DEBUG  ] (2023-03-14 16:05:35,964) victron_gatt_ble.py::75 HouseShunt: Read value from characteristic <gatt.gatt_linux.Characteristic object at 0x7f6243c8c8b0>
[DEBUG  ] (2023-03-14 16:05:35,987) victron_gatt_ble.py::75 HouseShunt: Read value from characteristic <gatt.gatt_linux.Characteristic object at 0x7f6243c8c460>
[DEBUG  ] (2023-03-14 16:05:36,009) victron_gatt_ble.py::75 HouseShunt: Read value from characteristic <gatt.gatt_linux.Characteristic object at 0x7f6243c8c4c0>
[DEBUG  ] (2023-03-14 16:05:36,039) victron_gatt_ble.py::75 HouseShunt: Read value from characteristic <gatt.gatt_linux.Characteristic object at 0x7f6243c8c310>
[DEBUG  ] (2023-03-14 16:05:36,062) victron_gatt_ble.py::75 HouseShunt: Read value from characteristic <gatt.gatt_linux.Characteristic object at 0x7f6243c8c190>
[DEBUG  ] (2023-03-14 16:05:36,077) victron_gatt_ble.py::75 HouseShunt: Read value from characteristic <gatt.gatt_linux.Characteristic object at 0x7f6243c8c070>
[DEBUG  ] (2023-03-14 16:05:36,099) victron_gatt_ble.py::75 HouseShunt: Read value from characteristic <gatt.gatt_linux.Characteristic object at 0x7f6243c8ee30>
[DEBUG  ] (2023-03-14 16:05:36,114) victron_gatt_ble.py::75 HouseShunt: Read value from characteristic <gatt.gatt_linux.Characteristic object at 0x7f6243c8f2b0>
[INFO   ] (2023-03-14 16:05:36,131) victron_gatt_ble.py::40 HouseShunt: Connect successful!
[WARNING] (2023-03-14 16:05:36,134) victron_smartshunt_ble.py::79 HouseShunt: Characteristic (65970383-4bda-4c1e-af4b-551c4cf74769) not found in known Table
[DEBUG  ] (2023-03-14 16:05:36,134) victron_smartshunt_ble.py::83 HouseShunt: Characteristic (65970383-4bda-4c1e-af4b-551c4cf74769) not found in known Table | Rawvalue: b'\xff\x7f'
[DEBUG  ] (2023-03-14 16:05:36,134) victron_smartshunt_ble.py::84 HouseShunt: Characteristic (65970383-4bda-4c1e-af4b-551c4cf74769) not found in known Table | Value signed: 32767.0 | Value unsigned: 32767.0
[WARNING] (2023-03-14 16:05:36,135) victron_smartshunt_ble.py::79 HouseShunt: Characteristic (65970382-4bda-4c1e-af4b-551c4cf74769) not found in known Table
[DEBUG  ] (2023-03-14 16:05:36,135) victron_smartshunt_ble.py::83 HouseShunt: Characteristic (65970382-4bda-4c1e-af4b-551c4cf74769) not found in known Table | Rawvalue: b'\xff\xff'
[DEBUG  ] (2023-03-14 16:05:36,135) victron_smartshunt_ble.py::84 HouseShunt: Characteristic (65970382-4bda-4c1e-af4b-551c4cf74769) not found in known Table | Value signed: -1.0 | Value unsigned: 65535.0
[WARNING] (2023-03-14 16:05:36,135) victron_smartshunt_ble.py::79 HouseShunt: Characteristic (6597edec-4bda-4c1e-af4b-551c4cf74769) not found in known Table
[DEBUG  ] (2023-03-14 16:05:36,135) victron_smartshunt_ble.py::83 HouseShunt: Characteristic (6597edec-4bda-4c1e-af4b-551c4cf74769) not found in known Table | Rawvalue: b'\xff\xff'
[DEBUG  ] (2023-03-14 16:05:36,135) victron_smartshunt_ble.py::84 HouseShunt: Characteristic (6597edec-4bda-4c1e-af4b-551c4cf74769) not found in known Table | Value signed: -1.0 | Value unsigned: 65535.0
[INFO   ] (2023-03-14 16:05:36,136) victron_smartshunt_ble.py::92 HouseShunt: Gathering data successful
[DEBUG  ] (2023-03-14 16:05:36,136) victron_ble.py::37 HouseShunt: Got last value, disconnecting...
[WARNING] (2023-03-14 16:05:38,819) victron_smartshunt_ble.py::79 HouseShunt: Characteristic (6597ffff-4bda-4c1e-af4b-551c4cf74769) not found in known Table
[DEBUG  ] (2023-03-14 16:05:38,819) victron_smartshunt_ble.py::83 HouseShunt: Characteristic (6597ffff-4bda-4c1e-af4b-551c4cf74769) not found in known Table | Rawvalue: b''
[DEBUG  ] (2023-03-14 16:05:38,819) victron_smartshunt_ble.py::84 HouseShunt: Characteristic (6597ffff-4bda-4c1e-af4b-551c4cf74769) not found in known Table | Value signed: 0.0 | Value unsigned: 0.0
[INFO   ] (2023-03-14 16:05:38,819) victron_smartshunt_ble.py::92 HouseShunt: Gathering data successful
[DEBUG  ] (2023-03-14 16:05:38,819) victron_ble.py::37 HouseShunt: Got last value, disconnecting...
[INFO   ] (2023-03-14 16:05:38,823) victron_gatt_ble.py::52 HouseShunt: Disconnect successful!
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.10/threading.py", line 1371, in run
    self.function(*self.args, **self.kwargs)
  File "/victron/victron.py", line 25, in victron_thread
    v.connect_disconnect_loop()
  File "/victron/lib/victron.py", line 52, in connect_disconnect_loop
    self.victron_type.connect_disconnect_loop(self.cmd, self.config['timer'])
  File "/victron/lib/victron_ble/victron_ble.py", line 75, in connect_disconnect_loop
    next_time = datetime.now() + timedelta(seconds=timer['bluetooth-ble']['repeat'])
KeyError: 'bluetooth-ble'

from victron.

Related Issues (20)

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.