Enter forum description here ...
+11
Under review

Is Google assistant on the roadmap of Comfortclick?

Fred Hartman 4 years ago in bOS Configurator / Devices updated by Benjamin H Najarian 1 year ago 56

Will the google assistant being supported by comfort click?

regards,
fred

+9

smatr TV

imperialbms 4 years ago in Devices / Basic 0

Has anyone tried to link confortclick with samsung tv? What communication parameters do you use?

+7
Under review

Blinking HUE lights (new feature for your projects)

Ricardo Pinto | visiontech.pt 1 year ago in Devices / HUE updated 1 year ago 7


Hello everyone,


If you're kind of like me, you'll never be satisfied with the basic implementations of your systems.


So today, I've decided to explore the Philips HUE official API.


I know that bOS has already implemented HUE control, but I wanted to use some cool features that are kind of hidden on normal apps: blinking lights!


The purpose of this implementation, is using Philips HUE blinking lights for multi purposes, like blinking when someone rings the door, etc.


You can rely on IFTTT to do that, using the WebHooks, but if you're like me, prefer to keep the most on local network and don't depend on external services.


In this example, what you'll get:


- Access Philips HUE API to create a username key

- Extract the username key

- Create a HTTP device on bOS

- Create a command to send the blinking command to Philips HUE hub


Suggestions: access your Philips HUE app, disable DHCP, and place a fixed IP address on your network so you can point to the correct IP address every time.


Step 1:


- Access the Philips HUE IP address

https://hub_address/debug/clip.html

- Create a username key

URL: /api

Message Body: {"devicetype":"comfortclick#dev"}

Click on the hub link button (the top round button on the hub with Philips written on it)

Click on POST


- Extract the username:


Copy the given username to a safe place, you'll need it for every command.

On my implementation, I want to blink all the lights on a specific light group, so I'll fetch the group number.


Step 2:


- Get the group ID's

URL: https://hub_address/api/your_username/groups

Message Body: leave the message body empty

Click on GET


In my case, the light group I want is ID 1


- Test the communication


URL: https://hub_address/api/your_username/groups/1/action

Message Body: {"alert": "select"}

Click on PUT


If it blinks once, perfect. Now you're ready to move to bOS.


There's two available commands for blinking: just once, or several. Depending on what you want, you'll have to change the Message Body for the correct code:


{"alert": "select"} will cause a short blink
{"alert": "lselect"} will cause several seconds of blinking

If you need to blink several times, you'll need to use {"alert": "lselect"} on the Message Body.


Step 3:


- Create HTTP device on BOS


Enable the HTTP device

Host URL: https://hub_address/api/your_username/groups/1/action

Create a Command, call it "Blink HUE"

Change the command method type to PUT

On Put Data, insert: {"alert": "lselect"}


That's it! Use the command as you want on your project.


On my case, I have the hue blinking when someone rings at my door.


If you want to explore other possibilites, please read the Philips HUE API, available for free. You can do the same on single lights, etc.


I'll post the example on the Examples Page of Comfortclick.

Btw, don't forget to at least say thanks! Most of us here, are either professionals or simple home users. I notice that most of the times someone posts something interesting, no one really cares. So don't just use the examples and don't pretend that you don't care. A simple "Thanks" is more than enough. Don't forget that every example posted here is not paid, it mostly depends on the time and patience of some members.

Happy easter.


Best regards

+6
Under review

mqtt Integration

Miguel Paredes 1 year ago in Devices / Other updated by Martin Schär 7 months ago 4

any plans on adding MQTT to comfortclick?

+5

NetAtmo weather station and Welcome integration

Rait Lotamõis 4 years ago in Devices / Http updated by ComfortClick ComfortClick 2 months ago 22

I'm so happy about getting my NetAtmo integration working, that I wanted to share it with the rest of you people.


This is the device itself


All you need to do is enter the values for strings in the "Settings" section of the device, and you will immediately get the values from one indoor and one outdoor module (which is the typical starter package setup.)  If you have more stations and/or modules then you can easily access them by just duplicating the existing values under the "Weather Station" query and changing the instance number in their "Token name." 


For example: default indoor temperature value = body.devices[0].dashboard_data.Temperature

indoor temperature value for next weather station = body.devices[1].dashboard_data.Temperature


and for modules:


temperature of first module of first station = body.devices[0].modules[0].dashboard_data.Temperature

secondary module of first station = body.devices[0].modules[1].dashboard_data.Temperature


I've also included a WIP section for the NetAtmo Welcome camera. I have yet to figure out how to track persons per name, since their position in the table is always changing.


+4

HEX for text

imperialbms 4 years ago in Devices / Basic updated by Dániel Czibolya 6 months ago 1

I'm new, and I'm having trouble displaying the current text from the DENON AVR amplifier. The text is only displayed in HEX format, do you know how much this value can be converted to text?

+4

anyone using amazon echo?

Andy Gill 5 years ago in bOS Configurator / Devices updated by Jose Puig 3 years ago 8

just got an Echo and it impressive, anyone working with it and BOS?

+3
Under review

RegEx Parsec

Marco Magnani 3 years ago in Devices / Http updated 3 years ago 5

Dear,

I try to use RegEx to collect some value data of my weather station (WS) from an HTML page. Unfortunately, the weather station doesn’t support API or XML, so from Http Device I import with success the WS html page in text and after I use RegEx to parsec it

The problem is that the RegEx implemented in bOS seams don’t manage the Capturing Group (in the picture is the $1) but only the matched string.

What I did was to select a specific part of the html imported page (the highlighted in the picture in green) and after extract the number 51 that is the value that I need to collect and associate to the integer variable in bOS as reported in the piture

Due to the WS uses almost the same html code to provide other sensors values ( e.g. for Outdor temp: <td bgcolor="#EDEFEF"><input name="outTemp" disabled="disabled" type="text" class="item_2" style="WIDTH: 80px" value="26.7" maxlength="8"></td>

I had to select the part of html code that contains the specific value number that I need to collect and use the capturing group to extract from the selected html code part the sensor value, but this regex sentence in bOS it seams doesn’t work

Can you help me to manage this issue or implement in bOS a way to manage the Capturing Group, please?


Marco


+2

Connection to Siemens PLC

hvalec93 4 months ago in bOS Configurator / Devices updated by Calin Birtocean 4 months ago 2

Hi,

I have been tryin to estabilish connection between Siemens S-7 1200 PLC & Grinder, I have tried with tcp/ip connection and modbus, but no success.

I am trying to read bool values and writing them.

Have anyone had any success with this type of aplication?

+2
Under review

Communication KNX secure IP

CS Domotic CS Domotic 5 months ago in Devices / KNX updated by ComfortClick Support 5 months ago 1

Is comfortclick expected to be KNX secure compatible?