bernieb
Members-
Posts
151 -
Joined
-
Last visited
bernieb's Achievements
Member (3/6)
4
Reputation
-
Please keep us posted, I did get an email about being a tester as well, but passed on it since I can't program to save my life. I just didn't want to waste their time. Will be curious to see how to integrate it with ISY
-
Well, seems like I have a lot of reading to do ... haven't had a chance to catch up. I will most likely try to upgrade first, then work on getting a little more from my battery with some of the suggestions that you mentioned above ( will read a little later) I'll then give it a good shot testing with OpenHAB and see where this leads me. I may need a little help on the configuration. Quick question for out (out of left field) ... have you ever taken a look at Home Assistant? https://home-assistant.io It's been discussed on this board and actually has a component that hooks to the ISY. I had seen it before, but someone from the OpenHAB community sent me to take a look in regards to a wifi module for my new Roomba vacuum cleaner. Seems like Python is popular with this system. So I'll be building a Pi3 next weekend and will run it in conjunction with ISY and OpenHAB. They both have their pluses and minuses ... but more than likely I will choose between the 2 to complement the ISY.
-
I have to say that this works very well, I was able to successfully, without any issues my location and home presence. But am I the only one that sees severe battery draining issues? I've tested this for several days. When the script is running, not only my phone but my Apple watch drains way before the end of day. My phone dies mid afternoon and my watch goes into low power consumption mode around 6PM. I left it running for a couple of days and same issue. I stop the script and everyhting goes back to normal and get a full day of use from both my phone and my watch. I decided to repeat the process again and be mindful of using my phone ... and then I see the same battery issue. Stopped the script a couple of days ago and back to normal. It may just be me.
-
Thanks to your helpful posts and patience, seems like I have your script working perfectly and starts automatically with supervisor. I've also tweaked my GPS location and changed the multiplier to 1000. I also think that I will try tripling my geofence radius to 900 ft. Your comments made a lot of sense and I should just give it a shot to see if I like it. What I haven'd done so far: - Create a geofence variable (for testing) in the the ISY and test the home away. I can later move it to the one that I am currently using. - I also need to read through this thread to get the entire concept so that I can use this at it's fullest. Such as WiFi etc. Questions for you: - Are you planning that at some point and time you will add the functionality of multiple devices that can be tracked? - Also I am assuming that the database my start getting to be pretty sizable after a while. Will there be an automatic method to purge information from it? Looking forward to the new version and testing with OpenHAB as well. For now I am still using OpenHAB 1 (ver. 1.8.3) I am hoping that your method will work as well in version 1 as it does in ver. 2 Also wanted to point out the misspelling in step 4 of your Github readme file ... it shows: pip install -r requrements.txt As you can see requirements needs to be corrected so that other copy/paste wizards like me don't get stumped. Awesome work Steven .... Thanks
-
Thanks Steven, Happy to see that I am well on my way, this will be great. Currently I am running version 4.5.0 on the ISY, not planning to move to 5.0 until it's pretty stable. Can you dumb it down a bit for the programs that assist with autostart? Remember ... newbie here Also currently I am using the geofence in Mobilinc to trigger events. I really like that it has a 300 ft radius to the house. It's never failed for me to trigger precisely at the same place every time. Didn't work so well for my wife, that's why I am looking at a different solution. And this could satisfy both my ISY and OpenHAB. Is there a way to be able to accomplish the same thing with your script? Right now, if I am in the geofence, I have a variable that changes to "1", if I leave, it goes to "0" and I can build my logic around that. Can you give me examples on how you are triggering events on change?
-
well, I was able to make my way through the install ... I think. I am seeing results on the pi with a distance of 0.108813 .... But my ISY still shows "0" for my distance ... this may be normal, not exactly sure if it should show the decimals or not. Also, how would you recommend to start this script automatically at startup? Thanks
-
Thanks for the explanation Steven, I wasn't really pointing a finger and I hope that you didn't take it personally. You are right, I don't know you, but I am usually the guy that think that everyone are "nice guys" and most just plainly want to help out. Take it from someone that's really not a coder and have no clue of what any of this does. After I posted, I thought that it would have been best for me if I would have read up a little bit on iCloud API. Haven't had the chance, but I may. In any case, I don't think now, after your explanation, that this will stop me from installing your script. I also have to be honest with you that I also don't know if my raspberry pi can be accessed from the web. On this "pi" I have an install of OpenHab and although i can only access it internally at this time, i plan to subscribe to my.openhab in order to get access from remote location with my mobile app. I think that I prefer using this method than punching a hole in my firewall. I also have installed a version of "nginx" as a light weight web server. I was trying to play around with a python script that would allow remote start of my car, but I haven't been successful at all with it. Too bad as I had all sorts of ideas on how to trigger remote start of my car for the upcoming winter months. Anyway, I may have created some sort of access from the web ... not sure. I am a bit puzzled of my my configuration file was empty ... now I know that I could copy the content from yours in mine and I should be all set, but this puts doubt in my mind that I may have done something weird and other files may be empty as well. In any case, I plan to continue working on this this evening ... I'll keep you posted. I honestly appreciate all your work and talent on this nice utility. Hope you forgive me from being a little paranoid, and my apologies if I offended you.
-
Hi Steve, Started last night installing you proximity script. I'm about half way. most work correctly but did have a bump or two. First I got an error message trying to run pip install -r requrements.txt I've notice the misspelling, but different variations did not work, (also used sudo) no luck. I was, however able to install Click. Then copied my iphonelocation.ini and when I opened it, it was blank, so was the source file iphonelocation.ini.sample. I found it strange as your file on github has all the info in it. But the bigger issue I see, and that's for me to sort out, but in the .ini file, I see that we need to supply our credentials to iCloud (username, password). This is in plain text and having access to iCloud gives access to my Apple account, credit card number etc. If I recall, you had stated in a previous post that your script "called home" for some reason, maybe just to see the different location of users of this script. But I have to say that I have some security concerns. Please don't take this personally, but also being a newbie with a Raspberry PI, I may very well not have all the security in place. someone gets in my network and now have my Apple account information. Can you share your thought on this please? Thanks
-
Hi Steve, I haven't forgot about this one either, I have been a little bit busy these past few weekends helping a family member in need, so not a whole lot of time playing with toys. I will however do my best to try and implement the ISY side this coming weekend. I'll surely keep you posted. Also interested in knowing how you passed information from the ISY to Openhab. One thing missing in Openhab is the "Light" value from the Weather module. All of the free services does not offer this information. I would love to pass this info from the ISY to a variable in Openhab somehow.
-
Stu, can you explain how this works? I thought that I needed one account for each unit?
-
Hi Steve, Just rebuilt my instance of OpenHab on a new Raspberry Pi 3, so I wanted to see if I can get this started, I have to say that I only skimmed part of this thread and did have a few questions. Can this allow to follow more than one device? Can it track my phone and my wife's phone as well? Also I did see your pre-requisites, but does this need an Apache server as well? I may be the one that would need a "for dummies" step by step install instructions unless I can refer to standard install of these dependencies on RPi. I did look at the config file and saw that there is only 1 port to setup. My ISY does not run on the standard port 80 and even my https port is not standard as well, can your script accommodate non-standard ports for both http and https? On my OpenHab, these are not standard either, it runs on port 8080 for http. Also curious about your script that runs on your router. I have an Asus as well and wouldn't have an issue installing a new firmware if I can get some benefits from that as well. One of the things that I am looking for is a way to see if some devices are connected to the router (via MAC address i assume) One of my goals is to be able to let my ISY (Openhab) know if I am working from home. Detecting the MAC address of my work laptop and updating a variable would work fine. Any ideas if this could be accomplished with such a script? Thanks Bernie
-
Thanks Stu ... at this point this is a deal breaker for me, I just don't want to have 6 Amazon accounts just to manage these Dots. I am sure that in the future, they'll have a way around this.
-
I am wondering the same, can all these Dots used the same account as my Echo? I haven't seen anything yet that states that it would or would not. I am just waiting on confirmation before I pull the trigger on some. Anyone knows?
-
Hi Steve, Thanks for the quick reply. I am not much of a programmer, but from reading your original description, my thought were exactly the same, it shouldn't be too hard to attempt this to support another home automation platform. Being able to support both the ISY and something else, (in this case OpenHab) would be great. this way it would be consistent across the board. Let me look at the requirements and dependencies of your package and see if I can't get that running in the between now and next weekend. This way it will give me a baseline. I am still very green with Openhab, just beep playing with it for the last 10 days or so and already had to start from scratch 3 times, but I am getting there. They do have several APIs and binding that can be used, not sure what would be the best, but here's a few references that may give you a better idea. I would think that you'd want to keep it as close to the same method used to update the ISY JSON https://github.com/openhab/openhab/wiki/JSON-Transformations REST API https://github.com/openhab/openhab/wiki/REST-API HTTP Binding https://github.com/openhab/openhab/wiki/Http-Binding The right had column of this wiki may give you other ideas/methods to explore as well. I love my ISY and plan to stick with it for my "mission critical" items. Lighting, heating and security. But the other fun stuff, like Hue, Kodi, outdoor landscaping lighting, RFXCOM drape and shades automation, I'd like to explore OpenHAB. Maybe in the future Polyglot will offer all of these services, but for now it's fun to learn another platform.
-
This looks like a really good way to do geo location. I may very well try this in the near future. Question though: How hard would it be to modify the script to use with another home automation software. I am gearing up to run OpenHab in conjunction with my ISY to supplement a few less important processes. I would be nice to have a similar way to track presence on both platforms, even share an RPi for the task.