Generating an RSA key. Read documentation of deConz/Phoscon, look at links section. The only output I get from my debug i something like this: My flow setup variations of something like this: In the response 3 lights where returned. The secret key is needed to keep the client-side sessions secure. Voice RSS allows your application to deliver auditory information via Text-to-Speech (TTS) API without any software installation! Next, install the deconz nodes from the palette in node-red: https://flows.nodered.org/node/node-red-contrib-deconz. The response body shows that the gateway has the IP address 192.168.192.32 and the API Click on "Create API key" Enter username (Standard is delight) Cloud IoT Core supports the RSA and Elliptic Curve algorithms. Supported platforms Raspbian Ubuntu Docker Windows 7 Windows 10 Connection Turned out the Hue-Binding couldn’t find deCONZ when it was on a non-standard port. From now on this API key will be used in further API requests. Mine is currently set up with Innr lamps, and ikea trådfri/symfonisk remotes. Start adapter; Enter ip address for deConz; Enter port number, standard is 80. Hab den dresden elektronik deconz usb stick für meinen Raspberry zugelegt. Added this: The API key has a limited number of credits and you can use it for development purposes only. Once this runs, go into the Phoscon web interface -> advanced, and there should be something about third party access. The API key created dialog displays your newly created API key. I thought that was the right one to use. Configure the APT repository for deCONZ. 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. This document doesn’t cover the API access through a programming language since everybody may have its favorite language. The request must contain a JSON object with the required field devicetype. With the API key from the last section it is now possible to access the full API. Set it up with the API key you just got. IP and port will be saved automaticaly; Alternative: Close configuration and open again. Since this API makes requests to the Iso4App Webservice you need to register to get your API key. Follow the Get an API Key guide to get, add, and restrict an API key. All trademarks are property of their respective owners in the US and other countries. As described in the section Authorization unlock the gateway as follows: See: Phoscon App — Advanced Gateway Settings. report. Follow the instructions to generate your SSH key pair. Not being said the management of the USB sticks is quite random. There are serval things to note here. Grafana Dashboards can easily be exported and imported, either from the UI or from the HTTP API.. Exporting a dashboard. Dimming is done the same way as sending on/off by using the bri parameter; additionally specify a transition time in 1/10 seconds. 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, The ip adress I tried to use in the first place, is that ip in the top right corner in Phoscon. Here you'll find documentation and technical details about using Text-to-Speech (TTS) API: Text-to-Speech (TTS) API documentation. Drag a deconz-event node into your flow and set up the configuration, pointing it to your Phoscon install. To do some more advanced things with this API please refer to the API Endpoints documentation on the left side menu. To acquire an API key send a POST request to /api as follows. © Valve Corporation. The reason why the request failed is that the gateway was not unlocked. This integration depends on the HTTP integration. install node-red-contrib-deconz through Node Red palette You install Deconz on the same device, or another if you prefer. Also need to move the deCONZ REST API away from port 8080. User: Zigbee-GW Start adapter; Enter ip address for deConz; Enter port number, standard is 80. If you deploy, the deconz-event will now give a message on every event deconz outputs, including but not limited to sensor values and battery levels of connected devices. Name: Conbee II The API key is an optional value. I then added the node-red-contrib-deconz nodes in Node Red. save. Sad that it took me about 36 hours to get here. I thought that was the right one to use. 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. Powered by Discourse, best viewed with JavaScript enabled, https://flows.nodered.org/node/node-red-contrib-deconz, http://dresden-elektronik.github.io/deconz-rest-doc/configuration/#aquireapikey. Überlegt habe ich das über InfluxDB in Verbindung mit Grafana. Have you verified in your browser that on http://172.30.33.2:80 your phoscon setup is located? Dieser Key lässt sich schwer finden, da er nicht auf Youtube zu finden ist. Enable billing on your project. Datei hochladen und mit Objekt verknüpfen. A restart of Home Assistant and all my zigbee devices are found in the list. This will stop the data import|export. I have added the config as suggested in the Deconz page in HASSio and gone to the Phoscon page to enable API discovery for 60 seconds but I can’t get the API to complete in node red. SECRET_KEY = … Set up a Google Maps API key. The following sections describe the installation steps of deCONZ for various platforms. wget -O - http://phoscon.de/apt/deconz.pub.key | \ sudo apt-key add -. To get the detail of a light do a GET request to /api//lights/ as follows. 100% Upvoted. Hab auch schon zwei Sensoren hinzugefügt. In the Cloud Console, enable the Maps SDK for Android on your project. For Firefox the REST Client is another popular client. The only thing that saved that USB dongle is just started becoming compatible with zigbee2mqtt. I already run Domoticz using a Synology package and a couple of docker containers. On the top left corner, click the Google APIs link and then follow the link option dubbed “YouTube DATA API” below the YouTube API’s icon. There are various free clients available; please pick one for your favourite browser in the browser add-on section. This mechanism is needed to prevent anybody from access to the gateway without being permitted to do so. The following sections describe the installation steps of deCONZ for various platforms. IP and port will be saved automaticaly; Alternative: Close configuration and open again. The next step is adding a temporary part to your flow, or do it over curl instead if you prefer that. OMR (Ole Morten Rønning) June 9, 2018, 6:59pm #7. Polling, sec: 15. Läuft soweit wunderbar. Within 60 seconds after unlocking the gateway, go back to the REST client and repeat the acquire API key request as before. Websocket Port: 8081 This time the request succeded with HTTP status 200 OK. All rights reserved. The following example dims the light in 5 seconds down. ; Now click the blue button on the far right with the “Go to Credentials” phrase. The solution though, was quite different. The only tool needed in this section is a browser with a REST-API client add-on to access the API. Deploy, go back to the phoscon settings page and click the authenticate button, then inject on the flow and copy the api key from the debug sidebar. Fill in the name you want to assign to your project. If you like the service you can purchase more credits. Step 4. I still have no idea how you got it to work though, but I very much appreciate you took the time to respond. Inside 60 sec, go to Node Red and press Get settings inside your nodes settings (email shots gehen aber nur in der Enterprise version glaube ich). If you installed it from docker, it will include the rest API. default. Export and import. Thank you for the quick response. For details, see create a billing account. But this is complicated to maintain. Inject node: Is available also a rest api click here for more information. As first step the gateway IP address and port must be found. If I’m guessing, it’s the internal ip address on your machine within docker to communicate between containers. The API key appears in the text field. In diesem Video wird gezeigt, wie man einen Youtube-API-Key für Server erstellt. For details on key formats, see Public key format. Type: basic authentication Wollte das Ganze mit dem homebridge plugin "homebrdige-deconz" umsetzen, allerdings scheitere ich daran den API Key zu generieren. To get started with the Voice RSS Text-to-Speech (TTS) API please get API key. 40850/tcp deCONZ API backend 5900/tcp deCONZ via VNC 8081/tcp deCONZ WebSocket. added a get node to my flow (Could be any deconz node I quess) Dashboards are exported in Grafana JSON format, and contain everything you need (layout, variables, styles, data sources, queries, … In the request body set the on value to true or false to turn the light on and off. There are serval things to note here. Introduction¶. Password:********* Click on "Create API key" Enter username (Standard is delight) The next section describes getting the API key in more detail. If not, edit the address so that it matches, and make sure the port is correct too. The REST-API allows third party applications easy monitoring and control of a Zigbee network from local or remote operating clients. You'll have to re-authorize and … The returned HTTP status is 403 Forbidden. Use authentication: Debugging integration Now the gateway is unlocked for 60 seconds. With the API key from the last section it is now possible to access the full API. If a deCONZ API key is available because it has already been created manually, it can also be entered as a configuration value. In the response body the new API key is in the field username. Setup server on this node (Press the pencil button in the nodes settings) To get a list of all available lights run a GET request to /api//lights as follows. URL: 172.30.33.2 Drag a deconz-event node into your flow and set up the configuration, pointing it to your Phoscon install. The api integration exposes a RESTful API and allows one to interact with a Home Assistant instance that is running headless. Any client that wants to access the API must provide a valid API key otherwise the access will fail. This is proberbly because of some updates this is possible. Read documentation of deConz/Phoscon, look at links section. The ip adress I tried to use in the first place, is that ip in the top right corner in Phoscon. So I decided to get myself a Raspberry Pi 4 and run everything … Continue reading "Raspberry Pi 4 doing domotics" You can generate some random key as below: >>> import os >>> os.urandom(24) '\xfd{H\xe5<\x95\xf9\xe3\x96.5\xd1\x01O API key. It will be greatly appriciated. I still have no idea how you got it to work though, but I very much appreciate you took the time to respond. This post was a big push in the right direction for me. To get a list of all available lights run a GET request to /api//lights as follows. Topic: POST /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. In the following steps Postman for Chrome from the Google Webstore will be used. - tried adding the deconz: integration in the config.yaml file - tried changing the ports for the deconz docker. This documentation describes the deCONZ REST-API, which is provided by the deCONZ REST-API Plugin on Github that runs a lightweight HTTP server within the deCONZ application on the Raspberry Pi.. However I have tried numerous combinations of setups/inputs in my Node Red flow to acquire the API key from Phoscon with no luck so far. In the response 3 lights where returned. I got it to work about 10 minutes ago + the time to write this post Go to Phoscon in advanced settings and press Authenticate app I have this set up. I am new here and I just tried to use the deconz Addon but I don’t know how to set up this Addon (like the IP address and API key) Thank you for your Attention and future help curlyel (Curlyel) January 16, … deconz install, Installation The deCONZ application is a tool to configure, control and monitor Zigbee networks with the ConBee II. New replies are no longer allowed. all the of the above still couldn't get the API key. If you are using Hass.io, deCONZ should be available on Hass.io Addons. Otherwise the field can be left empty and the binding will generate the key automatically. Running from docker-compose was the easiest for me. Go to Settings → Gateway → Advanced → Authenticate app in the Phoscon App and then use the deCONZ configurator in Home Assistant frontend to create an API key. debug node: This topic was automatically closed 60 days after the last reply. hide. This section describes the first steps needed in order to use the API. Installation. Adding your SSH public key to GitLab. Set it up with the API key you just got. The deCONZ application is a tool to configure, control and monitor Zigbee networks with the ConBee II. And the Syno App doesn’t seem to be updated frequently. Use the IP address and the port of your gateway that you got during discovery. http request node: If deConz was found IP and port is shown now. Can you (@afelix) or anyone else be more specific on what text goes where? Dateien sind in i-doit ebenfalls Objekte. To identify your application to the API, every request must include your application’s client ID, either explicitly or implicitly by including an OAuth token. share. deconz xiaomi, Deconz has a very limited list of compatible devices and the integration in Home-Assistant is barely usable. If you are new to REST APIs please read the About REST section first. If you use an OAuth token in your request, the API figures out the client ID for you. The error you’re seeing means the deconz node can’t connect to your setup. 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”. 1 comment. Nun würde ich diese Sesoren einfach noch gern in meine Home App einbauen. 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. Click on "Create API key" Enter username (Standard is delight) Enter password (is set during first login on Phoscon APP) Port: 40850 An alternative just came up. is reachable through port 8080. If deConz was found IP and port is shown now. It’s best practice to use Git over SSH instead of Git over HTTP. This is "JSON API Key Erstellen Google Play Console (3).mov" by Project Management - Sensorberg on Vimeo, the home for high quality videos and the people… In some Rest clients it is mandatory to put ‘http://’ in front of the IP address of the gateway. Payload: { "username": "", "devicetype": "Phoscon-GW"} Stable. # Example configuration.yaml entry api: For details to use the API, please refer to the REST API in the “Developer” section. If the above request doesn’t work, there are several other ways to find the gateway IP address as described in Discovery. Deploy, go back to the phoscon settings page and click the authenticate button, then inject on the flow and copy the api key from the debug sidebar. Create and add your SSH key pair. I’m running HA in docker, so I installed deCONZ as a separate container. Go to your command line. Since the API key setting up is just a one time thing you can remove the inject/request/debug thing again. Methoden: cmdb.object.create und cmdb.category.create Kategorien: Dateien → Dateiversionen und Dateien Ziel ist es eine bestehende Datei test.txt in i-doit hochzuladen und diese mit einem neuen Server-Objekt zu verknüpfen. Method: POST When you’re done setting up deCONZ it will be stored as a configuration entry. Log in or … I’m trying to ge an API key for the Deconz Node Red plug-in but I’m getting stuck. It is a nightmare to use it on any IoT else than Raspberry. OMR (Ole Morten Rønning) June 9, 2018, 2:19pm #6. You can manually add deCONZ by going to the integrations page. To turn a light on/off do a PUT request to /api//lights//state as follows. The response contains not a list like [ ] of lights but a object { } with key… sudo sh -c "echo 'deb [arch=amd64] http://phoscon.de/apt/deconz \ $ (lsb_release -cs) main' > \ /etc/apt/sources.list.d/deconz.list". For details, see enable APIs. 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. I wonder if anyone has had this issue? IP-Address: 192.168.1.114 (The address of Home Assistant) Nun würde ich dass gerne erweitern und einen wöchentlichen Report erstellen der einmal pro Woche per email an meine Frau geht. This could be achieved by doing a GET request to https://phoscon.de/discover. ; Now select the “ENABLE” button which manifests after you click the YouTube DATA API link. If deConz was found IP and port is shown now. The service uses the device public key (uploaded before the JWT is sent) to verify the device's identity. (just click on Send again). The response body provides further information about the raised error in the JSON object.