Pretty sure this is the new schedule. 1 week development, 1 week beta testing, 1 week release candidate debugging. So a release every three weeks or so now.
ditto here:
2019-06-27 11:01:51 ERROR (MainThread) [pyhaversion] Timeouterror fetching version information from PyPi
along with may other timeout errors…
thought this to be caused by my sensor:
# - platform: rest
# resource: https://pypi.python.org/pypi/homeassistant/json
# name: HA upstream
# value_template: >
# {{ value_json.info.version }}
# scan_interval: 28800
but even with this commented out, the error keeps bugging the log…
I have no other hand made sensors using the Pypi package, so would this originate form Ha itself?
have you found the reason/solution yet?
Hi guys
I’m trying to configure azure iot hub but i don’t know where to find the required information
event_hub_namespace: NAMESPACE_NAME
event_hub_instance_name: EVENT_HUB_INSTANCE_NAME
event_hub_sas_policy: SAS_POLICY_NAME
event_hub_sas_key: SAS_KEY
I already created in azure portal the IoT hub, but don’t know where are the required informations
This assumes you already have a Azure account. Otherwise create a Free account here.
You need to create a Event Hub namespace and a Event Hub in that namespace, you can follow this guide. Alternatively you can directly deploy an ARM template with the namespace and the Event Hub from here.
You must then create a Shared Access Policy for the Event Hub with ‘Send’ claims or use the RootManageAccessKey from your namespace (this key has additional claims, including managing the event hub and listening, which are not needed for this purpose), for more details on the security of Event Hubs go here.
Once you have the name of your namespace, instance, Shared Access Policy and the key for that policy, you can setup the integration itself.
Docs seem to cover it.
I created the hub with this template and set:
azure_event_hub:
event_hub_namespace: TestHubOLN
event_hub_instance_name: ehnoln
event_hub_sas_policy: sendpolicy
event_hub_sas_key: xxx
sendpolicy is sas for TestHubOLN. Then i copied sas_key from primary key of this sendpolicy. When i check config ins hass i got
Invalid config for [azure_event_hub]: required key not provided @ data['azure_event_hub']['filter'].
Got None. (See /config/configuration.yaml, line 17).
Please check the docs at https://home-assistant.io/components/azure_event_hub/
Line 17 is azure_event_hub:
Check your indent spacing
i changed to
azure_event_hub:
event_hub_namespace: TestHubOLN
event_hub_instance_name: ehnoln
event_hub_sas_policy: sendpolicy
event_hub_sas_key: xxx
and now after config check got
Invalid config for [azure_event_hub]: required key not provided @ data[‘azure_event_hub’][‘event_hub_instance_name’]. Got None
required key not provided @ data[‘azure_event_hub’][‘event_hub_namespace’]. Got None
required key not provided @ data[‘azure_event_hub’][‘event_hub_sas_key’]. Got None
required key not provided @ data[‘azure_event_hub’][‘event_hub_sas_policy’]. Got None
required key not provided @ data[‘azure_event_hub’][‘filter’]. Got None. (See ?, line ?). Please check the docs at Azure Event Hub - Home Assistant
Integration not found: event_hub_sas_policy
Integration not found: event_hub_instance_name
Integration not found: event_hub_namespace
Integration not found: event_hub_sas_key
No!
azure_event_hub:
event_hub_namespace: TestHubOLN
event_hub_instance_name: ehnoln
event_hub_sas_policy: sendpolicy
event_hub_sas_key: xxx
and config check
Invalid config for [azure_event_hub]: required key not provided @ data[‘azure_event_hub’][‘filter’]. Got None. (See /config/configuration.yaml, line 17). Please check the docs at https://home-assistant.io/components/azure_event_hub/
Maybe i’m putting wrong data:
That error is stating you’re missing the “filter” configuration option, even tho per the docs filter is labeled optional.
So you’re best course of actions would be to:
- Submit an issue about the component on github
- Add filters for now so you can use the component
The source code seems to indicate it is required. See line 34 here
https://github.com/home-assistant/home-assistant/blob/68edf10270ba61bd52d3e9e123f2cbe213a36559/homeassistant/components/azure_event_hub/__init__.py
So either the source is wrong or the documentation is wrong.
coin flip
Nice. Progress has definitely picked up. Now let’s see … the 1wire “owserver” can do zeroconf, I have an open project to write an improved owserver-using 1wire component, and if we tie all of this together you should be able to auto-discover all your 1wire thermometers. Anybody want to help code the thing, please get in touch, I’d like to get this in before 1.0.
Docs fixed now.
I added the filter and now is working. Thank you.