This section describes the first steps needed in order to use the API. Cloud IoT Core supports the RSA and Elliptic Curve algorithms. The secret key is needed to keep the client-side sessions secure. I’m trying to ge an API key for the Deconz Node Red plug-in but I’m getting stuck. Go to your command line. If you use an OAuth token in your request, the API figures out the client ID for you. (just click on Send again). The API key appears in the text field. Password:********* From now on this API key will be used in further API requests. Überlegt habe ich das über InfluxDB in Verbindung mit Grafana. Topic: POST /api In the response 3 lights where returned. It is a nightmare to use it on any IoT else than Raspberry. deconz xiaomi, Deconz has a very limited list of compatible devices and the integration in Home-Assistant is barely usable. Inside 60 sec, go to Node Red and press Get settings inside your nodes settings ; Now select the “ENABLE” button which manifests after you click the YouTube DATA API link. I have this set up. If deConz was found IP and port is shown now. Not being said the management of the USB sticks is quite random. The only tool needed in this section is a browser with a REST-API client add-on to access the API. With the API key from the last section it is now possible to access the full API. In order to use SSH, you need to: Create an SSH key pair Add your SSH public key to GitLab Creating your SSH key pair. Supported platforms Raspbian Ubuntu Docker Windows 7 Windows 10 Connection If deConz was found IP and port is shown now. Mine is currently set up with Innr lamps, and ikea trådfri/symfonisk remotes. I thought that was the right one to use. You can generate a 2048-bit RSA key pair with the following commands: Enable billing on your project. The response body provides further information about the raised error in the JSON object. Sad that it took me about 36 hours to get here. Nun würde ich dass gerne erweitern und einen wöchentlichen Report erstellen der einmal pro Woche per email an meine Frau geht. The deCONZ application is a tool to configure, control and monitor Zigbee networks with the ConBee II. You can generate some random key as below: >>> import os >>> os.urandom(24) '\xfd{H\xe5<\x95\xf9\xe3\x96.5\xd1\x01O advanced, and there should be something about third party access. Port: 40850 Since the API key setting up is just a one time thing you can remove the inject/request/debug thing again. Set up an inject node on JSON input, based on the following: http://dresden-elektronik.github.io/deconz-rest-doc/configuration/#aquireapikey , then wire it to an http-request node set to your phoscon/deconz install, and the output to a debug node. Next, install the deconz nodes from the palette in node-red: https://flows.nodered.org/node/node-red-contrib-deconz. Use authentication: An alternative just came up. The only thing that saved that USB dongle is just started becoming compatible with zigbee2mqtt. Create and add your SSH key pair. Use the IP address and the port of your gateway that you got during discovery. Type: basic authentication OMR (Ole Morten Rønning) June 9, 2018, 6:59pm #7. Dieser Key lässt sich schwer finden, da er nicht auf Youtube zu finden ist. install node-red-contrib-deconz through Node Red palette Step 4. Go to the Credentials page On the Credentials page, click Create credentials > API key. If deConz was found IP and port is shown now. Also need to move the deCONZ REST API away from port 8080. This is proberbly because of some updates this is possible. Websocket Port: 8081 report. Dimming is done the same way as sending on/off by using the bri parameter; additionally specify a transition time in 1/10 seconds. There are various free clients available; please pick one for your favourite browser in the browser add-on section. Start adapter; Enter ip address for deConz; Enter port number, standard is 80. If you like the service you can purchase more credits. The next section describes getting the API key in more detail. As described in the section Authorization unlock the gateway as follows: See: Phoscon App — Advanced Gateway Settings. For details, see enable APIs. If a deCONZ API key is available because it has already been created manually, it can also be entered as a configuration value. save. Export and import. (email shots gehen aber nur in der Enterprise version glaube ich). Read documentation of deConz/Phoscon, look at links section. All rights reserved. Running from docker-compose was the easiest for me. Any client that wants to access the API must provide a valid API key otherwise the access will fail. The API key is an optional value. The following example dims the light in 5 seconds down. If you are using Hass.io, deCONZ should be available on Hass.io Addons. In a new browser tab open the Phoscon App, The light id is a key in the response object and the related value is a further object. You install Deconz on the same device, or another if you prefer. In diesem Video wird gezeigt, wie man einen Youtube-API-Key für Server erstellt. Click on "Create API key" Enter username (Standard is delight) Enter password (is set during first login on Phoscon APP) Thank you for the quick response. If you installed it from docker, it will include the rest API. Turned out the Hue-Binding couldn’t find deCONZ when it was on a non-standard port. 100% Upvoted. It proved to be impossible to get an API key using the Magick get settings button, but I found the key in the log and added it. All trademarks are property of their respective owners in the US and other countries. The error you’re seeing means the deconz node can’t connect to your setup. To get the detail of a light do a GET request to /api//lights/ as follows. Within 60 seconds after unlocking the gateway, go back to the REST client and repeat the acquire API key request as before. There are serval things to note here. I still have no idea how you got it to work though, but I very much appreciate you took the time to respond. I already run Domoticz using a Synology package and a couple of docker containers. To get started with the Voice RSS Text-to-Speech (TTS) API please get API key. This post was a big push in the right direction for me. If I’m guessing, it’s the internal ip address on your machine within docker to communicate between containers. Once the migration is over, you can revoke access by clicking the "Revoke" button next to the corresponding API key: Important: do not revoke the API token when the migration is in progress. default. sudo sh -c "echo 'deb [arch=amd64] http://phoscon.de/apt/deconz \ $ (lsb_release -cs) main' > \ /etc/apt/sources.list.d/deconz.list". Adding your SSH public key to GitLab. Set up a Google Maps API key. Otherwise the field can be left empty and the binding will generate the key automatically. Wollte das Ganze mit dem homebridge plugin "homebrdige-deconz" umsetzen, allerdings scheitere ich daran den API Key zu generieren. The ip adress I tried to use in the first place, is that ip in the top right corner in Phoscon. In the request body set the on value to true or false to turn the light on and off. It’s best practice to use Git over SSH instead of Git over HTTP. Setup server on this node (Press the pencil button in the nodes settings) Is available also a rest api click here for more information. The next step is adding a temporary part to your flow, or do it over curl instead if you prefer that. Follow the Get an API Key guide to get, add, and restrict an API key. wget -O - http://phoscon.de/apt/deconz.pub.key | \ sudo apt-key add -. In the response 3 lights where returned. Nun würde ich diese Sesoren einfach noch gern in meine Home App einbauen. And the Syno App doesn’t seem to be updated frequently. To do some more advanced things with this API please refer to the API Endpoints documentation on the left side menu. For details, see create a billing account. Go to Phoscon in advanced settings and press Authenticate app Ids are strings and even if they contain numbers never expect them to be “1”, “2”, “3”, … if the user removes light “2” the list will become “1”, “3”. the homey app wont get an api key from deconz, i have activated the "authenticate app" button in deconz/phoscon then pressed the auto discovery in the homey app, it says "successfully autodiscovered gateway" but if i try to add a device, it asks me to go to the app settings and fill in all fields,