Hi,
I have installed freeswitch in my machine and I would like to test it with openhab2.
There are lots of documents and don’t know how to proceed.
Please help me to test the Freeswitch binding by providing clear steps.
Thanks.
Hi,
I have installed freeswitch in my machine and I would like to test it with openhab2.
There are lots of documents and don’t know how to proceed.
Please help me to test the Freeswitch binding by providing clear steps.
Thanks.
Here are some steps I followed.
Configured OPENHAB-2 ide setup as in https://github.com/openhab/openhab2/blob/master/docs/sources/development/ide.md
Cloned GitHub - openhab/openhab1-addons: Add-ons for openHAB 1.x
copied the freeswitch directory from openhab to openhab2 as below
cp -r org.openhab.binding.freeswitch …/…/…/openhab2-master4/git/openhab2/addons/binding/.
Added host and password to below file
#Host or ip of your freeswitch server
host=172.17.0.2
port that your freeswitch server is listening for ESL connections on
(optional, defaults to 8021)
#port=
password set for ESL connections
password=ClueCon
vi distribution/src/assemble/resources/addons/conf/services/freeswitch.cfg
param name="nat-map" value="false" param name="listen-ip" value="0.0.0.0" param name="listen-port" value="8021" param name="password" value="ClueCon"
kpatil ~ openhab2-master4 eclipse ./eclipse
Java HotSpot™ 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized.
Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified
52 2.3.10.xx-201508121448-e45 = STARTING
org.eclipse.m2e.logback.configuration: Logback config file: /home/kpatil/openhab2-master4/ws/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.6.2.20150902-0002.xml
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://515.fwk2040623756:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://515.fwk2040623756:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See SLF4J Error Codes for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
org.eclipse.m2e.logback.configuration: Initializing logback
I don’t see any directory named freeswitch in the OH2 Addons side panel in Eclipse ide as shown below
I am following the steps as mentioned in
How to solve problems with a certain add-on? from https://github.com/openhab/openhab2/blob/master/docs/sources/installation/compatibilitylayer.md#how-to-use-openhab-1x-add-ons
Thanks.
Now I am following, https://github.com/openhab/openhab2/blob/master/docs/sources/installation/runtime.md
I am getting below error in console after starting openhab2 runtime
Launching the openHAB runtime…
osgi> 2015-10-14 12:44:23.231 [INFO ] [ui.internal.servlet.PaperUIApp] - Started Paper UI at /ui
2015-10-14 12:44:23.740 [WARN ] [b.f.internal.FreeswitchBinding] - Client is not connected, reconnecting
Exception in thread “Freeswitch WatchDog” java.lang.IllegalArgumentException: hostname can’t be null
at java.net.InetSocketAddress.checkHost(InetSocketAddress.java:149)
at java.net.InetSocketAddress.(InetSocketAddress.java:216)
at org.freeswitch.esl.client.inbound.Client.connect(Client.java:123)
at org.openhab.binding.freeswitch.internal.FreeswitchBinding.connect(FreeswitchBinding.java:215)
at org.openhab.binding.freeswitch.internal.FreeswitchBinding.access$3(FreeswitchBinding.java:207)
at org.openhab.binding.freeswitch.internal.FreeswitchBinding$WatchDog.run(FreeswitchBinding.java:705)
2015-10-14 12:44:24.060 [INFO ] [.u.d.internal.DashboardService] - Started dashboard at /start
2015-10-14 12:44:24.272 [WARN ] [c.inbound.InboundClientHandler] - Unexpected message content type [text/rude-rejection]
2015-10-14 12:44:25.361 [INFO ] [.s.u.c.i.servlet.WebAppServlet] - Started Classic UI at /classicui
2015-10-14 12:44:25.514 [INFO ] [.o.core.internal.CoreActivator] - openHAB runtime has been started (v2.0.0, build alpha2).
#cat conf/services/freeswitch.cfg
# Host or ip of your freeswitch server
host=172.17.0.1
# Port that your freeswitch server is listening for ESL connections on
# (optional, defaults to 8021)
#port=
# Password set for ESL connections
password=ClueCon
org.eclipse.smarthome.binding.hue-0.8.0-20150525.191559-175.jar org.openhab.binding.freeswitch-1.7.0.jar
org.eclipse.smarthome.binding.wemo-0.8.0-20150525.191631-140.jar org.openhab.binding.ipp-2.0.0.alpha2.jar
org.eclipse.smarthome.binding.yahooweather-0.8.0-20150525.191627-175.jar org.openhab.binding.ntp-1.7.0.jar
org.openhab.binding.astro-2.0.0.alpha2.jar org.openhab.binding.sonos-2.0.0.alpha2.jar
org.openhab.binding.avmfritz-2.0.0.alpha2.jar org.openhab.persistence.rrd4j-1.7.0.jar
Now,
./start.sh
Launching the openHAB runtime…
osgi> 2015-10-14 13:53:29.632 [INFO ] [ui.internal.servlet.PaperUIApp] - Started Paper UI at /ui
2015-10-14 13:53:30.112 [WARN ] [b.f.internal.FreeswitchBinding] - Client is not connected, reconnecting
2015-10-14 13:53:30.308 [INFO ] [.u.d.internal.DashboardService] - Started dashboard at /start
2015-10-14 13:53:31.147 [INFO ] [.s.u.c.i.servlet.WebAppServlet] - Started Classic UI at /classicui
2015-10-14 13:53:31.240 [INFO ] [.o.core.internal.CoreActivator] - openHAB runtime has been started (v2.0.0, build alpha2).
I don’t see freeswitch as binding when discovered using Rest.
PaperUI not showing anything
Don’t use the alpha2 for testing, use the lastest snapshot please.
Thanks, now using the snapshot build and for Freeswitch binding log showing only one message regarding reconnecting as below.
I don’t see the Freeswitch binding at localhost:8080 page.
Is there any other way to discover the Freeswitch binding ?
Launching the openHAB runtime…
2015-10-19 11:56:29.717 [WARN ] [.p.rrd4j.internal.RRD4jService] - Unknown property name : org.openhab.persistence.rrd4j
2015-10-19 11:56:29.721 [INFO ] [.p.rrd4j.internal.RRD4jService] - Removing invalid defintion component = null heartbeat = 0 min/max = 0.0/0.0 step = 0 0 archives(s) = [] 0 items(s) = []
osgi> 2015-10-19 11:56:48.841 [INFO ] [smarthome.event.ItemAddedEvent] - Item ‘yahooweather_weather_29222422’ has been added.
2015-10-19 11:56:48.849 [INFO ] [smarthome.event.ItemAddedEvent] - Item ‘yahooweather_weather_29222422_humidity’ has been added.
2015-10-19 11:56:48.849 [INFO ] [smarthome.event.ItemAddedEvent] - Item ‘yahooweather_weather_29222422_pressure’ has been added.
2015-10-19 11:56:48.850 [INFO ] [smarthome.event.ItemAddedEvent] - Item ‘yahooweather_weather_29222422_temperature’ has been added.
2015-10-19 11:56:48.876 [INFO ] [marthome.event.ThingAddedEvent] - Thing ‘yahooweather:weather:29222422’ has been added.
2015-10-19 11:56:48.916 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:29222422’ updated: INITIALIZING
2015-10-19 11:56:48.918 [INFO ] [nt.ThingStatusInfoChangedEvent] - ‘yahooweather:weather:29222422’ changed from UNINITIALIZED to INITIALIZING
2015-10-19 11:56:48.922 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:29222422’ updated: ONLINE
2015-10-19 11:56:48.923 [INFO ] [nt.ThingStatusInfoChangedEvent] - ‘yahooweather:weather:29222422’ changed from INITIALIZING to ONLINE
2015-10-19 11:56:50.202 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:29222422’ updated: ONLINE
2015-10-19 11:56:50.213 [INFO ] [vent.ItemChannelLinkAddedEvent] - Link ‘yahooweather_weather_29222422_humidity-yahooweather:weather:29222422:humidity’ has been added.
2015-10-19 11:56:50.214 [INFO ] [vent.ItemChannelLinkAddedEvent] - Link ‘yahooweather_weather_29222422_pressure-yahooweather:weather:29222422:pressure’ has been added.
2015-10-19 11:56:50.215 [INFO ] [vent.ItemChannelLinkAddedEvent] - Link ‘yahooweather_weather_29222422_temperature-yahooweather:weather:29222422:temperature’ has been added.
2015-10-19 11:56:50.224 [INFO ] [.event.ItemThingLinkAddedEvent] - Link ‘yahooweather_weather_29222422-yahooweather:weather:29222422’ has been added.
2015-10-19 11:56:50.547 [INFO ] [ui.internal.servlet.PaperUIApp] - Started Paper UI at /ui
2015-10-19 11:56:51.100 [WARN ] [b.f.internal.FreeswitchBinding] - Client is not connected, reconnecting
2015-10-19 11:56:51.182 [INFO ] [.u.d.internal.DashboardService] - Started dashboard at /start
2015-10-19 11:56:51.883 [INFO ] [.s.u.c.i.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2015-10-19 11:56:51.973 [INFO ] [.o.core.internal.CoreActivator] - openHAB runtime has been started (v2.0.0, build 201510180233).
2015-10-19 11:56:52.927 [INFO ] [.e.s.m.c.i.ModelRepositoryImpl] - Loading model ‘demo.sitemap’
2015-10-19 11:56:53.160 [INFO ] [.e.s.m.c.i.ModelRepositoryImpl] - Loading model ‘demo.things’
2015-10-19 11:56:53.258 [INFO ] [marthome.event.ThingAddedEvent] - Thing ‘yahooweather:weather:berlin’ has been added.
2015-10-19 11:56:53.280 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:berlin’ updated: INITIALIZING
2015-10-19 11:56:53.281 [INFO ] [nt.ThingStatusInfoChangedEvent] - ‘yahooweather:weather:berlin’ changed from UNINITIALIZED to INITIALIZING
2015-10-19 11:56:53.282 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:berlin’ updated: ONLINE
2015-10-19 11:56:53.284 [INFO ] [nt.ThingStatusInfoChangedEvent] - ‘yahooweather:weather:berlin’ changed from INITIALIZING to ONLINE
2015-10-19 11:56:53.294 [INFO ] [marthome.event.ThingAddedEvent] - Thing ‘astro:sun:home’ has been added.
2015-10-19 11:56:53.295 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘astro:sun:home’ updated: INITIALIZING
2015-10-19 11:56:53.297 [INFO ] [nt.ThingStatusInfoChangedEvent] - ‘astro:sun:home’ changed from UNINITIALIZED to INITIALIZING
2015-10-19 11:56:53.404 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘astro:sun:home’ updated: ONLINE
2015-10-19 11:56:53.405 [INFO ] [nt.ThingStatusInfoChangedEvent] - ‘astro:sun:home’ changed from INITIALIZING to ONLINE
2015-10-19 11:56:53.458 [INFO ] [.e.s.m.c.i.ModelRepositoryImpl] - Loading model ‘rrd4j.persist’
2015-10-19 11:56:53.829 [INFO ] [.e.s.m.c.i.ModelRepositoryImpl] - Loading model ‘logging.persist’
2015-10-19 11:56:53.837 [INFO ] [.e.s.m.c.i.ModelRepositoryImpl] - Loading model ‘demo.rules’
2015-10-19 11:56:53.867 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:berlin’ updated: ONLINE
2015-10-19 11:56:54.279 [INFO ] [.e.s.m.c.i.ModelRepositoryImpl] - Loading model ‘demo.script’
2015-10-19 11:56:54.385 [INFO ] [.e.s.m.c.i.ModelRepositoryImpl] - Loading model ‘demo.items’
2015-10-19 11:56:54.483 [INFO ] [vent.ItemChannelLinkAddedEvent] - Link ‘Weather_Temperature-yahooweather:weather:berlin:temperature’ has been added.
2015-10-19 11:56:54.484 [INFO ] [vent.ItemChannelLinkAddedEvent] - Link ‘Sun_Elevation-astro:sun:home:position#elevation’ has been added.
2015-10-19 11:56:56.632 [INFO ] [.b.a.handler.AstroThingHandler] - Scheduled astro DailyJob at midnight for thing astro:sun:home
2015-10-19 11:56:56.635 [INFO ] [.b.a.handler.AstroThingHandler] - Scheduled astro PositionalJob with interval of 60 seconds for thing astro:sun:home
2015-10-19 11:56:56.672 [INFO ] [smarthome.event.ItemStateEvent] - Sun_Elevation updated to 6.09
2015-10-19 11:56:56.676 [INFO ] [s.event.ItemStateChangedEvent ] - Sun_Elevation changed from NULL to 6.09
2015-10-19 11:57:02.760 [INFO ] [smarthome.event.ItemStateEvent] - Light_GF_Living_Table updated to OFF
2015-10-19 11:57:02.763 [INFO ] [smarthome.event.ItemStateEvent] - Light_GF_Corridor_Ceiling updated to OFF
2015-10-19 11:57:02.766 [INFO ] [smarthome.event.ItemStateEvent] - Light_GF_Kitchen_Ceiling updated to ON
2015-10-19 11:57:02.768 [INFO ] [s.event.ItemStateChangedEvent ] - Light_GF_Living_Table changed from NULL to OFF
2015-10-19 11:57:02.770 [INFO ] [smarthome.event.ItemStateEvent] - Light_GF_Kitchen_Table updated to ON
2015-10-19 11:57:02.774 [INFO ] [smarthome.event.ItemStateEvent] - Light_GF_Corridor_Wardrobe updated to OFF
2015-10-19 11:57:02.774 [INFO ] [s.event.ItemStateChangedEvent ] - Light_GF_Corridor_Ceiling changed from NULL to OFF
2015-10-19 11:57:02.777 [INFO ] [smarthome.event.ItemStateEvent] - Light_GF_Toilet_Ceiling updated to ON
2015-10-19 11:57:02.781 [INFO ] [smarthome.event.ItemStateEvent] - Light_GF_Toilet_Mirror updated to OFF
2015-10-19 11:57:02.785 [INFO ] [smarthome.event.ItemStateEvent] - Light_FF_Bath_Ceiling updated to ON
2015-10-19 11:57:02.786 [INFO ] [s.event.ItemStateChangedEvent ] - Light_GF_Kitchen_Ceiling changed from NULL to ON
2015-10-19 11:57:02.792 [INFO ] [smarthome.event.ItemStateEvent] - Light_FF_Bath_Mirror updated to OFF
2015-10-19 11:57:02.794 [INFO ] [smarthome.event.ItemStateEvent] - Light_FF_Corridor_Ceiling updated to OFF
2015-10-19 11:57:02.800 [INFO ] [smarthome.event.ItemStateEvent] - Light_FF_Office_Ceiling updated to OFF
2015-10-19 11:57:02.801 [INFO ] [s.event.ItemStateChangedEvent ] - Light_GF_Kitchen_Table changed from NULL to ON
2015-10-19 11:57:02.802 [INFO ] [smarthome.event.ItemStateEvent] - Light_FF_Child_Ceiling updated to OFF
2015-10-19 11:57:02.803 [INFO ] [s.event.ItemStateChangedEvent ] - Light_GF_Corridor_Wardrobe changed from NULL to OFF
2015-10-19 11:57:02.805 [INFO ] [smarthome.event.ItemStateEvent] - Light_FF_Bed_Ceiling updated to OFF
2015-10-19 11:57:02.807 [INFO ] [smarthome.event.ItemStateEvent] - Light_C_Corridor_Ceiling updated to OFF
2015-10-19 11:57:02.808 [INFO ] [s.event.ItemStateChangedEvent ] - Light_GF_Toilet_Ceiling changed from NULL to ON
2015-10-19 11:57:02.810 [INFO ] [s.event.ItemStateChangedEvent ] - Light_GF_Toilet_Mirror changed from NULL to OFF
2015-10-19 11:57:02.811 [INFO ] [s.event.ItemStateChangedEvent ] - Light_FF_Bath_Ceiling changed from NULL to ON
2015-10-19 11:57:02.817 [INFO ] [s.event.ItemStateChangedEvent ] - Light_FF_Bath_Mirror changed from NULL to OFF
2015-10-19 11:57:02.821 [INFO ] [s.event.ItemStateChangedEvent ] - Light_FF_Corridor_Ceiling changed from NULL to OFF
2015-10-19 11:57:02.824 [INFO ] [smarthome.event.ItemStateEvent] - Light_C_Staircase updated to ON
2015-10-19 11:57:02.825 [INFO ] [s.event.ItemStateChangedEvent ] - Light_FF_Office_Ceiling changed from NULL to OFF
2015-10-19 11:57:02.826 [INFO ] [s.event.ItemStateChangedEvent ] - Light_FF_Child_Ceiling changed from NULL to OFF
2015-10-19 11:57:02.827 [INFO ] [s.event.ItemStateChangedEvent ] - Light_FF_Bed_Ceiling changed from NULL to OFF
2015-10-19 11:57:02.827 [INFO ] [s.event.ItemStateChangedEvent ] - Light_C_Corridor_Ceiling changed from NULL to OFF
2015-10-19 11:57:02.829 [INFO ] [smarthome.event.ItemStateEvent] - Light_C_Washing_Ceiling updated to OFF
2015-10-19 11:57:02.830 [INFO ] [smarthome.event.ItemStateEvent] - Light_C_Workshop updated to OFF
2015-10-19 11:57:02.832 [INFO ] [smarthome.event.ItemStateEvent] - Light_Garden_Garage updated to OFF
2015-10-19 11:57:02.833 [INFO ] [s.event.ItemStateChangedEvent ] - Light_C_Staircase changed from NULL to ON
2015-10-19 11:57:02.834 [INFO ] [s.event.ItemStateChangedEvent ] - Light_C_Washing_Ceiling changed from NULL to OFF
2015-10-19 11:57:02.834 [INFO ] [s.event.ItemStateChangedEvent ] - Light_C_Workshop changed from NULL to OFF
2015-10-19 11:57:02.835 [INFO ] [s.event.ItemStateChangedEvent ] - Light_Garden_Garage changed from NULL to OFF
2015-10-19 11:57:02.839 [INFO ] [smarthome.event.ItemStateEvent] - Light_Garden_Terrace updated to ON
2015-10-19 11:57:02.840 [INFO ] [s.event.ItemStateChangedEvent ] - Light_Garden_Terrace changed from NULL to ON
2015-10-19 11:57:02.842 [INFO ] [smarthome.event.ItemStateEvent] - Heating_GF_Corridor updated to OFF
2015-10-19 11:57:02.845 [INFO ] [smarthome.event.ItemStateEvent] - Heating_GF_Toilet updated to OFF
2015-10-19 11:57:02.847 [INFO ] [smarthome.event.ItemStateEvent] - Heating_GF_Living updated to OFF
2015-10-19 11:57:02.851 [INFO ] [smarthome.event.ItemStateEvent] - Heating_GF_Kitchen updated to OFF
2015-10-19 11:57:02.930 [INFO ] [smarthome.event.ItemStateEvent] - Heating_FF_Bath updated to OFF
2015-10-19 11:57:02.932 [INFO ] [smarthome.event.ItemStateEvent] - Heating_FF_Office updated to OFF
2015-10-19 11:57:02.934 [INFO ] [smarthome.event.ItemStateEvent] - Heating_FF_Child updated to OFF
2015-10-19 11:57:03.057 [INFO ] [smarthome.event.ItemStateEvent] - Heating_FF_Bed updated to OFF
2015-10-19 11:57:03.059 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_Setpoint updated to 22
2015-10-19 11:57:03.060 [INFO ] [smarthome.event.ItemStateEvent] - Window_GF_Frontdoor updated to OPEN
2015-10-19 11:57:03.065 [INFO ] [smarthome.event.ItemStateEvent] - Window_GF_Kitchen updated to CLOSED
2015-10-19 11:57:03.073 [INFO ] [smarthome.event.ItemStateEvent] - Window_GF_Living updated to CLOSED
2015-10-19 11:57:03.249 [INFO ] [smarthome.event.ItemStateEvent] - Window_GF_Toilet updated to CLOSED
2015-10-19 11:57:03.251 [INFO ] [smarthome.event.ItemStateEvent] - Window_FF_Bath updated to OPEN
2015-10-19 11:57:03.254 [INFO ] [smarthome.event.ItemStateEvent] - Window_FF_Bed updated to CLOSED
2015-10-19 11:57:03.257 [INFO ] [smarthome.event.ItemStateEvent] - Window_FF_Office_Window updated to OPEN
2015-10-19 11:57:03.260 [INFO ] [smarthome.event.ItemStateEvent] - Window_FF_Office_Door updated to OPEN
2015-10-19 11:57:03.263 [INFO ] [smarthome.event.ItemStateEvent] - Garage_Door updated to OPEN
2015-10-19 11:57:03.267 [INFO ] [smarthome.event.ItemStateEvent] - DemoLocation updated to 52.5200066,13.4049540
2015-10-19 11:57:03.271 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_GF_Corridor updated to 22.5
2015-10-19 11:57:03.275 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_GF_Toilet updated to 19.5
2015-10-19 11:57:03.278 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_GF_Living updated to 19.6
2015-10-19 11:57:03.282 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_GF_Kitchen updated to 17.8
2015-10-19 11:57:03.284 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_FF_Bath updated to 18.7
2015-10-19 11:57:03.285 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_FF_Office updated to 21.0
2015-10-19 11:57:03.287 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_FF_Child updated to 18.9
2015-10-19 11:57:03.288 [INFO ] [s.event.ItemStateChangedEvent ] - Heating_FF_Bath changed from ON to OFF
2015-10-19 11:57:03.290 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_FF_Bed updated to 20.2
2015-10-19 11:57:03.290 [INFO ] [s.event.ItemStateChangedEvent ] - Heating_FF_Bed changed from ON to OFF
2015-10-19 11:57:03.291 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_Setpoint changed from NULL to 22
2015-10-19 11:57:03.291 [INFO ] [s.event.ItemStateChangedEvent ] - Window_GF_Frontdoor changed from NULL to OPEN
2015-10-19 11:57:03.292 [INFO ] [smarthome.event.ItemStateEvent] - Weather_Temp_Max updated to 7
2015-10-19 11:57:03.297 [INFO ] [s.event.ItemStateChangedEvent ] - Window_GF_Kitchen changed from NULL to CLOSED
2015-10-19 11:57:03.298 [INFO ] [s.event.ItemStateChangedEvent ] - Window_GF_Living changed from NULL to CLOSED
2015-10-19 11:57:03.299 [INFO ] [s.event.ItemStateChangedEvent ] - Window_FF_Bath changed from NULL to OPEN
2015-10-19 11:57:03.299 [INFO ] [s.event.ItemStateChangedEvent ] - Window_FF_Bed changed from NULL to CLOSED
2015-10-19 11:57:03.300 [INFO ] [s.event.ItemStateChangedEvent ] - Window_FF_Office_Window changed from NULL to OPEN
2015-10-19 11:57:03.300 [INFO ] [s.event.ItemStateChangedEvent ] - Window_FF_Office_Door changed from NULL to OPEN
2015-10-19 11:57:03.301 [INFO ] [s.event.ItemStateChangedEvent ] - Garage_Door changed from NULL to OPEN
2015-10-19 11:57:03.301 [INFO ] [s.event.ItemStateChangedEvent ] - DemoLocation changed from NULL to 52.5200066,13.4049540
2015-10-19 11:57:03.302 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_GF_Corridor changed from 17.800000000000000710542735760100185871124267578125 to 22.5
2015-10-19 11:57:03.303 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_GF_Toilet changed from 18.199999999999999289457264239899814128875732421875 to 19.5
2015-10-19 11:57:03.303 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_GF_Living changed from 19 to 19.6
2015-10-19 11:57:03.303 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_GF_Kitchen changed from 21.60000000000000142108547152020037174224853515625 to 17.8
2015-10-19 11:57:03.304 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_FF_Bath changed from 18.5 to 18.7
2015-10-19 11:57:03.304 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_FF_Office changed from 21.300000000000000710542735760100185871124267578125 to 21.0
2015-10-19 11:57:03.305 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_FF_Child changed from 22.10000000000000142108547152020037174224853515625 to 18.9
2015-10-19 11:57:03.305 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_FF_Bed changed from 21.800000000000000710542735760100185871124267578125 to 20.2
2015-10-19 11:57:03.314 [INFO ] [smarthome.event.ItemStateEvent] - Weather_Temp_Min updated to 7
2015-10-19 11:57:49.491 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:29222422’ updated: ONLINE
2015-10-19 11:57:49.518 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_temperature updated to 31
2015-10-19 11:57:49.520 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_humidity updated to 52
2015-10-19 11:57:49.522 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_pressure updated to 1015.92
2015-10-19 11:57:49.523 [INFO ] [s.event.ItemStateChangedEvent ] - yahooweather_weather_29222422_temperature changed from NULL to 31
2015-10-19 11:57:49.525 [INFO ] [s.event.ItemStateChangedEvent ] - yahooweather_weather_29222422_humidity changed from NULL to 52
2015-10-19 11:57:49.526 [INFO ] [s.event.ItemStateChangedEvent ] - yahooweather_weather_29222422_pressure changed from NULL to 1015.92
2015-10-19 11:57:53.735 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:berlin’ updated: ONLINE
2015-10-19 11:57:53.739 [INFO ] [smarthome.event.ItemStateEvent] - Weather_Temperature updated to 7
2015-10-19 11:57:53.745 [INFO ] [smarthome.event.ItemStateEvent] - Weather_LastUpdate updated to 2015-10-19T11:57:53
2015-10-19 11:57:53.746 [INFO ] [s.event.ItemStateChangedEvent ] - Weather_LastUpdate changed from NULL to 2015-10-19T11:57:53
2015-10-19 11:57:56.640 [INFO ] [smarthome.event.ItemStateEvent] - Sun_Elevation updated to 6.22
2015-10-19 11:57:56.642 [INFO ] [s.event.ItemStateChangedEvent ] - Sun_Elevation changed from 6.09 to 6.22
2015-10-19 11:58:49.092 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:29222422’ updated: ONLINE
2015-10-19 11:58:49.095 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_temperature updated to 31
2015-10-19 11:58:49.096 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_humidity updated to 52
2015-10-19 11:58:49.096 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_pressure updated to 1015.92
2015-10-19 11:58:53.937 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:berlin’ updated: ONLINE
2015-10-19 11:58:53.939 [INFO ] [smarthome.event.ItemStateEvent] - Weather_Temperature updated to 7
2015-10-19 11:58:53.943 [INFO ] [smarthome.event.ItemStateEvent] - Weather_LastUpdate updated to 2015-10-19T11:58:53
2015-10-19 11:58:53.943 [INFO ] [s.event.ItemStateChangedEvent ] - Weather_LastUpdate changed from 2015-10-19T11:57:53 to 2015-10-19T11:58:53
2015-10-19 11:58:56.638 [INFO ] [smarthome.event.ItemStateEvent] - Sun_Elevation updated to 6.36
2015-10-19 11:58:56.640 [INFO ] [s.event.ItemStateChangedEvent ] - Sun_Elevation changed from 6.22 to 6.36
2015-10-19 11:59:49.489 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:29222422’ updated: ONLINE
2015-10-19 11:59:49.493 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_temperature updated to 31
2015-10-19 11:59:49.496 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_humidity updated to 52
2015-10-19 11:59:49.498 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_pressure updated to 1015.92
2015-10-19 11:59:53.541 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:berlin’ updated: ONLINE
2015-10-19 11:59:53.548 [INFO ] [smarthome.event.ItemStateEvent] - Weather_Temperature updated to 7
2015-10-19 11:59:53.551 [INFO ] [smarthome.event.ItemStateEvent] - Weather_LastUpdate updated to 2015-10-19T11:59:53
2015-10-19 11:59:53.553 [INFO ] [s.event.ItemStateChangedEvent ] - Weather_LastUpdate changed from 2015-10-19T11:58:53 to 2015-10-19T11:59:53
2015-10-19 11:59:56.638 [INFO ] [smarthome.event.ItemStateEvent] - Sun_Elevation updated to 6.50
2015-10-19 11:59:56.640 [INFO ] [s.event.ItemStateChangedEvent ] - Sun_Elevation changed from 6.36 to 6.50
2015-10-19 12:00:00.018 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_GF_Corridor updated to 18.3
2015-10-19 12:00:00.020 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_GF_Toilet updated to 22.4
2015-10-19 12:00:00.022 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_GF_Living updated to 18.2
2015-10-19 12:00:00.023 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_GF_Kitchen updated to 20.8
2015-10-19 12:00:00.024 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_GF_Corridor changed from 22.5 to 18.3
2015-10-19 12:00:00.027 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_FF_Bath updated to 19.0
2015-10-19 12:00:00.028 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_GF_Toilet changed from 19.5 to 22.4
2015-10-19 12:00:00.030 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_FF_Office updated to 21.8
2015-10-19 12:00:00.030 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_GF_Living changed from 19.6 to 18.2
2015-10-19 12:00:00.031 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_GF_Kitchen changed from 17.8 to 20.8
2015-10-19 12:00:00.031 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_FF_Bath changed from 18.7 to 19.0
2015-10-19 12:00:00.033 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_FF_Child updated to 20.2
2015-10-19 12:00:00.033 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_FF_Office changed from 21.0 to 21.8
2015-10-19 12:00:00.034 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_FF_Child changed from 18.9 to 20.2
2015-10-19 12:00:00.042 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_FF_Bed updated to 19.2
2015-10-19 12:00:00.043 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_FF_Bed changed from 20.2 to 19.2
2015-10-19 12:00:50.322 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:29222422’ updated: ONLINE
2015-10-19 12:00:50.324 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_temperature updated to 31
2015-10-19 12:00:50.325 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_humidity updated to 52
2015-10-19 12:00:50.327 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_pressure updated to 1015.92
2015-10-19 12:00:53.702 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:berlin’ updated: ONLINE
2015-10-19 12:00:53.706 [INFO ] [smarthome.event.ItemStateEvent] - Weather_Temperature updated to 7
2015-10-19 12:00:53.711 [INFO ] [smarthome.event.ItemStateEvent] - Weather_LastUpdate updated to 2015-10-19T12:00:53
2015-10-19 12:00:53.713 [INFO ] [s.event.ItemStateChangedEvent ] - Weather_LastUpdate changed from 2015-10-19T11:59:53 to 2015-10-19T12:00:53
2015-10-19 12:00:56.637 [INFO ] [smarthome.event.ItemStateEvent] - Sun_Elevation updated to 6.64
2015-10-19 12:00:56.638 [INFO ] [s.event.ItemStateChangedEvent ] - Sun_Elevation changed from 6.50 to 6.64
2015-10-19 12:01:49.884 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:29222422’ updated: ONLINE
2015-10-19 12:01:49.942 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_temperature updated to 31
2015-10-19 12:01:49.943 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_humidity updated to 52
2015-10-19 12:01:49.945 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_pressure updated to 1015.92
2015-10-19 12:01:53.815 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:berlin’ updated: ONLINE
2015-10-19 12:01:53.817 [INFO ] [smarthome.event.ItemStateEvent] - Weather_Temperature updated to 7
2015-10-19 12:01:53.821 [INFO ] [smarthome.event.ItemStateEvent] - Weather_LastUpdate updated to 2015-10-19T12:01:53
2015-10-19 12:01:53.822 [INFO ] [s.event.ItemStateChangedEvent ] - Weather_LastUpdate changed from 2015-10-19T12:00:53 to 2015-10-19T12:01:53
2015-10-19 12:01:56.638 [INFO ] [smarthome.event.ItemStateEvent] - Sun_Elevation updated to 6.77
2015-10-19 12:01:56.638 [INFO ] [s.event.ItemStateChangedEvent ] - Sun_Elevation changed from 6.64 to 6.77
2015-10-19 12:02:49.676 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:29222422’ updated: ONLINE
2015-10-19 12:02:49.680 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_temperature updated to 31
2015-10-19 12:02:49.681 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_humidity updated to 52
2015-10-19 12:02:49.683 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_pressure updated to 1015.92
2015-10-19 12:02:53.866 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:berlin’ updated: ONLINE
2015-10-19 12:02:53.867 [INFO ] [smarthome.event.ItemStateEvent] - Weather_Temperature updated to 7
2015-10-19 12:02:53.870 [INFO ] [smarthome.event.ItemStateEvent] - Weather_LastUpdate updated to 2015-10-19T12:02:53
2015-10-19 12:02:53.872 [INFO ] [s.event.ItemStateChangedEvent ] - Weather_LastUpdate changed from 2015-10-19T12:01:53 to 2015-10-19T12:02:53
2015-10-19 12:02:56.640 [INFO ] [smarthome.event.ItemStateEvent] - Sun_Elevation updated to 6.91
2015-10-19 12:02:56.642 [INFO ] [s.event.ItemStateChangedEvent ] - Sun_Elevation changed from 6.77 to 6.91
2015-10-19 12:03:49.868 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:29222422’ updated: ONLINE
2015-10-19 12:03:49.872 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_temperature updated to 31
2015-10-19 12:03:49.874 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_humidity updated to 52
2015-10-19 12:03:49.877 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_pressure updated to 1015.92
2015-10-19 12:03:53.731 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:berlin’ updated: ONLINE
2015-10-19 12:03:53.734 [INFO ] [smarthome.event.ItemStateEvent] - Weather_Temperature updated to 7
2015-10-19 12:03:53.738 [INFO ] [smarthome.event.ItemStateEvent] - Weather_LastUpdate updated to 2015-10-19T12:03:53
2015-10-19 12:03:53.739 [INFO ] [s.event.ItemStateChangedEvent ] - Weather_LastUpdate changed from 2015-10-19T12:02:53 to 2015-10-19T12:03:53
2015-10-19 12:03:56.640 [INFO ] [smarthome.event.ItemStateEvent] - Sun_Elevation updated to 7.05
2015-10-19 12:03:56.640 [INFO ] [s.event.ItemStateChangedEvent ] - Sun_Elevation changed from 6.91 to 7.05
2015-10-19 12:04:50.439 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:29222422’ updated: ONLINE
2015-10-19 12:04:50.440 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_temperature updated to 31
2015-10-19 12:04:50.442 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_humidity updated to 52
2015-10-19 12:04:50.443 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_pressure updated to 1015.92
2015-10-19 12:04:53.891 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:berlin’ updated: ONLINE
2015-10-19 12:04:53.894 [INFO ] [smarthome.event.ItemStateEvent] - Weather_Temperature updated to 7
2015-10-19 12:04:53.902 [INFO ] [smarthome.event.ItemStateEvent] - Weather_LastUpdate updated to 2015-10-19T12:04:53
2015-10-19 12:04:53.906 [INFO ] [s.event.ItemStateChangedEvent ] - Weather_LastUpdate changed from 2015-10-19T12:03:53 to 2015-10-19T12:04:53
2015-10-19 12:04:56.637 [INFO ] [smarthome.event.ItemStateEvent] - Sun_Elevation updated to 7.18
2015-10-19 12:04:56.638 [INFO ] [s.event.ItemStateChangedEvent ] - Sun_Elevation changed from 7.05 to 7.18
2015-10-19 12:05:00.010 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_GF_Corridor updated to 19.1
2015-10-19 12:05:00.013 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_GF_Corridor changed from 18.3 to 19.1
2015-10-19 12:05:00.016 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_GF_Toilet updated to 21.5
2015-10-19 12:05:00.017 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_GF_Toilet changed from 22.4 to 21.5
2015-10-19 12:05:00.018 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_GF_Living updated to 18.5
2015-10-19 12:05:00.021 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_GF_Living changed from 18.2 to 18.5
2015-10-19 12:05:00.034 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_GF_Kitchen updated to 21.9
2015-10-19 12:05:00.036 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_GF_Kitchen changed from 20.8 to 21.9
2015-10-19 12:05:00.038 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_FF_Bath updated to 20.9
2015-10-19 12:05:00.040 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_FF_Bath changed from 19.0 to 20.9
2015-10-19 12:05:00.048 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_FF_Office updated to 22.3
2015-10-19 12:05:00.048 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_FF_Office changed from 21.8 to 22.3
2015-10-19 12:05:00.051 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_FF_Child updated to 17.6
2015-10-19 12:05:00.053 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_FF_Child changed from 20.2 to 17.6
2015-10-19 12:05:00.057 [INFO ] [smarthome.event.ItemStateEvent] - Temperature_FF_Bed updated to 18.8
2015-10-19 12:05:00.058 [INFO ] [s.event.ItemStateChangedEvent ] - Temperature_FF_Bed changed from 19.2 to 18.8
2015-10-19 12:05:50.252 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:29222422’ updated: ONLINE
2015-10-19 12:05:50.314 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_temperature updated to 31
2015-10-19 12:05:50.316 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_humidity updated to 52
2015-10-19 12:05:50.318 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_pressure updated to 1015.92
2015-10-19 12:05:53.863 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:berlin’ updated: ONLINE
2015-10-19 12:05:53.864 [INFO ] [smarthome.event.ItemStateEvent] - Weather_Temperature updated to 7
2015-10-19 12:05:53.867 [INFO ] [smarthome.event.ItemStateEvent] - Weather_LastUpdate updated to 2015-10-19T12:05:53
2015-10-19 12:05:53.868 [INFO ] [s.event.ItemStateChangedEvent ] - Weather_LastUpdate changed from 2015-10-19T12:04:53 to 2015-10-19T12:05:53
2015-10-19 12:05:56.637 [INFO ] [smarthome.event.ItemStateEvent] - Sun_Elevation updated to 7.32
2015-10-19 12:05:56.638 [INFO ] [s.event.ItemStateChangedEvent ] - Sun_Elevation changed from 7.18 to 7.32
2015-10-19 12:06:56.638 [INFO ] [smarthome.event.ItemStateEvent] - Sun_Elevation updated to 7.45
2015-10-19 12:06:56.658 [INFO ] [s.event.ItemStateChangedEvent ] - Sun_Elevation changed from 7.32 to 7.45
2015-10-19 12:06:59.716 [INFO ] [ome.event.ThingStatusInfoEvent] - ‘yahooweather:weather:29222422’ updated: ONLINE
2015-10-19 12:06:59.717 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_temperature updated to 31
2015-10-19 12:06:59.719 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_humidity updated to 52
2015-10-19 12:06:59.723 [INFO ] [smarthome.event.ItemStateEvent] - yahooweather_weather_29222422_pressure updated to 1015.92
On my host system I could see connection established with freeswitch as below using “nestat -at” command
tcp6 0 0 172.17.42.1:54571 freeswit:intu-ec-client ESTABLISHED
tcp6 0 0 172.17.42.1:54570 freeswit:intu-ec-client ESTABLISHED
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 3195 kpatil 112u IPv6 37530 0t0 TCP localhost.localdomain:54571->freeswitch.fb.com:intu-ec-client (ESTABLISHED)
java 3195 kpatil 124u IPv6 42280 0t0 TCP localhost.localdomain:54570->freeswitch.fb.com:intu-ec-client (ESTABLISHED)
###kpatil ~ Documents carpool icare netstat -an | grep 8021
tcp6 0 0 172.17.42.1:54571 172.17.0.1:8021 ESTABLISHED
tcp6 0 0 172.17.42.1:54570 172.17.0.1:8021 ESTABLISHED
I added below items in to the demo.items file.
Switch Incoming_Call “Home Phone” (Phone) {freeswitch=“active”}
Call Active_Call “Connected [to %1$s from %2$s]” (Phone) {freeswitch=“active”}
String Active_Call_ID “Caller ID [%s]” (Phone) {freeswitch=“active”}
I called the FS 1002 account using empathy client and I could see its status from rest api as below.
{“link”:“http://localhost:8080/rest/items/Incoming_Call",“state”:“ON”,“type”:“SwitchItem”,“name”:“Incoming_Call”,“label”:"Home Phone”,“tags”:[],“groupNames”:[“Phone”]}
When I stop the connection the status is OFF as below.
{“link”:“http://localhost:8080/rest/items/Incoming_Call",“state”:“OFF”,“type”:“SwitchItem”,“name”:“Incoming_Call”,“label”:"Home Phone”,“tags”:[],“groupNames”:[“Phone”]}
I am relieved that things are working.
Now what steps do I need to take them display on Paper UI ?
Thanks.
The question is if you really want to use the Paper UI for controlling your system - the control part of the UI isn’t really feature rich yet and the Classic UI (resp. the native clients) are imho much more usable (as they use the sitemaps).
But if you really want to make your items appear on the PaperUI, it is fairly simple: Simply add to them a Group Item that has the tag “home-group”, e.g. the Group Item “Garden” from https://github.com/openhab/openhab2/blob/master/distribution/openhabhome/conf/items/demo.items#L4.
Thanks Kai.