Philips Hue API v2 Events (Server-Side Events)
Hello everyone,
First of all, hope you all had a very nice Christmas, with all the beloved ones.
I'm using some Philips HUE sensors, and I was actually using some of them to turn KNX lights on.
The problem, is that we need to constantly pool the API, which is time and resource consuming for the HUE hub and Comfortclick.
Philips HUE updated the API to the v2, and they have some interesting features, like the events, which allows to keep a constant connection to a data stream, and get realtime updates without the need to constantly pool the HUB.
https://developers.meethue.com/develop/hue-api-v2/migration-guide-to-the-new-hue-api/#Event%20Stream (Login needed to see the API docs)
Side note:
I have to trick the HUB about the sensor. The sensor needs to be active, and for that at least one HUE light has to be linked. But on my case I don't want to turn on any HUE light, but rather a KNX light. For that, I link the sensor to a random HUE light, and set the actions to do nothing when detecting movement (so I can just extract the true motion from the json).
Back to the topic:
So I've tested the curl command, and I really get the realtime updates, and it looks awesome.
Problem: I can see this realtime updates on the Windows console, by using the curl command, as stated on their documentation:
curl --insecure -N -H 'hue-application-key: ' -H 'Accept: text/event-stream' https:///eventstream/clip/v2
But, I would like to do this on ComfortClick. I've tested several options, but none of them worked.
Anyone can eventually enlighten me, if it's doable?
Cannot program KNX with Jigsaw and ETS 6
Hello.
I having big trouble to programming KNX over Jigsaw with ETS 6 when I test for bus it return error but I can see data on bus with diagnostic but wehn I try to program something I got error Connection closed by remote device. Have anybody similar behaviour?
Idea for comment line into a program
I think that to have the possibility of comment a line or section and add comments into a program might be really good. For development of task for example or other reasons.
Change temperatur setpoint for 4 rooms
Hello,
I would like to change the temp set point for at least 4 rooms with one button in CC. That means I have to communicate with at least 4 group addresses.
I'm sure there is an easy solution.
Can anyone support me?
Thank you
André
Release notes update
Hello,
Would it be a big problem to provide precise information about what has changed in a given version?
For example, the latest version has changed the way of presenting modbus type objects in relation to the last upgrade - there is no information about it. Every time an update is a surprise of what's new. We cannot do that for commercial customers.
Andy
Holidays and Vacation input through front-end
Hi,
It seems, after searchign in manuals and forums, there is no ability to allow inputing holidays or vacation days through the BoS app, the only way to input holidays and vacations is through the BOS Configurator.
Is this right_ If so this is weird, not allowing to input a BOS client update its vacations or bank holidays through the front end - or even through an API accessing the typical government site that gives you details of bank holidays.
Has anyone done the above? It feels quite basic
Sonos function (remember now playing)
Hello ervryone,
I have probably a basic question but I don't understand what this function does ?
Any ideas or exemple ?
Push quota exceeded.
Hello
I have new problem with the push function on ios.
Devices : 25.02.2021 22:57:50 : Error : General\Messaging : Error sending iOS push: - Dave 7+ - - Push quota exceeded.
The Push function is limited ?
Thank you
Dave
sorting knx group adress
Hello,
After import KNX group adress into bOS, the sorting is not good.
Can you in the next version sorting by group adress to smallest number to largest number ?
it's useful for commands integration and nothing forget
Calculation task (wrong calculation method coded)
The calculation task does not work when both inputs change at the same time and the output of such input is used for further calculation, this is because the Calculation function, as explained in the manual, and confirmed by the trace log, runs a calculation immediately when one of the parameters in the polynom changes.
Effectively, because in practice the two variables of the polynom do not effectively get updated at the same time, there are a few seconds of difference, probably because bOS serialises tasks rather than parallelise them, then this yields to errors. In summary do not use the calculation task is the variables change at the same time because you will get wrong calculation. This is an interesting bug.....
Example, a water line running a main pipe split in two branches, you do not need three water counters, but just two to know the water consumption of the two branches and the total.
Total water counter A
Partial water counter B
Partial water counter C, the result of subtracting A-B
what bOS incorrectly does
KNX water counter A
KNX water counter B
Calculation task C, which is the result of A-B
When water is used in one of the branches, let's say branch B, then two counters get updated, counter A and counter B, because the counter update do not happen at the same time, but serialised as done by bOS then the sequence is as followed
a) Counter A updated
b) Counter C calculated because one of the variables in polynom changes
c) Counter B updated
d) Counter C calculated again because one of the variables in polynom changes
Because C has changed twice, then if you use the ouput of the calculation as input to a CounterLog, then you will get disastrous results in your Counterlog, the counter log will take the incorrect value calculated in step b as an input, hence contaminating the counterlog.
Because there is no documentation of this, it has taken a significant amount of time to find the root cause that was driving my CounterLog to go nuts, it is just bad this situation happens and it is not documented anywhere. I assume not many integrator are using calculation tasks because to me this is very basic
Customer support service by UserEcho