Phone Cell GSM issue
Posted: 16 Jun 2015 05:56
Hi Martin (or others)
I'm trying to automate a couple of things related to the gsm cell id. In my area (regensdorf, switzerland) the cid tend to change over a month (don't ask me what sunrise are doing). So for the automation tasks I've got, I can mostly identify things using two trigger point. Let's make a simple example. Like most people, I go to work and go back home. I've got things that should happen when entering home or work. Usually, I search for the wlan ssid to trigger the tasks, but sometimes I turn wifi off, so the gsm cell id works great in those situations. Now since my gsm provider changes cell ids over time, I don't want to adapt my automation tasks manually, but would rather let them do everything on their own. So I've got another script that would capture the cell ids for the appropriate wifi networks and store them in a map (actually, I would have preferred a set, but I'll take what I've got at hand). The problem with my "cell id recorder" is that it needs to capture "unknown" cell ids. I've tried to use the wildcard "*" to capture all, but automagic - I think - is creating a "group" of all the cid and only triggering if connecting to the "group". Hence it never works.
What is the correct setup of a gsm cell trigger to get triggered upon *each* cell id change?
Thanks
Loris
I'm trying to automate a couple of things related to the gsm cell id. In my area (regensdorf, switzerland) the cid tend to change over a month (don't ask me what sunrise are doing). So for the automation tasks I've got, I can mostly identify things using two trigger point. Let's make a simple example. Like most people, I go to work and go back home. I've got things that should happen when entering home or work. Usually, I search for the wlan ssid to trigger the tasks, but sometimes I turn wifi off, so the gsm cell id works great in those situations. Now since my gsm provider changes cell ids over time, I don't want to adapt my automation tasks manually, but would rather let them do everything on their own. So I've got another script that would capture the cell ids for the appropriate wifi networks and store them in a map (actually, I would have preferred a set, but I'll take what I've got at hand). The problem with my "cell id recorder" is that it needs to capture "unknown" cell ids. I've tried to use the wildcard "*" to capture all, but automagic - I think - is creating a "group" of all the cid and only triggering if connecting to the "group". Hence it never works.
What is the correct setup of a gsm cell trigger to get triggered upon *each* cell id change?
Thanks
Loris