Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105807

Proteus sensor api integration

$
0
0

Hi there

I’m trying to get a ultrasonic level sensor to work with homeassistant and am failing with hacking everything into my configuration.yaml.

How should a working config.yaml look like?
The description of the API is found here: Proteus API

Looking forward to see any suggestions.

My current yaml looks like this:

rest:
  resource: http://aes-gate-ecofrog.azurewebsites.net/Api/FuncDevice
  method: POST
  headers:
    Content-Type: application/json
  payload: '{ "DeviceRequest": {"Username": "xyz", "Email": "xyz", "SecurityStamp": "xyz", "DeviceID": "xyz" }}'
  scan_interval: 60
  sensor:
    - name: "Oelstand"
      value_template: "{{ value_json.ActualVolume}}"
      json_attributes_path: "$.ActualVolume"
      json_attributes:
      - "ActualVolume"

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105807

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>