I just ran across this while trying to troubleshoot my Owlet tonight. Thank you!
Would it be possible to update the repository so it can be installed and updated via HACS? When I try to add it I get “Repostitory (sic) structure for master is not compliant”. Looking at other repos, I think you maybe just need to nest the owlet directory in a “custom_components” directory, and maybe add a resorces.json file in root.
@Brendan_McSorley I am not seeing this in my environment. What version of HA are you using? What version of the sock are you using? Do the other sensors get created properly?
I am not sure where those entities are being created from. Those do not exist in my implementation of Owlet.
My guess is there are differences with the Sock 3 vs Sock 2. There is really not any more logging that can be turned on.
Truth be told, I don’t use the sock anymore and I’m just trying to keep this thing running as is. I’d be happy to have someone fork this and take over updates moving forward.
I would love to give it a try. It looks like the authentication portion still works. Do you have a recommendation on how I could start to reverse engineering the api to get the new properties?
Logger: homeassistant.components.sensor
Source: custom_components/owlet/sensor.py:145
Integration: Sensor (documentation, issues)
First occurred: 20:48:01 (1 occurrences)
Last logged: 20:48:01
Error while setting up owlet platform for sensor
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 250, in _async_setup_platform
await asyncio.shield(task)
File “/usr/local/lib/python3.8/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/owlet/sensor.py”, line 286, in setup_platform
for SmartSockDSN in Owlet.devices:
File “/config/custom_components/owlet/sensor.py”, line 193, in devices
self.get_devices()
File “/config/custom_components/owlet/sensor.py”, line 168, in get_devices
r = self.api_get(“/devices.json”)
File “/config/custom_components/owlet/sensor.py”, line 145, in api_get
headers={“Authorization”: "auth_token " + self.__OWLET_TOKEN},
TypeError: can only concatenate str (not “tuple”) to str
Don’t think so. I’ve been messing around with both this one and the one over here:
Neither seem to be able to connect the sensors although with the jlamendo setup I can register that the owlet is connected. Just can’t seem to get any of the sensors to work.
My suggestion is to understand the Owlet sock & cam even though are great ideas is a terrible execution. My Owlet sock integration stopped a long time ago and I don’t even use the sock anymore. Honestly I wish my mother-in-law didn’t even give me the kit and I would of bought a cam with better integration.
I actually do my best to turn everyone away from owlet after the terrible phone call with their support line where they told me to share my account username and password for others to see the cam. I’m a security expert and this is complete BS!
I’ve tried to make the integration as easy to use as I could, integration is setup using the UI rather than yaml, also supports reauthentication. Currently I’ve only allowed support for the V3 sock (also known as the dream sock in USA/Canada) if anyone has a V2 sock and is happy to provide the JSON responses they get from the API I would be happy to include support for the V2 sock.
I have submitted pull requests to get this included as a default HACS repository and to get it included in HA core but am waiting on both. Have been using this myself via HACS for several months with no issues. If any bugs are found please open an issue on the repo Issues · ryanbdclark/owlet (github.com)