ptdalen
It is intentional. There are times when there are several messages in the info field and it helps to separate them.
I did not have time to set up logging when I got home. But I did quickly install 1.01. Iâve left my house. Same issue. I guess 1.0.1 was not any better for me after all.
When I left work to day. It stayed in my work zone until I got home. I will try to get logging turned on tomorrow so we can figure out whatâs going on.
Quick question about the waze integration. Does it use information from the HA waze component, or the iOS Waze install. Again, I still have not been able to really look at logs or enable logging, but have paid attention to how this has been acting, and Iâm sure itâs not related, but I just seem to have other âunrelatedâ odd things happening in my HA instance.
So, last night I was away from home for a while, and the stationary zone was created. It did take more than an hour to create, and I never went to away from leaving home, but⌠at least it created the zone. When I left the stationary zone, it did go to away, and when I got home, it changed to home. it took a couple minutes longer than my HA iOS app to report home, but at least it changed.
Today, same as yesterday, left home, never went to away, 2 hour poll, then changed to work.
I have a few alerts that run at home based on some waze sensors. They are based on my device device tracker to work, and let me know when I should leave. Today for the first time I can remember, it failed to run. Not sure why yet.
Thatâs all I have, just wanted to ask to make 100% sure. In the app I need tohave âupdate sourcesâ all checked, not any of the location notifications checked, right?
iCoud3 v1.0.3 Device Tracker released Thursday, 3/28/2019
Download it from the iCloud3 Github Repository.
- This is a minor bug fix release.
So I loaded this and still having issues, I still have not done logging yet. I turned on logging, but had not had a chance to run the script and came home to a giant log file. Wow, I need to configure the loggint to only include this data otherwise iâll run out of disk space in a day or two (well it seemed that way anyway).
But I did notice something this morning, before I disabled this component once again since it seems to cause issues with my automations. I have 4 device trackers, The iOS app, life 360, google location sharing, and this one. I also am using the composite device tracker custom component. The custom component is set to use the life 360 and google location sharing only.
I also have 6 waze sensors set up, one of them uses two device trackers, One as source and one as destination. It works pretty well, and I use it as a condition for a few automation. Like dont run this aurtomation if I am less than 2 minutes from the other device tracker (usually that means we are together).
I do not have this icloud 3 component set up to use any of my sensors, routines, automations, etc. I just loaded the compont, and have been watching how it works.
So I noticed this situation this morning. My wife went to work. Every device tracker (other than icloud3) showed her change to away, then to her work zone. Icloud3 showed her at home. Now here is the part that I donât understand. The waze sensors that were based on my wifeâs phone that have no connection to the icloud3 component were showing distances and times as if she was still home.
just for clarification
# Commute to AVIS
- platform: waze_travel_time
name: Time to WORK Tracy
origin: device_tracker.tracy_all
destination: zone.work2
region: 'US'
# Tracys commute to Home
- platform: waze_travel_time
name: Tracys Time to Home
origin: device_tracker.tracy_all
destination: zone.home
region: 'US'
tracker.tracy_all is the combined tracker that only includes life360 and google location sharing, but both of the sensors above acted as if she was home.
The tracker.tracy_all state was her work.
So does this component some how override waze somehow?
Are version numbers on line 47 always one version back on purpose?
ptdalen
iCloud3 looks at 2 items to determine if you have left a zone:
- the ios app âGeographic Zone Exitâ notification
- The device_tracker.devicename state change where devicename is the name of the device in the ios app that has also part of the iCloud account and has been setup in the configuration file using an include_device or include_device_type parameter.
Regarding Waze, It calls the python Waze Route Calculator program giving it the GPS coordinates of the From and To locations using the same technique as the device tracker Waze platform. They have nothing to do with each other.
thermseekr
The version number is behind because I forget to change it before I upload it to github.
Hello! first of all thank you for your fantastic job! i have a small issue. I dont know why i am not able to get work the input boolean template:
when i create the card i get this icon:
Any idea? thanks!
patapalo
Iâm glad iCloud3 is working for you.
Regarding your questionâŚDo you have the custom_ui custom component installed?
Custom component isdescribed here
Installation info is described here .
I did manual installation as described at the end of the document. I copied state-card-custom-ui.html, state-card-custom-ui.html.gz state-custom-card-ui-es5.html & state-card-custom-ui-es5.html.gz into my /www/custom-ui directory and put the following in my configuration.yaml.
customize_glob:
input_boolean.*:
custom_ui_state_card: state-card-custom-ui
There is a lot more that you can do with it. All Iâm doing is to change the icons and icon color based on the entity state. The icon color change stopped working around HA 0.89 but changing the icon still works.
Good luck. Thatâs about all I know.
And thatâs all? still not being able to get the card works. I did all you say apart from put this in my configuration.yaml:
in my customize.yaml i have this:
And this is pretty much i did.
Could you be so kind to post your card alternative editor? Mine is like this:
itâs already working! thanks!
@gcobb321 Iâm getting the error message
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/device_tracker/__init__.py", line 184, in async_setup_platform
disc_info)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/icloud3/device_tracker.py", line 359, in setup_scanner
self._LOGGER_error_msg(log_msg)
NameError: name 'self' is not defined
and I canât see what Iâve done wrong. Iâve gone back and striped out icloud3 and re-stalled, but canât for the life of me see what Iâve done wrong, any thoughts?
Hi,
problem with the new HA version - 0.92.
Component not loaded.
You can make it work by adding the file: manifest.json to the folder.
The file should contain:
{
âdomainâ: âicloud3â,
ânameâ: âicloud3â,
âdocumentationâ: âhttps://github.com/gcobb321/icloud3â,
âdependenciesâ: [],
âcodeownersâ: [],
ârequirementsâ: []
}
and delete the folder: pycache
Restart Home assistant two times
Did what you said and restarted my OS since HA with not restart by its self. Now I get this:
Error parsing manifest.json file at /home/homeassistant/.homeassistant/custom_components/icloud3/manifest.json: 'ascii' codec can't decode byte 0xe2 in position 3: ordinal not in range(128)
make sure that it does not contain formatting code⌠Type the code is probably better.{
âdomainâ: âicloud3â,
ânameâ: âicloud3â,
âdocumentationâ: âhttps://github.com/gcobb321/icloud3â,
âdependenciesâ: [],
âcodeownersâ: [],
ârequirementsâ: []
}
Summary
This text will be hidden
Thanks, works.
Iâm sure what is missing?
Expecting property name enclosed in double quotes: line 8 column 1 (char 156)
{
"domain": "icloud3",
"name": "icloud3",
"documentation": "https://github.com/gcobb321/icloud3",
"dependencies": [],
"codeowners": [],
"requirements": [],
}
Remove comma on last line.