Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

add raspbee lights to the supported template list #80

Closed
treban opened this issue Nov 28, 2018 · 25 comments
Closed

add raspbee lights to the supported template list #80

treban opened this issue Nov 28, 2018 · 25 comments

Comments

@treban
Copy link
Contributor

treban commented Nov 28, 2018

https://forum.pimatic.org/topic/4243/the-big-zigbee-topic/33

add the device templates from the pimatic-raspbee plugin to the knownTemplates list

@00lex
Copy link

00lex commented Feb 25, 2019

I'd appreciate it if that happened.
thank you

@michbeck100
Copy link
Owner

@treban did you check if the rasbpee plugin works if enabled?

@treban
Copy link
Contributor Author

treban commented Mar 3, 2019

No. I'm not using the Hap-Plugin. Because I don't have iOS. But I will test it next week with a device.

@00lex
Copy link

00lex commented Mar 4, 2019

If you run MacOS Mojave, you can use HomeKit too

@00lex
Copy link

00lex commented Jun 17, 2019

any progress?

@michbeck100
Copy link
Owner

@00lex Not yet, but you could do me a favour and add these templates to the supported templates list:

      'raspbee-dimmer': DimmerAccessory
      'raspbee-ct': DimmerAccessory
      'raspbee-rgb': DimmerAccessory

Just add these lines at https://github.com/michbeck100/pimatic-hap/blob/master/hap.coffee#L60, restart pimatic and see if you can switch and dim your lights.

@michbeck100
Copy link
Owner

michbeck100 commented Jun 17, 2019

Please report back if the plugin works, then I will add them to the list "officially"

@00lex
Copy link

00lex commented Jun 17, 2019

Yes! Now I can see the bulbs in HomeKit but I can only switch them and change the brightness.
not the color

@michbeck100
Copy link
Owner

Thats because they are just a DimmerAccessory. Since every plugin for coloured bulbs does the color calculation differently, I just added them as dimmers for now. I will check pimatic-raspbee can support more

@michbeck100
Copy link
Owner

BTW: All devices with type RaspBeeSwitch should work OOB as switches

@00lex
Copy link

00lex commented Jun 18, 2019

Thats because they are just a DimmerAccessory. Since every plugin for coloured bulbs does the color calculation differently, I just added them as dimmers for now. I will check pimatic-raspbee can support more

I know. until them I will use hue-zll plugin for bulbs which doesn't get an update since 2 years. for the moment its okay but I think raspbee is the future for a zigbee environment and pimatic.
if I can do something, say it. thank you for feedback

@treban
Copy link
Contributor Author

treban commented Jul 4, 2019

i will implement two new functions on the raspbee side so the
HueLightAccessory could be used for RGB

@scobby
Copy link

scobby commented Jul 8, 2019

I have many different zigbee devices. Maybe I can do some tests if the changes are implemented.

@michbeck100
Copy link
Owner

If you know how to install the latest master you can go ahead and test. Changes were implemented with b4e6efa. RGB lights will be next once @treban is ready.

@treban
Copy link
Contributor Author

treban commented Jul 9, 2019

@scobby

the new raspbee version 0.1.0-beta.1 supports now HAP Integration with RGB capabilities
(and some more nice features) readme
maybe you can test it?

please install the beta from plugin-rasbpee and change the accessory for raspbee-rgb
manual install
sudo npm install --unsafe-perm pimatic-pluginname
inside your pimatic-app directory.

https://github.com/michbeck100/pimatic-hap/blob/master/hap.coffee#L60
'raspbee-dimmer': DimmerAccessory
'raspbee-ct': DimmerAccessory
'raspbee-rgb': HueLightAccessory

@michbeck100
Copy link
Owner

@scobby the raspbee plugin is released in version 0.1.0 now. Did you test if the HueLightAccessory works for you?

@00lex
Copy link

00lex commented Jul 15, 2019

The result is the same as with 'raspbee-rgb': DimmerAccessory

  • white hue bulbs are 100% compatible
  • ambient white ist available, but without support for color temperature
  • color bulbs doesn't show up in HomeKit

@michbeck100
Copy link
Owner

@00lex Make sure to restart pimatic. Maybe you even have to import your devices in the homekit app again. You could test this by creating a testing home first.

@00lex
Copy link

00lex commented Jul 15, 2019

got it! the discovery doesn't work correct. the auto recognition for color bulbs and light stripes recognizes RGBCT and it doesnt work show up in HomeKit. if I change Raspbee-RGBCT to Raspbee-RGB it works both kind of lights show up with full support :)

now we just need a fix for ambient-white bulbs

@michbeck100
Copy link
Owner

I guess that's because the template name of Raspbee-RGBCT is raspbee-rgbct and not 'raspbee-rgb'. see https://github.com/treban/pimatic-raspbee/blob/master/raspbee.coffee#L1187

The Raspbee-RGBCT device might work too, just try to add another row with 'raspbee-rgbct': HueLightAccessory at https://github.com/michbeck100/pimatic-hap/blob/master/hap.coffee#L60

@00lex
Copy link

00lex commented Jul 15, 2019

gesagt, getan. the solution was obvious.
now with additional 'raspbee-rgbct': HueLightAccessory color things work.

the only open point is color temperature of ambient white bulbs. its not a big thing for me

michbeck100 added a commit that referenced this issue Jul 15, 2019
@00lex
Copy link

00lex commented Jul 15, 2019

can you give me a hint how to set a color with rgbct?
with hue-zll I wrote set color of Paradieslicht to hue 12.85 sat 55

i don't understand why. the variables are nearly same:
Bildschirmfoto 2019-07-15 um 18 14 02

@michbeck100
Copy link
Owner

Not sure where you wrote that. I you are talking about the pimatic rules section, than you have to ask the developer of pimatic-raspbee (which is @treban I think)

@00lex
Copy link

00lex commented Jul 15, 2019

my rule is with hue-zll:
if PIR-x is present then set color of Paradieslicht to hue 12.85 sat 55
and I don't know how to translate this to raspbee. I will ask him. i've already bothered him enough :)

@michbeck100
Copy link
Owner

Closing this as support was released with 0.12.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants