I have OwnTracks set up properly with regions, tracking my location and updating properly to the Mosquitto server.
One issue I'm having is the actual integration of OwnTracks info into OpenHAB. Once I have the MQTT binding set up, and I have put my Regions as a switch item, how do I use this information?
I plan on using it as presence detection, but how do I tell OpenHAB to check that, and how can I show the presence data on the sitemap?
I don't need the latitude and longitude information, just a simple Home = Yes/No, Work/Away, etc = Yes/No.
This is the last stumbling block I have before I can finish up my instructions/guide.
Thanks for any input!
--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/d/optout.
--
As well, the map is getting my location info correctly, but somehow the switches still don't seem to turn on or off on entering or leaving a region in OwnTracks.
Any idea how I can go further or enable logging to track down the issue?
I know the code freeze is coming up soon for the 1.5 release... Hopefully the new versions won't get stuck :-)
I can also testify that I am not aware of ever missing a update from OwnTracks in openHAB.
--
22:42:26.724 TRACE o.o.i.t.m.i.MqttBrokerConnection[:534]- Received message on topic 'owntracks/anthonylavado/iphone5' : {"desc":"home","t":"c","tst":"1401936112","acc":"5","lon":"-xx.xxxx","_type":"location","event":"enter","lat":"xx.xxxx","batt":"40"}
22:42:26.729 TRACE o.o.b.m.i.MqttitudeConsumer[:109]- Message received on topic owntracks/anthonylavado/iphone5: {"desc":"home","t":"c","tst":"1401936112","acc":"5","lon":"-xx.xxxx","_type":"location","event":"enter","lat":"xx.xxxx","batt":"40"}
22:42:28.148 TRACE o.o.b.m.i.MqttitudeConsumer[:123]- Checking item PresenceAnthony_PhoneMqttWork...
22:42:28.154 TRACE o.o.b.m.i.MqttitudeConsumer[:165]- Location enter event is for region 'home', ignoring
22:42:28.157 TRACE o.o.b.m.i.MqttitudeConsumer[:123]- Checking item PresenceAnthony_PhoneMqttHome...
22:42:28.160 DEBUG o.o.b.m.i.MqttitudeConsumer[:173]- PresenceAnthony_PhoneMqttHome has entered region home
sitemap home label="Main Menu"
{
Frame label="Location" {
Switch item=PresenceAnthony_PhoneMqttHome
Switch item=PresenceAnthony_PhoneMqtt
Webview url="xxxx/static/map.html" height=12
}
}
/* Location and Presence */
Switch PresenceAnthony_PhoneMqttHome "Anthony @ Home" {mqttitude="home:owntracks/anthonylavado/iphone5:home"}
Switch PresenceAnthony_PhoneMqtt "Anthony's Phone Connected" {mqttitude="home:owntracks/anthonylavado/iphone5"}
String Location_Anthony_Phone {mqtt="<[home:owntracks/anthonylavado/iphone5:state:JS(mqttitude-coordinates.js)]"
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/DdXgjjAbCbQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+unsubscribe@googlegroups.com.