PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
Moderators: leecollings, remb0
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
If you have some Time and knowledge you can search which Handle are use to drive color and effect
I can give you à Small how to, that easy to do but long.
I can give you à Small how to, that easy to do but long.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
I have some knowledge to do some tests, my biggest issue i can't program
. So if you tell me how to do it, then i will test it.

RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
ok i think that we just need to have some value, i send you mp for this
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
- Mediacj
- Posts: 74
- Joined: Wednesday 11 February 2015 16:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
I managed to get them working without your great software with the gatttool, but I had to change the address for handle color from 0x0016(in your plugin.py) to 00x0019 in gattool to let it work. So there seems a shift of 3.zaraki673 wrote:Hi Mediacj,
have you this issue on every heartbeat ? or just one time ?
i think it's just an init error in my code, i will see that ASAP
Domoticz: 3.7243
Python: Python 2.7.9 (python -V)
but also Python 3.4.2 (python3 -V)
Bulb: Playbulb Candle
Firmware: BTL300_v6
-
- Posts: 32
- Joined: Thursday 19 January 2017 23:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
I just update RGBW plugin with this informations, thank's
https://github.com/zaraki673/MiPow-Play ... /plugin.py
can you try ?
https://github.com/zaraki673/MiPow-Play ... /plugin.py
can you try ?
- Mediacj
- Posts: 74
- Joined: Wednesday 11 February 2015 16:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
Thanks! I also changed the address in plugin.py but that didn't help for the connection errors, this is what I get now with your new version:zaraki673 wrote:I just update RGBW plugin with this informations, thank's
https://github.com/zaraki673/MiPow-Play ... /plugin.py
can you try ?
Code: Select all
2017-04-14 22:55:03.615 (Playbulb) Initialized version 1.0.1, author 'zaraki673'
2017-04-14 22:55:03.616 (Playbulb) Debug log level set to: 'true'.
2017-04-14 22:55:03.618 (Playbulb) Error connecting device - is it up ?
2017-04-14 22:55:03.618 (Playbulb) 'Mode3':'0'
2017-04-14 22:55:03.618 (Playbulb) 'Mode1':'8'
2017-04-14 22:55:03.618 (Playbulb) 'Name':'Playbulb'
2017-04-14 22:55:03.618 (Playbulb) 'Mode6':'Debug'
2017-04-14 22:55:03.618 (Playbulb) 'Mode2':'0'
2017-04-14 22:55:03.618 (Playbulb) 'HomeFolder':'/home/jan/domoticz/plugins/mipow/'
2017-04-14 22:55:03.618 (Playbulb) 'Address':'ED:C6:4B:11:AC:E6'
2017-04-14 22:55:03.618 (Playbulb) 'Port':'0'
2017-04-14 22:55:03.618 (Playbulb) 'HardwareID':'27'
2017-04-14 22:55:03.618 (Playbulb) 'Key':'MiPow'
2017-04-14 22:55:03.618 (Playbulb) 'Author':'zaraki673'
2017-04-14 22:55:03.618 (Playbulb) 'Version':'1.0.1'
2017-04-14 22:55:03.618 (Playbulb) Device count: 8
2017-04-14 22:52:52.671 (Playbulb) Calling message handler 'onHeartbeat'.
2017-04-14 22:52:52.671 (Playbulb) Error getting status
2017-04-14 22:52:52.674 (Playbulb) Error connecting device - is it up ?
-
- Posts: 32
- Joined: Thursday 19 January 2017 23:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
the plugin can't connect to your candle when you see this message, so you should :
- check hci you have configure, (hci0, hci1 or hci2) you can check device available when running hcitool dev
- check mac address
- check if your candle is on
- check nothing other is connect (don't know if some playbulb can have multiple connection at the same time)
- check hci you have configure, (hci0, hci1 or hci2) you can check device available when running hcitool dev
- check mac address
- check if your candle is on
- check nothing other is connect (don't know if some playbulb can have multiple connection at the same time)
- Mediacj
- Posts: 74
- Joined: Wednesday 11 February 2015 16:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
Thx for your respond but I have done that alreadyzaraki673 wrote:the plugin can't connect to your candle when you see this message, so you should :
- check hci you have configure, (hci0, hci1 or hci2) you can check device available when running hcitool dev
- check mac address
- check if your candle is on
- check nothing other is connect (don't know if some playbulb can have multiple connection at the same time)

It is hci0 I have the correct mac address and it is on, under gatttool it works with these parameters. And I switch it off and on and disconnect the bluetooth connection before I go back to Domoticz.
But it works under Rasp Zero W now, only thing is when I switch the playbulb effect to off the candle is switched off, so I can't set it to no effect.
-
- Posts: 32
- Joined: Thursday 19 January 2017 23:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
downoad it again, you will have btle error code in log now, then we will see where error is 

- Mediacj
- Posts: 74
- Joined: Wednesday 11 February 2015 16:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
Done that! And now it works just recompiled bluez etc. because I got a exception error on it. To be more specific, this was the solution, it seems that there is a problem under Ubuntu with the compiling of Bluez:
One thing I had to remove a extra ':' in your source on line 572 (::) because it gave a error in the Domoticz log when starting.
Many thanks for your help!
Code: Select all
cd "/usr/local/lib/python3.5/dist-packages/bluepy-1.0.5-py3.5.egg/bluepy/"
sudo make
One thing I had to remove a extra ':' in your source on line 572 (::) because it gave a error in the Domoticz log when starting.
Many thanks for your help!
Last edited by Mediacj on Saturday 15 April 2017 2:09, edited 1 time in total.
-
- Posts: 32
- Joined: Thursday 19 January 2017 23:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
Thank's I remove itMediacj wrote:Done that! And now it works just reinstalled bluez etc. because I got a exception error on it.
One thing I had to remove a extra ':' in your source on line 572 (::) because it gave a error in the Domoticz log when starting.
Many thanks for your help!

-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
Using the latest plugin.py with my Sphere - Spot (fw:BTL203M_V1.6) work so nice!!!
Hope the development will go on so we get less switched and a color picker multi color switch like Philips Hue
Hope the development will go on so we get less switched and a color picker multi color switch like Philips Hue

RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 32
- Joined: Thursday 19 January 2017 23:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
Hi, sorry, i'm working on another plugin , i will try to update this one soon 

-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
That would be great !!! Im open to test the plugin. 

RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
Maybe to excited.. Any news or update for the PlayBlub plugin? 

RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
dev is working on another plugin who need more time in developement (RFP1000 : USB key for 433 and 868 devices), surely he will came back to this soon, but he need to finish rfp1000 firstpoudenes wrote:Maybe to excited.. Any news or update for the PlayBlub plugin?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
Ok
i'll will wait 


deennoo wrote: dev is working on another plugin who need more time in developement (RFP1000 : USB key for 433 and 868 devices), surely he will came back to this soon, but he need to finish rfp1000 first
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
Hi There all,
Any idea when this plugin will updated? change all color switches into a color selector?
Also have 4 new bulbs "Smart" with FM BT_201 they work with settings of sphere/smart
Any idea when this plugin will updated? change all color switches into a color selector?
Also have 4 new bulbs "Smart" with FM BT_201 they work with settings of sphere/smart
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
thx for feedback i add them !poudenes wrote:
Also have 4 new bulbs "Smart" with FM BT_201 they work with settings of sphere/smart
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: PlayBlub (Bluetooth Bulb) Python Plugin - Beta tester Wanted
2017-05-14 11:40:23.171 (Raam Links) Calling message handler 'onHeartbeat'.
2017-05-14 11:40:23.241 (Raam Links) Error getting status
2017-05-14 11:40:23.253 (Raam Links) Error connecting device - is it up ? (btle error code : 1)
I see this msg for all my MiPow Bulbs. They are working. Can do everything with it inside Domoticz. But get this error as well
But what can i do to solve this?
2017-05-14 11:40:23.241 (Raam Links) Error getting status
2017-05-14 11:40:23.253 (Raam Links) Error connecting device - is it up ? (btle error code : 1)
I see this msg for all my MiPow Bulbs. They are working. Can do everything with it inside Domoticz. But get this error as well
But what can i do to solve this?
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Who is online
Users browsing this forum: No registered users and 1 guest