Code Monkey home page Code Monkey logo

Comments (7)

Duker69 avatar Duker69 commented on June 26, 2024

I have the same problem with AC200MAX, Raspberry pi 4B, Debian 11

AC200

from bluetti_mqtt.

warhammerkid avatar warhammerkid commented on June 26, 2024

Can you do me a favor and run DEBUG=true bluetti-mqtt --scan? If everything is working it should print out a bunch of lines that start with received D-Bus signal: org.freedesktop.DBus.. If it doesn't then there might be something wrong with Bluez or D-Bus? Also, if you could post the results of running pip3 list that would help me check if it's some dependency version that is the problem.

from bluetti_mqtt.

Duker69 avatar Duker69 commented on June 26, 2024

AC200MAX2

from bluetti_mqtt.

nuagevert59 avatar nuagevert59 commented on June 26, 2024

Here is the
DEBUG=true bluetti-mqtt --scan
we can see the AC200M

hope this helps

2023-03-16 14:09:47 DEBUG Using selector: EpollSelector Scanning.... 2023-03-16 14:09:48 DEBUG initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}, '/org/bluez/hci0': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.Adapter1': {'Address': '00:01:95:7C:01:18', 'AddressType': 'public', 'Name': 'raspberrypi #1', 'Alias': 'raspberrypi #1', 'Class': 0, 'Powered': True, 'Discoverable': False, 'DiscoverableTimeout': 180, 'Pairable': False, 'PairableTimeout': 0, 'Discovering': False, 'UUIDs': ['00001801-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '0000180a-0000-1000-8000-00805f9b34fb'], 'Modalias': 'usb:v1D6Bp0246d0537', 'Roles': ['central', 'peripheral']}, 'org.freedesktop.DBus.Properties': {}, 'org.bluez.GattManager1': {}, 'org.bluez.LEAdvertisingManager1': {'ActiveInstances': 0, 'SupportedInstances': 5, 'SupportedIncludes': ['tx-power', 'appearance', 'local-name']}, 'org.bluez.Media1': {}, 'org.bluez.NetworkServer1': {}}, '/org/bluez/hci0/dev_04_7F_0E_A4_0E_02': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.Device1': {'Address': '04:7F:0E:A4:0E:02', 'AddressType': 'public', 'Name': 'AC200M2227000029494', 'Alias': 'AC200M2227000029494', 'Appearance': 960, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'Connected': False, 'UUIDs': ['00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '0000ff00-0000-1000-8000-00805f9b34fb'], 'Adapter': '/org/bluez/hci0', 'ServicesResolved': False}, 'org.freedesktop.DBus.Properties': {}}, '/org/bluez/hci1': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.Adapter1': {'Address': 'B8:27:EB:79:6E:DB', 'AddressType': 'public', 'Name': 'raspberrypi', 'Alias': 'raspberrypi', 'Class': 0, 'Powered': False, 'Discoverable': False, 'DiscoverableTimeout': 180, 'Pairable': False, 'PairableTimeout': 0, 'Discovering': False, 'UUIDs': ['00001801-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '0000180a-0000-1000-8000-00805f9b34fb'], 'Modalias': 'usb:v1D6Bp0246d0537', 'Roles': ['central', 'peripheral']}, 'org.freedesktop.DBus.Properties': {}, 'org.bluez.GattManager1': {}, 'org.bluez.LEAdvertisingManager1': {'ActiveInstances': 0, 'SupportedInstances': 5, 'SupportedIncludes': ['tx-power', 'appearance', 'local-name']}, 'org.bluez.Media1': {}, 'org.bluez.NetworkServer1': {}}} 2023-03-16 14:09:48 DEBUG received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0): ['org.bluez.Adapter1', {'Discovering': <dbus_fast.signature.Variant ('b', True)>}, []] 2023-03-16 14:09:53 DEBUG received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0): ['org.bluez.Adapter1', {'Discovering': <dbus_fast.signature.Variant ('b', False)>}, []] 0 devices found - something probably went wrong

from bluetti_mqtt.

nuagevert59 avatar nuagevert59 commented on June 26, 2024

and the pip3 list
`pi@pi2:/home/pi> pip3 list
Package Version


android-backup 0.2.0
appdirs 1.4.4
asn1crypto 1.4.0
async-timeout 4.0.2
asyncio-mqtt 0.16.1
attrs 22.2.0
bleak 0.19.5
bluepy 1.3.0
bluetti-mqtt 0.11.1
certifi 2022.12.7
cffi 1.15.1
chardet 4.0.0
charset-normalizer 3.0.1
click 8.1.3
construct 2.10.68
crcmod 1.7
croniter 1.3.8
cryptography 39.0.1
dbus-fast 1.84.2
dbus-python 1.2.16
defusedxml 0.7.1
distro 1.5.0
distro-info 1.0
docutils 0.16
entrypoints 0.3
enum-compat 0.0.3
enum34 1.1.10
fail2ban 0.11.2
future 0.18.3
gpg 1.14.0-unknown
idna 3.4
ifaddr 0.2.0
iotop 0.6
jeepney 0.6.0
keyring 22.0.1
keyrings.alt 4.0.2
micloud 0.6
netifaces 0.11.0
numpy 1.24.2
olefile 0.46
paho-mqtt 1.6.1
Pillow 8.1.2
pip 23.0.1
PyBluez 0.23
pycparser 2.21
pycrypto 2.6.1
pycryptodome 3.17
pycryptodomex 3.9.7
pycurl 7.43.0.6
Pygments 2.7.1
PyGObject 3.38.0
pyinotify 0.9.6
pyserial 3.5b0
python-apt 2.2.1
python-dateutil 2.8.2
python-miio 0.5.12
pytz 2022.7.1
pytz-deprecation-shim 0.1.0.post0
pyudev 0.22.0
pyxdg 0.27
PyYAML 6.0
requests 2.28.2
roman 2.0.0
SecretStorage 3.3.1
setuptools 67.4.0
six 1.16.0
ssh-import-id 5.10
systemd-python 234
tqdm 4.64.1
typing_extensions 4.5.0
tzdata 2022.7
tzlocal 4.2
unattended-upgrades 0.1
urllib3 1.26.14
wheel 0.34.2
xdg 5
yeelight 0.7.10
zeroconf 0.47.3
`

thank you

from bluetti_mqtt.

nuagevert59 avatar nuagevert59 commented on June 26, 2024

After a fresh install of Raspberry (bullesey) , it works well ❤️‍🩹

from bluetti_mqtt.

nuagevert59 avatar nuagevert59 commented on June 26, 2024

After a fresh install of Raspberry (bullesey) , it works well ❤️‍🩹

from bluetti_mqtt.

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.