HomeHabit Dashboard - Original thread

i guess im confused as to what a selection item is?

Here is the updated config
 only thing not working is the controls for the harmony hub

Frame label=“Bedroom {widget:room-view}” {
Image url=“http://cdn.home-designing.com/wp-content/uploads/2013/10/glass-wall.jpeg” label="{item:photo}“
Switch item=lifx_whitelight_D073D5100CD1_brightness label=”{item:lights}“
Switch item=Harmony_Activity label=”{item:switch,icon:tv}"
Text {
Frame label=“Lights {widget:light-switch}” {
Switch item=lifx_whitelight_D073D5100CD1_brightness
}

Frame label="Home Theater {widget:scene}" {
  Selection item=harmonyhub_hub_LivingRoom_currentActivity mappings=[
    "TV"="WatchTV {icon:tv}",
    "Power"="PowerOff {icon:switch}",
  ]
}

Do you get an error? which one?

Actually i think i got it now
 not sure if it didnt like the spacing or the double quotations but after i removed all the spacing between the items and the double quotes it worked
 now im trying to figure out the weather widget. But first i gotta get the weather to work lol :slight_smile:

Text label=“Rooms {columns:3}” {
Frame label=“Living Room {widget:room-view,size:2x1}” {
Image url=“http://10.0.1.200:8089/LivingRoom.jpg” label="{item:photo}“
Switch item=lifx_whitelight_D073D5100CD1_brightness label=”{item:lights}“
Switch item=Harmony_Actvity label=”{item:switch,icon:tv}"
Text {
Frame label=“Lights {widget:light-switch}” {
Switch item=lifx_whitelight_D073D5100CD1_brightness
}

Frame label="Home Theater {widget:scene}" {
  Selection item=harmonyhub_hub_LivingRoom_currentActivity mappings=['Watch TV'='TV {icon:tv}',PowerOff='Off {icon:switch}',HTPC='HTPC {icon:tv}']
}

}

I’m trying to figure this out as well
 Can’t seem to get the slider to show up. (Resolved)

Is there a way to get the username and password of the ip camera to work the with the camera widget?

Putting credentials into URL should work, did you try that?

What format does it need to be in? Im using a dlink dcs-5222L ive looked online for a way to do just that but cant seem to find anything on how to add the username and password to the url.

This is what i have been trying with no luck

http://ipaddress:port/video/mjpg.cgi?user=username&pwd=password

Got it
 Here is the format that works for anyone else out there with this camera

http:username:password@ipaddress:port/video/mjpg.cgi

Next question
 any way to get a gif working?.. found this gif of the local radar that updates ever hour or so and would like to incorportate this.

I used

Frame label="Radar {widget:web}" {
			Webview  url="http://api.wunderground.com/api/APIKEY/animatedradar/image.gif?centerlat=2x.xxxxxx&centerlon=-9x.xxxxxx&radius=30&width=480&height=480&delay=50&newmaps=1&num=5&timelabel=1&timelabel.x=375&timelabel.y=41" refresh=6000
		}
1 Like

Perfect!.. It works now. Thanks for the tip!

Here is my work so far


Just started out with Openhab and am blown away how good this Android UI looks.

How can I get on as a tester? :slight_smile:

1 Like

Follow these directions: Home · igorgladkov/rotini Wiki · GitHub

Hi

I am running Rotini for quiet a while now. It works great.
Only items based on a group (e.g. lights) are updating very slow. When I switch off a light it takes a couple of minute until I can see it. The same behavior takes effect at the gauge (water).

I set the sitemap rotini-compatible and configured the ping-setting.

When I am using the Android-App, it refresh very quickly.

What’s wrong ?

Thanks
Tucca

Tucca, are you using OH1 or OH2?
Also, did you see notification that items updates might not work at the bottom of the screen?

I am using OH 1.8.3.
On the screen is nothing that’s something going “wrong”.

When I pull down the top bar it refreshes items. But not all. I have to do it multiple times.
If I close the app and restart it (by tasker) the values are shown correct.

Hi Igor,
thanks for accepting my request for joining the G+ alpha group.
Your app is amazing.
Using with OH2 beta 4.

After a day of testing I found the following issues:

  1. some widgets are not updated when there is an external event that change it’s state. I would say that 50% of the widgets present in the sitmap are updated correctly and 50% are not updated. I need to manually refresh the sitemap in order to get them updated. Using BasicUI or HABpanel all are updated automatically, so it’s not a problem of OH.
  2. I use the text widget to display info from the ASTRO binding. I have setup sunrise time and sunset time in two different text widgets. Well, everytime I refresh the sitemap manually (swiping down) the two widgets are inverted on the screen
 weird but true! So if I start with sunrise on left and sunset on the right, after refresh there is sunset on the left and sunrise on the right.

Any idea why?
Is there any log that I could post to you?

anyway, very very good work!

Thanks. Glad you like it.

What is the configuration of widgets that do not update?

Yes, that’s a bug. No fix available yet.

Hi Igor,
I managed to reproduce the issue.
When the app is fresh started for the first time, it works well and widgets
are updated correctly.
Then, if you leave the tablet unattended (for several minutes) and it goes
to sleep, the wifi disconnects (In WiFi advanced settings I have set not to
use WiFi in stand-by) .
So when it wakes up, the app throws an error saying that it cannot find the
openhab server; after few seconds it manages to find the server but
automatic update doesn’t work anymore.
Only solution is to force-close the app and restart it.
After this all the widgets are updated correctly.

Using Android 4.4.2
​
Here is the sitemap configuration:

Frame label="LED Nord {widget:light-switch}" {
  Switch item=zsLedNord
}

Frame label="LED Sud {widget:light-switch}" {
  Switch item=zsLedSud
}

and the .items file:
// Fibaro 2x1.5kW (node=3; ID=fibaro_fgs222_00_000)
Switch zsLedNord “Led Nord” (gSalotto,gZwave)
{channel=“zwave:device:controller:node3:switch_binary1”}
Switch zsLedSud “Led Sud” (gSalotto,gZwave)
{channel=“zwave:device:controller:node3:switch_binary2”}