Code Monkey home page Code Monkey logo

hue_ble_python's People

Contributors

walter5138 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

soil-and-green

hue_ble_python's Issues

doesn't ask for alias

It doesn't ask for an alias.


adapter1 notification started : ['./hue_props_ad1_chg_notify.py'] pid 127728

Discovery started!

Discovering : 1



********************************************************************************************************


device (object path) added : /org/bluez/hci0/dev_86_2A_FD_F9_FE_AC

	with interfaces : 
		org.freedesktop.DBus.Introspectable
		org.bluez.Device1
			Address = 86:2A:FD:F9:FE:AC
			AddressType = public
			Name = ENVY Photo 6200 series
			Alias = ENVY Photo 6200 series
			Paired = 0
			Trusted = 0
			Blocked = 0
			LegacyPairing = 0
			RSSI = -77
			Connected = 0
			UUIDs = 
				0000fe78-0000-1000-8000-00805f9b34fb
			Adapter = /org/bluez/hci0
			ManufacturerData = 101 : [1, 201, 1]
			TxPower = 6
			ServicesResolved = 0
		org.freedesktop.DBus.Properties



********************************************************************************************************


device (object path) added : /org/bluez/hci0/dev_70_56_81_DA_2B_00

	with interfaces : 
		org.freedesktop.DBus.Introspectable
		org.bluez.Device1
			Address = 70:56:81:DA:2B:00
			AddressType = public
			Alias = 70-56-81-DA-2B-00
			Paired = 0
			Trusted = 0
			Blocked = 0
			LegacyPairing = 0
			RSSI = -92
			Connected = 0
			UUIDs = 
			Adapter = /org/bluez/hci0
			ManufacturerData = 76 : [9, 6, 2, 31, 192, 168, 0, 143]
			ServicesResolved = 0
		org.freedesktop.DBus.Properties



********************************************************************************************************


device (object path) added : /org/bluez/hci0/dev_F4_3A_9D_FA_FD_CA

	with interfaces : 
		org.freedesktop.DBus.Introspectable
		org.bluez.Device1
			Address = F4:3A:9D:FA:FD:CA
			AddressType = random
			Name = Engimatica
			Alias = Engimatica
			Paired = 0
			Trusted = 0
			Blocked = 0
			LegacyPairing = 0
			RSSI = -44
			Connected = 0
			UUIDs = 
				0000fe0f-0000-1000-8000-00805f9b34fb
			Adapter = /org/bluez/hci0
			ServiceData = 0000fe0f-0000-1000-8000-00805f9b34fb : [103, 16, 255, 255, 0]
			TxPower = 10
			ServicesResolved = 0
		org.freedesktop.DBus.Properties

Engimatica
Discovery stoped!

Discovering : 0

No new Hue Lamps found!

adapter1 notification stopped : pid 127728

The device that was just discovered is the Phillips Hue lamp.

What's wrong?

cannot pair lamp

what is wrong here?
can you help?

Traceback (most recent call last):
File "hue_discover_pair_trust_alias.py", line 158, in
new_huelamp_pair_trust(new_huelamp_addresses)
File "hue_discover_pair_trust_alias.py", line 117, in new_huelamp_pair_trust
new_device_proxy.Pair()
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in call
return self._proxy_method(*args, **keywords)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in call
**keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.bluez.Error.AuthenticationTimeout: Authentication Timeout

Lamp not discoverable

As far as I can tell, the Phillips Hue Bluetooth lamp is not discoverable but instead sees a controller and prompts a pairing. It looks like this code does not account for that or is there something I'm missing?

Hue Smart Plug

Hi Walter,
Great code, thank you for posting this!
I'm trying to extend it so that it also works with the Hue Smart Plug.
Any tip on how you found out what service/char to write to in order to control the Hue devices?
Thank you!

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.